Steam interfaces is painfully slow

Questions about Wine on Linux
Locked
silverhammermba
Level 1
Level 1
Posts: 5
Joined: Wed May 03, 2017 1:03 pm

Steam interfaces is painfully slow

Post by silverhammermba »

I installed Steam using the official installer with a fresh Wine prefix. The install went fine, it did its self-updates fine, but when the Steam interface actually starts it becomes incredibly unresponsive. Every mouse click and keystroke takes at least 15 seconds to register (sometimes much longer), making even the act of logging in extremely difficult. If I manage to log in, the main Steam interface is just as slow. If I manage to actually launch a game, the game runs perfectly - no issues at all! So whatever the issue is it affects only the Steam interface.

I'm running Wine 2.7 on Arch Linux. I also tried compiling the latest version of Wine from git and the issue remains. I suspect it might be related to my Nvidia graphics card or the proprietary driver, because Steam runs fine with Wine on my laptop with integrated Intel graphics.

Any ideas what's wrong? Is there any other info I can post that will help resolve this?
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Steam interfaces is painfully slow

Post by Bob Wya »

silverhammermba wrote:I installed Steam using the official installer with a fresh Wine prefix. The install went fine, it did its self-updates fine, but when the Steam interface actually starts it becomes incredibly unresponsive. Every mouse click and keystroke takes at least 15 seconds to register (sometimes much longer), making even the act of logging in extremely difficult. If I manage to log in, the main Steam interface is just as slow. If I manage to actually launch a game, the game runs perfectly - no issues at all! So whatever the issue is it affects only the Steam interface.

I'm running Wine 2.7 on Arch Linux. I also tried compiling the latest version of Wine from git and the issue remains. I suspect it might be related to my Nvidia graphics card or the proprietary driver, because Steam runs fine with Wine on my laptop with integrated Intel graphics.

Any ideas what's wrong? Is there any other info I can post that will help resolve this?
@silverhammermba,

I just took a look and the Steam Client appears to be running just fine and dandy here...
Tested with Wine Staging 2.7, Nvidia drivers 381.09 (Geforce GTX 970M) on Gentoo.
Wine settings: 64-bit WINEPREFIX, Windows 7.
Steam build: 1493162727 (25 Apr 2017)

Are you sure you haven't got a broken Primus/Optimus/Bumblebee setup perhaps?

Feel free to post some console output from wine - on both your Integrated graphics and the Nvidia GPU.
If you can use:

Code: Select all

export WINEDEBUG=+d3d
wine Steam.exe -no-cef-sandbox &>wine_<gpu_description>_console_log.txt
But rename each log file - sensibly for the GPU it is running on!
Probably best put on a pastebin-type site... 8)

Ta
Bob
silverhammermba
Level 1
Level 1
Posts: 5
Joined: Wed May 03, 2017 1:03 pm

Re: Steam interfaces is painfully slow

Post by silverhammermba »

To clarify, I'm not running Bumlebee/Optimus. My laptop with integrated graphics is a separate machine. It's on my desktop with Nvidia that I have the problems.

Anyway I just did a full run (login, launch game, shutdown) with the command line that you posted. The log is massive, so I made a gist for it https://gist.github.com/silverhammermba ... 74b00521f3.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Steam interfaces is painfully slow

Post by Bob Wya »

silverhammermba wrote:To clarify, I'm not running Bumlebee/Optimus. My laptop with integrated graphics is a separate machine. It's on my desktop with Nvidia that I have the problems.

Anyway I just did a full run (login, launch game, shutdown) with the command line that you posted. The log is massive, so I made a gist for it https://gist.github.com/silverhammermba ... 74b00521f3.
Dude, that log is tiny... Wine logs can often be multi-Gb!!

Anyway I poked through the console log - it looks clean.

My next thought is your DE... Try disabling the compositor - if this is running.
Does that make a difference?

Does it make a difference if Steam is run in a Wine Virtual Desktop?

Just checking off all the obvious stuff... 8)

Bob
silverhammermba
Level 1
Level 1
Posts: 5
Joined: Wed May 03, 2017 1:03 pm

Re: Steam interfaces is painfully slow

Post by silverhammermba »

Disabling my compositor had no effect. But running in a virtual desktop was a great success! Starts up instantly, no interface issues!

That got me thinking that issue has something to do with screen modes, so I tried disabling my second monitor and running Steam without the virtual desktop again and now it works!

For now I'm okay with disabling my second monitor whenever I want to use Steam though Wine, but I'm still curious as to why as this occurs and if it can be fixed.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Steam interfaces is painfully slow

Post by Bob Wya »

silverhammermba wrote:Disabling my compositor had no effect. But running in a virtual desktop was a great success! Starts up instantly, no interface issues!

That got me thinking that issue has something to do with screen modes, so I tried disabling my second monitor and running Steam without the virtual desktop again and now it works!

For now I'm okay with disabling my second monitor whenever I want to use Steam though Wine, but I'm still curious as to why as this occurs and if it can be fixed.
We'd have to dig a bit deeper to work that out... 8)

What's the output from:

Code: Select all

sudo lsmod | grep nvidia
cat "${HOME}/.nvidia-settings-rc"
find /etc/X11/ -type f -regex ".*xorg\.conf.*" -print -exec cat {} \;
xrandr
please??

Ta
Bob
silverhammermba
Level 1
Level 1
Posts: 5
Joined: Wed May 03, 2017 1:03 pm

Re: Steam interfaces is painfully slow

Post by silverhammermba »

Code: Select all

$ lsmod | grep nvidia
nvidia_drm             49152  1
drm_kms_helper        126976  1 nvidia_drm
drm                   303104  4 nvidia_drm,drm_kms_helper
nvidia_uvm            610304  0
nvidia_modeset        794624  4 nvidia_drm
nvidia              12197888  80 nvidia_modeset,nvidia_uvm

Code: Select all

$ cat ~/.nvidia-settings-rc
#
# /home/max/.nvidia-settings-rc
#
# Configuration file for nvidia-settings - the NVIDIA X Server Settings utility
# Generated on Fri May 20 02:22:33 2016
#

# ConfigProperties:

RcFileLocale = C
ToolTips = Yes
DisplayStatusBar = Yes
SliderTextEntries = Yes
IncludeDisplayNameInConfigFile = No
ShowQuitDialog = No
UpdateRulesOnProfileNameChange = Yes
Timer = Memory_Used_(GPU_0),Yes,3000
Timer = Thermal_Monitor_(GPU_0),Yes,1000
Timer = PowerMizer_Monitor_(GPU_0),Yes,1000

# Attributes:

0/SyncToVBlank=1
0/LogAniso=0
0/FSAA=0
0/TextureSharpen=0
0/TextureClamping=1
0/FXAA=0
0/AllowFlipping=1
0/FSAAAppControlled=1
0/LogAnisoAppControlled=1
0/OpenGLImageSettings=1
0/FSAAAppEnhanced=0
0/XVideoSyncToDisplayID=DVI-I-0
[DPY:DVI-I-0]/Dithering=0
[DPY:DVI-I-0]/DitheringMode=0
[DPY:DVI-I-0]/DitheringDepth=0
[DPY:DVI-I-0]/SynchronousPaletteUpdates=0
[DPY:DVI-I-1]/RedBrightness=0.000000
[DPY:DVI-I-1]/GreenBrightness=0.000000
[DPY:DVI-I-1]/BlueBrightness=0.000000
[DPY:DVI-I-1]/RedContrast=0.000000
[DPY:DVI-I-1]/GreenContrast=0.000000
[DPY:DVI-I-1]/BlueContrast=0.000000
[DPY:DVI-I-1]/RedGamma=1.000000
[DPY:DVI-I-1]/GreenGamma=1.000000
[DPY:DVI-I-1]/BlueGamma=1.000000
[DPY:DVI-I-1]/Dithering=0
[DPY:DVI-I-1]/DitheringMode=0
[DPY:DVI-I-1]/DitheringDepth=0
[DPY:DVI-I-1]/DigitalVibrance=0
[DPY:DVI-I-1]/ColorSpace=0
[DPY:DVI-I-1]/ColorRange=0
[DPY:DVI-I-1]/SynchronousPaletteUpdates=0
[DPY:HDMI-0]/Dithering=0
[DPY:HDMI-0]/DitheringMode=0
[DPY:HDMI-0]/DitheringDepth=0
[DPY:HDMI-0]/ColorSpace=0
[DPY:HDMI-0]/ColorRange=0
[DPY:HDMI-0]/SynchronousPaletteUpdates=0
[DPY:DP-0]/Dithering=0
[DPY:DP-0]/DitheringMode=0
[DPY:DP-0]/DitheringDepth=0
[DPY:DP-0]/ColorSpace=0
[DPY:DP-0]/ColorRange=0
[DPY:DP-0]/SynchronousPaletteUpdates=0
[DPY:DP-1]/Dithering=0
[DPY:DP-1]/DitheringMode=0
[DPY:DP-1]/DitheringDepth=0
[DPY:DP-1]/ColorSpace=0
[DPY:DP-1]/ColorRange=0
[DPY:DP-1]/SynchronousPaletteUpdates=0
[DPY:DVI-D-0]/RedBrightness=0.000000
[DPY:DVI-D-0]/GreenBrightness=0.000000
[DPY:DVI-D-0]/BlueBrightness=0.000000
[DPY:DVI-D-0]/RedContrast=0.000000
[DPY:DVI-D-0]/GreenContrast=0.000000
[DPY:DVI-D-0]/BlueContrast=0.000000
[DPY:DVI-D-0]/RedGamma=1.000000
[DPY:DVI-D-0]/GreenGamma=1.000000
[DPY:DVI-D-0]/BlueGamma=1.000000
[DPY:DVI-D-0]/Dithering=0
[DPY:DVI-D-0]/DitheringMode=0
[DPY:DVI-D-0]/DitheringDepth=0
[DPY:DVI-D-0]/DigitalVibrance=0
[DPY:DVI-D-0]/ColorSpace=0
[DPY:DVI-D-0]/ColorRange=0
[DPY:DVI-D-0]/SynchronousPaletteUpdates=0
I only have one xorg config file

Code: Select all

$ cat /etc/X11/xorg.conf.d/50-video.conf
Section "Device"
        Identifier "NVIDIA"
        Driver "nvidia"
        Option "IgnoreEDIDChecksum" "DFP-4"
EndSection

Code: Select all

$ xrandr
Screen 0: minimum 8 x 8, current 4480 x 1440, maximum 16384 x 16384
DVI-I-0 disconnected primary (normal left inverted right x axis y axis)
DVI-I-1 connected 2560x1440+1920+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95*+
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DVI-D-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 298mm
   1920x1080     60.00*+  60.00  
   1440x900      59.89  
   1280x1024     60.02  
   1280x800      59.81  
   1152x864      75.00  
   1024x768      70.07    60.00  
   800x600       60.32    56.25  
   640x480       59.94  
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Steam interfaces is painfully slow

Post by Bob Wya »

silverhammermba wrote:

Code: Select all

$ cat ~/.nvidia-settings-rc
...
0/XVideoSyncToDisplayID=DVI-I-0
...

Code: Select all

$ xrandr
Screen 0: minimum 8 x 8, current 4480 x 1440, maximum 16384 x 16384
DVI-I-0 disconnected primary (normal left inverted right x axis y axis)
...
  • Will that not sync your X Server to a non-existent monitor?
  • Have you tried adding:

    Code: Select all

    nvidia-drm.modeset=1
    to your kernel boot line?
  • What about setting do you have for:

    Code: Select all

    ForceCompositionPipeline = ??
Ta
Bob
silverhammermba
Level 1
Level 1
Posts: 5
Joined: Wed May 03, 2017 1:03 pm

Re: Steam interfaces is painfully slow

Post by silverhammermba »

I'm pretty sure my nvidia settings aren't even being loaded because I start X with .xinitrc and it doesn't load them.

I do have KMS enabled.

I'm pretty sure I don't have ForceCompositionPipeline set because the only place I know where to set that is in my xorg.conf and I already posted that.
Locked