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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-31-2006, 01:42 AM
|
#1
|
LQ Newbie
Registered: Apr 2006
Distribution: fedora 9, fedora 8, xubuntu
Posts: 21
Rep:
|
Video card and google earth
I have Mandriva 2007 installed on a pc with a geforce4 TI4200 128mb card, P4 2.0ghz and 512 ram. When I start google earth it says it cannot identify my video card. I installed the drivers from the nvidia website but still no success-says installed successfully. Is there a way to check what driver Linux is using and change it? If so please provide detailed instructions TIA.
|
|
|
10-31-2006, 02:12 AM
|
#2
|
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131
Rep: 
|
You'll see the drivers like this:
1) Which display drivers your X is currently running?
Code:
less /etc/X11/xorg.conf | grep Driver
(or XF86Config-4 instead of xorg.conf for XFree, if you're using). That should give you some lines for drivers, and hopefully some of them talks about nvidia. If you're unsure, just getting odd driver names, leave the pipe stuff ( | grep Driver) off and just read the file from the beginning, looking for screen settings, device config and there your drivers.
2) Which kernel module is loaded/is the correct (nvidia?) kernel module loaded?
See the list, look for nvidia name or equivalent, depending which one it is. Should be loaded. If not, see
Code:
modprobe -l | grep nvidia
..and if you got something (which isn't in the lsmod list already),
Code:
modprobe that_module_name
Also, try
and you should see some results; from glxinfo you should see that DRI/DirectRendering is enabled and your card's name/driver's name should be there, in the beginning of the info.
|
|
|
11-03-2006, 08:11 PM
|
#3
|
LQ Newbie
Registered: Apr 2006
Distribution: fedora 9, fedora 8, xubuntu
Posts: 21
Original Poster
Rep:
|
I did as you said and this is what I get:
Lsmod gives me:
Module Size Used by
rfcomm 33428 2
l2cap 21280 3 rfcomm
bluetooth 43268 2 rfcomm,l2cap
ipt_IFWLOG 3780 2
ipt_psd 44488 1
ip_set_iptree 7368 2
eth1394 17380 0
xt_tcpudp 3776 11
xt_state 2688 12
xt_pkttype 2496 4
iptable_raw 2496 0
xt_CLASSIFY 2464 0
xt_CONNMARK 2912 0
xt_MARK 2976 0
xt_length 2592 0
xt_connmark 2592 0
xt_physdev 3024 0
xt_policy 4320 6
xt_multiport 3904 4
xt_conntrack 2976 0
ipt_ULOG 7204 0
ipt_TTL 2752 0
ipt_ttl 2464 0
ipt_TOS 2688 0
ipt_tos 2240 0
ipt_TCPMSS 4288 0
ipt_set 3008 2
ipt_SAME 2976 0
ipt_REJECT 5184 4
ipt_REDIRECT 2848 0
ipt_recent 10188 0
ipt_owner 2560 0
ipt_NETMAP 2752 0
ipt_MASQUERADE 3936 0
ipt_LOG 7232 10
ipt_iprange 2432 0
ipt_hashlimit 8168 0
ipt_ECN 3424 0
ipt_ecn 2752 0
ipt_DSCP 2688 0
ipt_dscp 2272 0
ipt_CLUSTERIP 7652 0
ipt_ah 2496 0
ipt_addrtype 2432 0
ip_set_portmap 4896 0
ip_set_macipmap 4836 0
ip_set_ipmap 4896 0
ip_set_iphash 7908 0
ip_set 19196 11 ip_set_iptree,ipt_set,ip_set_portmap,ip_set_macipmap,ip_set_ipmap,ip_set_iphash
ip_nat_irc 2912 0
ip_nat_tftp 2272 0
ip_nat_ftp 3648 0
ip_conntrack_irc 6000 1 ip_nat_irc
ip_conntrack_tftp 4088 1 ip_nat_tftp
ip_conntrack_ftp 6960 1 ip_nat_ftp
iptable_nat 7652 0
ip_nat 15692 8 ipt_SAME,ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,ip_nat_irc,ip_nat_tftp,ip_nat_ftp,iptable_nat
ip_conntrack 48320 13 xt_state,xt_CONNMARK,xt_connmark,xt_conntrack,ipt_MASQUERADE,ip_nat_irc,ip_nat_tftp,ip_nat_f
tp,ip_conntrack_irc,ip_conntrack_tftp,ip_conntrack_ftp,iptable_nat,ip_nat
nfnetlink 5912 2 ip_nat,ip_conntrack
iptable_mangle 3104 1
usblp 12352 0
ipv6 237120 12
snd_seq_dummy 3620 0
iptable_filter 3232 1
snd_seq_oss 31392 0
ip_tables 12740 4 iptable_raw,iptable_nat,iptable_mangle,iptable_filter
snd_seq_midi_event 7072 1 snd_seq_oss
x_tables 12132 40 ipt_IFWLOG,ipt_psd,xt_tcpudp,xt_state,xt_pkttype,xt_CLASSIFY,xt_CONNMARK,xt_MARK,xt_length,x
t_connmark,xt_physdev,xt_policy,xt_multiport,xt_conntrack,ipt_ULOG,ipt_TTL,ipt_ttl,ipt_TOS,ipt_tos,i pt_TCPMSS,ipt_set,ipt_SAM
E,ipt_REJECT,ipt_REDIRECT,ipt_recent,ipt_owner,ipt_NETMAP,ipt_MASQUERADE,ipt_LOG,ipt_iprange,ipt_has hlimit,ipt_ECN,ipt_ecn,ip
t_DSCP,ipt_dscp,ipt_CLUSTERIP,ipt_ah,ipt_addrtype,iptable_nat,ip_tables
snd_seq 49488 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 7212 3 snd_seq_dummy,snd_seq_oss,snd_seq
sis900 21120 0
mii 5664 1 sis900
snd_pcm_oss 40384 0
snd_mixer_oss 16096 1 snd_pcm_oss
af_packet 17960 2
snd_intel8x0 29372 1
snd_ac97_codec 96868 1 snd_intel8x0
snd_ac97_bus 2848 1 snd_ac97_codec
snd_pcm 70116 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer 19620 2 snd_seq,snd_pcm
snd_page_alloc 8712 2 snd_intel8x0,snd_pcm
snd 46500 11 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd
_pcm,snd_timer
soundcore 8096 1 snd
video 13924 0
thermal 11240 0
processor 21448 1 thermal
fan 4036 0
container 3968 0
button 5808 0
battery 8260 0
ac 4292 0
ide_cd 35776 0
binfmt_misc 9800 1
loop 15400 0
dm_mod 49944 0
cpufreq_ondemand 6956 0
cpufreq_conservative 6952 0
cpufreq_powersave 2400 0
p4_clockmod 5604 0
speedstep_lib 4484 1 p4_clockmod
freq_table 4800 1 p4_clockmod
sis_agp 7012 1
agpgart 27240 1 sis_agp
pl2303 19652 0
ohci1394 32240 0
ieee1394 286264 2 eth1394,ohci1394
ehci_hcd 29160 0
usbserial 29192 1 pl2303
ohci_hcd 19012 0
usbcore 113472 6 usblp,pl2303,ehci_hcd,usbserial,ohci_hcd
tsdev 7040 0
evdev 8864 1
ext3 124936 2
jbd 51028 1 ext3
ide_generic 1760 0 [permanent]
modprobe is:
/lib/modules/2.6.17-5mdv/kernel/drivers/video/nvidia/nvidiafb.ko.gz
/lib/modules/2.6.17-5mdv/kernel/drivers/char/agp/nvidia-agp.ko.gz
glxinfo
name of display: :0.0
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
0x21 24 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
0x22 24 dc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
0x5b 32 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
|
|
|
11-03-2006, 08:22 PM
|
#4
|
LQ Newbie
Registered: Apr 2006
Distribution: fedora 9, fedora 8, xubuntu
Posts: 21
Original Poster
Rep:
|
less /etc/X11/xorg.conf gives me:
# File generated by XFdrake (rev 57713)
Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "1024x768 @ 60 Hz"
HorizSync 31.5 - 48.5
VertRefresh 50.0 - 70.0
ModeLine "768x576" 50.0 768 832 846 1000 576 590 595 630
ModeLine "768x576" 63.1 768 800 960 1024 576 578 590 616
EndSection
Section "Device"
Identifier "device1"
VendorName "nVidia Corp."
BoardName "NVIDIA GeForce4 (generic)"
Driver "nv"
Option "DPMS"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24
Subsection "Display"
Depth 8
Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
Subsection "Display"
Depth 15
Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
EndSection
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Mon Oct 16 22:13:07 PDT 2006
# File generated by XFdrake (rev 57713)
# File generated by XFdrake (rev 57713)
# File generated by XFdrake (rev 57713)
# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection
Section "Files"
# font server independent of the X server to render fonts.
# minimal fonts to allow X to run without xfs
FontPath "unix/:-1"
FontPath "/usr/share/fonts/misc:unscaled"
EndSection
Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection
Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
# allows the server to start up even if the mouse does not work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
Option "allowmouseopenfail"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbOptions" "compose:rwin"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
EndSection
Section "Extensions"
Option "Composite"
EndSection
|
|
|
11-03-2006, 08:33 PM
|
#5
|
Member
Registered: Jul 2005
Distribution: Arch
Posts: 489
Rep:
|
You'll need to edit your xorg.conf file to tell it to use the nvidia driver instead of the generic one you were using. Do this by changing the line that says
to
You'll need to open this file as root in order to edit it.
|
|
|
11-04-2006, 06:12 AM
|
#6
|
LQ Newbie
Registered: Apr 2006
Distribution: fedora 9, fedora 8, xubuntu
Posts: 21
Original Poster
Rep:
|
Editing the file alone does not help. How do I get the proper driver module to load?
|
|
|
11-04-2006, 11:47 AM
|
#7
|
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,153
|
Quote:
Editing the file alone does not help.
|
When you have edited the file to change the driver to nvidia, you need either to reboot (in which case you should see the nvidia logo flash by as X loads), or easier, just restart X with <Ctrl><Alt><Backspace>
HTH
|
|
|
11-05-2006, 01:02 AM
|
#8
|
LQ Newbie
Registered: Apr 2006
Distribution: fedora 9, fedora 8, xubuntu
Posts: 21
Original Poster
Rep:
|
I get this message when I restart X server when I change drive to nvidia
(EE) NVIDIA(0): Failed to load the NVIDIA kernel module!
(EE) NVIDIA(0): *** Aborting ***
FATAL: Module nvidia_legacy not found.
|
|
|
11-05-2006, 01:24 AM
|
#9
|
Member
Registered: Jul 2005
Distribution: Arch
Posts: 489
Rep:
|
Based on the last line it looks to me like you're needing to use the nvidia-legacy drivers instead of the regular nvidia. This is a seperate package in ubuntu, I would imagine it would be the same for mandriva as well.
|
|
|
11-05-2006, 09:53 AM
|
#10
|
Member
Registered: May 2005
Location: Winnipeg, Canada
Distribution: mostly mepis
Posts: 427
Rep:
|
That card isn't on the legacy driver list http://www.nvidia.com/object/IO_32667.html
That's not to say the legacy drivers wouldn't work.
Are you sure the installation instructions from nvidia were followed to the letter? The documentation there is rather good.
Curious why you aren't doing this through whatever Mandriva uses for a package manager. Most distros I have tried can install nvidia drivers this way, although possibly not the exact same drivers available directly from nvidia. Maybe Mandriva is an exception.
|
|
|
11-05-2006, 11:26 AM
|
#11
|
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073
Rep:
|
Why are you trying to use the Nvidia driver? Google earth works fine for me with the regular open source nv driver.
|
|
|
All times are GMT -5. The time now is 03:07 PM.
|
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
|
|