LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Graphics acceleration works well for root, not so well for user (http://www.linuxquestions.org/questions/slackware-14/graphics-acceleration-works-well-for-root-not-so-well-for-user-4175455822/)

lipk 03-27-2013 02:40 PM

Graphics acceleration works well for root, not so well for user
 
Hey all,

I use Slackware 14 32-bit with the latest FGLRX legacy driver. The installation went smoothly, no errors or warnings, during boot I'm told that the kernel modules are loaded, all fancy and good.

If I log into KDE with a root account, I don't experience any problems, all animations and effects are smooth. glxgears reports a spectacular 1000 FPS with effects switched on, and even 4-5 times more with effects switched off.

However, when I log into my user account, desktop effects become choppy, and OpenGL games/apps produce uselessly low framerates. glxgears keeps telling that I have 1000 FPS, but the wheels themselves show only ca. 1 frame per 5 seconds. Switching off desktop effects helps, but I'd prefer having the same smoothness as in the root account...

I'm already member of the 'video' group.

Do you have any idea what could be the problem?

yowi 03-27-2013 04:39 PM

Check your X logs, there should be a clue in there.

flank'er 03-28-2013 02:08 AM

try add to your xorg.conf section

Quote:

Section "DRI"
Mode 0666
EndSection
and try enable debug mode for OpenGL
Quote:

$ LIBGL_DEBUG=verbose glxinfo

lipk 03-28-2013 05:16 AM

Ok, I managed to solve it. It was as simple as switching KWin's composite mode from XRender to OpenGL :)

Thanks for the answers!


All times are GMT -5. The time now is 11:11 PM.