STK different with differnt users

STK different with differnt users

Postby rockfordscave » 25 Nov 2014, 15:27

Hello,

I have a problem running STK on my older machine 32Bit Athlon3000 XP+. OS is Ubuntu14.10 (same issue I had in 14.04)
STK from Ubuntu package-repos.

When I login an me (first user with sudo rights at this machine) STK is running fast and with 56 FPS, sound is ok.
When my daugthers login at the same machine, (same screen resolution, same soundcard, same STK settings, but are "normal" users) sound sticks, we have 3-5 FPS and the CPU-load for STK is more than 100%.

Has anybody an explanation for this behavior?
Dont know, where is should start searching for differences.

Thanks a lot, for this cool game and for help.
rockfordscave
rockfordscave
 
Posts: 3
Joined: 25 Nov 2014, 15:11

Re: STK different with differnt users

Postby deve » 26 Nov 2014, 08:45

It looks like you don't have acceleration in the second account. Other games work there fine? You can look at:
cat /var/log/Xorg.0.log | grep EE
glxinfo | grep Open
(first command as root).
When something is wrong, xorg log often says that it can't load for example glx module.

Is game opened in exactly the same method on both accounts? Has one account some specific start scripts? Maybe some settings were modified for example by driconf?

If something is wrong in local files, you can check it in terminal with:
export HOME=/path/to/new/config/
supertuxkart
It uses other home path instead of /home/user/
deve
 
Posts: 268
Joined: 23 Jan 2014, 13:45

Re: STK different with differnt users

Postby rockfordscave » 27 Nov 2014, 22:33

Hello,

glx and Xorg seem to be working at both accounts, the output is just the same:

itsme@gandalf:~$ glxinfo |grep Open
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 6800/AGP/SSE/3DNOW!
OpenGL version string: 2.1.2 NVIDIA 304.123
OpenGL shading language version string: 1.20 NVIDIA via Cg compiler
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 NVIDIA 304.123 304.123
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.00
OpenGL ES profile extensions:
itsme@gandalf:~$ cat /var/log/Xorg.0.log | grep EE
[ 32.677] Current Operating System: Linux gandalf 3.16.0-24-lowlatency #32-Ubuntu SMP PREEMPT Tue Oct 28 13:43:37 UTC 2014 i686
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 37.994] (EE) open /dev/dri/card0: No such file or directory
[ 37.995] (EE) open /dev/fb0: No such file or directory

So I have no idea, what to test next.

Maybe I should copy the configfile from sudo account to the othe one...

Thanks for reply, deve
rockfordscave
rockfordscave
 
Posts: 3
Joined: 25 Nov 2014, 15:11

Re: STK different with differnt users

Postby deve » 28 Nov 2014, 08:54

Do you have a reason to use low latency kernel? It may cause issues in typical use because some processes have higher proirity and this can slowdown other apps. But it's probably not a problem in this case because it works on other account. I just inform you.

These lines rather shouldn't be there:
[ 37.994] (EE) open /dev/dri/card0: No such file or directory
[ 37.995] (EE) open /dev/fb0: No such file or directory
You can look if they are on working account too.

But glxinfo output looks fine. When it has problem with drivers, it usually fallbacks to gallium/software rendering.

Are you sure that it's not a problem with local config files (in user home directory)?

Hard to say what can be wrong. Look at everything what you modified in system ;) Manually updated drivers, created xorg.conf file, .xinitrc, .drirc...

Btw. when you create other users, they should probably be added to some groups in /etc/group file. Some people say that user must be added to video group.
deve
 
Posts: 268
Joined: 23 Jan 2014, 13:45

Re: STK different with differnt users

Postby rockfordscave » 01 Dec 2014, 21:27

deve {l Wrote}:
These lines rather shouldn't be there:
[ 37.994] (EE) open /dev/dri/card0: No such file or directory
[ 37.995] (EE) open /dev/fb0: No such file or directory
You can look if they are on working account too.

Yes they are. Dont know, whats the first error means, but the second ist only, that I have no framebufferdevice (which is not neccessary).

deve {l Wrote}:Are you sure that it's not a problem with local config files (in user home directory)?

maybe, but where should I start to compare.

deve {l Wrote}:Btw. when you create other users, they should probably be added to some groups in /etc/group file. Some people say that user must be added to video group.

I will look at it once more, Its very funny, that I 'm not in the video group, but my daughters are (both).

Running a lowlatency kernal is neccessary, because I use a lot of audio software with jack. So I decided to run Ubuntu Studio (which has XFCE as GUI).
Thanks a lot, I'll keep on seaching for differences.

rockford in his cave
rockfordscave
 
Posts: 3
Joined: 25 Nov 2014, 15:11

Who is online

Users browsing this forum: No registered users and 1 guest