Alter video card device id to load nv driver
Hi there,
I have a Scientific Linux machine (essentially RHEL4). I am not wanting to install the nvidia driver as I do not want to be updating the driver every time there is a kernel update. So, I'm trying to get the nv driver to work. The problem is that the machines came with a Quadro NVS 290. This is slightly newer than the installed version of nv can handle. So, I'm trying to force it. I figure that if I can change the device_id of the card to 0165 (Quadro NVS 285) that that should work good as it's a close card and it's supported by the driver. I've tried the following syntax along with a few variations with no results. It outputs what looks like a change, but when I probe for the value it's always the original value. (Need to change device_id from 042f to 0165) Code:
$ sudo /sbin/setpci -v -s 1:0 device_id.W=0x0165 Thanks, Keith |
Do you have a need for hardware acceleration? If not then just use what your distribution provides. If you can get 32 bit color depth at the resolution that you want to use then stay with that. Hence the expression if it works then don't fix it.
If you have the "good" Nvidia module installed then move the "bad" one to some unusual place such as your home directory. That might force the o/s to load the one that you want. Your /etc/X11/xorg.conf file should, in part, look like this. Code:
Section "Device" In general, if the distribution that you are using doesn't do things the way that you want to do them then don't fight with your distribution. Rather, find one that does what you want without a lot of effort on your part. |
Re: Forcing "nv" to work
Quote:
You could (maybe?) compile a kernel yourself, and then install the Nvidia driver, and then it wouldn't get updated through yum, so it wouldn't matter(?) Not sure if this would work/is possible; it's just one thought. What I think might be better to try is, after backing up "/etc/X11/xorg.conf" and "/etc/modules", to do the following:
|
if the os was a new up to date os i would use the akmod-nvidia .that way it is auto rebuilt for each new kernel . there is no fussing with the driver.But for a RH4 ,maybe one could be recompiled for the system???
|
Sorry for the long delay - I was on a long vacation.
The problem with using the stock nv driver is that for what is available, it does not support the specific model of video card in this system (NVidia Quadro NVS 290). The problem with using the official nvidia driver is that it refuses to compile a kernel module properly (it compiles the normal kernel module, but this system is running an smp kernel which it doesn't compile for). I'll see if I can try akmod-nvidia, but it isn't available in the default yum repos we have and as these are used for scientific research I'd like to steer clear of randomly adding repos - even good ones like livna. Anything that needs to be recompiled manually is not something I want to do. Thanks, Keith |
VESA driver?
Did you try using the VESA driver?
Also, could you possibly write a script to have the Nvidia driver automatically re-compile every time you updated the kernel? |
The vesa driver appears to work - now to get it to work with widescreen resolutions...
I'd rather have an nvidia or nv driver, but it's not worth the trouble or complications. |
you could build the nvidia.run driver , if you can get the source for that old kernel
|
Quote:
Also, make a backup of it, just in case. |
Ready to start looking for alternate repositories for SLC4 now...
Didn't check this post for a while but here's the xorg.conf if interested - pretty basic Quote:
|
Quote:
Code:
Modes "1440x900" "1280x960" "1152x864" "1024x768" "800x600" "640x480" Code:
Modes "1680x1050" "1440x900" "1280x960" "1152x864" "1024x768" "800x600" "640x480" |
Thanks for the suggestion however it appears the driver refuses to use anything higher than 1024x768 as it's also the highest res to show up in Preferences -> Resolution.
/var/log/Xorg.0.log snippet Quote:
|
how about adding metamode
part of mine for fedora 9 Code:
Section "Screen" http://www.nvidia.com/object/linux_d...32_180.22.html |
Thanks for the effort. metamodes tried and failed to yield anything new.
The problem with the nvidia driver (at least when i tried it last time) is that although it does compile the kernel module, it doesn't do it for the running kernel (SMP) - it only does it for the non-smp one. Therefore, it'a a PITA and on the next automatic yum update, the entire gui breaks. |
time to install a modern OS slc4 is just a bit out dated .
|
All times are GMT -5. The time now is 08:39 AM. |