samsung-golden: display not working on boot but works after minutes
Describe your issue
Hello, I am new to the postmarketOS community, I love the concept of postmarketOS and I wanted to recycle my old Samsung SIII mini to tinker with it for personnal fun projects instead of buying a raspberry pi
What's the expected behaviour?
The screen should display the postmarketOS splash screen on boot.
What's the current behaviour?
- The screen remains off/black (no postmarketOS splash screen).
- The OS is running except for the screen (able to login with ssh through usb).
- There seems to be a problem with the detection of screen (panel) by the kernel (see additional informations for
dmesg
output). - Sometimes (seems random!) when touching the home button (or unplugging the phone?) after a long time (300+ seconds for Weston) the screen will turn on (see additional informations for
dmesg
output):
Desktop environment | Behavior | Photos |
---|---|---|
Weston | With Weston, around 300+ seconds after boot, after pressing the home button or when unplugging the charging cable the screen will finally start working (not consistent) | |
Xfce4 | With Xfce4, no spash-screen, and after a while when pressing a button a blank and noisy screen with green and white pixels will gradually fill up the screen. | |
Plasma-mobile | With Plasma-mobile, no spash-screen, unable to display anything. | |
Posh | With Posh, no spash-screen but screen turn on quicker (~30 seconds). In dmesg: There is a retry to check LCD type that fail the first time then succeed on second retry. Minor issue: wrong screen scaling. Scaling problem fixed by @Newbyte comment : #1654 (comment 1061621826) |
|
Sxmo-de-sway | No spash-screen, unable to display anything. | |
Glacier | No spash-screen, unable to display anything. | |
Gnome | No spash-screen, unable to display anything. No retry of checking LCD type after 300+ seconds. | |
Mate | No spash-screen, unable to display anything. No retry of checking LCD type after 300+ seconds. | |
fbkeyboard | No spash-screen, unable to display anything. No retry of checking LCD type after 300+ seconds. | |
console ui | No spash-screen, unable to display anything. No retry of checking LCD type after 300+ seconds. |
- See additional informations for
dmesg
output.
How to reproduce your issue?
- Follow the installation guide for the device: https://wiki.postmarketos.org/wiki/Samsung_Galaxy_S_III_mini_(samsung-golden)
- Boot the device
What device are you using?
samsung-golden
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
v22.06
-
v21.12
(supported until 2022-07-12) -
I confirm that the issue still is present after running sudo apk upgrade -a
On what environment did you encounter the issue?
Phone environments
-
Phosh -
Plasma Mobile -
Sxmo (Wayland/Sway)
Other
-
No environment ("none" in pmbootstrap) -
GNOME -
KDE Plasma -
Kodi -
MATE -
Shelli -
Sway -
Weston -
Xfce4 -
LXQt -
fbkeyboard -
i3wm -
Sxmo (Xorg/Dwm) -
console UI -
framebufferphone
How did you get postmarketOS image?
-
from https://images.postmarketos.org -
I built it using pmbootstrap -
It was preinstalled on my device
What's the build date of the image? (in yyyy-mm-dd format)
2022-08-13
$ uname -a
Linux samsung-golden 5.19.0-rc2-postmarketos-stericsson #1 SMP Sun Jun 19 15:35:41 UTC 2022 armv7l Linux
Additional information
dmesg output with Weston (selected only part relative to issue)
[ 1.590642] SPI driver db7430-panel has no spi_device_id for samsung,lms397kf04 [ 1.590688] SPI driver s6d27a1-panel has no spi_device_id for samsung,s6d27a1 [ 1.590717] SPI driver panel-samsung-s6e63m0 has no spi_device_id for samsung,s6e63m0 [ 1.590753] SPI driver ws2401-panel has no spi_device_id for samsung,lms380kf01 [ 1.591874] lima a0300000.gpu: gp - mali400 version major 1 minor 0 [ 1.591961] lima a0300000.gpu: pp0 - mali400 version major 1 minor 0 [ 1.592007] lima a0300000.gpu: l2 cache 32K, 4-way, 64byte cache line, 64bit external bus [ 1.592472] lima a0300000.gpu: bus rate = 0 [ 1.592483] lima a0300000.gpu: mod rate = 399360000 [ 1.592875] [drm] Initialized lima 1.1.0 20191231 for a0300000.gpu on minor 0 [ 1.594107] mcde a0350000.mcde: MCDE clk rate 199680000 Hz [ 1.594269] mcde a0350000.mcde: found MCDE HW revision 3.0 (dev 8, metal fix 0) [ 1.595147] mcde-dsi a0351000.dsi: HW revision 0x02327457 [ 1.595822] mcde-dsi a0351000.dsi: attached DSI device with 2 lanes [ 1.595832] mcde-dsi a0351000.dsi: format 00000000, 24bpp [ 1.595838] mcde-dsi a0351000.dsi: mode flags: 00000003 [ 1.595887] mcde-dsi a0351000.dsi: registered DSI host [ 1.596577] mcde-dsi a0352000.dsi: HW revision 0x02327457 [ 1.596589] mcde-dsi a0352000.dsi: registered DSI host [ 1.596976] mcde-dsi a0353000.dsi: HW revision 0x02327457 [ 1.596986] mcde-dsi a0353000.dsi: registered DSI host [ 1.663658] mcde-dsi a0351000.dsi: connected to panel [ 1.663669] mcde-dsi a0351000.dsi: initialized MCDE DSI bridge [ 1.663676] mcde a0350000.mcde: bound a0351000.dsi (ops mcde_dsi_component_ops) [ 1.663705] mcde-dsi a0352000.dsi: unused DSI interface [ 1.663710] mcde a0350000.mcde: bound a0352000.dsi (ops mcde_dsi_component_ops) [ 1.663721] mcde-dsi a0353000.dsi: unused DSI interface [ 1.663726] mcde a0350000.mcde: bound a0353000.dsi (ops mcde_dsi_component_ops) [ 1.674337] [drm] Initialized mcde 1.0.0 20180529 for a0350000.mcde on minor 1 [ 1.700026] mcde-dsi a0351000.dsi: set DSI master to 480x800 25628000 Hz VIDEO mode [ 1.700138] mcde a0350000.mcde: enable MCDE, 480 x 800 format XR24 little-endian (0x34325258) [ 1.700156] mcde a0350000.mcde: output in VIDEO mode, format 24bpp [ 1.700164] mcde a0350000.mcde: Overlay CPP: 4 bytes, DSI formatter CPP 3 bytes [ 1.700209] mcde-dsi a0351000.dsi: DSI LP clock rate 9600000 Hz [ 1.700222] mcde-dsi a0351000.dsi: DSI HS clock rate 349440000 Hz [ 1.700669] mcde-dsi a0351000.dsi: DSI link enabled [ 1.700684] mcde-dsi a0351000.dsi: enabled MCDE DSI master [ 1.700697] mcde a0350000.mcde: MCDE display is enabled [ 1.933264] mcde-dsi a0351000.dsi: read error, requested 1 got 0 [ 1.933305] mcde-dsi a0351000.dsi: read error, requested 1 got 0 [ 1.933339] mcde-dsi a0351000.dsi: read error, requested 1 got 0 [ 1.933346] mcde-dsi a0351000.dsi: gave up after 3 retries [ 1.933353] panel-samsung-s6e63m0 a0351000.dsi.0: could not read DCS CMD da [ 1.933359] panel-samsung-s6e63m0 a0351000.dsi.0: error checking LCD type (-5) [ 2.148950] mcde a0350000.mcde: first update of display contents [ 2.170539] Console: switching to colour frame buffer device 60x50 [ 2.187059] mcde a0350000.mcde: [drm] fb0: mcdedrmfb frame buffer device ... [ 283.307214] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 327.172459] mcde-dsi a0351000.dsi: VID mode missing VSYNC [ 327.243265] mcde a0350000.mcde: MCDE display is disabled [ 356.148144] ab8500-charger ab8500-charger.0: VBUS input current limit set to 500000 uA [ 360.653168] ieee80211 phy0: brcmf_cfg80211_add_iface: iface validation failed: err=-16 [ 366.345836] ab8500_chargalg ab8500-chargalg.0: restarted charging from maintenance state A - battery getting old? [ 366.346804] ab8500-charger ab8500-charger.0: VBUS input current limit set to 500000 uA [ 390.741242] ieee80211 phy0: brcmf_inetaddr_changed: fail to get arp ip table err:-52 Screen start working around here ! [ 434.836734] mcde-dsi a0351000.dsi: set DSI master to 480x800 25628000 Hz VIDEO mode [ 434.836863] mcde a0350000.mcde: enable MCDE, 480 x 800 format XR24 little-endian (0x34325258) [ 434.836882] mcde a0350000.mcde: output in VIDEO mode, format 24bpp [ 434.836889] mcde a0350000.mcde: Overlay CPP: 4 bytes, DSI formatter CPP 3 bytes [ 434.836925] mcde-dsi a0351000.dsi: DSI LP clock rate 9600000 Hz [ 434.837038] mcde-dsi a0351000.dsi: DSI HS clock rate 349440000 Hz [ 434.837499] mcde-dsi a0351000.dsi: DSI link enabled [ 434.837516] mcde-dsi a0351000.dsi: enabled MCDE DSI master [ 434.837529] mcde a0350000.mcde: MCDE display is enabled [ 435.086833] panel-samsung-s6e63m0 a0351000.dsi.0: MTP ID: fe b6 1b [ 435.086854] panel-samsung-s6e63m0 a0351000.dsi.0: detected LCD panel AMS397GE MIPI SM2
dmesg output with Xfce4 (selected only part relative to issue)
[ 1.588145] SPI driver db7430-panel has no spi_device_id for samsung,lms397kf04 [ 1.588193] SPI driver s6d27a1-panel has no spi_device_id for samsung,s6d27a1 [ 1.588214] SPI driver panel-samsung-s6e63m0 has no spi_device_id for samsung,s6e63m0 [ 1.588251] SPI driver ws2401-panel has no spi_device_id for samsung,lms380kf01 [ 1.589384] lima a0300000.gpu: gp - mali400 version major 1 minor 0 [ 1.589462] lima a0300000.gpu: pp0 - mali400 version major 1 minor 0 [ 1.589516] lima a0300000.gpu: l2 cache 32K, 4-way, 64byte cache line, 64bit external bus [ 1.590043] lima a0300000.gpu: bus rate = 0 [ 1.590054] lima a0300000.gpu: mod rate = 399360000 [ 1.590463] [drm] Initialized lima 1.1.0 20191231 for a0300000.gpu on minor 0 [ 1.599017] mcde a0350000.mcde: MCDE clk rate 199680000 Hz [ 1.599182] mcde a0350000.mcde: found MCDE HW revision 3.0 (dev 8, metal fix 0) [ 1.600154] mcde-dsi a0351000.dsi: HW revision 0x02327457 [ 1.600814] mcde-dsi a0351000.dsi: attached DSI device with 2 lanes [ 1.600825] mcde-dsi a0351000.dsi: format 00000000, 24bpp [ 1.600832] mcde-dsi a0351000.dsi: mode flags: 00000003 [ 1.600881] mcde-dsi a0351000.dsi: registered DSI host [ 1.601566] mcde-dsi a0352000.dsi: HW revision 0x02327457 [ 1.601576] mcde-dsi a0352000.dsi: registered DSI host [ 1.601952] mcde-dsi a0353000.dsi: HW revision 0x02327457 [ 1.601962] mcde-dsi a0353000.dsi: registered DSI host [ 1.669994] mcde-dsi a0351000.dsi: connected to panel [ 1.670004] mcde-dsi a0351000.dsi: initialized MCDE DSI bridge [ 1.670013] mcde a0350000.mcde: bound a0351000.dsi (ops mcde_dsi_component_ops) [ 1.670042] mcde-dsi a0352000.dsi: unused DSI interface [ 1.670047] mcde a0350000.mcde: bound a0352000.dsi (ops mcde_dsi_component_ops) [ 1.670059] mcde-dsi a0353000.dsi: unused DSI interface [ 1.670064] mcde a0350000.mcde: bound a0353000.dsi (ops mcde_dsi_component_ops) [ 1.680697] [drm] Initialized mcde 1.0.0 20180529 for a0350000.mcde on minor 1 [ 1.696494] mcde-dsi a0351000.dsi: set DSI master to 480x800 25628000 Hz VIDEO mode [ 1.696613] mcde a0350000.mcde: enable MCDE, 480 x 800 format XR24 little-endian (0x34325258) [ 1.696630] mcde a0350000.mcde: output in VIDEO mode, format 24bpp [ 1.696638] mcde a0350000.mcde: Overlay CPP: 4 bytes, DSI formatter CPP 3 bytes [ 1.696683] mcde-dsi a0351000.dsi: DSI LP clock rate 9600000 Hz [ 1.696695] mcde-dsi a0351000.dsi: DSI HS clock rate 349440000 Hz [ 1.697142] mcde-dsi a0351000.dsi: DSI link enabled [ 1.697156] mcde-dsi a0351000.dsi: enabled MCDE DSI master [ 1.697170] mcde a0350000.mcde: MCDE display is enabled [ 1.929747] mcde-dsi a0351000.dsi: read error, requested 1 got 0 [ 1.929786] mcde-dsi a0351000.dsi: read error, requested 1 got 0 [ 1.929819] mcde-dsi a0351000.dsi: read error, requested 1 got 0 [ 1.929826] mcde-dsi a0351000.dsi: gave up after 3 retries [ 1.929832] panel-samsung-s6e63m0 a0351000.dsi.0: could not read DCS CMD da [ 1.929839] panel-samsung-s6e63m0 a0351000.dsi.0: error checking LCD type (-5) [ 2.145269] mcde a0350000.mcde: first update of display contents [ 2.167006] Console: switching to colour frame buffer device 60x50 [ 2.183524] mcde a0350000.mcde: [drm] fb0: mcdedrmfb frame buffer device ... [ 453.862931] mcde-dsi a0351000.dsi: VID mode missing VSYNC [ 453.934461] mcde a0350000.mcde: MCDE display is disabled [ 458.113844] ab8500_chargalg ab8500-chargalg.0: restarted charging from maintenance state A - battery getting old? [ 458.114872] ab8500-charger ab8500-charger.0: VBUS input current limit set to 500000 uA [ 537.266818] ab8500-charger ab8500-charger.0: VBUS input current limit set to 500000 uA [ 548.672019] ab8500_chargalg ab8500-chargalg.0: restarted charging from maintenance state A - battery getting old? [ 548.672993] ab8500-charger ab8500-charger.0: VBUS input current limit set to 500000 uA [ 598.095768] ab8500-charger ab8500-charger.0: VBUS input current limit set to 500000 uA [ 609.162125] ab8500_chargalg ab8500-chargalg.0: restarted charging from maintenance state A - battery getting old? [ 609.163116] ab8500-charger ab8500-charger.0: VBUS input current limit set to 500000 uA Screen display blank noisy green/white screen around here [ 646.842423] mcde a0350000.mcde: enable MCDE, 480 x 800 format XR24 little-endian (0x34325258) [ 646.842452] mcde a0350000.mcde: output in VIDEO mode, format 24bpp [ 646.842461] mcde a0350000.mcde: Overlay CPP: 4 bytes, DSI formatter CPP 3 bytes [ 646.842494] mcde-dsi a0351000.dsi: DSI LP clock rate 9600000 Hz [ 646.842608] mcde-dsi a0351000.dsi: DSI HS clock rate 349440000 Hz [ 646.843053] mcde-dsi a0351000.dsi: DSI link enabled [ 646.843061] mcde-dsi a0351000.dsi: hbp negative, set to 0 [ 646.843067] mcde-dsi a0351000.dsi: blkline_pck too big 65920 bytes [ 646.843075] mcde-dsi a0351000.dsi: video block does not fit on line! [ 646.843080] mcde-dsi a0351000.dsi: calculated bytes per line: 65930 @ 0 Hz [ 646.843087] mcde-dsi a0351000.dsi: bytes per line (blkline_pck) 65920 bytes [ 646.843093] mcde-dsi a0351000.dsi: blkeol_pck becomes -82456 bytes [ 646.843100] mcde-dsi a0351000.dsi: enabled MCDE DSI master [ 646.843111] mcde a0350000.mcde: MCDE display is enabled [ 646.879068] mcde-dsi a0351000.dsi: VID mode missing data [ 646.879076] mcde-dsi a0351000.dsi: VID mode less bytes than expected between two HSYNC [ 646.879082] mcde-dsi a0351000.dsi: VID mode received packets differ from expected size [ 646.879087] mcde-dsi a0351000.dsi: VID mode VSG in recovery mode [ 646.958239] mcde-dsi a0351000.dsi: VID mode missing data [ 646.958259] mcde-dsi a0351000.dsi: VID mode less bytes than expected between two HSYNC [ 646.958271] mcde-dsi a0351000.dsi: VID mode VSG in recovery mode [ 647.036978] mcde-dsi a0351000.dsi: VID mode missing data [ 647.037016] mcde-dsi a0351000.dsi: VID mode less bytes than expected between two HSYNC [ 647.037041] mcde-dsi a0351000.dsi: VID mode VSG in recovery mode [ 647.088399] panel-samsung-s6e63m0 a0351000.dsi.0: MTP ID: fe b6 1b [ 647.088455] panel-samsung-s6e63m0 a0351000.dsi.0: detected LCD panel AMS397GE MIPI SM2 [ 647.116376] mcde-dsi a0351000.dsi: VID mode missing data [ 647.116409] mcde-dsi a0351000.dsi: VID mode less bytes than expected between two HSYNC [ 647.116433] mcde-dsi a0351000.dsi: VID mode read/write error [ 647.116454] mcde-dsi a0351000.dsi: VID mode VSG in recovery mode [ 647.195532] mcde-dsi a0351000.dsi: VID mode missing data [ 647.195565] mcde-dsi a0351000.dsi: VID mode less bytes than expected between two HSYNC [ 647.195586] mcde-dsi a0351000.dsi: VID mode read/write error [ 647.195607] mcde-dsi a0351000.dsi: VID mode VSG in recovery mode
dmesg output with Plasma-Mobile (selected only part relative to issue)
[ 1.576967] SPI driver db7430-panel has no spi_device_id for samsung,lms397kf04 [ 1.577012] SPI driver s6d27a1-panel has no spi_device_id for samsung,s6d27a1 [ 1.577033] SPI driver panel-samsung-s6e63m0 has no spi_device_id for samsung,s6e63m0 [ 1.577067] SPI driver ws2401-panel has no spi_device_id for samsung,lms380kf01 [ 1.578224] lima a0300000.gpu: gp - mali400 version major 1 minor 0 [ 1.578327] lima a0300000.gpu: pp0 - mali400 version major 1 minor 0 [ 1.578366] lima a0300000.gpu: l2 cache 32K, 4-way, 64byte cache line, 64bit external bus [ 1.578820] lima a0300000.gpu: bus rate = 0 [ 1.578832] lima a0300000.gpu: mod rate = 399360000 [ 1.579230] [drm] Initialized lima 1.1.0 20191231 for a0300000.gpu on minor 0 [ 1.589072] mcde a0350000.mcde: MCDE clk rate 199680000 Hz [ 1.589243] mcde a0350000.mcde: found MCDE HW revision 3.0 (dev 8, metal fix 0) [ 1.590217] mcde-dsi a0351000.dsi: HW revision 0x02327457 [ 1.590891] mcde-dsi a0351000.dsi: attached DSI device with 2 lanes [ 1.590902] mcde-dsi a0351000.dsi: format 00000000, 24bpp [ 1.590908] mcde-dsi a0351000.dsi: mode flags: 00000003 [ 1.590959] mcde-dsi a0351000.dsi: registered DSI host [ 1.591652] mcde-dsi a0352000.dsi: HW revision 0x02327457 [ 1.591664] mcde-dsi a0352000.dsi: registered DSI host [ 1.592039] mcde-dsi a0353000.dsi: HW revision 0x02327457 [ 1.592049] mcde-dsi a0353000.dsi: registered DSI host [ 1.660025] mcde-dsi a0351000.dsi: connected to panel [ 1.660035] mcde-dsi a0351000.dsi: initialized MCDE DSI bridge [ 1.660043] mcde a0350000.mcde: bound a0351000.dsi (ops mcde_dsi_component_ops) [ 1.660069] mcde-dsi a0352000.dsi: unused DSI interface [ 1.660076] mcde a0350000.mcde: bound a0352000.dsi (ops mcde_dsi_component_ops) [ 1.660087] mcde-dsi a0353000.dsi: unused DSI interface [ 1.660092] mcde a0350000.mcde: bound a0353000.dsi (ops mcde_dsi_component_ops) [ 1.670724] [drm] Initialized mcde 1.0.0 20180529 for a0350000.mcde on minor 1 [ 1.686559] mcde-dsi a0351000.dsi: set DSI master to 480x800 25628000 Hz VIDEO mode [ 1.686688] mcde a0350000.mcde: enable MCDE, 480 x 800 format XR24 little-endian (0x34325258) [ 1.686705] mcde a0350000.mcde: output in VIDEO mode, format 24bpp [ 1.686713] mcde a0350000.mcde: Overlay CPP: 4 bytes, DSI formatter CPP 3 bytes [ 1.686757] mcde-dsi a0351000.dsi: DSI LP clock rate 9600000 Hz [ 1.686772] mcde-dsi a0351000.dsi: DSI HS clock rate 349440000 Hz [ 1.687224] mcde-dsi a0351000.dsi: DSI link enabled [ 1.687238] mcde-dsi a0351000.dsi: enabled MCDE DSI master [ 1.687251] mcde a0350000.mcde: MCDE display is enabled [ 1.919819] mcde-dsi a0351000.dsi: read error, requested 1 got 0 [ 1.919859] mcde-dsi a0351000.dsi: read error, requested 1 got 0 [ 1.919898] mcde-dsi a0351000.dsi: read error, requested 1 got 0 [ 1.919905] mcde-dsi a0351000.dsi: gave up after 3 retries [ 1.919913] panel-samsung-s6e63m0 a0351000.dsi.0: could not read DCS CMD da [ 1.919921] panel-samsung-s6e63m0 a0351000.dsi.0: error checking LCD type (-5) [ 2.135289] mcde a0350000.mcde: first update of display contents [ 2.157088] Console: switching to colour frame buffer device 60x50 [ 2.173606] mcde a0350000.mcde: [drm] fb0: mcdedrmfb frame buffer device ... [ 35.999986] mcde a0350000.mcde: MCDE display is disabled [ 36.000115] mcde a0350000.mcde: enable MCDE, 480 x 800 format AR24 little-endian (0x34325241) [ 36.000137] mcde a0350000.mcde: output in VIDEO mode, format 24bpp [ 36.000144] mcde a0350000.mcde: Overlay CPP: 4 bytes, DSI formatter CPP 3 bytes [ 36.000182] mcde-dsi a0351000.dsi: DSI LP clock rate 9600000 Hz [ 36.000295] mcde-dsi a0351000.dsi: DSI HS clock rate 349440000 Hz [ 36.000771] mcde-dsi a0351000.dsi: DSI link enabled [ 36.000781] mcde-dsi a0351000.dsi: hbp negative, set to 0 [ 36.000787] Division by zero in kernel. [ 36.000794] CPU: 1 PID: 1896 Comm: kwin_wayland Not tainted 5.19.0-rc2-postmarketos-stericsson #1 [ 36.000806] Hardware name: ST-Ericsson Ux5x0 platform (Device Tree Support) [ 36.000818] unwind_backtrace from show_stack+0x10/0x14 [ 36.000848] show_stack from dump_stack_lvl+0x40/0x4c [ 36.000872] dump_stack_lvl from Ldiv0_64+0x8/0x18 [ 36.000894] Ldiv0_64 from mcde_dsi_enable+0x574/0x924 [ 36.000914] mcde_dsi_enable from mcde_display_enable+0x8fc/0xb38 [ 36.000927] mcde_display_enable from drm_atomic_helper_commit_modeset_enables+0xa8/0x290 [ 36.000944] drm_atomic_helper_commit_modeset_enables from drm_atomic_helper_commit_tail_rpm+0x44/0x8c [ 36.000955] drm_atomic_helper_commit_tail_rpm from commit_tail+0x9c/0x184 [ 36.000966] commit_tail from drm_atomic_helper_commit+0x134/0x158 [ 36.000975] drm_atomic_helper_commit from drm_atomic_commit+0xa8/0xd4 [ 36.000997] drm_atomic_commit from drm_mode_atomic_ioctl+0x8bc/0xb28 [ 36.001015] drm_mode_atomic_ioctl from drm_ioctl+0x1a0/0x378 [ 36.001034] drm_ioctl from sys_ioctl+0x510/0xba0 [ 36.001053] sys_ioctl from ret_fast_syscall+0x0/0x54 [ 36.001065] Exception stack(0xf1075fa8 to 0xf1075ff0) [ 36.001075] 5fa0: a9013910 00000015 00000015 c03864bc bee8f088 bee8f088 [ 36.001083] 5fc0: a9013910 00000015 c03864bc 00000036 00000015 00000015 a8f825a8 00000021 [ 36.001089] 5fe0: b3a0ce74 bee8ef30 b39f5dc3 b6f3e2e2 [ 36.001098] mcde-dsi a0351000.dsi: blkline_pck too big -10 bytes [ 36.001105] mcde-dsi a0351000.dsi: video block does not fit on line! [ 36.001111] mcde-dsi a0351000.dsi: calculated bytes per line: 0 @ 0 Hz [ 36.001117] mcde-dsi a0351000.dsi: bytes per line (blkline_pck) 4294967286 bytes [ 36.001124] mcde-dsi a0351000.dsi: blkeol_pck becomes -148638 bytes [ 36.001130] mcde-dsi a0351000.dsi: enabled MCDE DSI master [ 36.001145] mcde a0350000.mcde: MCDE display is enabled [ 36.110035] ------------[ cut here ]------------ [ 36.110051] WARNING: CPU: 1 PID: 1896 at drivers/gpu/drm/drm_atomic_helper.c:1539 drm_atomic_helper_wait_for_vblanks.part.0+0x2a8/0x2b0 [ 36.110097] [CRTC:33:crtc-0] vblank wait timed out [ 36.110104] Modules linked in: nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nf_conntrack nf_defrag_ipv4 nf_defrag_ipv6 nf_tables libcrc32c nfnetlink brcmfmac hci_uart brcmutil btbcm [ 36.110174] CPU: 1 PID: 1896 Comm: kwin_wayland Not tainted 5.19.0-rc2-postmarketos-stericsson #1 [ 36.110188] Hardware name: ST-Ericsson Ux5x0 platform (Device Tree Support) [ 36.110202] unwind_backtrace from show_stack+0x10/0x14 [ 36.110227] show_stack from dump_stack_lvl+0x40/0x4c [ 36.110251] dump_stack_lvl from __warn+0xc8/0xf4 [ 36.110268] __warn from warn_slowpath_fmt+0x90/0xb8 [ 36.110282] warn_slowpath_fmt from drm_atomic_helper_wait_for_vblanks.part.0+0x2a8/0x2b0 [ 36.110297] drm_atomic_helper_wait_for_vblanks.part.0 from drm_atomic_helper_commit_tail_rpm+0x7c/0x8c [ 36.110312] drm_atomic_helper_commit_tail_rpm from commit_tail+0x9c/0x184 [ 36.110326] commit_tail from drm_atomic_helper_commit+0x134/0x158 [ 36.110337] drm_atomic_helper_commit from drm_atomic_commit+0xa8/0xd4 [ 36.110358] drm_atomic_commit from drm_mode_atomic_ioctl+0x8bc/0xb28 [ 36.110378] drm_mode_atomic_ioctl from drm_ioctl+0x1a0/0x378 [ 36.110401] drm_ioctl from sys_ioctl+0x510/0xba0 [ 36.110421] sys_ioctl from ret_fast_syscall+0x0/0x54 [ 36.110435] Exception stack(0xf1075fa8 to 0xf1075ff0) [ 36.110446] 5fa0: a9013910 00000015 00000015 c03864bc bee8f088 bee8f088 [ 36.110456] 5fc0: a9013910 00000015 c03864bc 00000036 00000015 00000015 a8f825a8 00000021 [ 36.110463] 5fe0: b3a0ce74 bee8ef30 b39f5dc3 b6f3e2e2 [ 36.110470] ---[ end trace 0000000000000000 ]--- [ 36.379667] mcde-dsi a0351000.dsi: VID mode missing data [ 36.379684] mcde-dsi a0351000.dsi: VID mode less bytes than expected between two HSYNC [ 36.379689] mcde-dsi a0351000.dsi: VID mode received packets differ from expected size [ 36.379694] mcde-dsi a0351000.dsi: VID mode VSG in recovery mode [ 36.903844] mcde-dsi a0351000.dsi: VID mode missing data [ 36.903859] mcde-dsi a0351000.dsi: VID mode less bytes than expected between two HSYNC [ 36.903865] mcde-dsi a0351000.dsi: VID mode VSG in recovery mode
dmesg output with Posh (selected only part relative to issue)
[ 1.576699] SPI driver db7430-panel has no spi_device_id for samsung,lms397kf04 [ 1.576747] SPI driver s6d27a1-panel has no spi_device_id for samsung,s6d27a1 [ 1.576767] SPI driver panel-samsung-s6e63m0 has no spi_device_id for samsung,s6e63m0 [ 1.576802] SPI driver ws2401-panel has no spi_device_id for samsung,lms380kf01 [ 1.577933] lima a0300000.gpu: gp - mali400 version major 1 minor 0 [ 1.578030] lima a0300000.gpu: pp0 - mali400 version major 1 minor 0 [ 1.578068] lima a0300000.gpu: l2 cache 32K, 4-way, 64byte cache line, 64bit external bus [ 1.578525] lima a0300000.gpu: bus rate = 0 [ 1.578536] lima a0300000.gpu: mod rate = 399360000 [ 1.578932] [drm] Initialized lima 1.1.0 20191231 for a0300000.gpu on minor 0 [ 1.584124] mcde a0350000.mcde: MCDE clk rate 199680000 Hz [ 1.584298] mcde a0350000.mcde: found MCDE HW revision 3.0 (dev 8, metal fix 0) [ 1.585182] mcde-dsi a0351000.dsi: HW revision 0x02327457 [ 1.585852] mcde-dsi a0351000.dsi: attached DSI device with 2 lanes [ 1.585862] mcde-dsi a0351000.dsi: format 00000000, 24bpp [ 1.585869] mcde-dsi a0351000.dsi: mode flags: 00000003 [ 1.585915] mcde-dsi a0351000.dsi: registered DSI host [ 1.586603] mcde-dsi a0352000.dsi: HW revision 0x02327457 [ 1.586614] mcde-dsi a0352000.dsi: registered DSI host [ 1.586994] mcde-dsi a0353000.dsi: HW revision 0x02327457 [ 1.587003] mcde-dsi a0353000.dsi: registered DSI host [ 1.650022] mcde-dsi a0351000.dsi: connected to panel [ 1.650032] mcde-dsi a0351000.dsi: initialized MCDE DSI bridge [ 1.650040] mcde a0350000.mcde: bound a0351000.dsi (ops mcde_dsi_component_ops) [ 1.650069] mcde-dsi a0352000.dsi: unused DSI interface [ 1.650074] mcde a0350000.mcde: bound a0352000.dsi (ops mcde_dsi_component_ops) [ 1.650086] mcde-dsi a0353000.dsi: unused DSI interface [ 1.650090] mcde a0350000.mcde: bound a0353000.dsi (ops mcde_dsi_component_ops) [ 1.660712] [drm] Initialized mcde 1.0.0 20180529 for a0350000.mcde on minor 1 [ 1.686449] mcde-dsi a0351000.dsi: set DSI master to 480x800 25628000 Hz VIDEO mode [ 1.686569] mcde a0350000.mcde: enable MCDE, 480 x 800 format XR24 little-endian (0x34325258) [ 1.686587] mcde a0350000.mcde: output in VIDEO mode, format 24bpp [ 1.686595] mcde a0350000.mcde: Overlay CPP: 4 bytes, DSI formatter CPP 3 bytes [ 1.686638] mcde-dsi a0351000.dsi: DSI LP clock rate 9600000 Hz [ 1.686651] mcde-dsi a0351000.dsi: DSI HS clock rate 349440000 Hz [ 1.687097] mcde-dsi a0351000.dsi: DSI link enabled [ 1.687112] mcde-dsi a0351000.dsi: enabled MCDE DSI master [ 1.687124] mcde a0350000.mcde: MCDE display is enabled [ 1.919687] mcde-dsi a0351000.dsi: read error, requested 1 got 0 [ 1.919728] mcde-dsi a0351000.dsi: read error, requested 1 got 0 [ 1.919762] mcde-dsi a0351000.dsi: read error, requested 1 got 0 [ 1.919769] mcde-dsi a0351000.dsi: gave up after 3 retries [ 1.919776] panel-samsung-s6e63m0 a0351000.dsi.0: could not read DCS CMD da [ 1.919783] panel-samsung-s6e63m0 a0351000.dsi.0: error checking LCD type (-5) [ 2.135283] mcde a0350000.mcde: first update of display contents [ 2.156964] Console: switching to colour frame buffer device 60x50 [ 2.173490] mcde a0350000.mcde: [drm] fb0: mcdedrmfb frame buffer device Screen start working around here! [ 31.857282] mcde-dsi a0351000.dsi: VID mode missing VSYNC [ 31.927944] mcde a0350000.mcde: MCDE display is disabled [ 31.927998] mcde-dsi a0351000.dsi: set DSI master to 480x800 25628000 Hz VIDEO mode [ 31.928193] mcde a0350000.mcde: enable MCDE, 480 x 800 format AR24 little-endian (0x34325241) [ 31.928250] mcde a0350000.mcde: output in VIDEO mode, format 24bpp [ 31.928282] mcde a0350000.mcde: Overlay CPP: 4 bytes, DSI formatter CPP 3 bytes [ 31.928362] mcde-dsi a0351000.dsi: DSI LP clock rate 9600000 Hz [ 31.928505] mcde-dsi a0351000.dsi: DSI HS clock rate 349440000 Hz [ 31.929084] mcde-dsi a0351000.dsi: DSI link enabled [ 31.929127] mcde-dsi a0351000.dsi: enabled MCDE DSI master [ 31.929164] mcde a0350000.mcde: MCDE display is enabled [ 32.161868] panel-samsung-s6e63m0 a0351000.dsi.0: MTP ID: fe b6 1b [ 32.161918] panel-samsung-s6e63m0 a0351000.dsi.0: detected LCD panel AMS397GE MIPI SM2 [ 34.420041] db8500-esram12: disabling [ 34.420148] db8500-esram34: disabling [ 35.298694] mcde a0350000.mcde: MCDE display is disabled [ 46.083671] mcde-dsi a0351000.dsi: set DSI master to 480x800 25628000 Hz VIDEO mode [ 46.083831] mcde a0350000.mcde: enable MCDE, 480 x 800 format AR24 little-endian (0x34325241) [ 46.083853] mcde a0350000.mcde: output in VIDEO mode, format 24bpp [ 46.083860] mcde a0350000.mcde: Overlay CPP: 4 bytes, DSI formatter CPP 3 bytes [ 46.083903] mcde-dsi a0351000.dsi: DSI LP clock rate 9600000 Hz [ 46.084018] mcde-dsi a0351000.dsi: DSI HS clock rate 349440000 Hz [ 46.094014] mcde-dsi a0351000.dsi: DSI link enabled [ 46.094126] mcde-dsi a0351000.dsi: enabled MCDE DSI master [ 46.094150] mcde a0350000.mcde: MCDE display is enabled [ 46.343472] panel-samsung-s6e63m0 a0351000.dsi.0: MTP ID: fe b6 1b [ 46.343496] panel-samsung-s6e63m0 a0351000.dsi.0: detected LCD panel AMS397GE MIPI SM2
Edited by Germain Rullier