manjaro-pinephone / plasma-mobile

Manjaro Plasma-Mobile
189 stars 18 forks source link

Display problem, doesn't work when cold booted #69

Open ibriski opened 1 year ago

ibriski commented 1 year ago

If I cold boot the device the display doesn't work - probably isn't initialized correctly. Then I log in using SSH and issue a reboot command the display starts working correctly (framebuffer device works).

If I look at the dmesg output when cold booted I see that there is an error which doesn't appear if the phone is warm booted:

[ 23.460482] sun4i-drm display-engine: bound 1100000.mixer (ops 0xffff800008ca5178) [ 23.464402] sun4i-drm display-engine: bound 1200000.mixer (ops 0xffff800008ca5178) [ 23.465163] sun4i-drm display-engine: No panel or bridge found... RGB output disabled [ 23.465200] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xffff800008ca2248) [ 23.465491] sun4i-drm display-engine: bound 1c0d000.lcd-controller (ops 0xffff800008ca2248) [ 23.465531] sun4i-drm display-engine: bound 1ca0000.dsi (ops 0xffff800008ca3f78) [ 23.470246] sun8i-hdmi-phy 1ef0000.hdmi-phy: Couldn't create the PHY clock [ 23.478777] sun4i-drm display-engine: failed to bind 1ee0000.hdmi (ops 0xffff800008ca4480): -17 [ 23.488801] sun4i-drm display-engine: Couldn't bind all pipelines components [ 23.496333] sun4i-drm display-engine: adev bind failed: -17 [ 23.496358] sun8i-dw-hdmi: probe of 1ee0000.hdmi failed with error -17

dmesg-warm.txt dmesg.txt

k8ieone commented 8 months ago

I can confirm this issue, it has been bugging me forever.

I can reproduce the problem without any effort. I'm currently running linux-pinephone 6.6.9-1

Sometimes I need to do more reboots before the screen starts working.

sun4i-drm display-engine: bound 1100000.mixer (ops 0xffff800080cd4ef8)
sun4i-drm display-engine: bound 1200000.mixer (ops 0xffff800080cd4ef8)
sun4i-drm display-engine: No panel or bridge found... RGB output disabled
sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xffff800080cd1ee8)
sun4i-drm display-engine: bound 1c0d000.lcd-controller (ops 0xffff800080cd1ee8)
sun4i-drm display-engine: bound 1ca0000.dsi (ops 0xffff800080cd3c08)
sun4i-drm display-engine: Couldn't bind all pipelines components
sun8i-di 1e00000.deinterlace: Device registered as /dev/video3
sun4i-drm display-engine: bound 1100000.mixer (ops 0xffff800080cd4ef8)
sun4i-drm display-engine: bound 1200000.mixer (ops 0xffff800080cd4ef8)
sun4i-drm display-engine: No panel or bridge found... RGB output disabled
sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xffff800080cd1ee8)
sun4i-drm display-engine: bound 1c0d000.lcd-controller (ops 0xffff800080cd1ee8)
sun4i-drm display-engine: bound 1ca0000.dsi (ops 0xffff800080cd3c08)
sun8i-hdmi-phy 1ef0000.hdmi-phy: Couldn't create the PHY clock
sun4i-drm display-engine: failed to bind 1ee0000.hdmi (ops 0xffff800080cd4200): -17
sun4i-drm display-engine: Couldn't bind all pipelines components
sun4i-drm display-engine: adev bind failed: -17
sun8i-dw-hdmi: probe of 1ee0000.hdmi failed with error -17
musb-sunxi 1c19000.usb: Disabling musb host side code due to re-routed phy
stk3310 1-0048: supply i2c not found, using dummy regulator
mipi-dsi 1ca0000.dsi.0: deferred probe pending
usb_phy_generic usb_phy_generic.1.auto: dummy supplies not allowed for exclusive requests
i2c i2c-1: mv64xxx_i2c_fsm: Ctlr Error -- state: 0x4, status: 0x0, addr: 0x48, flags: 0x0