7 Varianten zum Vorgehen bei der Installation
7.3 Updaten des Betriebssystems
7.3.6 Bildschirmauflösungen ändern funktioniert nicht
Mit Hilfe von xrandr lassen sich in der Regel die Bildschirmauflösungen ändern und noch ein paar interessante Effekte nutzen.
Eine Ausgabe mit xrandr und einem Monitor am VGA-Ausgang führte zu folgenden Ausgaben:
$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
1024x768 0.00*
Alle Varianten mit VGA, VGA0, VGA-1, etc. führten zu keinem Erfolg.
$ xrandr --fb 1024x768 --output VGA-1 --mode 1024x768 --panning 1280x1024
xrandr: Failed to get size of gamma for output default
warning: output VGA-1 not found; ignoring
Eine Variante mit "default" führte zwar weiter, aber führt immer noch auf eine Fehlermeldung.
$ xrandr --output default --fb 1024x768 --mode 1024x768 --panning 1024x768
xrandr: Failed to get size of gamma for output default
X Error of failed request: BadRRCrtc (invalid Crtc parameter)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 29 (RRSetPanning)
Crtc id in failed request: 0xef
Serial number of failed request: 21
Current serial number in output stream: 21
Eine Recherche im Internet legt nahe, dass über den Treiber nicht entsprechende Konfiguration erzeugt wurden. In dem Falle müßten entsprechende Konfigurationen manuell ergänzt werden.
http://askubuntu.com/questions/186288/how-to-detect-and-configure-an-output-with-xrandr
https://wiki.archlinux.org/index.php/xrandr
$ sudo apt-cache search get-edid
read-edid - hardware information-gathering tool for VESA PnP monitors
$ sudo apt-get install read-edid
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
Need to get 15.1 kB of archives.
After this operation, 73.7 kB of additional disk space will be used.
$ sudo get-edid
This is read-edid version 3.0.1. Prepare for some fun.
Attempting to use i2c interface
No EDID on bus 0
No EDID on bus 1
1 potential busses found: 2
128-byte EDID successfully retrieved from i2c bus 2
��##.....YE4M.....L19-2SD
Looks like i2c was successful. Have a good day.
$ sudo get-edid | parse-edid
This is read-edid version 3.0.1. Prepare for some fun.
Attempting to use i2c interface
No EDID on bus 0
No EDID on bus 1
1 potential busses found: 2
128-byte EDID successfully retrieved from i2c bus 2
Looks like i2c was successful. Have a good day.
Checksum Correct
Section "Monitor"
Identifier "L19-2SD"
ModelName "L19-2SD"
VendorName "FUS"
# Monitor Manufactured week 22 of 2007
# EDID version 1.3
# Analog Display
DisplaySize 380 300
Gamma 2.20
Option "DPMS" "true"
Horizsync 31-81
VertRefresh 56-75
# Maximum pixel clock is 140MHz
#Not giving standard mode: 1280x1024, 60Hz
Modeline "Mode 0" +hsync +vsync
EndSection
$ sudo lshw -c video
sudo: lshw: command not found
$ sudo apt-cache search lshw
python3-checkbox-support - collection of Python modules used by PlainBox providers
lshw - information about hardware configuration
lshw-gtk - graphical information about hardware configuration
$ sudo apt-get install lshw
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
Need to get 199 kB of archives.
After this operation, 553 kB of additional disk space will be used.
$ sudo lshw -c video
# No output, without options, output prints nothing of display, video or grafik card/chip;
run gtf or cvt to get the Modeline
$ cvt 1280 1024 60
# 1280x1024 59.89 Hz (CVT 1.31M4) hsync: 63.67 kHz; pclk: 109.00 MHz
Modeline "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
$ gtf 1280 1024 60
# 1280x1024 @ 60.00 Hz (GTF) hsync: 63.60 kHz; pclk: 108.88 MHz
Modeline "1280x1024_60.00" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +Vsync
$ xrandr --newmode "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
xrandr: Failed to get size of gamma for output default
dieterd@cubietruck:/media/sda5/Pictures/USA2016PICS/fgallery$ xrandr --newmode "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
xrandr: Failed to get size of gamma for output default
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 16 (RRCreateMode)
Serial number of failed request: 19
Current serial number in output stream: 19
$ xrandr --addmode default 1280x1024_60.00
xrandr: Failed to get size of gamma for output default
$ xrandr --output default --mode 1280x1024_60.00
xrandr: Failed to get size of gamma for output default
xrandr: Configure crtc 0 failed
$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1280 x 1024
default connected 1024x768+0+0 0mm x 0mm
1024x768 0.00*
1280x1024_60.00 59.89
$ xrandr --verbose
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1280 x 1024
default connected 1024x768+0+0 (0xf1) normal (normal) 0mm x 0mm
Identifier: 0xf0
Timestamp: 117054413
Subpixel: unknown
Clones:
CRTC: 0
CRTCs: 0
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
1024x768 (0xf1) 0.000MHz *current
h: width 1024 start 0 end 0 total 1024 skew 0 clock 0.00KHz
v: height 768 start 0 end 0 total 768 clock 0.00Hz
1280x1024_60.00 (0x11f) 109.000MHz -HSync +VSync
h: width 1280 start 1368 end 1496 total 1712 skew 0 clock 63.67KHz
v: height 1024 start 1027 end 1034 total 1063 clock 59.89Hz
$ xrandr --verbose
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1280 x 1024
default connected 1024x768+0+0 (0xf1) normal (normal) 0mm x 0mm
Identifier: 0xf0
Timestamp: 117054413
Subpixel: unknown
Clones:
CRTC: 0
CRTCs: 0
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
1024x768 (0xf1) 0.000MHz *current
h: width 1024 start 0 end 0 total 1024 skew 0 clock 0.00KHz
v: height 768 start 0 end 0 total 768 clock 0.00Hz
1280x1024_60.00 (0x11f) 109.000MHz -HSync +VSync
h: width 1280 start 1368 end 1496 total 1712 skew 0 clock 63.67KHz
v: height 1024 start 1027 end 1034 total 1063 clock 59.89Hz
$ xrandr --verbose --props
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1280 x 1024
default connected 1024x768+0+0 (0xf1) normal (normal) 0mm x 0mm
Identifier: 0xf0
Timestamp: 117645931
Subpixel: unknown
Clones:
CRTC: 0
CRTCs: 0
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
1024x768 (0xf1) 0.000MHz *current
h: width 1024 start 0 end 0 total 1024 skew 0 clock 0.00KHz
v: height 768 start 0 end 0 total 768 clock 0.00Hz
1280x1024_60.00 (0x11f) 109.000MHz -HSync +VSync
h: width 1280 start 1368 end 1496 total 1712 skew 0 clock 63.67KHz
v: height 1024 start 1027 end 1034 total 1063 clock 59.89Hz
$ xrandr --newmode "1280x1024_0.0" 0.00 1280 0 0 1280 1024 0 0 1024 -hsync +vsync
xrandr: Failed to get size of gamma for output default
$ xrandr --addmode default 1280x1024_0.0
xrandr: Failed to get size of gamma for output default
$ xrandr --verbose --propsxrandr: Failed to get size of gamma for output default
Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1280 x 1024
default connected 1024x768+0+0 (0xf1) normal (normal) 0mm x 0mm
Identifier: 0xf0
Timestamp: 117645931
Subpixel: unknown
Clones:
CRTC: 0
CRTCs: 0
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
1024x768 (0xf1) 0.000MHz *current
h: width 1024 start 0 end 0 total 1024 skew 0 clock 0.00KHz
v: height 768 start 0 end 0 total 768 clock 0.00Hz
1280x1024_60.00 (0x11f) 109.000MHz -HSync +VSync
h: width 1280 start 1368 end 1496 total 1712 skew 0 clock 63.67KHz
v: height 1024 start 1027 end 1034 total 1063 clock 59.89Hz
1280x1024_0.0 (0x120) 0.000MHz -HSync +VSync
h: width 1280 start 0 end 0 total 1280 skew 0 clock 0.00KHz
v: height 1024 start 0 end 0 total 1024 clock 0.00Hz
$ xrandr --output default --mode 1280x1024_0.0
xrandr: Failed to get size of gamma for output default
xrandr: Configure crtc 0 failed
xrandr --pros
xrandr --props | edid-decode
https://bbs.archlinux.org/viewtopic.php?id=185937
$ xrandr -s 1280x1024
Failed to change the screen configuration!
xrandr --listproviders
Providers: number : 0
http://superuser.com/questions/644726/what-is-crtc-and-how-many-outputs-can-i-enable-using-xrandr
Für Mali 400 wäre der Treiber "sun4i".
/etc/X11/xorg.conf
Section "Screen"
Identifier "My Screen"
Subsection "Display"
Virtual 2048 2048
EndSubSection
EndSection
/etc/X11/xorg.conf
Section "Screen"
...
SubSection "Display"
Virtual 3600 1200
EndSubSection
EndSection
etc/X11/xorg.conf.d/10-monitor.conf
Section "Monitor"
Identifier "VGA1"
Modeline "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
Option "PreferredMode" "1280x1024_60.00"
EndSection
Section "Screen"
Identifier "Screen0"
Monitor "VGA1"
DefaultDepth 24
SubSection "Display"
Modes "1280x1024_60.00"
EndSubSection
EndSection
Section "Device"
Identifier "Device0"
Driver "intel"
EndSection
w is a example snippet in xorg.conf.
Section "Device"
Identifier "Intel 945G "
Driver "intel"
# Using the name of the output defined by the video driver plus the identifier of a
# monitor section, one associates a monitor section with an output by adding an
# option to the Device section in the following format:
# Option "Monitor-outputname" "monitor ID"
Option "monitor-VGA" "foo"
Option "monitor-LVDS" "bar"
#Option "monitor-TMDS-1" "dvi"
EndSection
Section "Monitor"
Identifier "foo"
# specifies a mode to be marked as the preferred initial mode of the monitor
# Option "PreferredMode" "800x600"
# This optional entry specifies the position of the monitor within the X screen.
#Option "Position" "1024 0"
#This optional entry specifies that the monitor should be ignored
# entirely, and not reported through RandR. This is useful if the
# hardware reports the presence of outputs that do not exist.
#Option "Ignore" "true"
EndSection
Section "Monitor"
Identifier "bar"
#Options LeftOf, RightOf, Above, Below specify monitors' relative position
Option "LeftOf" "foo"
# This optional entry specifies whether the monitor should be
# turned on at startup. By default, the server will attempt to
# enable all connected monitors.
#Option "Enable" "true"
#This optional entry specifies the initial rotation of the given monitor.
# Valid values for rotation are "normal", "left", "right", and "inverted".
# Option "Rotate" "left"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation 945G Integrated Graphics Controller"
Monitor "foo"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "640x480"
EndSubSection
EndSection
XRANDR GRAPHICAL FRONT END GUI
ARandR
Grandr
LXRandR
Urandr
zarfy
gksudo gedit /usr/share/X11/xorg.conf.d/99-vesahack
and put this in the newly created file:
Section "Device"
Identifier "Screen0"
VideoRam 10000
EndSection
This tells X that there is 10000 kB (~10 MB) of video RAM, enough for 1920x1200 at 4 bytes per pixel. You can replace '10000' above with the amount of avalaible video ram. Save and reboot. (Remove the 99-vesahack file if it doesn't help.)
Setting resolution changes in xorg.conf
While xorg.conf is largely empty these days, it can still be used for setting up resolutions. For example:
Section "Monitor"
Identifier "External DVI"
Modeline "1280x1024_60.00" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +Vsync
Option "PreferredMode" "1280x1024_60.00"
EndSection
Section "Device"
Identifier "ATI Technologies, Inc. M22 [Radeon Mobility M300]"
Driver "ati"
Option "Monitor-DVI-0" "External DVI"
EndSection
Section "Screen"
Identifier "Primary Screen"
Device "ATI Technologies, Inc. M22 [Radeon Mobility M300]"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Primary Screen"
EndSection
Erzeugen einer xorg.conf:
sudo Xorg -configure
Funktioniert leider nicht. Nach es2_info scheint DRI auch nicht möglich zu sein.
https://wiki.ubuntuusers.de/XServer/
Es scheint am fehlenden Treiber zu liegen.
Über den Grafikchip:
http://linux-sunxi.org/Mali400
Freier Treiber:
http://limadriver.org/
Unfreier Treiber:
http://linux-sunxi.org/Mali_binary_driver
Compelierungsanleitung für github:
https://archlinuxarm.org/forum/viewtopic.php?f=33&t=5979
http://linux-sunxi.org/Xorg
Add the repository to your /etc/apt/sources.list:
deb http://packages.linux-sunxi.org/ubuntu/ quantal main
deb-src http://packages.linux-sunxi.org/ubuntu/ quantal main
http://linux-sunxi.org/Packages
Ergänzt /etc/apt/sources.list:
# adding for MALI400-Drivers:
# deb http://packages.linux-sunxi.org/ubuntu/ quantal main
# deb-src http://packages.linux-sunxi.org/ubuntu/ quantal main
deb [arch=armhf] http://packages.linux-sunxi.org/debian/ sid main
deb-src [arch=armhf] http://packages.linux-sunxi.org/ubuntu/ sid main
/etc/apt/preferences.d/00-linux-sunxi with the following content:
Package: *
Pin: origin packages.linux-sunxi.org
Pin-Priority: 990
http://docs.armbian.com/Hardware_Allwinner/#how-to-reconfigure-video-output
Edit boot.cmd. Mittels Konsolenbefehl (Skript) wird boot.scr erzeugt.
http://linux-sunxi.org/Display
Zum Beispiel Cubian:
http://linux-sunxi.org/Bootable_OS_images
http://www.maffert.net/cubian-cubietruck-vga-aktivieren/
http://www.trustbyte-secure.com/faq/themen-zu-cubietruck/cubietruck-multihead-setup
apt-get -y install xorg lightdm xfce4 tango-icon-theme gnome-icon-theme
http://forum.armbian.com/index.php/topic/190-cubietruck-screen-black-after-a-while/
$ sudo apt-get install xorg lightdm xfce4 tango-icon-theme gnome-icon-theme
0 upgraded, 4 newly installed, 0 to remove and 7 not upgraded.
Need to get 2,038 kB of archives.
After this operation, 13.1 MB of additional disk space will be used.
Setting EXTERNAL_NEW=yes will build (all packages for all supported targets) and install them to images.
Setting EXTERNAL_NEW=nobuild will install prebuilt packages from apt.armbian.com repository
http://forum.armbian.com/index.php/topic/1940-lime2-jessie-default-desktop-no-fbturbo/
echo "deb http://packages.koodur.com jessie main" | \ sudo tee /etc/apt/sources.list.d/koodur.list sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B8A6153D
http://lauri.xn--vsandi-pxa.com/2014/04/debian-jessie-sunxi-packages.html
$ sudo apt-get install vdpauinfo libvdpau-sunxi libump xf86-video-fbturbo
The following NEW packages will be installed:
libump libvdpau-sunxi vdpauinfo xf86-video-fbturbo
0 upgraded, 4 newly installed, 0 to remove and 7 not upgraded.
Need to get 104 kB of archives.
After this operation, 202 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
libump libvdpau-sunxi xf86-video-fbturbo