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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-02-2003, 03:56 PM
|
#1
|
|
Member
Registered: Oct 2003
Posts: 44
Rep:
|
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
|
|
|
|
11-02-2003, 04:13 PM
|
#2
|
|
Member
Registered: Jun 2003
Location: Washington DC
Distribution: debian sid
Posts: 78
Rep:
|
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.)
|
|
|
|
11-02-2003, 04:15 PM
|
#3
|
|
Member
Registered: Oct 2003
Posts: 44
Original Poster
Rep:
|
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.
|
|
|
|
11-02-2003, 09:00 PM
|
#4
|
|
Member
Registered: Jun 2003
Location: Washington DC
Distribution: debian sid
Posts: 78
Rep:
|
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.
|
|
|
|
11-03-2003, 05:55 AM
|
#5
|
|
Member
Registered: Oct 2003
Posts: 44
Original Poster
Rep:
|
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.
|
|
|
|
11-05-2003, 04:53 PM
|
#6
|
|
Member
Registered: Oct 2003
Posts: 44
Original Poster
Rep:
|
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
|
|
|
|
11-05-2003, 10:38 PM
|
#7
|
|
Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154
Rep:
|
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.
|
|
|
|
11-05-2003, 10:40 PM
|
#8
|
|
Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154
Rep:
|
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.
|
|
|
|
11-06-2003, 04:11 PM
|
#9
|
|
Member
Registered: Oct 2003
Posts: 44
Original Poster
Rep:
|
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
|
|
|
|
11-06-2003, 07:04 PM
|
#10
|
|
Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:00 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|