Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836770 - LiveGUI Virtualization video drivers missing, and Display resolution cannot be changed in a VM
Summary: LiveGUI Virtualization video drivers missing, and Display resolution cannot b...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: LiveCD/DVD/USB (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-04 17:57 UTC by genBTC
Modified: 2022-04-08 23:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dmesg comparison between working gentoo and bugged liveGUI - missing /dev/fb0 (dmesg-log-vmwgfx-bug-gentoo.txt,4.53 KB, text/plain)
2022-04-04 20:21 UTC, genBTC
Details

Note You need to log in before you can comment on or make changes to this bug.
Description genBTC 2022-04-04 17:57:49 UTC
livegui-amd64-20220403T220339Z.iso
04-Apr-2022 01:21
5064622080 bytes

The LiveGUI currently is in VGA mode on a VM, which I find unacceptable because testing in a VM i think should be a supported use case. Currently only bare-metal drivers for amdgpu/nouveau and generic fallback VESA/FBDev drivers are installed.

In particular:
x11-drivers/xf86-video-vmware = vmware
x11-drivers/xf86-video-vboxvideo = virtualbox
x11-drivers/xf86-video-qxl = Qemu?

They are not large drivers to add.

Also Of Note, as a result of this deficiency, I could not get KDE to change the video resolution (locked at 1024x768) in a VM, it did flicker to the higher resolution for 1 second, but immediately reverted without sticking.

Side Note, I attempted to install the virtualized video drivers myself, and attempted to log out of KDE/X and log back in to activate them, and realized this is unsupported for multiple reasons.
1) Do not know the password for the default gentoo user (stuck at login manager)
2) Attempting to switch TTYs to access a console resulted in a black screen, and locked the entire system up, with no hope of even getting back to the login manager.

Other than this video/login stuff, which I consider a big issue, Thank you, I was having a good experience with the ISO until this point.

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2022-04-04 19:22:10 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/releng.git/commit/?id=a273386d423ef55bd3906a1b31fc37599b29b1ab

commit a273386d423ef55bd3906a1b31fc37599b29b1ab
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2022-04-04 19:20:17 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2022-04-04 19:22:02 +0000

    portage/livegui: enable more VIDEO_CARDS
    
    Bug: https://bugs.gentoo.org/836770
    
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 releases/portage/livegui/package.use/video_cards | 1 +
 1 file changed, 1 insertion(+)
Comment 2 genBTC 2022-04-04 20:21:36 UTC
Created attachment 768799 [details]
dmesg comparison between working gentoo and bugged liveGUI - missing /dev/fb0

First is a dmesg output log of a working Gentoo Install installed with the stock dist-kernel gentoo-kernel-bin.
This configuration works and produces a /dev/fb0 device

Second is a dmesg output log of the bugged LiveGUI.
This one does not work, the bug being, consoles TTYs 1-6 have a black screen, and resolution can not be changed in X. Investigating why, I found this:
"unable to access /dev/fb0 - no such file or directory"

Both are using the same "VMWGFX" vmware graphics driver.

At first glance I thought the bug was caused by Xorg / VIDEO_CARDS drivers, but now I have located differences in the kernel that are likely root issue.

The difference in the kernel comes down to:

LiveGUI:
#CONFIG_DRM_VMWGFX_FBCON is not set

Working Gentoo Dist-Kernel:
CONFIG_DRM_VMWGFX_FBCON=y

(there may be additional differences but this seems to create the /dev/fb0 leading to all my problems)
Comment 3 Larry the Git Cow gentoo-dev 2022-04-08 23:42:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/releng.git/commit/?id=d5450dabe67541bfe0b4a4dc56df645a2cb92c42

commit d5450dabe67541bfe0b4a4dc56df645a2cb92c42
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2022-04-08 23:40:51 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2022-04-08 23:41:58 +0000

    Use kernel config from dist-kernel for livegui
    
    Closes: https://bugs.gentoo.org/836770
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 .../kconfig/amd64/livegui-amd64-5.15.23.config     | 9823 ++++++++++++++++++++
 releases/specs/amd64/livegui/livegui-stage2.spec   |    2 +-
 2 files changed, 9824 insertions(+), 1 deletion(-)