You are not logged in.

#1 2009-06-12 18:30:50

Lexion
Member
Registered: 2008-03-23
Posts: 510

glxgears run as root increases performance on Intel 945G [SOLVED]

I ran glxgears as normal user and fullscreen fps was 16.4.
I ran it as root and fullscreen fps was 126.2.

Here are the exact commands in order:

$ glxgears
$ su
# glxgears

I did nothing between the commands.  Does anybody know why?

Last edited by Lexion (2009-06-13 11:31:02)


urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand

Offline

#2 2009-06-12 18:50:49

spick
Member
Registered: 2006-10-16
Posts: 6

Re: glxgears run as root increases performance on Intel 945G [SOLVED]

Wow, I also see a big performance increase running glxgears as root (on an acer aspire one - i945GME).

Offline

#3 2009-06-12 18:56:29

spick
Member
Registered: 2006-10-16
Posts: 6

Re: glxgears run as root increases performance on Intel 945G [SOLVED]

Ah, adding this:

  Section "DRI"
      Mode 0666
  EndSection

to etc/X11/xorg.conf recovers the performance for non-root users.

Offline

#4 2009-06-13 03:47:37

darthaxul
Member
Registered: 2008-09-24
Posts: 156

Re: glxgears run as root increases performance on Intel 945G [SOLVED]

now thats funny yikes

Offline

#5 2009-06-13 11:30:37

Lexion
Member
Registered: 2008-03-23
Posts: 510

Re: glxgears run as root increases performance on Intel 945G [SOLVED]

Yup it works.  I am feeling wow I can play games on Linux now and can stop relying on commercial OSs entirely and thanks a lot for solving my question.


urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand

Offline

#6 2009-06-13 15:59:42

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,355

Re: glxgears run as root increases performance on Intel 945G [SOLVED]

Wow, this may just solve the issues I'm having on my desktop. Will have to try it out.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#7 2009-06-13 18:56:11

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: glxgears run as root increases performance on Intel 945G [SOLVED]

You can also add your useraccount to the video group, as the devices are created as root:video, 660. Without DRI, all your rendering operations have to go through AIGLX, which is another abstraction layer to pass before you get to the hardware.

Offline

#8 2009-06-15 02:28:35

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,355

Re: glxgears run as root increases performance on Intel 945G [SOLVED]

Hmm, I was already in the video group, so no change for me. What a pity.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#9 2009-06-16 20:23:56

spick
Member
Registered: 2006-10-16
Posts: 6

Re: glxgears run as root increases performance on Intel 945G [SOLVED]

Strange, I was a member of the video group, but didn't see the performance root did until I added that incantation to xorg.conf.

Offline

Board footer

Powered by FluxBB