Click to See Complete Forum and Search --> : re-enable 3d graphics


terpic
03-28-2004, 01:05 PM
How do I re-enable 3D graphics support?

I had the nvidia drivers installed and foolishly changed the colour resolution to 24 bit from 16 bit. when I rebooted 3D support was disabled, I changed the colour back to 16 bit but 3D support is still disabled. I am running SuSe9 and have looked in Yast2 and sax2 but can't see what to do.

Thanks for any help.

ShieldWolf
03-28-2004, 02:04 PM
Can you post your /etc/X11/XF86Config file? Maybe we can spot the problem there.

terpic
03-28-2004, 02:14 PM
this is the contents of my /etc/x11/config file

# /.../
# SaX generated XFree86 config file
# Created on: 2004-03-28T17:45:56+0100.
#
# Version: 4.7
# Contact: Marcus Schaefer <sax@suse.de>, 2002
#
# Automatically generated by [ISaX] (4.7)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/local"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/URW"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/PEX"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/kwintv"
FontPath "/usr/X11R6/lib/X11/fonts/truetype"
FontPath "/usr/X11R6/lib/X11/fonts/uni:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/CID"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/xtest"
InputDevices "/dev/ttyS0"
InputDevices "/dev/ttyS1"
InputDevices "/dev/ttyS2"
InputDevices "/dev/ttyS3"
InputDevices "/dev/ttyS4"
InputDevices "/dev/ttyS5"
InputDevices "/dev/ttyS6"
InputDevices "/dev/ttyS7"
InputDevices "/dev/ttyS8"
InputDevices "/dev/psaux"
InputDevices "/dev/logibm"
InputDevices "/dev/sunmouse"
InputDevices "/dev/atibm"
InputDevices "/dev/amigamouse"
InputDevices "/dev/atarimouse"
InputDevices "/dev/inportbm"
InputDevices "/dev/gpmdata"
InputDevices "/dev/mouse"
InputDevices "/dev/usbmouse"
InputDevices "/dev/adbmouse"
InputDevices "/dev/input/mice"
InputDevices "/dev/input/event0"
InputDevices "/dev/pointer0"
InputDevices "/dev/pointer1"
InputDevices "/dev/pointer2"
InputDevices "/dev/pointer3"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail"
EndSection

Section "Module"
Load "dbe"
Load "type1"
Load "speedo"
Load "freetype"
Load "extmod"
Load "glx"
Load "v4l"
EndSection

Section "InputDevice"
Driver "Keyboard"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbLayout" "gb"
Option "XkbModel" "pc105"
Option "XkbRules" "xfree86"
EndSection


Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "Device" "/dev/mouse"
Option "Emulate3Buttons" "on"
Option "Name" "Autodetection"
Option "Protocol" "ps/2"
Option "Vendor" "Sysp"
EndSection


Section "Monitor"
DisplaySize 330 250
HorizSync 28-48
Identifier "Monitor[0]"
ModelName "1024X768@60HZ"
Option "DPMS"
VendorName "--> VESA"
VertRefresh 50-60
UseModes "Modes[0]"
EndSection


Section "Modes"
Identifier "Modes[0]"
Modeline "1024x768" 61.89 1024 1080 1184 1344 768 769 772 794
Modeline "800x600" 36.88 800 832 912 1024 600 601 604 621
Modeline "640x480" 23.06 640 656 720 800 480 481 484 497
Modeline "1024x768" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
EndSection


Section "Screen"
DefaultDepth 16
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection


Section "Device"
BoardName "GeForce4 MX 440"
BusID "1:0:0"
Driver "nv"
Identifier "Device[0]"
VendorName "NVidia"
EndSection


Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
Option "Clone" "off"
Option "Xinerama" "off"
Screen "Screen[0]"
EndSection

Section "DRI"
Group "video"
Mode 0660
EndSection

Hayl
03-28-2004, 02:28 PM
Originally posted by terpic
How do I re-enable 3D graphics support?

I had the nvidia drivers installed and foolishly changed the colour resolution to 24 bit from 16 bit. when I rebooted 3D support was disabled, I changed the colour back to 16 bit but 3D support is still disabled. I am running SuSe9 and have looked in Yast2 and sax2 but can't see what to do.

Thanks for any help.

if you are referring to "3d support" in the SuSE Yast interface then ignore it... it is a wrong/stupid.

open a terminal and run glxgears. if it runs and you get a decent frame rate then 3D is enabled.

also: you are using the generic (un-3d-accelerated) nv driver.

change:

Driver "nv"

to:

Driver "nvidia"

mdwatts
03-28-2004, 03:14 PM
Originally posted by Hayl
if you are referring to "3d support" in the SuSE Yast interface then ignore it... it is a wrong/stupid.


Which is in the Nvidia/SuSE readme.

ftp://ftp.suse.com/pub/suse/i386/supplementary/X/XFree86/nvidia-installer-HOWTO

terpic
03-28-2004, 03:18 PM
How do I edit the code,I tried by opening the file in kwrite, but couldn't save the changes.
I have never managed to get into a file in konsole to be able to edit it.

glxgears wouldn't run so I assume the 3D graphics are not working.

terpic
03-28-2004, 03:29 PM
I originally had the nvidia drivers installed and working with Yast2, online update, a nvidia splash screen came up at boot, before kde and I could use games that needed 3D graphics. After I altered the bit rate to 24 bit then back to 16 bit there is no splash screen and when I start a game a box tells me that 3D is not configured and the game will not work.

would it be possible to uninstall the drivers and reinstall with yast on line update? If so where can I find them and how do I uninstall them.Although I would prefer to reconfigure the 3D card.

mdwatts
03-28-2004, 03:49 PM
Originally posted by terpic
How do I edit the code,I tried by opening the file in kwrite, but couldn't save the changes.
I have never managed to get into a file in konsole to be able to edit it.


You need to be root to edit with save for any files in /etc.

mdwatts
03-28-2004, 03:52 PM
Originally posted by terpic

would it be possible to uninstall the drivers and reinstall with yast on line update? If so where can I find them and how do I uninstall them.Although I would prefer to reconfigure the 3D card.

Manually download the Nvidia drivers, execute the install script and it should uninstall the current installed version first.

sh NVIDIA-Linux-x86-1.0-5336-pkg1.run

sax2 -m 0=nvidia (0 is a digit, not a letter!)

Backup /etc/X11/XF86Config or XF86Config-4 before reinstalling the Nvidia drivers as the sax2 command will likely overwrite your existing X config.

terpic
03-29-2004, 03:02 PM
I'm afraid this is turning into and unequal struggle so I think it would probably be easier to scratch this installation and reinstall, then update in Yast 2.

just a couple of questions, if I copy my home directory to another partition then reinstall linux will I still be able to transfer things like e-mails across to my new home directory and if so how?

terpic
03-30-2004, 06:05 PM
It looks like everything is ok, I opened Yast2 and checked the enable 3D graphics box,and this time as well as finalise I clicked apply. now the nvidia drivers are working and I checked my etc/x11/xf86config file and instead of the nv driver I am using the nvidia driver, also glxgears is showing a rate of 17240 frames in 5 seconds which I assume is ok. Suse must have fixed any problems they had.

Thanks for your time and advice though.