I didn't get the above steps to work, so I choose a different way.
I've tried to compile the missing "bochs-drm" module by following these steps :
apt-get install linux-source-4.18.0
cd /usr/src/linux-source-4.18.0/
tar xjf linux-source-4.18.0.tar.bz2
cd linux-source-4.18.0/
apt-get install bison
apt-get install flex
apt-get install libelf-dev
make oldconfig
make menuconfig
In the menus I searched and enabled the module CONFIG_DRM_BOCHS=m
Then I launched the compilation :
make modules
# Get some coffee
mkdir /lib/modules/4.18.0-12-generic/kernel/drivers/gpu/drm/bochs
cp drivers/gpu/drm/bochs/*.ko /lib/modules/4.18.0-12-generic/kernel/drivers/gpu/drm/bochs
depmod -a
modprobe bochs-drm
This didn't work and I got the following message in "dmesg" :
bochs_drm: version magic '4.18.17 SMP mod_unload ' should be '4.18.0-12-generic SMP mod_unload '
But I found a way to change it by editing the main Makefile and changing :
SUBLEVEL = 17
EXTRAVERSION =
To the values :
SUBLEVEL = 0
EXTRAVERSION = -12-generic
Then I restarted a clean compilation :
make clean
make modules
# Get some coffee
cp drivers/gpu/drm/bochs/*.ko /lib/modules/4.18.0-12-generic/kernel/drivers/gpu/drm/bochs
depmod -a
modprobe bochs-drm
systemctl start sddm
And then I got SDDM back on screen !
I hope bochs-drm will be included in future standard kernel, as asked for in bug 1795857, because these steps will be necessary after each update of the standard kernel.
I didn't get the above steps to work, so I choose a different way.
I've tried to compile the missing "bochs-drm" module by following these steps :
apt-get install linux-source-4.18.0 linux-source- 4.18.0/ 4.18.0. tar.bz2 4.18.0/
cd /usr/src/
tar xjf linux-source-
cd linux-source-
apt-get install bison
apt-get install flex
apt-get install libelf-dev
make oldconfig
make menuconfig
In the menus I searched and enabled the module CONFIG_DRM_BOCHS=m
Then I launched the compilation :
make modules 4.18.0- 12-generic/ kernel/ drivers/ gpu/drm/ bochs gpu/drm/ bochs/* .ko /lib/modules/ 4.18.0- 12-generic/ kernel/ drivers/ gpu/drm/ bochs
# Get some coffee
mkdir /lib/modules/
cp drivers/
depmod -a
modprobe bochs-drm
This didn't work and I got the following message in "dmesg" :
bochs_drm: version magic '4.18.17 SMP mod_unload ' should be '4.18.0-12-generic SMP mod_unload '
But I found a way to change it by editing the main Makefile and changing :
SUBLEVEL = 17
EXTRAVERSION =
To the values :
SUBLEVEL = 0
EXTRAVERSION = -12-generic
Then I restarted a clean compilation :
make clean gpu/drm/ bochs/* .ko /lib/modules/ 4.18.0- 12-generic/ kernel/ drivers/ gpu/drm/ bochs
make modules
# Get some coffee
cp drivers/
depmod -a
modprobe bochs-drm
systemctl start sddm
And then I got SDDM back on screen !
I hope bochs-drm will be included in future standard kernel, as asked for in bug 1795857, because these steps will be necessary after each update of the standard kernel.