Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: VirtualBox : problem with Leap 15.2 guest running on Leap 15.2 host

  1. #11
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    2,048

    Default Re: VirtualBox : problem with Leap 15.2 guest running on Leap 15.2 host

    Not willing to steal this thread, but since the 15.2 / VBox 6.1 snags are preventing me from switching to 15.2 in my daily systems I tried what is suggested here.
    Quote Originally Posted by cryptearth View Post
    I can confirm the required change of used GPU mode as the same issue happens running vbox 6.1 on windows host with leap 15.2 as guest. About have the guest stuff installed from repo - I don'T know - but not use them doesn't hurt if you can live without some of the "convenience" stuff like mouse integration or shared clip board.
    Quote Originally Posted by larryr View Post
    All VirtualBox OpenSUSE 15.2 and Tumbleweed guests have built-in guest additions - no convenience is missing right out of the box without any installation of guest additions. the VB Home Key and N show 6.0.0 guest additions are already installed and cannot be removed with zipper. the clipboard and mouse show in the VB Input and Devices menus.
    You don't need guest additions for most functions, but e.g. shared folders are missing unless you install virtualbox-guest-tools, which brings in virtualbox-guest-x11 and virtualbox-kmp-default as needed dependencies.
    Mouse integration works without any additions though.

    Quote Originally Posted by larryr View Post
    The 15.2 OpenSUSE has VirtualBox guest code built in it - the add on does not work as expected - you get a lot of black screens unless you do this.

    Code:
    zypper rm virtualbox\*
    on the guest - and reboot - you do need to use VMSVGA as the video.
    You have to do that every time the guest reinstalls the guest additions.

    <snip>

    to fix the video set up a script like this and add to your startup script

    Code:
    llrainey@VM1:~> cat bin/fixvideo
    D=`xrandr --verbose | head -2 | tail -1 | awk '{print $1}'`
    /usr/bin/xrandr --newmode "1752x980_60.00"  141.75  1752 1856 2040 2328  980 983 993 1017 -hsync +vsync
    /usr/bin/xrandr --addmode $D 1752x980_60.00
    /usr/bin/xrandr -s 1752x980
    <snip>]
    Using VMSVGA, no guest additions and the default Plasma session in the guest, any attempt at resizing the display doesn't stick, including that in the fixvideo script above.
    The fixvideo script works though if you use the IceWM or TWM sessions, so it looks like something in the Plasma session is at odds with the X11 settings.
    Wayland sessions can resize video but still have minor kinks in Plasma; wayland appears to behave well with Gnome in current TW live images.
    Of course the fixvideo script or xrandr have no effect in wayland sessions.

    Quote Originally Posted by microlinux View Post
    In the meantime I found a workaround that works perfectly.

    https://blog.microlinux.fr/opensuse-...-2-virtualbox/
    The suggestion to not use VMSVGA but stick with VBoxVGA or VBoxSVGA for the time being appears as the only viable workaround if you need everything that worked in Leap 15.1 / VBox 6.0.
    If I missed something obvious, I'm ready to test other use cases that I might have overlooked.
    Leap 15.1 Gnome on i7 4720HQ + Geforce GTX960M
    testing Leap 15.2

  2. #12
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,105
    Blog Entries
    2

    Default Re: VirtualBox : problem with Leap 15.2 guest running on Leap 15.2 host

    Quote Originally Posted by OrsoBruno View Post
    Not willing to steal this thread, but since the 15.2 / VBox 6.1 snags are preventing me from switching to 15.2 in my daily systems I tried what is suggested here.



    You don't need guest additions for most functions, but e.g. shared folders are missing unless you install virtualbox-guest-tools, which brings in virtualbox-guest-x11 and virtualbox-kmp-default as needed dependencies.
    Mouse integration works without any additions though.


    Using VMSVGA, no guest additions and the default Plasma session in the guest, any attempt at resizing the display doesn't stick, including that in the fixvideo script above.
    The fixvideo script works though if you use the IceWM or TWM sessions, so it looks like something in the Plasma session is at odds with the X11 settings.
    Wayland sessions can resize video but still have minor kinks in Plasma; wayland appears to behave well with Gnome in current TW live images.
    Of course the fixvideo script or xrandr have no effect in wayland sessions.


    The suggestion to not use VMSVGA but stick with VBoxVGA or VBoxSVGA for the time being appears as the only viable workaround if you need everything that worked in Leap 15.1 / VBox 6.0.
    If I missed something obvious, I'm ready to test other use cases that I might have overlooked.
    From the Virtualbox User Manual:

    https://www.virtualbox.org/manual/ch...#emul-hardware

    When running a Linux guest, there are no options, you are running a graphics driver that emulates a VMware SVGA device(VMSVGA)...
    If you are running a Windows Guest, you are running a Virtualbox SVGA device unless you're running a very old version of Windows... in which case you might be using a VGA device

    My Virtualbox installation is a download and install from the Oracle website... I haven't seen any problems with any Linux Guests (I don't run Windows Guests so won't have personal experience with them) and have not had any issues with Guest Additions or graphics displays.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #13
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    2,048

    Default Re: VirtualBox : problem with Leap 15.2 guest running on Leap 15.2 host

    Quote Originally Posted by microlinux View Post
    I installed the OpenSUSE Leap 15.2 guest in VirtualBox, but after rebooting I only managed to get the basic 800x600 resolution. On a side note, my workstation has a dual monitor, each with 1280x1024 resolution.

    The next step consists in installing the virtualbox-guest-x11 package in my guest system. After rebooting it, I still can't set the correct resolution.

    I tried to replaced VirtualBox 6.1.14 provided by OpenSUSE with VirtualBox 6.1.16 provided by VirtualBox.org. Installation went fine, but unfortunately the problem persists. There's no way I can display my guest OpenSUSE Leap KDE desktop in a better resolution than 800x600.
    Quote Originally Posted by tsu2 View Post
    From the Virtualbox User Manual:

    https://www.virtualbox.org/manual/ch...#emul-hardware

    When running a Linux guest, there are no options, you are running a graphics driver that emulates a VMware SVGA device(VMSVGA)...
    If you are running a Windows Guest, you are running a Virtualbox SVGA device unless you're running a very old version of Windows... in which case you might be using a VGA device

    My Virtualbox installation is a download and install from the Oracle website... I haven't seen any problems with any Linux Guests (I don't run Windows Guests so won't have personal experience with them) and have not had any issues with Guest Additions or graphics displays.

    TSU
    I understand the recent changes and the VMSVGA default for Linux guests, still I confirm the OP's finding that there is apparently no way to change the resolution on a Leap 15.2 KDE guest using VBox 6.1.14 provided by openSUSE and VMSVGA adapter.
    I have not tried VBox 6.1.16 from Oracle though.
    Leap 15.1 Gnome on i7 4720HQ + Geforce GTX960M
    testing Leap 15.2

  4. #14
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    5,160

    Default AW: VirtualBox : problem with Leap 15.2 guest running on Leap 15.2 host

    Graphics Controller: Specifies the graphics adapter type used by the guest VM. Note that you must install the Guest Additions on the guest VM to specify the VBoxSVGA or VMSVGA graphics controller. The following options are available:

    VBoxSVGA: The default graphics controller for new VMs that use Windows 7 or later.

    This graphics controller improves performance and 3D support when compared to the legacy VBoxVGA option.

    VBoxVGA: Use this graphics controller for legacy guest OSes. This is the default graphics controller for Windows versions before Windows 7 and for Oracle Solaris.

    3D acceleration is not supported for this graphics controller.

    VMSVGA: Use this graphics controller to emulate a VMware SVGA graphics device. This is the default graphics controller for Linux guests.

    None: Does not emulate a graphics adapter type.
    https://www.virtualbox.org/manual/ch...ettings-screen

    Here are running Windows-, openSUSE, openwrt-, Debian- and Kali-guest without any problems.

    Only thing I do is to delete the guest packages delivered by the running guest (if avaible) and install the Virtualbox-Guest by inserting the ISO as DVD.
    My Virtualbox is the one delivered from the Virtualization Repo and build by myself in my OBS, because I run kernel from kernel:stable.

  5. #15

    Default Re: VirtualBox : problem with Leap 15.2 guest running on Leap 15.2 host

    1. Running with VMSVGA, which is the now "normal" way, it is easy to choose your resolution. You just go in the guest system user's system settings, -> "workspace", -> "startup and shutdown", -> "background services", and there you CHECK OFF the "KScreen 2" button. Restart with this user and you have full screen resolution. You have to do this for every user on your guest system. Thee you are, the resolution problem is solved.
    2. It could be you run into another issue with Leap 15.2 as guest on VirtualBox: you start it up, you log in, and ... you see just a black screen beneath your cursor. Your guest system is running but you don't see anything. So you have to do this, when your mouse appears on a black screen: go with your mouse to the VirtualBox menu, -> "Keyboard simulate", -> "Simulate Ctrl-Alt-Del" and click this last one; now wait 30 seconds (or a bit less if you do "Enter" after ten seconds or so) and you can again login, but this time your full screen appears.
    Have fun!

  6. #16
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,105
    Blog Entries
    2

    Default Re: AW: VirtualBox : problem with Leap 15.2 guest running on Leap 15.2 host

    Quote Originally Posted by Sauerland View Post
    https://www.virtualbox.org/manual/ch...ettings-screen

    Here are running Windows-, openSUSE, openwrt-, Debian- and Kali-guest without any problems.

    Only thing I do is to delete the guest packages delivered by the running guest (if avaible) and install the Virtualbox-Guest by inserting the ISO as DVD.
    My Virtualbox is the one delivered from the Virtualization Repo and build by myself in my OBS, because I run kernel from kernel:stable.
    I haven't seen a problem but I rarely run KDE Plasma so if there is a problem specifically with that DE, that may be why I haven't seen it.
    .
    My HostOS is a laptop with a default display 1600x900.
    When I open any Linux guest, it will open by default at whatever I have set in the Guest, but I can either drag the Guest console's window larger or smaller (or fullscreen) and the DE resizes to fill the graphical screen.

    I'm not experiencing the problem I'd expect to see when the screen resolution stays the same size even when I enlarge the console window (eg go fullscreen).

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •