Bug 214603 - Video screen distorted at top linux 5.15.rc3
Summary: Video screen distorted at top linux 5.15.rc3
Status: RESOLVED DUPLICATE of bug 215001
Alias: None
Product: Other
Classification: Unclassified
Component: Configuration (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: other_configuration@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-02 12:06 UTC by Michael D. Setzer II
Modified: 2021-11-16 09:53 UTC (History)
0 users

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Michael D. Setzer II 2021-10-02 12:06:29 UTC
Have a project that uses kernels built from kernel.org source.
Has worked fine with kernels up to 5.14.9, but have issues with 5.15.rc?
Works fine with syslinux, grub4dos, and grub2 booting with 5.14.9.
With 5.15.rc3 the kernel works in all situations, but video is totally distorted in others.
With syslinux boot, it works in boot with standard 640x480 resolution.
With the 5.14.9 can use the vga=ask, and can select other resolutions like 315 for 800x600, but the 5.15.rc3 gives distorted video that is compressed at top and duplicated across screen?
Similar with booting under grub4dos using standard USB boot.
With UEFI booting via grub2, even the default booting results with distorted video.
With the 5.14.9, the default boot, and options with vga=ask allow for correct video output.

Note the following changes to the .config file after copying the .config from the 5.14.9 build to the 5.15.rc3 build. Prompts for a number of changes, and select the default for options. Compare the .config files and find the following changes.
Lines with < are lines that were in 5.14.9, but not in 5.15.rc3 file?
Lines with NEW are lines that are added to the 5.15.rc3.

< CONFIG_PRINTK_NMI=y
NEW CONFIG_ARCH_NR_GPIO=1024
NEW CONFIG_PERF_EVENTS_AMD_UNCORE=y
< CONFIG_X86_SYSFB=y
NEW CONFIG_SYSFB=y
NEW CONFIG_TRACE_IRQFLAGS_SUPPORT=y
NEW CONFIG_ARCH_HAS_PARANOID_L1D_FLUSH=y
< CONFIG_BLK_SCSI_REQUEST=y
< CONFIG_BLK_DEV_BSG=y
NEW CONFIG_BLK_DEV_BSG_COMMON=y
< CONFIG_BLK_CMDLINE_PARSER=y
NEW CONFIG_BLOCK_HOLDER_DEPRECATED=y
NEW CONFIG_AF_UNIX_OOB=y
NEW CONFIG_SCSI_COMMON=y
NEW CONFIG_BLK_DEV_BSG=y
< CONFIG_CS89x0=y
< CONFIG_CS89x0_PLATFORM=y
NEW CONFIG_NET_VENDOR_LITEX=y
NEW CONFIG_PTP_1588_CLOCK_OPTIONAL=y
NEW CONFIG_INTEL_PUNIT_IPC=y
< CONFIG_INTEL_PUNIT_IPC=y
< CONFIG_MANDATORY_FILE_LOCKING=y
NEW CONFIG_SMBFS_COMMON=y
< CONFIG_CRYPTO_LIB_ARC4=y
< CONFIG_TRACE_IRQFLAGS_SUPPORT=y

The setups use the same  boot device, and same ramdisk.lzma, so only difference is the kernel. Never seen this before, and have been building kernels for project since 2004. Did just recently add the UEFI boot support, which added about 100 lines to the .config file to add framebuffers and fbcon. But that all works with the 5.14.x series of kernels. So, something in 5.15.rc is different?
Thanks for your time.
Comment 1 Michael D. Setzer II 2021-10-05 09:25:31 UTC
Found a solution, but have no clue why it resolves issue??

Unsetting these two option cause the kernel to no longer create the distorted video?

2959c2959
< CONFIG_FB_VGA16=y
---
> # CONFIG_FB_VGA16 is not set
3021c3021
< CONFIG_FB_VIRTUAL=y
---
> # CONFIG_FB_VIRTUAL is not set

With the 5.14.9 kernels these are set, and it worked fine.
With the 5.15.rcx versions it causes distorted video.

Just tried various options until found that this resolved it??
Comment 2 Artem S. Tashkinov 2021-11-16 09:53:59 UTC

*** This bug has been marked as a duplicate of bug 215001 ***

Note You need to log in before you can comment on or make changes to this bug.