Two monitors results in slow response

Questions about Wine on Linux
Post Reply
wureka
Newbie
Newbie
Posts: 3
Joined: Mon Sep 06, 2021 9:28 pm

Two monitors results in slow response

Post by wureka »

Environment: Ubuntu 20.04 LTS Desktop 64bit
WineHQ version: 7.0 stable
Hardware: Alienware 51m laptop built-in monitor and one external monitor. All resolutions are 1920x1080

When there is no the external monitor. winecfg responds very fast. The log is:

Code: Select all

080:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

0034:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
00d4:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
00cc:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
0118:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
0118:fixme:imm:ImeSetActiveContext (0x42400, 1): stub
0118:fixme:imm:ImmReleaseContext (000000000001005E, 0000000000042400): stub
0080:fixme:imm:ImeSetActiveContext (0x3e970, 0): stub
0080:fixme:imm:ImmReleaseContext (0000000000010020, 000000000003E970): stub
After I attach the external monitor, winecfg responds very slow. The log is below:

Code: Select all

0080:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

00d4:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
00d4:fixme:xrandr:xrandr10_get_current_mode Non-primary adapters are unsupported.
00d4:fixme:xrandr:xrandr10_get_current_mode Non-primary adapters are unsupported.
00cc:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
0034:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
0118:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
0118:fixme:imm:ImeSetActiveContext (0x42510, 1): stub
0118:fixme:imm:ImmReleaseContext (000000000001005E, 0000000000042510): stub
00d4:fixme:imm:ImeSetActiveContext (0x3f020, 0): stub
00d4:fixme:imm:ImmReleaseContext (0000000000010020, 000000000003F020): stub
Any suggestion?
iq2luc
Level 1
Level 1
Posts: 6
Joined: Thu Jul 28, 2022 12:31 pm

Re: Two monitors results in slow response

Post by iq2luc »

Hello,

I confirm similar issue on an Asus G750JW laptop with Archlinux (kernel 5.18.14, nvidia 470.129.06 on GeForce GTX 765M).

With a second display connected via HDMI, all programs ran through wine (including winecfg) are slow / laggy.
As a quick workaround, enabling "Emulate a virtual desktop" in Graphics --> Window setting, will make all programs run quick and smooth again.

No problem if using only the internal display.

These are two example of log for starting and closing winecfg when it doesn't work OK:

Code: Select all

0138:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
0130:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
014c:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
014c:fixme:imm:ImeSetActiveContext (0000000000030052, 1): stub
014c:fixme:imm:ImmReleaseContext (0000000000020080, 0000000000030052): stub
0138:fixme:imm:ImeSetActiveContext (000000000002003E, 0): stub
0138:fixme:imm:ImmReleaseContext (000000000002009E, 000000000002003E): stub

Code: Select all

0050:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
0050:fixme:xrandr:xrandr10_get_current_mode Non-primary adapters are unsupported.
0050:fixme:xrandr:xrandr10_get_current_mode Non-primary adapters are unsupported.
0050:fixme:xrandr:xrandr10_get_current_mode Non-primary adapters are unsupported.
00d8:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
0034:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
0114:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
0114:fixme:imm:ImeSetActiveContext (000000000001005A, 1): stub
0114:fixme:imm:ImmReleaseContext (0000000000010064, 000000000001005A): stub
0050:fixme:imm:ImeSetActiveContext (0000000000010026, 0): stub
0050:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000010026): stub
Is there any more information I could provide that would help someone knowledgeable to investigate and identify the issue?

Thanks,
Luc
iq2luc
Level 1
Level 1
Posts: 6
Joined: Thu Jul 28, 2022 12:31 pm

Re: Two monitors results in slow response

Post by iq2luc »

Still happened in wine 7.14, but thanks to user @jovaska (see viewtopic.php?t=35507#p136159 and https://pastebin.com/6auSsL4B) the issue is solved for me.
User avatar
slowpokefarm
Level 2
Level 2
Posts: 14
Joined: Thu Jul 28, 2022 5:59 am

Re: Two monitors results in slow response

Post by slowpokefarm »

iq2luc wrote: Tue Aug 02, 2022 4:13 am Still happened in wine 7.14, but thanks to user @jovaska (see viewtopic.php?t=35507#p136159 and https://pastebin.com/6auSsL4B) the issue is solved for me.
Did you compile wine with the mentioned patch?
iq2luc
Level 1
Level 1
Posts: 6
Joined: Thu Jul 28, 2022 12:31 pm

Re: Two monitors results in slow response

Post by iq2luc »

slowpokefarm wrote: Thu Aug 04, 2022 7:30 am Did you compile wine with the mentioned patch?
Yes.
I wonder why it is not included upstream.
User avatar
slowpokefarm
Level 2
Level 2
Posts: 14
Joined: Thu Jul 28, 2022 5:59 am

Re: Two monitors results in slow response

Post by slowpokefarm »

iq2luc wrote: Mon Aug 08, 2022 9:28 am Yes.
I wonder why it is not included upstream.
Maybe there's no open bug for the issue yet in Bugzilla? Could you post your issue there maybe?
iq2luc
Level 1
Level 1
Posts: 6
Joined: Thu Jul 28, 2022 12:31 pm

Re: Two monitors results in slow response

Post by iq2luc »

slowpokefarm wrote: Tue Aug 09, 2022 2:30 am Maybe there's no open bug for the issue yet in Bugzilla? Could you post your issue there maybe?
https://bugs.winehq.org/show_bug.cgi?id=53382#c4
User avatar
slowpokefarm
Level 2
Level 2
Posts: 14
Joined: Thu Jul 28, 2022 5:59 am

Re: Two monitors results in slow response

Post by slowpokefarm »

Is it still present in 7.15?
iq2luc
Level 1
Level 1
Posts: 6
Joined: Thu Jul 28, 2022 12:31 pm

Re: Two monitors results in slow response

Post by iq2luc »

slowpokefarm wrote: Wed Aug 17, 2022 3:43 am Is it still present in 7.15?
Yes.
Post Reply