dreemurrs-embedded / Pine64-Arch

:penguin: Arch Linux ARM for your PinePhone/Pro and PineTab/2
706 stars 108 forks source link

Try to fix Pinetab display issues #576

Open aqtrans opened 1 year ago

aqtrans commented 1 year ago

This includes the 0014-pinetab-dsi-from-raspeberrypi.patch from a postmarketOS MR to try and fix the same Pinetab display issues encountered in kernels 5.10+.

Trying it myself, it seems to solve them. I've fully shut off and powered it back on multiple times without any of the odd blank screen issues encountered before.

I noticed a Mobian MR open for this issue too, but this more minor patch seems to get my Pinetab going at least.

This should hopefully fix #370

I have a compiled version available for testing here, but note that I'd commented out the bootspash and dev-edition patches, as I seemingly had an unclean src/ (compiling with this PR, all patches applied without issue), but it is what I have been testing with.

theironrobin commented 1 year ago

@Danct12 I tested this and it works on SD card.

Danct12 commented 1 year ago

Nice, but please retain the commit author in the patch file. This is made sure so that the original code developer is being credited.

aqtrans commented 1 year ago

Ah yeah, that makes sense. Just updated the patchfile to include the full header.

oklopfer commented 1 year ago

None of this is needed. Just set this in the defconfig, problem is solved:

#  CONFIG_DRM_PANEL_FEIXIN_K101_IM2BA02 is not set
CONFIG_DRM_PANEL_ILITEK_ILI9881C=m
CONFIG_DRM_PANEL_SITRONIX_ST7703=m

It's just panicking on a race to basically boot the same driver. So turn of the redundant one, and make them modules instead of hard deps. The device will auto load them as needed.