View Single Post
Old 09-09-08, 09:17 AM   #3
jazzychad
bootstrapped user
 
Join Date: Sep 2008
Posts: 4
Default Re: nvclock: map_dev_mem (mmap) returning -1

Hi Thunderbird,

Thanks for the reply.

I am in an X session when running nvclock. Doing an ls -al on /dev/nvidia0 and /dev/nvidia1 shows a size of 195. (I'm not sure if the size reported by ls on character devices is reliable, though). How can I tell if these files are "activated"? Just by their existence?

Code:
chad@svr-lnx:~$ ls -al /dev/nvi*
crw-rw-rw- 1 root root 195,   0 2008-09-09 10:12 /dev/nvidia0
crw-rw-rw- 1 root root 195,   1 2008-09-09 10:13 /dev/nvidia1
crw-rw-rw- 1 root root 195, 255 2008-09-09 10:12 /dev/nvidiactl
chad@svr-lnx:~$
Is there a way to force it to use /dev/mem?

Thanks for the help,
-Chad
jazzychad is offline   Reply With Quote