sirlucjan / copr-linux-cachyos

Kernel cachyos-bore port for Fedora operating system
https://copr.fedorainfracloud.org/coprs/bieszczaders/kernel-cachyos/
GNU General Public License v3.0
35 stars 8 forks source link

Fedora Workstation/Steam Deck - Internal display not turning off #4

Closed dragon99919 closed 3 months ago

dragon99919 commented 1 year ago

Hi! I've tried to using this Kernel with Fedora Workstation 38 on Steam Deck (because of mentioned default support). My question is, could you please add proper internal screen turn-off? When using this kernel, or even default Fedora kernel for that matter, when you turn off the internal display while connected to dock, the screen still stays off, it's just displayed as black. That behavior is different in stock SteamOS or even Linux Mint for example, when turning off internal screen shuts it down completely.

sirlucjan commented 1 year ago

If you send the appropriate patches, I will try to add them. Perhaps it is also a config issue. You would have to help me do the research because I don't have anything to run tests on.

dragon99919 commented 1 year ago

Sadly, I do not have any knowledge of working on Kernel like that. : D But indeed having the hardware, I could help to do the research, just tell me what to do. : )

sirlucjan commented 1 year ago

So, in the near future I will do some research about kernels in steamOS and Linux Mint and look for a suitable patch/config. I'll let you know.

dragon99919 commented 1 year ago

Great, will wait! Thanks!

dragon99919 commented 1 year ago

Some update regarding my own experiments... It seems that the problem is indeed related to kernel only. I checked some kernels on both Linux Mint (using standard 5.15 LTS kernel and mainline ubuntu kernels) and Fedora (using standard lastest releases and 5.15 longterm from kwizart repo). In both cases when using 5.15 kernel my Deck screen shuts down normally, while in anything 6.x it goes black with backlight on.

sirlucjan commented 1 year ago

I'm sorry, I haven't had a chance to deal with this error yet - working two jobs (university lecturer + working for a company) gives me a solid workload. It seems to be some kind of regression in the kernel. Next week the 6.4 kernel will be coming to COPR (initially to the dev repo) - maybe you can find time to check it on 6.4?

dragon99919 commented 1 year ago

No worries, there's infinite amount of time. : D Will check it on 6.4 and give you the feedback!

sirlucjan commented 1 year ago

Kernel 6.4 will appear in the test repo: https://copr.fedorainfracloud.org/coprs/bieszczaders/kernel-cachyos-dev/

dragon99919 commented 1 year ago

Just checked it - 6.4 kernel from your dev repo still has this issue.

sirlucjan commented 1 year ago

We will have to look for a solution to this problem. Thanks for the feeback.

andersrh commented 4 months ago

Hi, Is this still an issue in the newer kernels?

1Naim commented 4 months ago

just guess work on my part but it shouldn't be since the kernel includes handheld patches at the time of writing

1Naim commented 3 months ago

Closing due to inactivitiy.