On 2021-04-12 11:43 +0200, Tim Tassonis via blfs-dev wrote: > > > On 4/12/21 11:35 AM, Tim Tassonis via blfs-dev wrote: > > > > > > On 4/12/21 11:16 AM, Pierre Labastie via blfs-dev wrote: > > > On Mon, 2021-04-12 at 09:46 +0200, Tim Tassonis via blfs-dev wrote: > > > > Hi all > > > > > > > > I just tried to upgrade my qemu virtual machine to glib 2.68.0, which > > > > lead to lxdm/X not starting anymore. /var/log/lxdm.log reports: > > > > > > > > MESA-LOADER: failed to open bochs-drm: > > > > /opt/X11/lib/dri/bochs-drm_dri.so: cannot open shared object file: No > > > > such file or directory (search paths /opt/X11/lib/dri) > > > > failed to load driver: bochs-drm > > > > > > > > > > > > The file /opt/X11/lib/dri/bochs-drm_dri.so really does not exist, but > > > > with older glib (2.66.8) this is no problem. > > > > > > > > A downgrade to glib 2.66.8 does actually fix the problem, so glib 2.68.0 > > > > really seems to be the problem here. I will try to investigate further, > > > > but for the moment, I would advise people to stay away from glib 2.68.0, > > > > at least on qemu vm's running X. > > > > > > Just to be sure: the VM has been updated, but the host has not been > > > touched (no > > > upgrade of glib2/qemu/whatever on host). > > > > > > Correct. I now read a bit about that bochs thingy, it seems to get > > triggered by > > > > qemu -vga std > > > > > > I now switched to > > > > qemu -vga virtio > > > > which makes the message disappear. However, lxdm still fails to start. > > dmesg now shows: > > > > > > [ 9.140449] lxdm-greeter-gt[2868]: segfault at 0 ip 00007f0b73b4c73d > > sp 00007ffefc16b600 error 4 in libglib-2.0.so.0.6800.0[7f0b73b21000+87000] > > [ 9.140460] Code: 49 8a 02 00 49 89 c6 48 85 c0 0f 84 0e 03 00 00 f6 > > 43 2c 02 75 48 8b 53 30 48 8b 43 38 85 d2 75 09 48 85 c0 0f 84 e4 03 00 > > 00 <48> 8b 38 48 85 ff 0f 84 f9 02 00 00 bd 08 00 00 00 eb 15 48 8b 43 > > > > > > So, there seems to be an incompatibility with glib 2.68.0 and lxdm. I > > try to re-build lxdm with glib 2.68.0 and see if that fixes the problem. > > If not, I have to revert back to 2.66.8 again. > > > > I re-built lxdm with glib 2.68.0, it didn't help, so the problem clearly > lies with lxdm/latest glib, tne bochs thing probably just was a warning > and not the cause of the error. I assume therefore, it is not related to > qemu at all, but only to lxdm. I try to find out something on lxdm > forums or whatever, maybe there's a patch.
Maybe there is a bug in glib-2.68.0. Try 2.68.1? -- Xi Ruoyao <xry...@mengyan1223.wang> School of Aerospace Science and Technology, Xidian University -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page