Gå til innhold

3D-akselerasjon, Nvidia og Linux Mint 5


Anbefalte innlegg

Jeg prøver å installere og kjøre diverse spill og dette krever naturlig nok 3D-akselerasjon. Grafikkdriverne har jeg fått installert med EnvyNG, men så må jeg "enable" driveren i "Hardware Drivers". Når jeg har gjort det må jeg restarte maskinen og her kommer faenskapen. Når maskinen starter opp igjen får jeg følgende beskjed fra skjermen: "Input resolution not supported". Det jeg gjorde da var å ta ut skjermkortet og bruke hovedkort-skjermutgangen for så og reinstallere driverne og rette opp xorg.conf til slik den var. Så setter jeg skjermkortet inn igjen og alt er som før. Driverne er innstallert, men uten 3D-akselerasjon.

PC-specsa er i profilen.

 

Så, hvordan får jeg aktivert 3D-akselerasjon uten alt dette kaoset?

Lenke til kommentar
Videoannonse
Annonse

Aktiver/innstaler driveren med restricted driver manager, og så booter du i recovery mode. Ubuntu har visstnok et verktøy der for å generere ny xorg som du skal kunne bruke. Eller så kan du kjøre nvidia sitt verktøy, nvidia-xconfig (kanskje det lureste).

Lenke til kommentar

Da var det gjort. Nå kan jeg ikke ha høyere oppløsning enn 800x600 og når jeg prøver å gå inn på NVIDIA X Server Settings får jeg følgende beskjed: You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server. Jeg prøvde dette og det hjalp ikke. Hjelp!

Lenke til kommentar

xorg.conf

 

# nvidia-xconfig: X configuration file generated by nvidia-xconfig

# nvidia-xconfig: version 1.0 (buildmeister@builder3) Thu Feb 14 18:20:37 PST 2008

 

# xorg.conf (X.Org X Window System server configuration file)

#

# This file was generated by failsafeDexconf, using

# values from the debconf database and some overrides to use vesa mode.

#

# You should use dexconf or another such tool for creating a "real" xorg.conf

# For example:

# sudo dpkg-reconfigure -phigh xserver-xorg

 

Section "ServerLayout"

Identifier "Default Layout"

Screen 0 "Default Screen" 0 0

InputDevice "Generic Keyboard" "CoreKeyboard"

InputDevice "Configured Mouse" "CorePointer"

EndSection

 

Section "Module"

Load "glx"

Load "v4l"

EndSection

 

Section "InputDevice"

Identifier "Generic Keyboard"

Driver "kbd"

Option "XkbRules" "xorg"

Option "XkbModel" "pc105"

Option "XkbLayout" "us"

Option "XkbOptions" "lv3:ralt_switch"

EndSection

 

Section "InputDevice"

Identifier "Configured Mouse"

Driver "mouse"

Option "Emulate3Buttons" "true"

EndSection

 

Section "Monitor"

Identifier "Configured Monitor"

VendorName "Plug 'n' Play"

ModelName "Plug 'n' Play"

Gamma 1

ModeLine "640x480@60" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync

ModeLine "640x480@72" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync

ModeLine "640x480@75" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync

ModeLine "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync

ModeLine "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync

ModeLine "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync

ModeLine "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync

ModeLine "832x624@75" 57.3 832 864 928 1152 624 625 628 667 -hsync -vsync

ModeLine "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync

ModeLine "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -hsync -vsync

ModeLine "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync

ModeLine "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync

ModeLine "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync

ModeLine "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync

ModeLine "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync

ModeLine "1280x960@75" 129.9 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync

ModeLine "1400x1050@60" 122.6 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync

ModeLine "1600x1200@65" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync

ModeLine "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync

EndSection

 

Section "Monitor"

#

Identifier "monitor1"

Gamma 1

EndSection

 

Section "Device"

Identifier "Configured Video Device"

Driver "nvidia"

BoardName "vesa"

BusID "PCI:2:0:0"

Screen 0

EndSection

 

Section "Device"

#

Identifier "device1"

Driver "vesa"

BoardName "vesa"

BusID "PCI:2:0:0"

Screen 1

EndSection

 

Section "Screen"

Identifier "Default Screen"

Device "Configured Video Device"

Monitor "Configured Monitor"

DefaultDepth 24

SubSection "Display"

Virtual 1600 1200

Depth 24

Modes "800x600@72" "800x600@75" "800x600@56" "800x600@60" "640x480@75" "832x624@75" "640x480@72" "1024x768@75" "640x480@60" "1024x768@70" "1024x768@60" "1152x864@75" "1280x1024@75" "1280x960@60" "1280x1024@60" "1280x960@75" "1400x1050@60" "1600x1200@65" "1600x1200@60"

EndSubSection

EndSection

 

Section "Screen"

#

Identifier "screen1"

Device "device1"

Monitor "monitor1"

DefaultDepth 24

EndSection

 

 

 

Hva terminalen sier etter å ha kjørt nvidia-xconfig

 

Using X configuration file: "/etc/X11/xorg.conf".

Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'

New X configuration file written to '/etc/X11/xorg.conf'

 

 

 

Jeg bruker PNY Geforce 7300GS 512MB

 

Jeg installerte med envyNG fordi det gikk knirkefritt og uten dette problemet under Ubuntu 8.04.

Lenke til kommentar

Det er absolutt verdt et forsøk å forsøke tidligere fungerende konfigurasjon ja. Er bare å rekonfigurere fra recovery mode dersom den ikke fungerer på samme måte som sist.

 

Men her er uansett den sannsynlige feilen, xorg bruker vesa av en eller annen grunn. Det kan muligens tyde på at det er et problem med innstalasjonen av driveren.

 

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
BoardName "vesa"
BusID "PCI:2:0:0"
Screen 0
EndSection

Section "Device"
Identifier "device1"
Driver "vesa"
BoardName "vesa"
BusID "PCI:2:0:0"
Screen 1
EndSection

 

Nå ekke jeg proff på manuell xorg konfigurering, men du kan forsøke å bytte ut overnevnte seksjon med:

 

 

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
BusID "PCI:2:0:0"
Screen 0
EndSection

Section "Device"
Identifier "device1"
Driver "nvidia"
BusID "PCI:2:0:0"
Screen 1
EndSection

 

 

Restart X. Det burde ihvertfall la deg kjøre nvidia-settings slik at du får konfigurert ting ordentlig der.

Lenke til kommentar

Jeg ble gal av å kjøre 800x600-oppløsning, så jeg reinnstallerte driverne bare for å få det slik det var; vel fungerende men uten 3D-akselerasjon. Den fungerende xorgen ser slik ut:

 

 

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Thu Feb 14 18:20:37 PST 2008

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildd@vernadsky)  Tue Mar  4 20:24:34 UTC 2008
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
   Identifier     "Default Layout"
   Screen      0  "Screen0" 0 0
   InputDevice    "Generic Keyboard" "CoreKeyboard"
   InputDevice    "Configured Mouse"
   InputDevice    "Wiimote" "AlwaysCore"
EndSection

Section "Module"
   Load           "glx"
EndSection

Section "ServerFlags"
   Option         "Xinerama" "0"
EndSection

Section "InputDevice"
   Identifier     "Generic Keyboard"
   Driver         "kbd"
   Option         "XkbRules" "xorg"
   Option         "XkbModel" "pc105"
   Option         "XkbLayout" "no"
EndSection

Section "InputDevice"
   Identifier     "Configured Mouse"
   Driver         "mouse"
   Option         "CorePointer"
   Option         "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
   Identifier     "Wiimote"
   Driver         "evdev"
   Option         "Name" "Nintendo Wiimote"
EndSection

Section "Monitor"
   Identifier     "Configured Monitor"
EndSection

Section "Monitor"
   Identifier     "Monitor0"
   VendorName     "Unknown"
   ModelName      "IBM L180p"
   HorizSync       31.0 - 81.0
   VertRefresh     55.0 - 75.0
EndSection

Section "Device"
   Identifier     "Configured Video Device"
   Driver         "nvidia"
   Option         "NoLogo" "True"
EndSection

Section "Device"
   Identifier     "Videocard0"
   Driver         "nvidia"
   VendorName     "NVIDIA Corporation"
   BoardName      "GeForce 7300 GS"
EndSection

Section "Screen"
   Identifier     "Default Screen"
   Device         "Configured Video Device"
   Monitor        "Configured Monitor"
   DefaultDepth    24
   Option         "AddARGBGLXVisuals" "True"
EndSection

Section "Screen"
   Identifier     "Screen0"
   Device         "Videocard0"
   Monitor        "Monitor0"
   DefaultDepth    24
   Option         "TwinView" "1"
   Option         "metamodes" "CRT: 1280x1024 +0+0, DFP: 1280x1024 +1280+0"
   SubSection     "Display"
       Depth       24
       Modes      "nvidia-auto-select"
   EndSubSection
EndSection

Section "Extensions"
   Option         "Composite" "Enable"
EndSection

 

 

Lenke til kommentar

Har laget en xorg.conf til deg med noen endringer. Test den og se hva som skjer.

 

Klikk for å se/fjerne innholdet nedenfor
Section "ServerLayout"
Identifier 	"Default Layout"
Screen 0 	"Screen0" 0 0
InputDevice 	"Generic Keyboard" "CoreKeyboard"
InputDevice 	"Configured Mouse"
InputDevice 	"Wiimote" "AlwaysCore"
EndSection

Section "Module"
Load 	"glx"
Load	"dbe"
Load	"extmod"
Load	"freetype"
Load	"vbe"
EndSection

Section "ServerFlags"
Option 	"Xinerama" "0"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver 	"kbd"
Option 	"XkbRules" "xorg"
Option 	"XkbModel" "pc105"
Option 	"XkbLayout" "no"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver 	"mouse"
Option 	"CorePointer"
Option 	"Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "Wiimote"
Driver 	"evdev"
Option 	"Name" "Nintendo Wiimote"
EndSection

Section "Monitor"
Identifier 	"Monitor0"
VendorName 	"Unknown"
ModelName 	"IBM L180p"
HorizSync 	31.0 - 81.0
VertRefresh 	55.0 - 75.0
EndSection

Section "Device"
Identifier 	"Videocard0"
Driver 		"nvidia"
VendorName 	"NVIDIA Corporation"
BoardName 	"GeForce 7300 GS"
Option 		"NoLogo" "True"
Option		"AddARGBVisuals" "True"
Option		"AddARGBGLXVisuals" "True"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
#Option "TwinView" "1"
Option "metamodes" "CRT: 1280x1024 +0+0, DFP: 1280x1024 +1280+0"
SubSection "Display"
	Depth 24
	Modes "nvidia-auto-select"
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

 

Dersom alt går bra og du får logget på kjører du "glxinfo | grep direct". Dersom det står "direct rendering: yes" er alt i orden. Hvis noe går galt vil jeg at du kjører "cat /var/log/Xorg.0.log | grep EE" og legger ut det du får her.

Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
×
×
  • Opprett ny...