! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
stuttering in opengl fullscreen windows
Status:
RESOLVED: WORKSFORME
Product:
Xfce4-cpugraph-plugin
Component:
General

Comments

Description Johan R 2009-08-25 15:17:17 CEST
When i run an opengl app in full screen (either real full screen or "Alt-F11") opengl apps stutters about once per second when "Allow Flipping" is enabled in nvidia-settings. This do not happen in a kde session.

How to reproduce:
- start xfce
- enable "Allow Flipping" in nvidia-settings
- start glxgears and make it full screen (Alt-F11)
- watch the stuttering when glxgears is in fullscreen

My config:
- archlinux with standard xfce 4.6.1
- nvidia 9800GTX+ using 190.25 driver
Comment 1 Olivier Fourdan editbugs 2009-08-25 16:53:07 CEST
xfwm4 has nothing to do with OpenGL and does not use OpenGL for compositing at all, it's hardly related to the window manager.
Comment 2 Olivier Fourdan editbugs 2009-08-25 16:55:09 CEST
works just fine with intel driver btw.
Comment 3 Johan R 2009-08-25 18:07:39 CEST
i had to select one category so i choose the window manager, please place in a better category if possible

some xfce dev with nvidia should at least be interested in reproducing this since its no stuttering in kde
Comment 4 Johan R 2009-08-25 18:08:36 CEST
btw, i have no composition enabled
Comment 5 Olivier Fourdan editbugs 2009-08-26 07:19:48 CEST
There are more tests you may want to pursue, like replacing a component at at time, while still in xfce.

For example, start with the window manager:

- open a terminal
- try metacity
  $ metacity --replace &
- see if you experience the same issue
- retry with kwin
  $ kwin --replace &
- see if you experience the same issue

(you may want to try with other window managers too)

Make sure all tests are performed the same way, ie disable all compositing in all 3 (including of course kwin).

Again, I don't see this being related to the window manager but I could be wrong of course :)
Comment 6 Johan R 2009-08-26 15:42:33 CEST
I was able to track the cause down to the CPU Graph panel plugin.
After i killed the panel exited xfce now at login the panel restarts a number of times (~5) before xfce is fully up, i hope i can fix this now but if you have any tip how to fix it is most welcome.
Comment 7 Johan R 2009-08-26 16:00:40 CEST
I solved the panel restart issue by deleting everything in ~/.cache/sessions/.
Sorry for spamming :).
Comment 8 Johan R 2009-08-26 16:12:46 CEST
I tried the System Load Monitor panel plugin and i see the stuttering so maybe this is a panel problem.
Comment 9 Florian Rivoal editbugs 2010-03-07 11:33:49 CET
Neither the panel itself or panel plugins have anything to do with OpenGL, so the bug most likely lies elsewhere.

Sorry that we are not able to help, but as nobody on our side has reproduced this bug, there is little we can do. 

If the bug persists, I suggest you look more towards the video driver than towards XFCE, unless you manage to clearly isolate which xfce component causes this.
Comment 10 Johan R 2010-03-07 17:29:07 CET
I have replaced xfce panel with tint2 so i will not follow this so much now.
If it is universal problem and not only with nvidia driver on archlinux i suppose you will hear about this problem later.
In case you are interested and i did not explain how to reproduce here is how:
- nvidia binary driver with default config (nvidia-xconfig)
- check "allow flipping" and "sync to vblank" in nvidia-settings
- add a graphical applet to panel
- start glxgears and switch it to full-screen (Alt-F11)
If i do this i will get a stutter in glxgears about once every second.
Comment 11 Florian Rivoal editbugs 2010-03-08 11:50:24 CET
Thank you for the information you provided, and sorry for not being able to help this time. Hopefully, it was an isolated issue that does not reproduce in other setups, but if it turns out to be common, your input should help narrow down what is happening.

Bug #5700

Reported by:
Johan R
Reported on: 2009-08-25
Last modified on: 2010-10-03

People

Assignee:
Florian Rivoal
CC List:
1 user

Version

Attachments

Additional information