Screen goes blank some seconds with KMS DRM on boot and with vlc
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- linux, python, raspberry-pi
Research direction
No source file or test is named. Start by reproducing on a Raspberry Pi 4 with 32-bit Raspberry OS Bullseye using KMS/DRM and the VLC configuration described, then compare FKMS and MMAL behavior. Done means identifying and correcting the boot and VLC display blanking, or establishing the missing evidence needed to diagnose it.
Written by the indexing model from the issue text.
Description
Describe the bug
I am using the newest 32bit Raspberry OS with all updates.
When using KMS my screen goes shortly blank on boot. And also on every start and close of vlc player with "--vout=drm_vout" in python.
If i switch to fkms the screen blanking on boot stops.
if i change vlc to ""--vout mmal_vout"" the screen blanking stops with vlc.
Please tell me if you need more details.
Monitor is a 640x480 5 inch chinese Innolux Display connected over HDMi.
Same behaviour happens with the default chinese HDMI2AV Adapters and connected to any analog Video screen.
Here it is not "blanking" but also loosing connection and showing test image stripes from the adapter.
My normal PC Monitors Samsung and LG do not have this problem.
Have tried many config.txt settings but nothing helps. Seems to be something on load of KSM/DRM. I saw there was an old gamma problem with same behaviour, perhaps it is this again.
Edit: Interesting fact i found today is that hdmi safe mode 1 fails on both ( hdmi screen and hdmi2av adapter ) to display console after boot. Theres is no signal.
But setting the safemode parameters manually works. ( but still with blanking )
hdmi_force_hotplug=1
hdmi_ignore_edid=0xa5000080
config_hdmi_boost=4
hdmi_group=2
hdmi_mode=4
disable_overscan=0
overscan_left=24
overscan_right=24
overscan_top=24
overscan_bottom=24
Could it be something safemode sets additionally to this parameters that is not described officicially is doing the blanking ?
Steps to reproduce the behaviour
boot rasperry os and start python vlc player with DRM KMS
Device (s)
Raspberry Pi 4 Mod. B
System
32bit Raspberry OS Bullseye LITE - all newest updates
Logs
No response
Additional context
No response
- Dominant language
- C
- Stars
- 13.2k
- Forks
- 5.5k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 21
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from raspberrypi/linux
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
raspberrypi/linux#7415 · 2 comments · 1 reaction ·
-
rp1-cfe doesn't forward V4L2_EVENT_SOURCE_CHANGE event from csi-2 sensor driver to userspace app Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
raspberrypi/linux#7399 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
raspberrypi/linux#7357 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
raspberrypi/linux#7054 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
raspberrypi/linux#7634 · 8 comments · 1 reaction ·
All issues in raspberrypi/linux
Similar issues
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·
-
bug Self Built Image SNAPSHOT Supported Device target/ramips
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100