Grafikproblem

fuxian
Inlägg: 18
Blev medlem: 09 jun 2007, 00:05
Ort: Nederländerna

Grafikproblem

Inlägg av fuxian »

Hejsan!

Jag vill få bättre upplösning på min kubuntu. Jag sökte runt lite och hittade att man kan ändra i Xorg.conf. Jag testade detta men utan resultat. Jag får fortfarande bara 1024x768 som max. I windows brukade jag ha 1280x1024 och det fungerade utmärkt.

Det jag funderar på är om jag har rätt drivrutiner. När jag tittar på grafikkortet så står det som nv. Jag har ett geforce 6800 Gpu. Vad ska jag göra för o få bättre upplösning?
Okänd
Inlägg: 30172
Blev medlem: 03 mar 2008, 01:30
OS: Ubuntu

SV: Grafikproblem

Inlägg av Okänd »

Du skriver inte vilken drivrutin du kör.

Troligen måste du installera nVidias drivare för att det ska bli bättre.

Enklast med Envy

http://ubuntu-se.org/drupal/?q=node/162
fuxian
Inlägg: 18
Blev medlem: 09 jun 2007, 00:05
Ort: Nederländerna

SV: Grafikproblem

Inlägg av fuxian »

Tja!

Jag försöker installera envy men den klagar på att fakeroot inte är installerat. Jag har dock nu envy som en ikon under System. Om jag klickar på den ser jag att en envyprocess startar men inget mer händer.

stoffer@kubuntu1:~$ ps -ef | grep envy
stoffer  6529  5853  0 13:59 ?        00:00:00 /bin/bash /usr/bin/envy -g
stoffer  6532  6529  0 13:59 ?        00:00:00 kdesu -c /usr/share/envy/gtkenvy.py stoffer /home/stoffer 1000 --kde_desktop -g -d
stoffer  6577  6510  0 14:03 pts/1    00:00:00 grep envy
fuxian
Inlägg: 18
Blev medlem: 09 jun 2007, 00:05
Ort: Nederländerna

SV: Grafikproblem

Inlägg av fuxian »

Okej en update.

Har nu fått igång envy efter lite mecklande. Jag hittade också något som heter Nvidia binary X.org driver i Adept som jag lade till. Jag har i alla fall nu NvidiaSettings som jag kan köra. Den verkar hitta grafikkortet där men upplösningen är fortfarande bara 1024*768 som max. Under min skärm står det att Native Resolution ska vara 1280*1024 som jag vill ha. Hur gör jag för att få det? Ska jag prova att lägga till det i xorg.conf igen?

Såg förresten att i system settings på skärmen så står det fel. Där står det att det är ett NVIDIA GeForce FX (Generic) kort med Drivare nv.

Vad är det som gäller egentligen? :S
Okänd
Inlägg: 30172
Blev medlem: 03 mar 2008, 01:30
OS: Ubuntu

SV: Grafikproblem

Inlägg av Okänd »

Nu blev du "bortglömd"....   kolla på min xorg så ser du.

Kod: Markera allt

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Sat May 26 01:04:16 PDT 2007

# /etc/X11/xorg.conf (xorg 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(5) 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         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
    InputDevice    "stylus" "SendCoreEvents"
    InputDevice    "cursor" "SendCoreEvents"
    InputDevice    "eraser" "SendCoreEvents"
EndSection

Section "Files"

	# path to defoma fonts
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/usr/share/fonts/X11/cyrillic"
    FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/Type1"
    FontPath        "/usr/share/fonts/X11/100dpi"
    FontPath        "/usr/share/fonts/X11/75dpi"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load           "i2c"
    Load           "bitmap"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "vbe"
EndSection

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

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ImPS/2"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
    Identifier     "stylus"
    Driver         "wacom"
    Option         "Device" "/dev/input/wacom"
    Option         "Type" "stylus"
    Option         "ForceDevice" "ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
    Identifier     "eraser"
    Driver         "wacom"
    Option         "Device" "/dev/input/wacom"
    Option         "Type" "eraser"
    Option         "ForceDevice" "ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
    Identifier     "cursor"
    Driver         "wacom"
    Option         "Device" "/dev/input/wacom"
    Option         "Type" "cursor"
    Option         "ForceDevice" "ISDV4"		# Tablet PC ONLY
EndSection

Section "Monitor"
    Identifier     "CTM7011"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "nVidia GS 7600"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "Generic Video Card"
    Monitor        "CTM7011"
    DefaultDepth    24
    SubSection     "Display"
        Depth       1
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection
fuxian
Inlägg: 18
Blev medlem: 09 jun 2007, 00:05
Ort: Nederländerna

SV: Grafikproblem

Inlägg av fuxian »

Min aktuella xorg.conf ser inte ut så längre. Jag har flera entrys med Hz nu. Är det under Screen jag ska välja att lägga till en högre upplösning?? Det känns som om jag måste göra något under Monitor också. Fattar bara inte vad det står där.  :-[

Nedan är min xorg.conf...

Kod: Markera allt

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Sat May 26 01:04:16 PDT 2007

# /etc/X11/xorg.conf (xorg 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(5) 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  "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
    InputDevice    "stylus" "SendCoreEvents"
    InputDevice    "cursor" "SendCoreEvents"
    InputDevice    "eraser" "SendCoreEvents"
EndSection

Section "Files"

  # path to defoma fonts
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/usr/share/fonts/X11/cyrillic"
    FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/Type1"
    FontPath        "/usr/share/fonts/X11/100dpi"
    FontPath        "/usr/share/fonts/X11/75dpi"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load           "i2c"
    Load           "bitmap"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "int10"
    Load           "vbe"
    Load           "glx"
    Load           "v4l"
EndSection

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

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ImPS/2"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
    Identifier     "stylus"
    Driver         "wacom"
    Option         "Device" "/dev/input/wacom"
    Option         "Type" "stylus"
    Option         "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
    Identifier     "eraser"
    Driver         "wacom"
    Option         "Device" "/dev/input/wacom"
    Option         "Type" "eraser"
    Option         "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
    Identifier     "cursor"
    Driver         "wacom"
    Option         "Device" "/dev/input/wacom"
    Option         "Type" "cursor"
    Option         "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "Monitor"
    Identifier     "Generic Monitor"
    ModelName      "Custom 1"
    Gamma           0.7
    ModeLine       "640x480@60" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
    ModeLine       "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
    ModeLine       "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
    ModeLine       "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
EndSection

Section "Monitor"
 #
    Identifier     "monitor1"
    Gamma           1
EndSection

Section "Device"
    Identifier     "nVidia Corporation NV40 [GeForce 6800 Series GPU]"
    Driver         "nvidia"
    VendorName     "NVIDIA"
    BoardName      "NVIDIA GeForce FX (generic)"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
 #
    Identifier     "device1"
    Driver         "nvidia"
    VendorName     "NVIDIA"
    BoardName      "NVIDIA GeForce FX (generic)"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "nVidia Corporation NV40 [GeForce 6800 Series GPU]"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    SubSection     "Display"
        Virtual     1024 768
        Depth       24
        Modes      "1024x768@60" "800x600@60" "800x600@56" "640x480@60"
    EndSubSection
EndSection

Section "Screen"
 #
    Identifier     "screen1"
    Device         "device1"
    Monitor        "monitor1"
    DefaultDepth    24
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection
Okänd
Inlägg: 30172
Blev medlem: 03 mar 2008, 01:30
OS: Ubuntu

SV: Grafikproblem

Inlägg av Okänd »

Jo den där såg rörig ut....

Om något går fel så kom ihåg att du alltid kommer åt en felsäker terminal.

Ctrl-ALt-F1 > Logga in 

sudo dpkg-reconfigure xserver-xorg       >  ändra till Vesa som är en säker drivare.

http://ubuntu-se.org/drupal/node/249

Hursomhelst så städa ur din fil med phigh kommandot.

Logga ut > Ctrl-Alt-F1 > Logga in i terminalen

sudo dpkg-reconfigure -phigh xserver-xorg


starta sedan envy och installera om drivaren

sudo envy -t

:)
fuxian
Inlägg: 18
Blev medlem: 09 jun 2007, 00:05
Ort: Nederländerna

SV: Grafikproblem

Inlägg av fuxian »

Nu fick jag igång med 1280x1024. Jag kunde välja det i Nvidia programmet. ;D Jag tittade i min xorg.conf och den har dock inte detta. Den ser nu mer ut som defaultfilen från nyinstallationen. Nu verkar konfigurationen tas från något annat ställe.
Användarvisningsbild
oGGe
Inlägg: 951
Blev medlem: 28 feb 2007, 14:29
Ort: A better world
Kontakt:

SV: Grafikproblem

Inlägg av oGGe »

Vänta nu. Har du 1280x1024 eller inte?
The tux generation is now.
Behöver du hjälp?
[img width=88 height=31]http://ubuntucounter.geekosophical.net/ ... user=13227[/img]
fuxian
Inlägg: 18
Blev medlem: 09 jun 2007, 00:05
Ort: Nederländerna

SV: Grafikproblem

Inlägg av fuxian »

Jepp jag har den upplösningen. Upptäckte dock att vid omstart går den tillbaka till 1024x768. Jag hade tydligen inte sparat. Men nu när jag försöker välja "Save to X Configruation File" så klagar den på "Unable to create new X config backup file '/etc/X11/xorg.conf.backup'." Jag har inte någon sådan fil så den borde kunna spara. Jag kan dock ta en preview på filen. Funkar det om jag kopierar in previewen till xorg.conf o sparar?
Okänd
Inlägg: 30172
Blev medlem: 03 mar 2008, 01:30
OS: Ubuntu

SV: Grafikproblem

Inlägg av Okänd »

Du måste köra via terminalen med  sudo nvidia-settings för att kunna spara,
annars har du inga rättigheter.  (en bugg)

:)
fuxian
Inlägg: 18
Blev medlem: 09 jun 2007, 00:05
Ort: Nederländerna

SV: Grafikproblem

Inlägg av fuxian »

Tack för hjälpen! :D

Fick det först inte att spara ens med sudo nvidia-settings. Den sparade i filen men vid omstart blev det ändå 1024x768. Det jag fick göra var att även gå in under SystemSettings -> Monitor&Display och även där dra upp upplösningen till max. Då fungerade det.  ;D ;D ;D
Ska försöka få igång beryl nu. Hoppas det är enklare. :)
Användarvisningsbild
oGGe
Inlägg: 951
Blev medlem: 28 feb 2007, 14:29
Ort: A better world
Kontakt:

SV: Grafikproblem

Inlägg av oGGe »

Haha, beryl är en mardrömsapplikation xD
The tux generation is now.
Behöver du hjälp?
[img width=88 height=31]http://ubuntucounter.geekosophical.net/ ... user=13227[/img]
Skriv svar

Återgå till "För nybörjaren - inaktuell"