You are not logged in.

#1 2005-04-07 04:44:35

jeezus84
Member
Registered: 2005-04-07
Posts: 14

tuxracer as root GOOD, tuxracer as regular user BAD

hiya.

I've just installed tuxracer and I've been playing it as root, mainly because I forgot to log out before starting to play. This is great, I think. It looks pretty good, the framerate is smooth.

Fast forward to about an hour later, while I'm running as my regular user. I start the game, `tuxracer &` and I notice a change. The snowflakes aren't falling smoothly, and the game plays choppy as hell.

So what's the deal? I"m assuming it's a permissions thing, seeing as how it worked fine as root. I'm guessing that OpenGL acceleration was working as root, and when I try to play as a regular user, the game is loading in software render mode.

Is this the case. If yes, how do I fix it? If not, how do I fix it?

Thanks.

Offline

#2 2005-04-07 06:15:57

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: tuxracer as root GOOD, tuxracer as regular user BAD

Add your user to  the video group.
You probably need to  add

Section "DRI"
   Mode 0666
EndSection

to your xorg.conf

Offline

#3 2005-04-07 07:33:10

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: tuxracer as root GOOD, tuxracer as regular user BAD

Snowman wrote:

Add your user to  the video group.
You probably need to  add

Section "DRI"
   Mode 0666
EndSection

to your xorg.conf

Unless you are using a NVIDIA card, then DO NOT use those lines.


·¬»· i am shadowhand, powered by webfaction

Offline

#4 2005-04-07 13:00:26

jeezus84
Member
Registered: 2005-04-07
Posts: 14

Re: tuxracer as root GOOD, tuxracer as regular user BAD

no such luck. the 'video' group doesn't even exist.

[root@theMotherland jeezus84]# usermod -G wheel,video jeezus84
usermod: unknown group video
[root@theMotherland jeezus84]#

Is there some kind of GUI tool I can use to manage my users? I tried looking for Kuser (like the one from KDE 3.2) to no avail. Where did it go?

Thanks.

Offline

#5 2005-04-07 13:48:01

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,017

Re: tuxracer as root GOOD, tuxracer as regular user BAD

AFAIK, kuser went out of arch's kde 3.4 packages, because it's broken and  causes more problems than does good :-)

About the video group: is your system utterly up-to-date? Especially the filesystem package. I believe you could also add that group manually, via groupadd or editing /etc/group. Hym, are you using udev whatsoever?

Offline

#6 2005-04-07 13:49:14

Beavis
Member
From: UK
Registered: 2005-01-01
Posts: 71

Re: tuxracer as root GOOD, tuxracer as regular user BAD

I don't know of any other gui based user/group management tool in KDE except for kuser which was apparently disabled in the latest version due to crashing and wrong entries. http://wiki2.archlinux.org/index.php/KDE explains more about the new KDE and its known issues.

Offline

#7 2005-04-07 14:38:01

jeezus84
Member
Registered: 2005-04-07
Posts: 14

Re: tuxracer as root GOOD, tuxracer as regular user BAD

I just updated my system using `pacman -Syu`.

The video group now exists, and I'm now a member of it. Tux Racer is still crawling though.

bash-3.00$ whoami
jeezus84
bash-3.00$ groups
bin sys adm wheel video
bash-3.00$

Any more ideas?

Offline

#8 2005-04-07 19:33:03

jeezus84
Member
Registered: 2005-04-07
Posts: 14

Re: tuxracer as root GOOD, tuxracer as regular user BAD

ah ha! i got it working.

that ' Section "DRI" ' thing listed above worked, but only after I uncommented the 'DRI' line under ' Section "DEVICE" '.

Offline

#9 2005-04-07 20:57:29

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: tuxracer as root GOOD, tuxracer as regular user BAD

Shadowhand wrote:

Unless you are using a NVIDIA card, then DO NOT use those lines.

Don't you mean "If you are using a NVIDIA card"? IIRC those lines are required by cards that use X11 DRI; not sure about nVidia ones, since those use their own drivers.

Offline

#10 2005-04-08 04:16:56

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: tuxracer as root GOOD, tuxracer as regular user BAD

Gullible Jones wrote:
Shadowhand wrote:

Unless you are using a NVIDIA card, then DO NOT use those lines.

Don't you mean "If you are using a NVIDIA card"? IIRC those lines are required by cards that use X11 DRI; not sure about nVidia ones, since those use their own drivers.

NVIDIA cards use their own AGP drivers and enabling DRI _can_ make the NVIDIA AGP DRI not work (certain kernel configuration, modules, and X11 drivers).


·¬»· i am shadowhand, powered by webfaction

Offline

#11 2005-04-09 02:46:56

neotuli
Lazy Developer
From: San Francisco, CA
Registered: 2004-07-06
Posts: 1,201
Website

Re: tuxracer as root GOOD, tuxracer as regular user BAD

Might also check to make sure the permissions are 666 for /dev/nvidia* .


The suggestion box only accepts patches.

Offline

Board footer

Powered by FluxBB