LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   redhat 9 geforce 4 mx 440 nvidia drivers black screen (https://www.linuxquestions.org/questions/linux-software-2/redhat-9-geforce-4-mx-440-nvidia-drivers-black-screen-111580/)

baronsam 11-02-2003 03:56 PM

redhat 9 geforce 4 mx 440 nvidia drivers black screen
 
Hello--

I'm stuck with a black screen with the nvidia drivers, if you could give me a hand I would appreciate it !

Running redhat 9, a geforce4 mx 440 on agp port.
I installed the latest nvidia ia32 drivers downloaded from the web site.
I believe they are installed correctly because when I reinstalled them, i got a message that they were already installed.

I edited my XF86Config file twice, once only changing "nv" to "nvidia", the second time using the sample file that comes with the drivers, changing everything to agp, like it is in the sample file, etc...

both times I'm stuck with a black screen.

WW excerpts from my /var/log/xfree86.0.log follow :


(WW) Open APM failed (/dev/apm_bios) (No such device)

(WW) NVIDIA(0): Failure reading EDID parameters for display device CRT-0


(at the end, the two last lines)

(WW) NVIDIA(0): Failed to initialize AGP
(II) NVIDIA(0): Setting mode "800x600"

thanks for your help,

all best,

--sam

dbkluck 11-02-2003 04:13 PM

is agp support compiled into your kernel? (are you running a custom kernel? i'd imagine that redhat would include agp support in their stock kernel, but i don't use rh so i'm not sure.)

baronsam 11-02-2003 04:15 PM

not running a custom kernel.

I have no idea if the redhat 9 2.4.20 - 20.9 kernel I installed supports agp. Do you know how I could find out ?

thanks,

--sam

dbkluck 11-02-2003 09:00 PM

hmm... no, not off hand. i tend to think not, but you should be able to fix that by loading the appropriate module. type lsmod at the command line and make sure nothing resembling "agpgart" is running (if it is, then i'm stumped). if not, however, type modprobe agpgart and see what happens.

baronsam 11-03-2003 05:55 AM

I ran modprobe agpgart, then logged out, and got the black screen again...
also got the same errors in /var/log/XFree86.0.log

baronsam 11-05-2003 04:53 PM

could somebody please give me a hand with this, I'm really stuck ! I don't know what to do...
thanks for your help,

--sam

DavidPhillips 11-05-2003 10:38 PM

You do not want to have agpgart loaded due to the new NV setup uses the NvAGP by default.

Unload the module then try startx

init 3

rmmod agpgart

init 5

also check to see which libGL your using


ldd `which glxgears`
libGL.so.1 => /usr/lib/libGL.so.1 (0x40024000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4008d000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4009b000)
libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40179000)
libm.so.6 => /lib/i686/libm.so.6 (0x401ca000)
libc.so.6 => /lib/i686/libc.so.6 (0x401ec000)
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x40328000)
libdl.so.2 => /lib/libdl.so.2 (0x40800000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


These are the correct ones..

libGL.so.1 => /usr/lib/libGL.so.1 (0x40024000)
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x40328000)

If you have some other files besides the ones in /usr/lib you need to correct the problem

Remove the other libGL* files

Then recheck. I had two folders, /usr/lib/tls and /usr/X11R6/lib/tls that had the libGL* files that were being used, I had to get rid of them and run ldconfig.

All is now good

Red Hat Linux release 9.0.93 (Severn)

glxgears
4511 frames in 5.0 seconds = 902.200 FPS
4513 frames in 5.0 seconds = 902.600 FPS


glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation

DavidPhillips 11-05-2003 10:40 PM

glxgears with 1"x1" window

42992 frames in 5.0 seconds = 8598.400 FPS

:)


TuxRacer Rules!

baronsam 11-06-2003 04:11 PM

thanks for answering !

agpgart wasn't running

here is some output.
that second file corresponds to the version of the new nvidia drivers I installed

[root@yoruban lib]# ldd libGL.so.1
libGLcore.so.1 => /usr/lib/tls/libGLcore.so.1 (0x4007a000)
libm.so.6 => /lib/tls/libm.so.6 (0x4055a000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4057c000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4058b000)
libdl.so.2 => /lib/libdl.so.2 (0x4066a000)
libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
[root@yoruban lib]# ldd libGL.so.1.0.4496
libGLcore.so.1 => /usr/lib/tls/libGLcore.so.1 (0x4007a000)
libm.so.6 => /lib/tls/libm.so.6 (0x4055a000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4057c000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4058b000)
libdl.so.2 => /lib/libdl.so.2 (0x4066a000)
libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

what should I do to be able to get something better than 800x600 ?

thanks for your help,

--sam

DavidPhillips 11-06-2003 07:04 PM

ok, a couple of things.

You are not using the correct libs. the libGL and libGLcore libs are in /usr/lib. See my post again for details.


Now for the other thing,

This has nothing to do with the size of your screen. This has to do with rendering.


For screen size you need to edit the /etc/X11/XF86Config file..
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection


All times are GMT -5. The time now is 05:17 PM.