[pkg-nvidia-devel] Bug#570324: nvclock: Complain about missing driver which is present

Andreas Beckmann debian at abeckmann.de
Sun Jun 6 09:06:54 UTC 2010


tags 570324 + moreinfo
thanks

On Thursday, 18. February 2010 03:43:01 furex wrote:
> Package: nvclock
> Version: 0.8b4-1
>
> If run from a user account nvclock will complain that no drivers are
> present, when really they are, and error out.

Can't reproduce this problem here.

> In src/backend/back_linux.c at line 95, nvclock wants the user
> to have drivers AND be root at the same time. If the check is corrected,
> nvclock is then able to perform various tasks w/o requiring usage of root
> account.

No, you misinterpreted the code. Root is only required if the nvidia kernel 
module is *not* (loaded *and* initialized). Initialized here probably 
means "X is running".
To access the nvidia module as a regular user, this user either needs to be in 
the video group or must be the user logged into X. At least it works this way 
with the current driver in squeeze and sid (195.36.24).

Please retry with the current driver in testing/unstable and if the problem 
persists, provide a more detailed description of your setup, including the 
permissions on /dev/nvidia*

> Versions of packages nvclock suggests:
> pn  nvidia-glx                    <none>     (no description available)

Oh, you don't have nvidia-glx installed. This is probably a rather unsupported 
setup upstream and I can't reproduce this here.

Andreas





More information about the Pkg-nvidia-devel mailing list