Kirjoittaja Aihe: X:n asetukset ei pysy bootin jälkeen  (Luettu 2545 kertaa)

Jaune

  • Käyttäjä
  • Viestejä: 481
    • Profiili
X:n asetukset ei pysy bootin jälkeen
« : 10.02.08 - klo:14.13 »
Jotain menny ny pieleen tuon x:n kanssa.
Eli ongelmat alkoivat kun vaihdoin toisen 17" monitorin tilalle 22" monitorin. Sain säädöt kohdalleen nvidia-settings komennolla. Seuraavassa käynnistyksessä kone ei enää saanut xää käyntiin ollenkaan.  No sain conffattua x:n niin että sain X:n käyntiin. Nvidian ajurit oli kadonnut jonnekkin, joten asensin ne uudestaan ja tein taas normaalit säädöt. Homma toimii kunnes koneen sammuttaa ja käynnistää uudestaan. Resoluutiot räpsähtää molempiin näyttöihin 1024x768 ja Hz on automatella, eli aivan liian vähän. Kaiken saa taas säädettyä oikein ja vaikka kuinka painelee "Save to X Configuration File" nappulaa ja tallentaa, niin säädöt on kadonnut kun boottaa.

Eli onko vinkkejä? ei okeen viittis joka aamu neuvvoa emäntää puhelimessa kuinka saada näytön säädöt kohdalleen.

Outolintu

  • Käyttäjä
  • Viestejä: 170
    • Profiili
Vs: X:n asetukset ei pysy bootin jälkeen
« Vastaus #1 : 10.02.08 - klo:21.57 »
Tuttu ilmiö.

Taannoin sain tuon toimimaan editoimalla /etc/X11/xorg.conf-tiedostoa:

# 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 "Module"
   Load      "glx"
   Load      "GLcore"
   Load      "v4l"
EndSection

Section "InputDevice"
   Identifier   "Generic Keyboard"
   Driver      "kbd"
   Option      "CoreKeyboard"
   Option      "XkbRules"   "xorg"
   Option      "XkbModel"   "pc105"
   Option      "XkbLayout"   "fi"
   Option      "XkbOptions"   "lv3:ralt_switch"
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 "Device"
   Identifier   "Failsafe Device"
   Boardname   "vesa"
   Busid      "PCI:2:0:0"
   Driver      "vesa"
   Screen   0
EndSection

Section "Monitor"
   Identifier   "Failsafe Monitor"
   Vendorname   "Generic LCD Display"
   Modelname   "LCD Panel 1280x1024"
   Horizsync   31.5-64.0
   Vertrefresh   56.0 - 65.0
  modeline  "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
  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 -vsync -hsync
  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
   Gamma   1.0
EndSection

Section "Screen"
   Identifier   "Default Screen"
   Device      "Failsafe Device"
   Monitor      "Failsafe Monitor"
   Defaultdepth   24
   SubSection "Display"
      Depth   24
      Virtual   1280   1024
      Modes      "1280x1024@60"   "1280x960@60"   "1024x768@60"   "800x600@60"   "800x600@56"   "640x480@60"
   EndSubSection
EndSection

Section "ServerLayout"
   Identifier   "Default Layout"
  screen 0 "Default Screen" 0 0
   Inputdevice   "Generic Keyboard"
   Inputdevice   "Configured Mouse"
EndSection
Section "ServerFlags"
EndSection

Tuolta "modeline" ja "mode"-osastolta poistat kaikki ne resoluutiot joita et halua käyttää.
Numbat

Jaune

  • Käyttäjä
  • Viestejä: 481
    • Profiili
Vs: X:n asetukset ei pysy bootin jälkeen
« Vastaus #2 : 12.02.08 - klo:08.30 »
Juu kiitoksia. Näköjään tuosta xorg.conf tiedostosta puuttuu kokonaan nuo isommat resoluutiot enkä uskaltanut ruveta niitä käsin siihen näpläämään. Hassua että NVIDIA settingsin kautta ne saa valittua, mutta otin sitten isoimman mikä siitä löytyy. Pitää tuumailla josko uskaltais jostain niitä siihen kopsailla. Kyllähän tuon 1600x1200@75 osaa siihen laittaa, mutta nuista muista numeroista ei ole minkäänlaista havaintoa.

Jaune

  • Käyttäjä
  • Viestejä: 481
    • Profiili
Vs: X:n asetukset ei pysy bootin jälkeen
« Vastaus #3 : 12.02.08 - klo:20.35 »
Ei tuu kyl mitään tän äxän kanssa touhuumisesta  :'(

Ei pysy asetukset päällä ei niinku millään. Koitin nyt laittaa jotain muuta kun 1600x1200, mutta eipä pysy sekään. Aina X:n käynnistyksen jälkeen on molemmat näytöt 1024x768 ja refresh ratet silmiäkirvelevät. Eli asetukset pysyvät ok, kunnes boottaa(tai starttaa äxän uudestaan).

Koodia: [Valitse]
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder3)  Wed Sep 12 14:30:30 PDT 2007

# 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 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"

# Uncomment if you have a wacom tablet
# InputDevice     "stylus" "SendCoreEvents"
# InputDevice     "cursor" "SendCoreEvents"
# InputDevice     "eraser" "SendCoreEvents"
    Identifier     "Default Layout"
    Screen      0  "Screen0" 1400 0
    Screen      1  "Screen1" LeftOf "Screen0"
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "Files"
EndSection

Section "Module"
EndSection

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

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "fi"
    Option         "XkbVariant" "nodeadkeys"
    Option         "XkbOptions" "lv3:ralt_switch"
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     "V770+"
    HorizSync       30.0 - 70.0
    VertRefresh     50.0 - 160.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "IQT V770+"
    HorizSync       30.0 - 70.0
    VertRefresh     50.0 - 150.0
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "ViewSonic P225f"
    HorizSync       30.0 - 127.0
    VertRefresh     50.0 - 180.0
EndSection

Section "Device"
    Identifier     "nVidia Corporation NV34 [GeForce FX 5500]"
    Driver         "nvidia"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce FX 5500"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce FX 5500"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "nVidia Corporation NV34 [GeForce FX 5500]"
    Monitor        "V770+"
    DefaultDepth    24
    SubSection     "Display"
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"

# Removed Option "metamodes" "CRT-0: 1024x768 +0+0; CRT-0: 800x600 +0+0; CRT-0: 640x480 +0+0"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "CRT-0: 1024x768_75 +0+0; CRT-0: 1024x768 +0+0; CRT-0: 800x600 +0+0; CRT-0: 640x480 +0+0"
EndSection

Section "Screen"

# Removed Option "metamodes" "CRT-1: nvidia-auto-select +0+0; CRT-1: nvidia-auto-select @1600x1200 +0+0"
# Removed Option "metamodes" "CRT-1: 1400x1050_75 +0+0; CRT-1: 1400x1050 +0+0"
# Removed Option "metamodes" "CRT-1: 1400x1050_75 +0+0; CRT-1: 1400x1050 +0+0"
# Removed Option "metamodes" "CRT-1: 1400x1050 +0+0"
    Identifier     "Screen1"
    Device         "Videocard1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "CRT-1: 1400x1050_75 +0+0; CRT-1: 1400x1050 +0+0; CRT-1: 1280x960 +0+0; CRT-1: 1152x768_55 +0+0"
EndSection

Jallu59

  • Käyttäjä
  • Viestejä: 3430
    • Profiili
Vs: X:n asetukset ei pysy bootin jälkeen
« Vastaus #4 : 12.02.08 - klo:20.46 »
Eipä tuolla kummassakaan Xorgissa niitä suurempia resoja näy. Onke ne otettu tarkemmassa, vai siinä bootin jälkeisessä, tilassa?

T:Jallu59
Jari J. Lehtinen, Wanhempi (iki?)tietoteekkari & tietotekniikkakonsultti Turust, P4-HT / 3,0 GHz, Intel945 IGP 226MB & 4GBram & UbuntuStudio 14.04. Toshiba Satellie 50-C, i5 dual-core 2,3GHz, ubuntu-mate 16.04 LTS

Jaune

  • Käyttäjä
  • Viestejä: 481
    • Profiili
Vs: X:n asetukset ei pysy bootin jälkeen
« Vastaus #5 : 12.02.08 - klo:21.37 »
Tuon otin siinä nvidia-settings ohjelmassa kun on se preview xorg.conf. Eli tuo on otettu kun näytöt on "oikeassa" tilassa. Mutta tosissaan kun tuota yritän jotenkin ymmärtää on tuossa alhaalla rivit:
#Removed Option....

Eli just nuo mitä oikeestaan haluaisin siihen :D