FS#79528 - [linux] CONFIG_SYSFB_SIMPLEFB breaks X11 on Intel

Attached to Project: Arch Linux
Opened by Pavel Vasin (rat4) - Thursday, 31 August 2023, 15:06 GMT
Last edited by Toolybird (Toolybird) - Friday, 01 September 2023, 10:45 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

After a kernel update, X11 + OpenGL displays garbage.
The last working kernel is 6.4.7.arch1-1
I rebuilt 6.4.8.arch1-1 without CONFIG_SYSFB_SIMPLEFB and it works.
Surprisingly, XWayland is not affected.

The used coprocessor:
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 01 September 2023, 10:45 GMT
Reason for closing:  Not a bug
Additional comments about closing:  "Got workarounds"
Comment by Marcos Mello (marcosfrm) - Thursday, 31 August 2023, 19:52 GMT
Older kernels sometimes enabled simultaneously i915 and simpledrm. Check in /proc/fb. Tip: you can add nvidia-drm.modeset=1 (or nvidia_drm.modeset=1) in kernel cmdline to make it behave as before (CONFIG_SYSFB_SIMPLEFB not set), even without Nvidia hardware.
Comment by Toolybird (Toolybird) - Thursday, 31 August 2023, 22:30 GMT
If this were a widespread issue we would have seen more reports by now. Please share more details about the problematic system i.e.

- is "xf86-video-intel" installed?
- BIOS or UEFI system?
- bootloader?
- initramfs details, mkinitcpio hooks used?
- kernel param's used?
- etc, etc.
Comment by Pavel Vasin (rat4) - Friday, 01 September 2023, 06:56 GMT
- UEFI
- grub2
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX #disk only
GRUB_ENABLE_CRYPTODISK=y
GRUB_GFXMODE=auto
GRUB_GFXPAYLOAD_LINUX=keep
- mkinitcpio
MODULES=(i915)
HOOKS=(base systemd sd-vconsole sd-encrypt autodetect modconf kms keyboard block lvm2 filesystems fsck)
- xf86-video-intel

Also I noticed X doesn't log following with simplefb
(II) intel(0): EDID vendor "BOE", prod id 1671
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1920x1080"x0.0 152.60 1920 1968 2000 2192 1080 1083 1089 1160 +hsync -vsync (69.6 kHz eP)
Comment by Toolybird (Toolybird) - Friday, 01 September 2023, 07:16 GMT
What happens if you completely uninstall "xf86-video-intel" which will then fallback on modesetting as per the "Note:" section in [1]?

[1] https://wiki.archlinux.org/title/Intel_graphics#Installation
Comment by Pavel Vasin (rat4) - Friday, 01 September 2023, 09:48 GMT
xf86-video-modesetting works, but xf86-video-intel also works with nvidia-drm.modeset=1
Thanks!

Loading...