You are not logged in.
Pages: 1
After looking at the Maximizing Performance wiki page, I ran " glxinfo | grep direct" and got "direct rendering: No (LIBGL_ALWAYS_INDIRECT set)." I've looked at the framerate of compiz with the benchmark plugin and on Arch I get around 28 fps. When I was using Ubuntu maverick-daily on the same computer, the average fps was much higher. In fact, the fps was around 30 while rotating the cube with 3d windows, skydome, and atlantis plugin. On arch, when rotating cube with just 3d windows, the framerate drops to 14. I'm assuming that this major performance issue is because of the direct rendering, but I don't know how to enable it. Could someone tell me how?
Offline
And what card and driver are you using / were you using on Ubuntu?
Offline
I'm using an Intel card. On Arch I installed the xf86-video-intel driver. Ubuntu automatically selected my graphics driver and I never bothered to check what it was, and I deleted Ubuntu to install Arch (definitely worth it).
Offline
I'm using an Intel card. On Arch I installed the xf86-video-intel driver. Ubuntu automatically selected my graphics driver and I never bothered to check what it was, and I deleted Ubuntu to install Arch (definitely worth it).
How do you configure X? Post your xorg.conf if you have one.
According to the man page, Option "NoAccel" toggles acceleration.
Offline
I don't have an xorg.conf file. Should I make one? My system is running great so far except for compiz (been running Arch for about 5 days).
Offline
Yes, you can create one. If it doesn't help, you can just remove it.
What do you have in /etc/X11/xorg.conf.d/ ?
Offline
In /etc/X11/xorg.conf.d/ I have 10-evdev.conf, 10-quirks.conf, and 10-synaptics.conf.
Offline
Run
unset LIBGL_ALWAYS_INDIRECT
glxinfo | grep direct
Edit: http://www.phoronix.com/forums/showpost … ostcount=6
http://www.phoronix.com/forums/showthre … 848&page=2
If I understand it correctly running compiz turns direct rendering off. Try disabling compiz and see if the framerate picks up.
Last edited by karol (2010-08-31 00:35:00)
Offline
Hm... So does why is my compiz framerate so much slower in Arch than in Ubuntu? Also, I read on Arch Wiki that with intel graphics cards, the framerate from glxgears should be around 60, which it is. Also, the framerate I was originally talking about was compiz's framerate, which I found with compiz's benchmark plugin. Sorry if I wasn't clear on that.
Offline
Hm... So does why is my compiz framerate so much slower in Arch than in Ubuntu? Also, I read on Arch Wiki that with intel graphics cards, the framerate from glxgears should be around 60, which it is. Also, the framerate I was originally talking about was compiz's framerate, which I found with compiz's benchmark plugin. Sorry if I wasn't clear on that.
I have no idea what compiz does to direct rendering, I have an old card which uses intel-legacy driver so I can't really help you with that.
Offline
Something somewhere sets LIBGL_ALWAYS_INDIRECT. You need to figure out what sets it and change it.
Offline
Did you add your user to the group video? Run "gpasswd -a <user> video" as root if you did not
Offline
I'm in the video group, but I don't direct rendering was the problem (although I did get it on with unset LIBGL_ALWAYS_INDIRECT). I just realized that I've added the --indirect-rendering option compiz because otherwise the windows didn't refresh right (framerate is pretty much the same even when I don't add the --indirect-rendering).
Offline
Pages: 1