I have source for a program that is attempting to open /dev/nvidia0 then on failure open /dev/dri/card0 to get some vsync settings.
Neither of those two files is found on my laptop in /dev. Is this because of udev?
I cant find anthing in /dev that might be used instead.
Any ideas on what to open to read vsync information from X windows?
Thanks,
Jerry
On 11/7/05, Jerry Geis geisj@pagestation.com wrote:
I have source for a program that is attempting to open /dev/nvidia0 then on failure open /dev/dri/card0 to get some vsync settings.
Neither of those two files is found on my laptop in /dev. Is this because of udev?
No, /dev/nvidia0 exists on my centos 4.2 box in /dev You should check that you have nvidia's drivers installed correctly and that the nvidia module is loaded by checking with lsmod.
Any ideas on what to open to read vsync information from X windows?
I think xdpyinfo gives you this. I can't remember.
-- Jim Perrin System Administrator - UIT Ft Gordon & US Army Signal Center
On 11/7/05, Jerry Geis geisj@pagestation.com wrote:
I have source for a program that is attempting to open /dev/nvidia0 then on failure open /dev/dri/card0 to get some vsync settings.
You _must_disable_ DRI if you load the nVidia driver!
nVidia does _not_ use the Direct Rendering Infrastructure (DRI) for OpenGL, it provides a full OpenGL over X11 (GLX) capabilities!
[ Think of DRI v. GLX as the old "Mini Client Driver" (MCD) v. the full "Installable Client Driver" (ICD) support for OpenGL in the Windows world. Having a full GLX implementation is better, long story. ]
Comment out the line Module "DRI" near the top of your XF86config/Xorg configuration file. The DRI section at the end will be ignored (don't worry about commenting it out).
Neither of those two files is found on my laptop in /dev. Is this because of udev?
On FC3+/RHEL4+, yes. There are many "proper" ways to set this up. This is the easiest way although not the most "proper" (just copy the dev files to /etc/udev/devices/) ... 1. Re-install the nVidia driver (creates /dev/ entries) 2. Run: cp -a /dev/nvidia* /etc/udev/devices chown root.root /etc/udev/devices/nvidia*
Jim Perrin jperrin@gmail.com wrote:
No, /dev/nvidia0 exists on my centos 4.2 box in /dev You should check that you have nvidia's drivers installed correctly and that the nvidia module is loaded by checking with lsmod.
udev is the culprit.
I think xdpyinfo gives you this. I can't remember.
xvidtune
But open your monitor's manual and get the maximum specs for your monitor and set them in the XF86Config/Xorg file first.
On 11/8/05, Bryan J. Smith thebs413@earthlink.net wrote:
On 11/7/05, Jerry Geis geisj@pagestation.com wrote:
I have source for a program that is attempting to open /dev/nvidia0 then on failure open /dev/dri/card0 to get some vsync settings.
You _must_disable_ DRI if you load the nVidia driver!
nVidia does _not_ use the Direct Rendering Infrastructure (DRI) for OpenGL, it provides a full OpenGL over X11 (GLX) capabilities!
[ Think of DRI v. GLX as the old "Mini Client Driver" (MCD) v. the full "Installable Client Driver" (ICD) support for OpenGL in the Windows world. Having a full GLX implementation is better, long story. ]
Comment out the line Module "DRI" near the top of your XF86config/Xorg configuration file. The DRI section at the end will be ignored (don't worry about commenting it out).
Neither of those two files is found on my laptop in /dev. Is this because of udev?
On FC3+/RHEL4+, yes. There are many "proper" ways to set this up. This is the easiest way although not the most "proper" (just copy the dev files to /etc/udev/devices/) ...
- Re-install the nVidia driver (creates /dev/ entries)
- Run: cp -a /dev/nvidia* /etc/udev/devices chown root.root /etc/udev/devices/nvidia*
Jim Perrin jperrin@gmail.com wrote:
No, /dev/nvidia0 exists on my centos 4.2 box in /dev You should check that you have nvidia's drivers installed correctly and that the nvidia module is loaded by checking with lsmod.
udev is the culprit.
I think xdpyinfo gives you this. I can't remember.
xvidtune
But open your monitor's manual and get the maximum specs for your monitor and set them in the XF86Config/Xorg file first.
I sit corrected. good to know.
-- Jim Perrin System Administrator - UIT Ft Gordon & US Army Signal Center