You are not logged in.

#1 2014-09-17 21:22:18

The Loko
Member
From: Spain
Registered: 2014-07-23
Posts: 103

Use same nvidia-settings config in other X server.

I have been using Linux for a while and I have been playing all the games that can't be minimized on a separate X server, so I can use the desktop while playing. I use this script now: https://wiki.archlinux.org/index.php/Ru … _X_display

But I have noticed that the nvidia-settings (antialiasing and all that) have no effect on the new X. I have tried adding nvidia-settings --load-settings-only to the game script (I launch the games with ./xinit script, and script contains "nvidia-settings --load-settings-only" and a call to the game), but it doesn't seems to work either.

I notice it because antialising/anisotropic filters aren't applied and there are some glitches on textures. If I run the game con the current X server, those filters are applied and textures are fine.

Anyone know what can I do to load the same configuration when running on another X server?

I'm using all latest software and Nvidia GT440.
Thanks

Last edited by The Loko (2014-09-17 21:23:21)

Offline

#2 2014-09-19 21:46:51

The Loko
Member
From: Spain
Registered: 2014-07-23
Posts: 103

Re: Use same nvidia-settings config in other X server.

I have been testing with nvidia-settings -q all, running it in another X server and redirecting the output to a file.
Then I diff'ed it with the result of running it on the desktop and the output was the same, so the config is loaded, but 1 line:

Other X: Attribute 'GPUUtilization' (julio-linux:10[gpu:0]): graphics=31, memory=24, video=0, PCIe=1
Desktop: Attribute 'GPUUtilization' (julio-linux:0[gpu:0]): graphics=0, memory=1, video=0, PCIe=0

While GPUUtilization attribute on desktop is always the same, when running another X server, this attribute on that X changes, those variables change randomly, I suspect about PCIe parameter. It looks for another GPU?? (I only have one).
Sometimes the PCIe parameter is the same, but not the others.

I have tried running another desktop too, (I use xfce) loading the xinitrc file with startx ~/.xinitrc --: 10, and run the game from there. The antialiasing/anisotropic filters were applied there, the game looked good.
I checked there the configuration and the GPUUtilization attribute was the same of main X server/desktop, It doesn't change when loading another desktop with .xinitrc.
So I think that the problem is when not loading a desktop, the attribute 'GPUUtilization' changes and this is what makes the driver not apply the settings there.

How can I fix that?

Last edited by The Loko (2014-09-19 21:47:43)

Offline

Board footer

Powered by FluxBB