Background flickering into fullscreen capture and NVIDIA's AllowFlipping X config
When I stream to my Steam Link the big picture interface flashes with regular intervals (roughly every 15 seconds). The interface turns darker for a split second, then lighter again, and does this for around a second. It does not occur when actually playing games. This flashing is limited to when it is streaming (and it occurs when the "screensaver" in BPM is active as well). The flashing is not visible on the host machine's screen, only on the streaming receiver. It happens both with and without hw-encoding enabled (tested by disabling hw-encoding, disconnecting on the steam link and then reconnecting). Neither of the "adjust resolution" or "prioritize network traffic" options affect it. Changing desktop resolution does not appear to affect it either (tried 1600x900 and 1280x720).
Here's a video of it happening (an mp4 inside a zipfile, so that github allows me to upload it): SteamBPLinuxStreamFlash.zip. It's a phone video, and the camera isn't able to pick up on the speed of the flashing, but you do see that it does so.
The host is using a GeForce GTX 770, currently running the 361.28 Nvidia drivers. It's running Arch Linux, though according to others it also occurs on Ubuntu. I'm running the latest Steam Linux beta as of the 10th of march.
Here is the information from help -> system information: steaminfo.txt
The bug is also noted on the forum, ie. http://steamcommunity.com/app/353380/discussions/0/451850849175845875/
I have the same issue as described, but only when one of my monitors is turned off through nvidia-settings or xrandr --ouput $MONITOR --off. If I'm using both monitors, streaming works without flickering. This occurs with multiple window managers - at least i3wm and xfwm4.
Nvidia 570, proprietary driver, same as @zerodogg where it only occurs on big picture mode in the stream and also when the steam overlay is shown within a game (again, only on the stream).
Ok here is my work arround but valve and nvidia should fix this to work out of the box!
- Opent a Terminal CTRL+ALT+T
- Edit xorg.conf. If you dont have it generate one with this comand ( sudo nvidia-xconfig )
sudo gedit /etc/X11/xorg.conf
Add this option to the Section "Screen" under DefaultDepth 24 :
Option "metamodes" "CONNECTOR: nvidia-auto-select +X+Y { ForceFullCompositionPipeline = On }"
Example: (this is my configuration i have 2 displays, edit it where needed)
Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 Option "Stereo" "0" Option "nvidiaXineramaInfoOrder" "DFP-0" Option "metamodes" "DVI-I-1: 1920x1080_60 +0+0 { ForceFullCompositionPipeline = On }, HDMI-0: 1920x1080_60 +0+0 { ForceFullCompositionPipeline = On }" Option "SLI" "Off" Option "MultiGPU" "Off" Option "BaseMosaic" "off" SubSection "Display" Depth 24 EndSubSection
3.Save and reboot! that is it enjoy your steam link!
This did not work for me. I had to disable my second monitor in my xorg.conf and then enable it through xrandr on login. After this, disabling the second monitor and connecting with the steam link in full screen does not cause flickering. Perhaps my issue is due to the mismatch between the running monitor config and the xorg.conf
I have the same problem as alexmaras, the problem only appears when I am running steam big picture with one of my monitors turned off via xrandr. If I leave both of them on the flickering goes away. Im on 16.10, and oddly enough my xorg.conf file is empty. I'll have to try the generate method mentioned above.
This is issue is still present.
Up until now, my Steam Link was only usable with ForceCompositionPipeline enabled in the nvidia-settings options. When it is not enabled, I would experience the flickering described above in BPM and in games. Additionally, without ForceCompositionPipeline, I also experience low frame rate in video playback (e.g VLC, YouTube in Chrome).
With the new nvidia-390 drivers, enabling ForceCompositionPipeline no longer fixes this issue, rendering the home streaming functionality unusable for nvidia users.
Ubuntu 17.10 with nvidia GTX 660 and driver version 390.25 installed from the nvidia graphics ppa. Steam Linux beta version January 25th 2018. The client is a Steam Link.
When the bug will be fixed? It's very annoying to use steam link. Workaround with ForceFullCompositionPipeline does not working with new nvidia drivers.
same problem here on my win 10 machine using steamlink. not on all games. where is the fix, valve?
newest beta on client and host.
Ubuntu 18.04 only has nvidia 390.48 in its repositories. As mentioned above, ForceCompositionPipeline no longer seems to solve this issue starting 390. This means Steam Link is no longer usable for nvidia users under Ubuntu 18.04.
I have the same issue, 390.48 with ForceFullCompositionPipeline = On and get frequent black flickering. This is not seen in-game or during streaming of the desktop, only during BPM and most notable when video is playing, like a broadcast or store video.
@noammor: I wouldn't say that this issue renders steam link unusable for nvidia users on Linux as it does not happen in-game, at least not for me, but I am using Fedora.
@Plagman: This issue started a few nvidia releases ago 390.12 I think, which coincides with a regression fixed in the nvidia drivers 390.42 and 390.48 but the flickering still occurs, so it could be a compatibility issue with Steam now instead of an nvidia driver issue or both.
I confirm @noammor statement. ForceCompositionPipeline is not fixing the issue in Ubuntu 18.04 and GeForce GTX 1060 using the proprietary drivers.
+1 bumped
- Ubuntu 18.04 + nvidia 390.48 same flickering issue, tried beta and public versions of the client
I also have constant flickering when streaming the Steam UI, but not in games.
GPU GeForce GTX 750 Ti, resolution [email protected].
Debian Stretch, with nvidia-driver installed from stretch-backports, version 390.67-2~bpo9+1. Kernel 4.9.0-7-amd64.
ForceCompositionPipeline does not fix the issue.
However, running this seems to fix the flicker:
$ xrandr --output HDMI-1 --scale 1x1 --mode 1920x1080
Obviously this is a workaround, and the real issue with Steam UI should be fixed.
Currently:
- Games generally work well via Steam Link - no flickering is observed.
- The Big Picture interface flickers for about 1 second every ~7 seconds.
- The Steam overlay flickers heavily. This is very noticeable when the overlay is part of the controller configuration. I noticed this issue with the most popular controller configuration for The Witcher 1 (Steam Play), which uses touch menus.
- Streaming the desktop works, but inexplicably videos (e.g YouTube) are played at maybe 15 FPS. Unfortunately watching videos is the main use case of streaming the desktop.
Latest beta client, latest nvidia drivers, Ubuntu 18.04.
Same here. Linux Mint 19 (based on Ubuntu 18.04) with Nvidia gtx 650 ti. Driver version 390.77. Latest Steam beta and stable. However, I did see flickering in some games. Not all games, though.
Something interesting to note. If I change from nvidia hardware encoding to software encoding, the flickering frequency changes. Instead of a series of quick flashes every x seconds, I get a consistent single flash about every second or so. I haven't tried with quicksync, because I don't know how to get it set up in Linux and never got it working with in-home streaming in Windows.
I tried the workaround described by @playeronlinux and console had this output warning: output HDMI-1 not found; ignoring. I tried the in-home streaming and the flickering was still there. So I tried the command again except changing hdmi-1 to the monitor connected to the pc xrandr --output DVI-D-0 --scale 1x1 --mode 1920x1080 and tried in-home streaming again and there was still flickering.
I don't think this issue is limited to nvidea as i have an amd Vega 64 and still have flickering on arch Linux GNOME. I also have to use GNOME on xorg because on Wayland the screen is scrambled and i can't do anything.
I have found sort of a workaround - the following combination of settings and software results in Netflix and YouTube playing smoothly over Steam Link:
- KDE
- Compositor Settings:
- Uncheck "Enable compositor on Startup" (requires logout/login)
- Tearing Prevention ("vsync") - set to "Never"
- Nvidia settings - enable Full Composition Pipeline
- Netflix in Firefox
I'm on Linux Mint using Cinnamon, and I don't know what the equivalent of "Compositor settings" would be.
Edit: After a little research, it seems as though Cinnamon is basically built upon the Compositor, and it is impossible to turn off. If I want to try turning the compositor off, I will have to use a different Desktop Environment
Ok, I've done some testing with Mate and XFCE on Linux Mint 19. Besides the flickering, I also experience a sort of jittery playback of video. Kind of like stuttering or frames are dropping but no frames are dropping. Here are the results:
Linux Mint 19 Cinnamon: Flashing and Jittering Mate: No Flashing and No Jittering XFCE: No Flashing and Jittering(No Jittering with compositor turned off)
Mate worked flawlessly, but when I tried XFCE, even though there was no flashing, I still saw the jittering. I found Compositor settings in "Window Manager Tweaks" and after unchecking "Enable display compositing", the jittering went away
ForceFullCompositionPipeline is set to on, thought I haven't tested it set to off to see if it makes any difference.
Edit: Nvidia driver version 390.77 Steam Build Nov 10 2018
In nvidia opengl settings uncheck Allow Flipping and the fluckering should disapear, on other video cards dont know if it has that option let me know if it does.
On Sat, Nov 17, 2018, 11:36 AM Stewart Martin [email protected] wrote:
Ok, I've done some testing with Mate and XFCE on Linux Mint 19. Besides the flickering, I also experience a sort of jittery playback of video. Kind of like stuttering or frames are dropping but no frames are dropping. Here are the results:
Linux Mint 19 Cinnamon: Flashing and Jittering Mate: No Flashing and No Jittering XFCE: No Flashing and Jittering(No Jittering with compositor turned off)
Mate worked flawlessly, but when I tried XFCE, even though there was no flashing, I still saw the jittering. I found Compositor settings in "Window Manager Tweaks" and after unchecking "Enable display compositing", the jittering went away
ForceFullCompositionPipeline is set to on, thought I haven't tested it set to off to see if it makes any difference.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ValveSoftware/steam-for-linux/issues/4351#issuecomment-439625797, or mute the thread https://github.com/notifications/unsubscribe-auth/AI4Dvmo293qPjyOGzS_eE5z7RJn4Jf5pks5uwCzrgaJpZM4Ht7N9 .