LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-02-2003, 03:56 PM   #1
baronsam
Member
 
Registered: Oct 2003
Posts: 44

Rep: Reputation: 15
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
 
Old 11-02-2003, 04:13 PM   #2
dbkluck
Member
 
Registered: Jun 2003
Location: Washington DC
Distribution: debian sid
Posts: 78

Rep: Reputation: 15
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.)
 
Old 11-02-2003, 04:15 PM   #3
baronsam
Member
 
Registered: Oct 2003
Posts: 44

Original Poster
Rep: Reputation: 15
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

Last edited by baronsam; 11-02-2003 at 06:07 PM.
 
Old 11-02-2003, 09:00 PM   #4
dbkluck
Member
 
Registered: Jun 2003
Location: Washington DC
Distribution: debian sid
Posts: 78

Rep: Reputation: 15
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.
 
Old 11-03-2003, 05:55 AM   #5
baronsam
Member
 
Registered: Oct 2003
Posts: 44

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

Last edited by baronsam; 11-03-2003 at 05:58 AM.
 
Old 11-05-2003, 04:53 PM   #6
baronsam
Member
 
Registered: Oct 2003
Posts: 44

Original Poster
Rep: Reputation: 15
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
 
Old 11-05-2003, 10:38 PM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
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

Last edited by DavidPhillips; 11-05-2003 at 10:59 PM.
 
Old 11-05-2003, 10:40 PM   #8
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
glxgears with 1"x1" window

42992 frames in 5.0 seconds = 8598.400 FPS




TuxRacer Rules!

Last edited by DavidPhillips; 11-05-2003 at 10:46 PM.
 
Old 11-06-2003, 04:11 PM   #9
baronsam
Member
 
Registered: Oct 2003
Posts: 44

Original Poster
Rep: Reputation: 15
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
 
Old 11-06-2003, 07:04 PM   #10
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Display problems with Nvidia drivers on Debian (XFree86 4.3.0.1) with GeForce 4MX 440 lordnukem Linux - Hardware 6 02-05-2005 05:32 AM
Black screen after installing nvidia 6106 drivers Doktor Prokt Fedora 7 08-10-2004 04:39 AM
Black Screen On Booting On GeForce 3 With Nvidia Detonator Drivers On Mandrake 10.0 Cnupm96 Linux - Hardware 3 06-02-2004 06:46 PM
new nvidia drivers bring black screen brandonloserkid Slackware 4 01-20-2004 08:35 PM
geforce (black screen) after installing drivers flump Linux - Hardware 2 08-17-2003 05:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration