LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   recent update breaks video in virtualbox (https://www.linuxquestions.org/questions/slackware-14/recent-update-breaks-video-in-virtualbox-4175631961/)

Aeterna 06-14-2018 04:31 PM

recent update breaks video in virtualbox
 
Just installed Slackware currentin Oracle VM from the latest Alien Bob iso image (current Plasma5 from 04-23-2018)

at this point video works fine for few minutes but some artifacts appear (black line on the top and black VM menu).
next I have run update (no customization at this point) hoping that this may fix the issue:
slackpg update/upgrade-all
and after reboot video is broken (black screen)

Daedra 06-14-2018 06:08 PM

Have the same problem here, not sure if the problem lies with virtualbox or Slackware. Since my -current VM is just a throw away VM, I haven't looked into fixing it yet.

pdags 06-15-2018 09:19 AM

See this thread: https://www.linuxquestions.org/quest...nt-4175631830/

Its not really a fix, but blacklisting the vboxvideo module will let you start X.

Code:

echo "blacklist vboxvideo" >> /etc/modprobe.d/vbox.conf
and reboot.

I guess the problem is with VirtualBox?

Aeterna 06-17-2018 01:34 PM

Quote:

Originally Posted by pdags (Post 5867931)
See this thread: https://www.linuxquestions.org/quest...nt-4175631830/

Its not really a fix, but blacklisting the vboxvideo module will let you start X.

Code:

echo "blacklist vboxvideo" >> /etc/modprobe.d/vbox.conf
and reboot.

I guess the problem is with VirtualBox?

Sorry for the late response.
Oracle VirtualBox is just broken in Slackware. Not only video but also vboxsf does not work (because video is broken). Solution that you provide will not fix all issues.

Thank you though

chrisretusn 06-17-2018 10:34 PM

1 Attachment(s)
Oracle VirtualBox is not just broken. Works for me.

Host: Slackware64-current, with Alien Bob's Ktown
Guest: slackware64-live-plasma5-current.iso 04-23-2018

VirtualBox installed using VirtualBox-5.2.12-122591-Linux_amd64.run

Daedra 06-17-2018 11:08 PM

It's fine for me now too, not sure what I did. I just reverted a snapshot then updated using slackpkg. All good now.

Aeterna 06-18-2018 02:36 PM

Quote:

Originally Posted by Daedra (Post 5868755)
It's fine for me now too, not sure what I did. I just reverted a snapshot then updated using slackpkg. All good now.

Whoud be nice to know what you did?

@chrisretusn
I don't have any issues with fresh installation of Slackware-current-plasma and virtualbox. However if I run slackpkg update after fresh installation, it breaks video

Daedra 06-18-2018 02:59 PM

Quote:

Originally Posted by Aeterna (Post 5869013)
Whoud be nice to know what you did?

@chrisretusn
I don't have any issues with fresh installation of Slackware-current-plasma and virtualbox. However if I run slackpkg update after fresh installation, it breaks video

I literally just reverted a snapshot from a fresh install from about 3 weeks ago then updated. The only thing I do differently is remove the xorg vbox video package.

Aeterna 06-18-2018 04:32 PM

ok
just compiled kernel 4.14.34 and virtual box works
kernel 4.14.35 (default in current Plasma5 from 04-23-2018) works too

Now when I installed 4.17.2 virtual box video worked partially (fixed resolution, unable to change) and vboxsf would not load at all.

when running slackpkg update/upgrade-all, kernel is upgraded to 4.14.50 and this kills video.
So I will run update and leave kernel out.

Hopefully problem solved.

Daedra 06-18-2018 05:02 PM

I guess I should also mention I am using Virtualbox 5.1.38. I am avoiding the 5.2 branch because it has given me nothing but trouble.

Daedra 06-19-2018 02:03 AM

Well I spoke to soon or I never actually updated. but I just did another upgrade-all and noticed that a lot of packages from the last update didn't install. Either way, it is not working, I'll figure this out later, my -current VM is very low priority.

petslack 06-19-2018 08:46 AM

I have 2 VMs with Slackware64-current (up-to-date with slackpkg) with the following result:
Virtualbox 5.2.6 - X is working fine.
Virtualbox 5.2.12 - X is NOT working.

I think it's something related to the last Virtualbox tools version then. I'll upgrade Vbox 5.2.6 and see if it breaks...

Aeterna 06-19-2018 01:46 PM

VirtualBox is definitely broken after upgrade:
1) full install (no modifications), after full system upgrade = broken video
2) did not upgrade kernel (due to possible incompatibility between latest kernel and latest VirtualBox) = broken video
2a) I used custom kernel 4.16.8. This kernel works with VirtualBox before upgrade.
3) downgraded VB to 5.2.6 after system upgrade = broken video
4) removed xf-video-vboxvideo, after system upgrade = broken video

so upgrading Slackware to the latest current kills video (at least). Without an upgrade, abd keeping current Plasma5 from 04-23-2018 VirtualBox works.


Conclusion: for now can't upgrade Slackware to the latest current in virtualbox

Poprocks 07-03-2018 12:15 PM

I'm having the same issue. I'm guessing it's a bug with VirtualBox not playing nice with xorg-server 1.20 with the vboxvideo kernel module loaded. I've tried both the one shipped with the stock -current 4.14.52 on x86_64, and I've tried building the module manually from the vbox guest additions ISO. Neither works.

Thankfully, if you blacklist the 'vboxvideo' kernel driver, as others have suggested, the vboxvideo_drv.so *Xorg* driver will kick in and does work quite well. It doesn't get my resolution right on fluxbox without compositing enabled, but a single xrandr command tidies that up just fine.

I also tried under 4.4.x which was left hanging from my 14.2 install, even after rebuilding the modules, and that didn't work either, which is why I'm thinking it's an issue with VirtualBox and the new Xorg as opposed to the new kernel.

bassmadrigal 07-03-2018 12:22 PM

Have you tried any of the test or development builds of VirtualBox? They might have fixes that haven't made it to the stable releases yet.

https://www.virtualbox.org/wiki/Testbuilds


All times are GMT -5. The time now is 07:06 PM.