Hello
I seem to be having a weird problem with the graphics. Occasionally the graphics output seems to freeze for some applications. It seems to happen mostly for flash player, but it sometimes happens to Firefox, and twice to Kwin. Usually the only way to fix it is the the restart the application in question, though with Firefox, bringing up the close window dialogue and clicking cancel also fixes it. It seems to have something to do with fullscreen applications. It can be triggered by the screensaver or various games. Switching to fullscreen in Minecraft seems to trigger it consistently though other applications does not seem to consistently trigger it.
I’m on opensuse 13.2 with a Nvidia GTX 780 and Nvidia driver 346.35.
Try toggling “Suspend desktop effects for fullscreen windows” in “Configure Desktop”/Systemsettings->Desktop Effects->Advanced.
This can cause problems with some graphics drivers.
And if you disable desktop effects completely? Does this help?
OTOH, it might also be the resolution change when switching to fullscreen might be the problem.
Try to disable the “KScreen2” service in Configure Desktop->Startup and Shutdown->Service Management.
And maybe post your /var/log/Xorg.0.log and/or the output of “glxinfo|grep render” (you might have to install Mesa-demo-x) to see whether your nvidia driver is working.
No, disabling desktop effects does not seem to change anything, nor does stopping the KScreen2 service. The applications in question shouldn’t change the resolution anyway though, should they?
Well, the thread’s title is “fullscreen applications causes application graphics to freeze”. And fullscreen applications probably do change the resolution…
The driver seems to be working fine.
Yes.
No idea then, other than a bug in the graphics driver or a hardware problem (card overheating e.g.).
Well, the resolution stays the same. Though some test with other applications and kde’s resolution settings shows that switching the resolution might be what triggers it. Would it be possible for an application to “change” the resolution to the same as it was? That might be what happens with Minecraft, going to fullscreen there cause the screen to blink in black which might indicate some kind of mode-setting.
Yes, but it happens when you switch between different VTs via Ctrl+Alt+Fx, right? That’s what I meant.
There’s not really a difference whether you switch between a graphical session and a text mode session, or betweed two graphical sessions I think.
Not sure if I’ve managed to disable the frambuffer properly (I still have “/dev/fb0”), but nothing seems to have changed.
Well, did you try both ways described on that page? Did you run “sudo grub2-mkconfig -o /boot/grub2/grub.cfg” to apply the change?
Sorry, I can’t really help you more with this. I don’t really know anything about this.
Personally I only use open-source KMS drivers anyway, and never had a problem with switching between VTs either…
According to http://kb.digium.com/articles/FAQ/How-to-disable-the-Linux-frame-buffer-if-it-s-causing-problems (which I found with a quick google now), /dev/fb0 should not exist when the framebuffer is disabled. And that page suggests e.g. adding “nomodeset” to the kernel command line to disable it, so try this too, probably in addition to GRUB_TERMINAL_OUTPUT=console and/or GRUB_GFXPAYLOAD_LINUX=text.
(on openSUSE 13.2 you can use YaST->System->Boot Loader->Kernel Parameters to modify the kernel command line, or add it to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub and run “sudo mkconfig -o /boot/grub2/grub.cfg” afterwards)
Tried all of those (“nomodeset”, “GRUB_TERMINAL_OUTPUT=console” and “GRUB_GFXPAYLOAD_LINUX=text”) and the Grub menu is now text only, however I still have “/dev/fb0” and I still have the problem.
I get the same result under most DEs. Under LXDE though it does not get triggered when going to fullscreen in Minecraft. Changing resolution still triggers it though.