christianhaitian / arkos

Another rockchip Operating System
MIT License
1.59k stars 87 forks source link

Feature request: Allow HDMI to work with built-in screen together #1106

Closed patroldo closed 5 months ago

patroldo commented 5 months ago

Before submitting your issue or feature request. DO NOT REQUEST ASSISTANce FOR PRELOADED IMAGES. I do not support or condone the use of preloaded ArkOS images. Preloaded meaning images that come with copyrighted roms preincluded. Look for support from the creator or supplier of those preloaded images, not from here! If a ticket is submitted for assistance for such images or if there's an indiciation that a preloaded image is what the support request is for, the issue ticket will be closed with no further response.

  1. This is not the Stock OS that comes with your device, AmberElec, JelOS, or UnOfficialOS. ArkOS is a different distribution from those systems and will have differing features. The only somewhat similarity is that they both use EmulationStation as a frontend. Even with that, the versions of EmulationStation that's used in between ArkOS and these other distributions is different with different capabilities. If there are features you prefer with the other available distributions, just use those distributions instead. The choice is yours.

  2. Have you reviewed the Frequently Asked Questions section available for your supported device in the wiki?

  3. If your issue is related to being able to run certain emulators or ports, have you reviewed the Emulators and Ports section available at https://github.com/christianhaitian/arkos/wiki/ArkOS-Emulators-and-Ports-information for needed bios files and supported rom extensions?

  4. Have you reviewed the known issues section available at https://github.com/christianhaitian/arkos/wiki/Known-issues ?

Describe the Issue (If applicable)

Not the issue, but rather feature request. I would like to have a possibility to output both hdmi and built-in screen(basically just mirror)

How can the issue be reproduced? (If applicable)

Not applicable

What device are you using? (Only the Gameforce Chi, RK2020, OGA 1.0, OGA 1.1, RG351MP, RG351V, RGB10, R35s, RG353V/VS, RG353M, RG503, RGB30, and RK2023 units are officially supported)

RGB-30

What version of ArkOS are you on?

Anything else you'd like to include that may help to review this issue or feature request?

I tried to investigate on my own, but so far got into following: If on bootup hdmi cable is attached -

ark@rgb30:/sys/class/drm$ ls
card0 card0-HDMI-A-1  card0-Writeback-1  renderD128  version

If on bootup hdmi cable is NOT attached -

card0  card0-DSI-1  card0-HDMI-A-1  card0-Writeback-1  renderD128  version

Is it disabled on kernel level to allow hdmi work together with built-in screen? Not requesting straightforward answer, but for any tips/suggestion to way forward with this request - i will appreciate it :)

christianhaitian commented 5 months ago

I honestly don't know how to enable that ability but I believe someone has done a proof of concept of this working in ROCKNIX via the mainline kernel. Not sure it's even possible using the BSP kernel and It's not something I'm interested in currently pursuing. You're more than welcome to peruse the bsp kernel used for the RGB30 here: https://github.com/christianhaitian/RG353VKernel/tree/rk2023