[opensuse-factory] Tumbleweed/X in VirtualBox
I have installed openSUSE-Tumbleweed-DVD-x86_64-Snapshot20170128-Media.iso into VirtualBox. Although the guest additions seems to have been installed, I cannot get X to start. I have all configured as I do for all other openSUSE releases that I run in VB where X starts okay. The host is the same for all VMs. It is only the Tumbleweed client that acts differently. Networking, shared folders and all work fine. It is only X that fails. I see that there is a difference in the X log between the working and non-working (Tumbleweed client) situation. This is what I get in Tumbleweed (X does not start): [ 157.390] (II) VBoxVideo(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 157.390] (==) VBoxVideo(0): Depth 24, (--) framebuffer bpp 32 [ 157.390] (--) VBoxVideo(0): Virtual size is 32766x32766 (pitch 32766) [ 157.390] (**) VBoxVideo(0): Built-in mode "800x600": 29.3 MHz (scaled from 0.0 MHz), 36.4 kHz, 60.0 Hz [ 157.390] (II) VBoxVideo(0): Modeline "800x600"x0.0 29.31 800 802 804 806 600 602 604 606 (36.4 kHz b) [ 157.390] (**) VBoxVideo(0): Built-in mode "800x600": 29.3 MHz (scaled from 0.0 MHz), 36.4 kHz, 60.0 Hz [ 157.390] (II) VBoxVideo(0): Modeline "800x600"x0.0 29.31 800 802 804 806 600 602 604 606 (36.4 kHz b) [ 157.390] (II) VBoxVideo(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0 [ 157.390] (==) VBoxVideo(0): RGB weight 888 [ 157.390] (==) VBoxVideo(0): Default visual is TrueColor [ 157.390] (==) VBoxVideo(0): Using gamma correction (1.0, 1.0, 1.0) [ 157.390] (==) VBoxVideo(0): DPI set to (96, 96) [ 157.390] (II) UnloadModule: "modesetting" [ 157.390] (II) Unloading modesetting [ 157.390] (II) UnloadModule: "fbdev" [ 157.390] (II) Unloading fbdev [ 157.390] (II) UnloadSubModule: "fbdevhw" [ 157.390] (II) Unloading fbdevhw [ 157.390] (II) UnloadModule: "vesa" [ 157.390] (II) Unloading vesa [ 157.390] (--) Depth 24 pixmap format is 32 bpp [ 157.390] (EE) Fatal server error: [ 157.390] (EE) AddScreen/ScreenInit failed for driver 0 [ 157.390] (EE) [ 157.390] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 157.390] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 157.390] (EE) [ 157.393] (EE) Server terminated with error (1). Closing log file. This is what I get in openSUSE 42.1 where X does start: [ 22.043] (II) VBoxVideo(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 22.043] (==) VBoxVideo(0): Depth 24, (--) framebuffer bpp 32 [ 22.043] (--) VBoxVideo(0): Virtual size is 32000x32000 (pitch 32000) [ 22.043] (**) VBoxVideo(0): Built-in mode "VBoxInitialMode": 89.9 MHz (scaled from 0.0 MHz), 61.8 kHz, 60.0 Hz [ 22.043] (II) VBoxVideo(0): Modeline "VBoxInitialMode"x0.0 89.86 1448 1450 1452 1454 1024 1026 1028 1030 (61.8 kHz b) [ 22.043] (**) VBoxVideo(0): Built-in mode "VBoxDynamicMode": 89.9 MHz (scaled from 0.0 MHz), 61.8 kHz, 60.0 Hz [ 22.043] (II) VBoxVideo(0): Modeline "VBoxDynamicMode"x0.0 89.86 1448 1450 1452 1454 1024 1026 1028 1030 (61.8 kHz b) [ 22.043] (**) VBoxVideo(0): Built-in mode "VBoxDynamicMode": 89.9 MHz (scaled from 0.0 MHz), 61.8 kHz, 60.0 Hz [ 22.043] (II) VBoxVideo(0): Modeline "VBoxDynamicMode"x0.0 89.86 1448 1450 1452 1454 1024 1026 1028 1030 (61.8 kHz b) [ 22.043] (**) VBoxVideo(0): Built-in mode "VBox-1440x1050": 91.6 MHz (scaled from 0.0 MHz), 63.4 kHz, 60.0 Hz [ 22.043] (II) VBoxVideo(0): Modeline "VBox-1440x1050"x0.0 91.62 1440 1442 1444 1446 1050 1052 1054 1056 (63.4 kHz b) [ 22.043] (**) VBoxVideo(0): Built-in mode "VBox-1280x960": 74.5 MHz (scaled from 0.0 MHz), 58.0 kHz, 60.0 Hz [ 22.043] (II) VBoxVideo(0): Modeline "VBox-1280x960"x0.0 74.54 1280 1282 1284 1286 960 962 964 966 (58.0 kHz b) [ 22.044] (**) VBoxVideo(0): Built-in mode "VBox-1024x768": 47.8 MHz (scaled from 0.0 MHz), 46.4 kHz, 60.0 Hz [ 22.044] (II) VBoxVideo(0): Modeline "VBox-1024x768"x0.0 47.83 1024 1026 1028 1030 768 770 772 774 (46.4 kHz b) [ 22.044] (**) VBoxVideo(0): Built-in mode "VBox-800x600": 29.3 MHz (scaled from 0.0 MHz), 36.4 kHz, 60.0 Hz [ 22.044] (II) VBoxVideo(0): Modeline "VBox-800x600"x0.0 29.31 800 802 804 806 600 602 604 606 (36.4 kHz b) [ 22.044] (**) VBoxVideo(0): Built-in mode "VBox-640x480": 18.8 MHz (scaled from 0.0 MHz), 29.2 kHz, 60.0 Hz [ 22.044] (II) VBoxVideo(0): Modeline "VBox-640x480"x0.0 18.84 640 642 644 646 480 482 484 486 (29.2 kHz b) [ 22.044] (II) VBoxVideo(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0 [ 22.044] (==) VBoxVideo(0): RGB weight 888 [ 22.044] (==) VBoxVideo(0): Default visual is TrueColor [ 22.044] (==) VBoxVideo(0): Using gamma correction (1.0, 1.0, 1.0) [ 22.044] (==) VBoxVideo(0): DPI set to (96, 96) [ 22.044] (II) UnloadModule: "modesetting" [ 22.044] (II) Unloading modesetting [ 22.044] (II) UnloadModule: "fbdev" [ 22.044] (II) Unloading fbdev [ 22.044] (II) UnloadSubModule: "fbdevhw" [ 22.044] (II) Unloading fbdevhw [ 22.044] (II) UnloadModule: "vesa" [ 22.044] (II) Unloading vesa [ 22.044] (--) Depth 24 pixmap format is 32 bpp -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am Donnerstag, 2. Februar 2017, 10:56:07 schrieb Roger Oberholtzer:
[ 157.390] (EE) Fatal server error: [ 157.390] (EE) AddScreen/ScreenInit failed for driver 0
Try adding "iomem=relaxed" to the kernel options. The vboxvideo UMS driver doesn't work without it. (Google for "iomem=relaxed" and you'll get a lot of results about this...) Though normally "modesetting" should be used together with the vboxvideo kernel module, which should work. So maybe check whether that kernel module is correctly installed for the current kernel and you don't boot with "nomodeset"... 42.1 doesn't have this "problem", as this is caused by kernel config change in Tumbleweed months ago IIRC. (there was a thread about it on this list back then) Kind Regards, Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 02/02/2017 01:36 PM, Wolfgang Bauer wrote:
Am Donnerstag, 2. Februar 2017, 10:56:07 schrieb Roger Oberholtzer:
[ 157.390] (EE) Fatal server error: [ 157.390] (EE) AddScreen/ScreenInit failed for driver 0
Try adding "iomem=relaxed" to the kernel options. The vboxvideo UMS driver doesn't work without it. (Google for "iomem=relaxed" and you'll get a lot of results about this...)
Though normally "modesetting" should be used together with the vboxvideo kernel module, which should work. So maybe check whether that kernel module is correctly installed for the current kernel and you don't boot with "nomodeset"...
42.1 doesn't have this "problem", as this is caused by kernel config change in Tumbleweed months ago IIRC. (there was a thread about it on this list back then)
Roger, I have been trying to duplicate this problem. For testing that VB works correctly, I run two different Tumbleweed VMs, one with Gnome and one with KDE, and neither shows the problem. As those VMs have been upgraded as new snapshots have been released, I also downloaded the 20170131 DVD and created a new KDE VM to see if that made a difference. It did not. The one thing I noticed is that your Xorg logs start with VBoxVideo(0), and mine start with modeset(0). As Wolfgang says, make sure that module vboxvideo is loaded, and that the kernel start line does not include "nomodeset". Larry -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thu, Feb 2, 2017 at 9:26 PM, Larry Finger <Larry.Finger@lwfinger.net> wrote:
Roger,
I have been trying to duplicate this problem. For testing that VB works correctly, I run two different Tumbleweed VMs, one with Gnome and one with KDE, and neither shows the problem. As those VMs have been upgraded as new snapshots have been released, I also downloaded the 20170131 DVD and created a new KDE VM to see if that made a difference. It did not. The one thing I noticed is that your Xorg logs start with VBoxVideo(0), and mine start with modeset(0).
As Wolfgang says, make sure that module vboxvideo is loaded, and that the kernel start line does not include "nomodeset".
The kernel command line is: BOOT_IMAGE=/boot/vmlinuz-4.9.6-1-default root=UUID=87b8f812-d692-4c0c-9be2-e8080823f893 resume=/dev/sda1 splash=silent quiet showopts This is the vbox kernel module activity: vboxsf 53248 2 vboxvideo 57344 0 drm_kms_helper 172032 1 vboxvideo syscopyarea 16384 2 vboxvideo,drm_kms_helper sysfillrect 16384 2 vboxvideo,drm_kms_helper sysimgblt 16384 2 vboxvideo,drm_kms_helper ttm 114688 1 vboxvideo drm 393216 3 vboxvideo,ttm,drm_kms_helper vboxguest 303104 3 vboxsf,vboxvideo I thought I would add iomem=relaxed to the kernel command line when booting. But, when selecting the kernel to boot, there is no way to edit the command line. Shouldn't I be able to press a key and then edit the command line? I admit I have not had the need to do so in a while. -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am Freitag, 3. Februar 2017, 12:35:18 CET schrieb Roger Oberholtzer:
I thought I would add iomem=relaxed to the kernel command line when booting. But, when selecting the kernel to boot, there is no way to edit the command line. Shouldn't I be able to press a key and then edit the command line?
Ah, here you mentioned it... ;-) (haven't seen this mail before my previous reply) You should be able to edit the currently selected menu entry by pressing the 'e' key. Kind Regards, Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Also, what version of VirtualBox are you using? The KMS support got introduced in 5.0.17. If you want to boot Tumbleweed on an older version, you need to apply the iomem=relaxed "workaround". (uninstalling the vboxvideo Xorg driver or changing the xorg.conf to use fbdev/vesa instead should work too) Kind Regards, Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, Feb 3, 2017 at 11:58 AM, Wolfgang Bauer <wbauer@tmo.at> wrote:
Also, what version of VirtualBox are you using?
The host is rather old... It is running VirtualBox 4.3.20. I can say that openSUSE 42.2 is working. It is the most recent openSUSE I am running here. Updating this system is on my ToDo list.
The KMS support got introduced in 5.0.17. If you want to boot Tumbleweed on an older version, you need to apply the iomem=relaxed "workaround". (uninstalling the vboxvideo Xorg driver or changing the xorg.conf to use fbdev/vesa instead should work too)
This would be in the client kernel command line, I guess. As I mentioned, I don't seem to be able to edit it when booting. I would like to do that first to see that it does something. -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 02/03/2017 05:36 AM, Roger Oberholtzer wrote:
On Fri, Feb 3, 2017 at 11:58 AM, Wolfgang Bauer <wbauer@tmo.at> wrote:
Also, what version of VirtualBox are you using?
The host is rather old... It is running VirtualBox 4.3.20. I can say that openSUSE 42.2 is working. It is the most recent openSUSE I am running here.
Updating this system is on my ToDo list.
What is the OS and version on that host? You should be able to get a newer version of VirtualBox from Oracle.
The KMS support got introduced in 5.0.17. If you want to boot Tumbleweed on an older version, you need to apply the iomem=relaxed "workaround". (uninstalling the vboxvideo Xorg driver or changing the xorg.conf to use fbdev/vesa instead should work too)
This would be in the client kernel command line, I guess. As I mentioned, I don't seem to be able to edit it when booting. I would like to do that first to see that it does something.
I am glad you figured out how to edit the kernel command line "on the fly". To make those permanent, use Yast -> System -> Boot Loader and choose the "Kernal Parameters" tab. Larry -- If I was stranded on an island and the only way to get off the island was to make a pretty UI, I’d die there. Linus Torvalds -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Larry Finger
-
Roger Oberholtzer
-
Wolfgang Bauer