/srv/irclogs.ubuntu.com/2017/03/16/#ubuntu-x.txt

=== RAOF1 is now known as RAOF
=== JanC is now known as Guest95676
=== JanC_ is now known as JanC
tjaalton1.19.3 uploaded to ppa:canonical-x/x-staging11:39
michael-vbHello, wondering if someone can give me a hint about the following.16:04
michael-vbIn the VirtualBox Guest Additions we install a drm driver into /lib/modules which should get auto-loaded at boot time.  A user is claiming that in a Debian Sid virtual machine, X.Org often starts before the module is loaded.16:04
michael-vbIs this expected?  Not sure what else the user might have done of course.  And if it is expected, should I be doing something to prevent it?16:04
tjaaltonthe driver probably isn't in the initrd image16:07
tjaalton?16:07
alkisgKernel 4.8 broke 16bpp modes in virtualbox for me (I see two smaller broken images of the screen instead of one large one), while in 4.4 it worked, would that be related to the vbox code? Should i report that to the vbox bug tracker or to the kernel or to xorg?16:07
michael-vbtjaalton: don't think so.  I tried putting it into initrd's on various systems (though it is only Debian that puts graphics drivers there), but it felt too fragile for me.  For me it works without.  Am I just lucky?16:09
michael-vbI assumed that the initrd graphics drivers were for the boot splash.16:09
tjaaltonkms drivers16:09
tjaaltonif you put it in /lib/modules it's a kms driver?16:09
michael-vbExactly.16:10
tjaaltonso it belongs there16:10
michael-vbOf course, I usually test Ubuntu which ships it by default.16:10
tjaaltonships what?16:10
michael-vbSo that is probably why I am not noticing.16:10
michael-vbvboxvideo.ko16:10
tjaaltonah16:10
michael-vbAnd if it is in the initrd would that be expected to work?16:10
tjaaltonI'd say so16:11
tjaaltonotherwise X might start before the driver has a chance of loading16:11
tjaaltonI guess16:11
michael-vbOh dear, back to initrd fun then.  It seems to go wrong in so many different ways when you try to add something from outside.16:11
michael-vbActually, remembering, with Ubuntu one could just drop a file into some directory and ask to have the initrd rebuilt.16:12
michael-vbThanks.16:12
tjaaltonshould be the same trickery16:13
tjaaltonunless there's some ubuntu'ism16:13
tjaaltonin initramfs-tools16:13
michael-vbHopefully not.16:14
tjaaltonyou can check the diff to be sure :)16:15
tjaalton/usr/share/initramfs-tools/scripts/init-top/framebuffer16:16
tjaaltonnope16:16
tjaalton/usr/share/initramfs-tools/hooks/framebuffer16:16
tjaaltoncopy_modules_dir kernel/drivers/gpu16:16
tjaaltonso install a new hook16:17
michael-vbAhem.  That file exists in 0.125ubuntu9 but not in 0.127 from Sid.16:20
alkisgHere's what I'm seeing with kernel 4.8: https://snag.gy/H3FeMW.jpg16:20
michael-vbalkisg: if you are using Guest Additions then probably yes.16:21
alkisgmichael-vb: ubuntu 16.04.2, I think it has some video module preinstalled?16:21
alkisgI didn't install anything manually16:21
michael-vbCan't remember what Ubuntu 16.04 provides.  Especially not .2.  Could you pnopaste your Xorg.0.log from the guest for reference?16:23
michael-vbIn any case, the Ubuntu maintainer for the VirtualBox drivers is not in this channel, so perhaps we should not be troubling other people with this.16:24
michael-vbWe could switch to #vbox for now with it.16:25
alkisgmichael-vb: if it's a vbox issue, of course, I'll come there, thank you16:25
michael-vbtjaalton: so it looks like Debian (Sid at least) does not do kms drivers in the initrd.16:27
tjaaltonmichael-vb: then I don't understand the original bug16:51
tjaaltonwhy it happens16:51
michael-vbShould Xorg wait for udev to finish loading drm drivers before starting?  (It is udev, isn't it?)16:51
tjaaltonwhatever starts xorg16:52
tjaaltonlightdm has16:53
tjaaltonAfter=systemd-user-sessions.service getty@tty7.service plymouth-quit.service16:53
michael-vbAnd in Sid that is probably gdm.  So I should probably be asking whoever takes care of that.16:54
tjaaltonlook at it's service file16:55
michael-vbThanks.16:57
michael-vbHave to be moving, children to feed...16:57
tjaaltonAfter=rc-local.service plymouth-start.service systemd-user-sessions.service16:58
tjaaltondunno what happens if there is no plymouth16:58
tjaaltonhmm nothing16:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!