Monitorauflösung nach Neustart zurückgesetzt (ein Monitor)

Monitorauflösung nach Neustart zurückgesetzt (ein Monitor)

Ich habe einen Computer mit NUR EINEM MONITOR – das sind die Spezifikationen:

Ubuntu 15.04 – 32 Bit
Prozessor Intel® Pentium(R) Dual CPU E2180 @ 2,00 GHz × 2  
Grafik Intel® G33 x86/MMX/SSE2
$ lspci -v | grep -i vga
00:02.0 VGA-kompatibler Controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10) (prog-if 00 [VGA-Controller])
# lshw -class display
PCI (Sysfs)  
  *-Anzeige               
       Beschreibung: VGA-kompatibler Controller
       Produkt: 82G33/G31 Express Integrierter Grafikcontroller
       Hersteller: Intel Corporation
       physische ID: 2
       Businfo: pci@0000:00:02.0
       Version: 10
       Breite: 32 Bit
       Takt: 33MHz
       Fähigkeiten: msi pm vga_controller bus_master cap_list rom
       Konfiguration: Treiber=i915 Latenz=0
       Ressourcen: IRQ:28 Speicher:feb00000-feb7ffff Io-Port:e140(Größe=8) Speicher:d0000000-dfffffff Speicher:fe900000-fe9fffff
$ xrandr
Bildschirm 0: minimal 8 x 8, aktuell 1024 x 768, maximal 32767 x 32767
VGA1 angeschlossen primär 1024x768+0+0 (normal links invertiert rechts x-Achse y-Achse) 0mm x 0mm
   1024 x 768 60,0*
   800x600 60,3 56,2  
   848 x 480 60,0  
   640 x 480 59,9  
VIRTUAL1 getrennt (normal links invertiert rechts x-Achse y-Achse)
$ sudo xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
$ sudo xrandr --addmode VGA1 1680x1050_60.00
$ xrandr

Bildschirm 0: minimal 8 x 8, aktuell 1680 x 1050, maximal 32767 x 32767
VGA1 angeschlossen primär 1680x1050+0+0 (normal links invertiert rechts x-Achse y-Achse) 0mm x 0mm

   1680 x 1050 60,0*+
   1024 x 768 60,0  
   800x600 60,3 56,2  
   848 x 480 60,0  
   640 x 480 59,9  
   1680x1050_60.00 60.0  

VIRTUAL1 getrennt (normal links invertiert rechts x-Achse y-Achse)

Das funktioniert (ändert die Auflösung), dann mache ich

$ sudo reboot

und beim Start bekomme ich die vorherige Auflösung und die folgende Meldung

No se pudo aplicar la configuración almacenada para los monitores
none of the selected modes were compatible with the possible modes:
Trying modes for CRTC 63 CRTC 63:
trying mode 1024x768@60Hz with output at 1680x1050@60Hz (pass 0)
CRTC 63: trying mode 800x600@60Hz with output at 1680x1050@60Hz (pass 0)
CRTC 63: trying mode 800x600@56Hz with output at 1680x1050@60Hz (pass 0)
CRTC 63: trying mode 848x480@60Hz with output at 1680x1050@60Hz (pass 0)
CRTC 63: trying mode 640x480@60Hz with output at 1680x1050@60Hz (pass 0)
CRTC 63: trying mode 1024x768@60Hz with output at 1680x1050@60Hz (pass 1)
CRTC 63: trying mode 800x600@60Hz with output at 1680x1050@60Hz (pass 1)
CRTC 63: trying mode 800x600@56Hz with output at 1680x1050@60Hz (pass 1)
CRTC 63: trying mode 848x480@60Hz with output at 1680x1050@60Hz (pass 1)
CRTC 63: trying mode 640x480@60Hz with output at 1680x1050@60Hz (pass 1)
Trying modes for CRTC 64
CRTC 64: trying mode 1024x768@60Hz with output at 1680x1050@60Hz (pass 0)
CRTC 64: trying mode 800x600@60Hz with output at 1680x1050@60Hz (pass 0)
CRTC 64: trying mode 800x600@56Hz with output at 1680x1050@60Hz (pass 0)
CRTC 64: trying mode 848x480@60Hz with output at 1680x1050@60Hz (pass 0)
CRTC 64: trying mode 640x480@60Hz with output at 1680x1050@60Hz (pass 0)
CRTC 64: trying mode 1024x768@60Hz with output at 1680x1050@60Hz (pass 1)
CRTC 64: trying mode 800x600@60Hz with output at 1680x1050@60Hz (pass 1)
CRTC 64: trying mode 800x600@56Hz with output at 1680x1050@60Hz (pass 1)
CRTC 64: trying mode 848x480@60Hz with output at 1680x1050@60Hz (pass 1)
CRTC 64: trying mode 640x480@60Hz with output at 1680x1050@60Hz (pass 1)
Trying modes for CRTC 65
CRTC 65: trying mode 1024x768@60Hz with output at 1680x1050@60Hz (pass 0)
CRTC 65: trying mode 800x600@60Hz with output at 1680x1050@60Hz (pass 0)
CRTC 65: trying mode 800x600@56Hz with output at 1680x1050@60Hz (pass 0)
CRTC 65: trying mode 848x480@60Hz with output at 1680x1050@60Hz (pass 0)
CRTC 65: trying mode 640x480@60Hz with output at 1680x1050@60Hz (pass 0)
CRTC 65: trying mode 1024x768@60Hz with output at 1680x1050@60Hz (pass 1)
CRTC 65: trying mode 800x600@60Hz with output at 1680x1050@60Hz (pass 1)
CRTC 65: trying mode 800x600@56Hz with output at 1680x1050@60Hz (pass 1)
CRTC 65: trying mode 848x480@60Hz with output at 1680x1050@60Hz (pass 1)
CRTC 65: trying mode 640x480@60Hz with output at 1680x1050@60Hz (pass 1)

Antwort1

Sie müssen die xrandrKonfigurationen zu einer Startdatei hinzufügen, damit Sie beim Neustart/Start die gewünschte Auflösung erhalten:

  • Erstellen Sie beispielsweise ein Bash-Skript xrandr.shund platzieren Sie Ihre xrandr-Befehle darin:
#!/bin/bash
xrandr --newmode "1680x1050_60.00" 146,25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
xrandr --addmode VGA1 1680x1050_60.00
xrandr --output VGA1 --mode 1680x1050_60.00
  • Machen Sie das Skript ausführbar mitchmod +x xrandr.sh

  • Suchen Sie im Dashboard nach „Startup Applications“, führen Sie es aus und fügen Sie das Skript als Startanwendung hinzu.

Die Befehle werden jetzt jedes Mal ausgeführt, wenn Sie sich bei Ihrem Konto anmelden.

verwandte Informationen