Hallo,
Ich habe meine Frage zuerste hier gestellt: https://forum-raspberrypi.de/forum/thread/47541-ubuntu-20-04-aufloesung-und-seitenverhaeltnis-einstellen/?postID=431242#post431242. Die Leute dort wussten auch nicht so richtig Bescheid und haben mir gesagt, ich soll mal hier Fragen. Ich habe ein ähnliches Vorhaben wie in https://forum-raspberrypi.de/forum/thread/43992-aufzugs-display-auf-basis-von-einer-raspi-4-und-impress-bleibt-haengen/?postID=389429&highlight=aufzug#post389429. Auf eine Bildschirm soll eine Präsentation in Dauerschleife laufen. Da in diesem Thema auch schon ein Hinweis gegeben wurde, dass es diesen Fehler nur im 32-Bit Impress gibt, bin ich auf die Idee gekommen Ubuntu Server über den RaspberryPi Imager zu installieren und Die Desktopoberläche xfce noch dazu zu installieren.
Das habe ich mit
1 | sudo apt-get install xfce4 xfce4-goodies |
gemacht. Das hat auch perfekt geklappt. Mit VNC kann ich den Pi steuern, mit Samba die Präsentationen drauf laden und diese laufen dann auch gut in Endlosschleife. Nur ein kleines Problem gibt es noch. Die Auflösung bzw. das Seitenverhältnis. Dieses ist nämlich 9:5. Ich bräuchte aber 16:9. In den Einstellungen gibt es auch nur diese eine Auflösung zur Auswahl (siehe screenshot). Also im Internet nachrecherchiert, wie man das beheben kann. So wie ich es herausgefunden habe, sollte es so funktionieren:
1. mit cvt die Modeline herausfinden:
1 | cvt 1920 1080 60 |
, hat geklappt
2. mit xrandr neuen mode erstellen
1 | xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync |
und da kommt schon der erste Fehler:
xrandr: Failed to get size of gamma for output default
Trotzdem wird er erstellt. Wenn ich xrandr eingebe sehe ich ihn. Aber auch da kommt eine Fehlermeldung. (siehe screenshot)
Wenn ich dann versuche, den nächsten Befehl einzugebe, kommt wieder diese Fehlermeldung.
1 | xrandr --addmode default --mode 1920x1080_60.00 |
Jetzt kann ich auch in den Einstellungen 1920x1080 (16:9) auswählen. Wenn ich aber das Versuche springt er wieder auf 9:5 zurück und es kommt nur die Frage, ob ich die Einstellungen behalten will oder nicht. Wenn ich es per Terminal mit
1 | xrandr --output default --mode 1920x1080_60.00 |
versuche einzustellen, kommt:
xrandr: Failed to get size of gamma for output default xrandr: Configure crtc 0 failed
Nach einem Neustart ist die Einstellung auch wieder weg. und ich kann nur noch 9:5 auswählen.
Irgendwie ist alles komisch. Auch finde ich, dass die Desktopoberfläche eher gnome ist, oder? Aber irgendwie läuft sie doch performanter als, wenn ich gnome installiere. Ich hoffe, ihr könnt mein Problem verstehen, auch wenn das jetzt ein etwas unstrukturierter Text war. Die Hardware ist ein RaspberryPi4 mit 4GB zum Thema: "Welche Angaben zum System sind für ein neues Thema notwendig?":
1 | lspci -nnk | grep -A3 "\[03..\]:" |
Keine Ausgabe
1 2 3 4 5 6 7 | ubuntu@ubuntu:~$ xrandr --prop xrandr: Failed to get size of gamma for output default Screen 0: minimum 1824 x 984, current 1824 x 984, maximum 1824 x 984 default connected primary 1824x984+0+0 0mm x 0mm non-desktop: 0 supported: 0, 1 1824x984 0.00* |
/var/log/Xorg.0.log:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 | [ 23.378] X.Org X Server 1.20.8 X Protocol Version 11, Revision 0 [ 23.378] Build Operating System: Linux 4.4.0-177-generic aarch64 Ubuntu [ 23.378] Current Operating System: Linux ubuntu 5.4.0-1008-raspi #8-Ubuntu SMP Wed Apr 8 11:13:06 UTC 2020 aarch64 [ 23.378] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 cma=64M bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:86:DB:9E vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 net.ifnames=0 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=LABEL=writable rootfstype=ext4 elevator=deadline rootwait fixrtc quiet splash [ 23.378] Build Date: 06 April 2020 09:39:29AM [ 23.378] xorg-server 2:1.20.8-2ubuntu2 (For technical support please see http://www.ubuntu.com/support) [ 23.378] Current version of pixman: 0.38.4 [ 23.378] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 23.378] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 23.378] (==) Log file: "/var/log/Xorg.0.log", Time: Tue May 12 19:11:10 2020 [ 23.389] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 23.433] (==) No Layout section. Using the first Screen section. [ 23.433] (==) No screen section available. Using defaults. [ 23.433] (**) |-->Screen "Default Screen Section" (0) [ 23.433] (**) | |-->Monitor "<default monitor>" [ 23.437] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 23.437] (==) Automatically adding devices [ 23.437] (==) Automatically enabling devices [ 23.437] (==) Automatically adding GPU devices [ 23.437] (==) Automatically binding GPU devices [ 23.437] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 23.473] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. [ 23.473] Entry deleted from font path. [ 23.473] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist. [ 23.473] Entry deleted from font path. [ 23.473] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist. [ 23.473] Entry deleted from font path. [ 23.480] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist. [ 23.480] Entry deleted from font path. [ 23.480] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist. [ 23.480] Entry deleted from font path. [ 23.481] (==) FontPath set to: /usr/share/fonts/X11/misc, /usr/share/fonts/X11/Type1, built-ins [ 23.481] (==) ModulePath set to "/usr/lib/xorg/modules" [ 23.481] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 23.481] (II) Loader magic: 0xaaaad57ce010 [ 23.481] (II) Module ABI versions: [ 23.481] X.Org ANSI C Emulation: 0.4 [ 23.481] X.Org Video Driver: 24.1 [ 23.481] X.Org XInput driver : 24.1 [ 23.481] X.Org Server Extension : 10.0 [ 23.484] (++) using VT number 7 [ 23.484] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration [ 23.487] (II) no primary bus or device found [ 23.487] (II) LoadModule: "glx" [ 23.494] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 23.580] (II) Module glx: vendor="X.Org Foundation" [ 23.580] compiled for 1.20.8, module version = 1.0.0 [ 23.580] ABI class: X.Org Server Extension, version 10.0 [ 23.580] (==) Matched modesetting as autoconfigured driver 0 [ 23.580] (==) Matched fbdev as autoconfigured driver 1 [ 23.580] (==) Assigned the driver to the xf86ConfigLayout [ 23.580] (II) LoadModule: "modesetting" [ 23.585] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 23.594] (II) Module modesetting: vendor="X.Org Foundation" [ 23.594] compiled for 1.20.8, module version = 1.20.8 [ 23.594] Module class: X.Org Video Driver [ 23.594] ABI class: X.Org Video Driver, version 24.1 [ 23.595] (II) LoadModule: "fbdev" [ 23.595] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so [ 23.597] (II) Module fbdev: vendor="X.Org Foundation" [ 23.598] compiled for 1.20.1, module version = 0.5.0 [ 23.598] Module class: X.Org Video Driver [ 23.598] ABI class: X.Org Video Driver, version 24.0 [ 23.598] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 23.598] (II) FBDEV: driver for framebuffer: fbdev [ 23.608] (WW) Falling back to old probe method for modesetting [ 23.608] (EE) open /dev/dri/card0: No such file or directory [ 23.608] (WW) Falling back to old probe method for fbdev [ 23.608] (II) Loading sub module "fbdevhw" [ 23.608] (II) LoadModule: "fbdevhw" [ 23.609] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so [ 23.613] (II) Module fbdevhw: vendor="X.Org Foundation" [ 23.613] compiled for 1.20.8, module version = 0.0.2 [ 23.613] ABI class: X.Org Video Driver, version 24.1 [ 23.613] (II) FBDEV(0): using default device [ 23.613] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 23.614] (II) FBDEV(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 23.614] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32 [ 23.614] (==) FBDEV(0): RGB weight 888 [ 23.614] (==) FBDEV(0): Default visual is TrueColor [ 23.614] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0) [ 23.614] (II) FBDEV(0): hardware: simple (video memory: 7011kB) [ 23.614] (DB) xf86MergeOutputClassOptions unsupported bus type 0 [ 23.614] (II) FBDEV(0): checking modes against framebuffer device... [ 23.614] (II) FBDEV(0): checking modes against monitor... [ 23.614] (II) FBDEV(0): Virtual size is 1824x984 (pitch 1824) [ 23.614] (**) FBDEV(0): Built-in mode "current" [ 23.614] (==) FBDEV(0): DPI set to (96, 96) [ 23.614] (II) Loading sub module "fb" [ 23.614] (II) LoadModule: "fb" [ 23.614] (II) Loading /usr/lib/xorg/modules/libfb.so [ 23.619] (II) Module fb: vendor="X.Org Foundation" [ 23.619] compiled for 1.20.8, module version = 1.0.0 [ 23.619] ABI class: X.Org ANSI C Emulation, version 0.4 [ 23.619] (**) FBDEV(0): using shadow framebuffer [ 23.619] (II) Loading sub module "shadow" [ 23.619] (II) LoadModule: "shadow" [ 23.620] (II) Loading /usr/lib/xorg/modules/libshadow.so [ 23.623] (II) Module shadow: vendor="X.Org Foundation" [ 23.623] compiled for 1.20.8, module version = 1.1.0 [ 23.623] ABI class: X.Org ANSI C Emulation, version 0.4 [ 23.623] (II) UnloadModule: "modesetting" [ 23.623] (II) Unloading modesetting [ 23.624] (II) FBDEV(0): FBIOBLANK: Invalid argument (Screen blanking not supported by kernel - disabling) [ 23.637] (==) FBDEV(0): Backing store enabled [ 23.643] (==) FBDEV(0): DPMS enabled [ 23.644] (II) Initializing extension Generic Event Extension [ 23.644] (II) Initializing extension SHAPE [ 23.645] (II) Initializing extension MIT-SHM [ 23.645] (II) Initializing extension XInputExtension [ 23.647] (II) Initializing extension XTEST [ 23.648] (II) Initializing extension BIG-REQUESTS [ 23.648] (II) Initializing extension SYNC [ 23.649] (II) Initializing extension XKEYBOARD [ 23.649] (II) Initializing extension XC-MISC [ 23.649] (II) Initializing extension SECURITY [ 23.650] (II) Initializing extension XFIXES [ 23.650] (II) Initializing extension RENDER [ 23.651] (II) Initializing extension RANDR [ 23.651] (II) Initializing extension COMPOSITE [ 23.652] (II) Initializing extension DAMAGE [ 23.652] (II) Initializing extension MIT-SCREEN-SAVER [ 23.653] (II) Initializing extension DOUBLE-BUFFER [ 23.653] (II) Initializing extension RECORD [ 23.653] (II) Initializing extension DPMS [ 23.654] (II) Initializing extension Present [ 23.654] (II) Initializing extension DRI3 [ 23.654] (II) Initializing extension X-Resource [ 23.654] (II) Initializing extension XVideo [ 23.655] (II) Initializing extension XVideo-MotionCompensation [ 23.655] (II) Initializing extension SELinux [ 23.655] (II) SELinux: Disabled on system [ 23.655] (II) Initializing extension GLX [ 23.655] (II) AIGLX: Screen 0 is not DRI2 capable [ 24.766] (II) IGLX: Loaded and initialized swrast [ 24.766] (II) GLX: Initialized DRISWRAST GL provider for screen 0 [ 24.766] (II) Initializing extension XFree86-VidModeExtension [ 24.766] (II) Initializing extension XFree86-DGA [ 24.769] (II) Initializing extension XFree86-DRI [ 24.774] (II) Initializing extension DRI2 |
Viele Grüße jjk1