Schon seit einigen openSUSE Tumbelweed Versionen startet in einem Virtualbox Gast der Xserver nicht mehr. Eine zeitlang half das Deinstallieren der Virtualbox Gast-Kernel-Module, der Virtualbox Gast-Tools und der X11-Tools. Bei den letzten Versionen führte aber auch dieses Vorgehen nicht zum Erfolg.
Nach länerer Suche, habe ich eine Lösung für meine Konfiguration im Manjaro Forum gefunden. In diesem Thread „Problem on virtualbox with guest kernels higher than kernel 4.4“ wird über ähnliche Probleme berichtet und eine Lösung für das Problem angegeben, die bei mir funktioniert.
Meine Konfiguration:
1 2 3 4 5 6 7 | Host: Windows 7 Virtualbox 5.1.8 Guest: openSUSE Tumbleweed, 01.11.2016 mit VirtualBox guest additions version 5.1.6_SUSEr110634 |
Symptom:
Der Xserver stürzt bei der Initialisierung mit einem fatalen Server Error "AddScreen/ScreenInit failed for driver 0" ab. Hier das komplette Xserver log file.
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 153 154 155 156 157 158 159 | [ 178.170] X.Org X Server 1.18.4 Release Date: 2016-07-19 [ 178.170] X Protocol Version 11, Revision 0 [ 178.170] Build Operating System: openSUSE SUSE LINUX [ 178.170] Current Operating System: Linux tumbleweed 4.8.4-1-default #1 SMP PREEMPT Sat Oct 22 11:24:48 UTC 2016 (402d8c1) x86_64 [ 178.170] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.8.4-1-default root=UUID=6c95acdc-6351-44a4-95bd-c607bd392f7f resume=/dev/sda1 splash=silent quiet showopts [ 178.170] Build Date: 16 October 2016 10:12:57PM [ 178.170] [ 178.170] Current version of pixman: 0.34.0 [ 178.170] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 178.170] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 178.170] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Nov 3 17:53:35 2016 [ 178.170] (==) Using config directory: "/etc/X11/xorg.conf.d" [ 178.170] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 178.170] (==) No Layout section. Using the first Screen section. [ 178.170] (==) No screen section available. Using defaults. [ 178.170] (**) |-->Screen "Default Screen Section" (0) [ 178.170] (**) | |-->Monitor "<default monitor>" [ 178.170] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 178.170] (==) Automatically adding devices [ 178.170] (==) Automatically enabling devices [ 178.170] (==) Automatically adding GPU devices [ 178.170] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 178.170] (WW) The directory "/usr/share/fonts/misc/sgi" does not exist. [ 178.170] Entry deleted from font path. [ 178.170] (==) FontPath set to: /usr/share/fonts/misc:unscaled, /usr/share/fonts/Type1/, /usr/share/fonts/100dpi:unscaled, /usr/share/fonts/75dpi:unscaled, /usr/share/fonts/ghostscript/, /usr/share/fonts/cyrillic:unscaled, /usr/share/fonts/truetype/, built-ins [ 178.170] (==) ModulePath set to "/usr/lib64/xorg/modules" [ 178.170] (**) Extension "XFree86-DGA" is disabled [ 178.170] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 178.170] (II) Loader magic: 0x825ce0 [ 178.170] (II) Module ABI versions: [ 178.170] X.Org ANSI C Emulation: 0.4 [ 178.170] X.Org Video Driver: 20.0 [ 178.170] X.Org XInput driver : 22.1 [ 178.170] X.Org Server Extension : 9.0 [ 178.188] (++) using VT number 8 [ 178.188] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration [ 178.191] (--) PCI:*(0:0:2:0) 80ee:beef:0000:0000 rev 0, Mem @ 0xe0000000/134217728, BIOS @ 0x????????/131072 [ 178.191] (II) LoadModule: "glx" [ 178.191] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so [ 178.196] (II) Module glx: vendor="X.Org Foundation" [ 178.196] compiled for 1.18.4, module version = 1.0.0 [ 178.196] ABI class: X.Org Server Extension, version 9.0 [ 178.196] (==) AIGLX enabled [ 178.196] (II) Scanning /etc/X11/xorg_pci_ids directory for additional PCI ID's supported by the drivers [ 178.196] (==) Matched vboxvideo as autoconfigured driver 0 [ 178.196] (==) Matched modesetting as autoconfigured driver 1 [ 178.196] (==) Matched fbdev as autoconfigured driver 2 [ 178.196] (==) Matched vesa as autoconfigured driver 3 [ 178.196] (==) Assigned the driver to the xf86ConfigLayout [ 178.197] (II) LoadModule: "vboxvideo" [ 178.197] (II) Loading /usr/lib64/xorg/modules/drivers/vboxvideo_drv.so [ 178.197] (II) Module vboxvideo: vendor="Oracle Corporation" [ 178.197] compiled for 1.18.4, module version = 1.0.1 [ 178.197] Module class: X.Org Video Driver [ 178.197] ABI class: X.Org Video Driver, version 20.0 [ 178.197] (**) Load address of symbol "VBOXVIDEO" is 0x7f7ab0549380 [ 178.197] (II) LoadModule: "modesetting" [ 178.197] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so [ 178.197] (II) Module modesetting: vendor="X.Org Foundation" [ 178.197] compiled for 1.18.4, module version = 1.18.4 [ 178.197] Module class: X.Org Video Driver [ 178.197] ABI class: X.Org Video Driver, version 20.0 [ 178.197] (II) LoadModule: "fbdev" [ 178.197] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so [ 178.197] (II) Module fbdev: vendor="X.Org Foundation" [ 178.197] compiled for 1.18.4, module version = 0.4.4 [ 178.197] Module class: X.Org Video Driver [ 178.197] ABI class: X.Org Video Driver, version 20.0 [ 178.197] (II) LoadModule: "vesa" [ 178.197] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so [ 178.197] (II) Module vesa: vendor="X.Org Foundation" [ 178.197] compiled for 1.18.4, module version = 2.3.4 [ 178.197] Module class: X.Org Video Driver [ 178.197] ABI class: X.Org Video Driver, version 20.0 [ 178.197] (II) VBoxVideo: guest driver for VirtualBox: vbox [ 178.197] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 178.197] (II) FBDEV: driver for framebuffer: fbdev [ 178.197] (II) VESA: driver for VESA chipsets: vesa [ 178.203] (WW) Falling back to old probe method for modesetting [ 178.203] (EE) open /dev/dri/card0: No such file or directory [ 178.203] (WW) Falling back to old probe method for fbdev [ 178.203] (II) Loading sub module "fbdevhw" [ 178.203] (II) LoadModule: "fbdevhw" [ 178.203] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so [ 178.203] (II) Module fbdevhw: vendor="X.Org Foundation" [ 178.203] compiled for 1.18.4, module version = 0.0.2 [ 178.203] ABI class: X.Org Video Driver, version 20.0 [ 178.203] (WW) Falling back to old probe method for vesa [ 178.203] (II) VBoxVideo(0): VirtualBox guest additions video driver version 5.1.6_SUSEr110634 [ 178.203] (II) Loading sub module "ramdac" [ 178.203] (II) LoadModule: "ramdac" [ 178.203] (II) Module "ramdac" already built-in [ 178.203] (II) Loading sub module "fb" [ 178.203] (II) LoadModule: "fb" [ 178.203] (II) Loading /usr/lib64/xorg/modules/libfb.so [ 178.204] (II) Module fb: vendor="X.Org Foundation" [ 178.204] compiled for 1.18.4, module version = 1.0.0 [ 178.204] ABI class: X.Org ANSI C Emulation, version 0.4 [ 178.204] (II) Loading sub module "shadowfb" [ 178.204] (II) LoadModule: "shadowfb" [ 178.204] (II) Loading /usr/lib64/xorg/modules/libshadowfb.so [ 178.204] (II) Module shadowfb: vendor="X.Org Foundation" [ 178.204] compiled for 1.18.4, module version = 1.0.0 [ 178.204] ABI class: X.Org ANSI C Emulation, version 0.4 [ 178.204] (II) Loading sub module "vgahw" [ 178.204] (II) LoadModule: "vgahw" [ 178.204] (II) Loading /usr/lib64/xorg/modules/libvgahw.so [ 178.204] (II) Module vgahw: vendor="X.Org Foundation" [ 178.204] compiled for 1.18.4, module version = 0.1.0 [ 178.204] ABI class: X.Org Video Driver, version 20.0 [ 178.204] (II) VBoxVideo(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 178.204] (==) VBoxVideo(0): Depth 24, (--) framebuffer bpp 32 [ 178.204] (--) VBoxVideo(0): Virtual size is 32766x32766 (pitch 32766) [ 178.212] (**) VBoxVideo(0): Built-in mode "800x600": 29.3 MHz (scaled from 0.0 MHz), 36.4 kHz, 60.0 Hz [ 178.212] (II) VBoxVideo(0): Modeline "800x600"x0.0 29.31 800 802 804 806 600 602 604 606 (36.4 kHz b) [ 178.212] (**) VBoxVideo(0): Built-in mode "800x600": 29.3 MHz (scaled from 0.0 MHz), 36.4 kHz, 60.0 Hz [ 178.212] (II) VBoxVideo(0): Modeline "800x600"x0.0 29.31 800 802 804 806 600 602 604 606 (36.4 kHz b) [ 178.215] (II) VBoxVideo(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0 [ 178.220] (==) VBoxVideo(0): RGB weight 888 [ 178.220] (==) VBoxVideo(0): Default visual is TrueColor [ 178.220] (==) VBoxVideo(0): Using gamma correction (1.0, 1.0, 1.0) [ 178.220] (==) VBoxVideo(0): DPI set to (96, 96) [ 178.220] (II) UnloadModule: "modesetting" [ 178.220] (II) Unloading modesetting [ 178.220] (II) UnloadModule: "fbdev" [ 178.221] (II) Unloading fbdev [ 178.221] (II) UnloadSubModule: "fbdevhw" [ 178.221] (II) Unloading fbdevhw [ 178.221] (II) UnloadModule: "vesa" [ 178.221] (II) Unloading vesa [ 178.221] (--) Depth 24 pixmap format is 32 bpp [ 178.221] (EE) Fatal server error: [ 178.221] (EE) AddScreen/ScreenInit failed for driver 0 [ 178.221] (EE) [ 178.221] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 178.221] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 178.221] (EE) [ 178.232] (EE) Server terminated with error (1). Closing log file. |
Wie im Foren Thread „Problem on virtualbox with guest kernels higher than kernel 4.4“ angegeben, hilft das setzen des Kernel-Parameters iomem=relaxed . Wir starten Yast auf der Konsole und ändern die Bootloader Einstellungen. Das folgende Bild zeigt den entsprechenden Abschnitt Kernel Parameters in den Bootloader Einstellungen.
Nach einem Reboot startet der Xserver ohne Probleme. Auch unter KDE konnte ich keine Auffälligkeiten beobachten.