bazzite icon indicating copy to clipboard operation
bazzite copied to clipboard

[Deck/Deck-HTPC Image] Issues with Onexplayer 2 Pro

Open NightHammer1000 opened this issue 1 year ago • 28 comments

After getting the Hardware my first instinct was to slapp bazzite onto it.

Used the Deck Image because I wanted a Deck like experience.

That made me notice a few Issues right away. I will list them here.

Fixed by HandyGCCS Branch and oxp-sensors branch :

  • [ ] No Desktop Controll via the Controller without Steam running.
  • [ ] No Volume Control through Hardware Button.
  • [ ] No Access to QSM in GamepadUI through one of the Left Controller Special Buttons or the Power Button ontop.

Workarounds found:

  • [ ] USB Ports / Controller stops working after Device Disconnect Add usbcore.autosuspend=-1 to the Kernel Parameters

Still Unfixed / No Workaround

  • [ ] No Audio from Built in Speakers. -> Chimera has an open Issue for that: https://github.com/ChimeraOS/chimeraos/issues/742 Kernel Bugtracker: https://bugzilla.kernel.org/show_bug.cgi?id=218097
  • [ ] Installer is rotated 90°
  • [ ] Bazzite Desktop after Installing is rotated 180°
  • [ ] Power Button when hold down will not bring up Power Menu in Gamemode

I will gladly help Ironing those out. Just let me know what you need to know and I will provide. I will update this list with new things once I find them.

NightHammer1000 avatar Oct 16 '23 10:10 NightHammer1000

No Access to QSM in GamepadUI through one of the Left Controller Special Buttons or the Power Button ontop.

This should be fixed by HandyGCCS but we've had issues getting it working, any help in debugging this would be much appreciated.

That may also fix the desktop control issue.

KyleGospo avatar Oct 16 '23 19:10 KyleGospo

HandyGCCS apparently does not have OneXplayer 2 Pro support. I submitted to Keycodes today. https://github.com/ShadowBlip/HandyGCCS/issues/126

NightHammer1000 avatar Oct 18 '23 15:10 NightHammer1000

Adding /etc/modprobe.d/oxp-hda-fix.conf with options snd_intel_dspcfg dsp_driver=1

Made Audio work.

NightHammer1000 avatar Oct 18 '23 15:10 NightHammer1000

Adding /etc/modprobe.d/oxp-hda-fix.conf with options snd_intel_dspcfg dsp_driver=1

Made Audio work.

Interesting. I've only been able to confirm this on the non-pro previously.

pastaq avatar Oct 18 '23 16:10 pastaq

Found the Turbo Button. Its controlled through EC to switch between the Power Mode and the Hotkey mode. After setting the EC Address 0xEB to 0x40 the Button sends CTRL+ALT+META (17, 18, 91) in Hotkey mode

Setting the same EC Address to 0xEB also switches the X1 and X2 Keys to Volume Control in addition to setting the Turbo to Hotkey mode.

Setting it to 0x00 puts it back to Turbo Mode.

NightHammer1000 avatar Oct 20 '23 13:10 NightHammer1000

Fan Control:

EC 0x4A controls the Fan. 0x00 for Automatic, 0x01 for Manual. EC 0x4B controls the Speed

NightHammer1000 avatar Oct 20 '23 14:10 NightHammer1000

HandyGCCS Support will here soon thanks to an updated oxp-sensors Driver.

This should be fixed by HandyGCCS but we've had issues getting it working

What's the Issue with in Bazzite? Does it just not run?

NightHammer1000 avatar Oct 21 '23 14:10 NightHammer1000

https://github.com/ShadowBlip/HandyGCCS/pull/127

NightHammer1000 avatar Oct 22 '23 06:10 NightHammer1000

Adding /etc/modprobe.d/oxp-hda-fix.conf with options snd_intel_dspcfg dsp_driver=1

Made Audio work.

Did this work on your pro? I tried this multiple times but still no audio on the Pro.

parth-menon avatar Oct 23 '23 13:10 parth-menon

Yeah. I am starting to realize that it probably just was that I rebooted from Windows directly into Linux that made Audio work. Turning the Device off and Booting into Linux makes the Sound vanish again.

Dammit.

NightHammer1000 avatar Oct 23 '23 20:10 NightHammer1000

The Audio Issue is driving me mad. 6 from 10 shutdowns and reboots has Audio. The other Time nothing. Cant quite figure out why...

NightHammer1000 avatar Oct 28 '23 23:10 NightHammer1000

This seems to affect the OXP2, OXP2 Pro, and OXP fly in the same way.

pastaq avatar Oct 28 '23 23:10 pastaq

Some Progress on the Audio Front @pastaq

Got Audio to work consistently. Microphone, Built-In Speakers and Audio Jack. Volume really only starts at ~15% tho. But it works!

Heres the modprobe file i use: /etc/modprobe.d/alsa-base.conf

options snd_intel_dspcfg dsp_driver=1
options snd_hda_intel power_save=0
options snd-hda-intel model=laptop-dmic enable=yes

dsp_driver=1 made it appear in the first place. power_save=0 keeps it from vanishing. model=laptop-dmic makes Microphone, Audio Jack and Built-In speakers work Reliably. Even Headset Mic in the Audio Jack works.

Can you try again with this @parth-menon ?

Hope this helps

Tested on CachyOS Kernel: 6.5.9-1 sof-firmware 2023.09-1.1 alsa-utils 1.2.10-1.1

NightHammer1000 avatar Oct 30 '23 12:10 NightHammer1000

Some Progress on the Audio Front @pastaq

Got Audio to work consistently. Microphone, Built-In Speakers and Audio Jack. Volume really only starts at ~15% tho. But it works!

Heres the modprobe file i use: /etc/modprobe.d/alsa-base.conf

options snd_intel_dspcfg dsp_driver=1
options snd_hda_intel power_save=0
options snd-hda-intel model=laptop-dmic enable=yes

dsp_driver=1 made it appear in the first place. power_save=0 keeps it from vanishing. model=laptop-dmic makes Microphone, Audio Jack and Built-In speakers work Reliably. Even Headset Mic in the Audio Jack works.

Can you try again with this @parth-menon ?

Hope this helps

Tested on CachyOS Kernel: 6.5.9-1 sof-firmware 2023.09-1.1 alsa-utils 1.2.10-1.1

I'm on it!

parth-menon avatar Oct 30 '23 14:10 parth-menon

Some Progress on the Audio Front @pastaq Got Audio to work consistently. Microphone, Built-In Speakers and Audio Jack. Volume really only starts at ~15% tho. But it works! Heres the modprobe file i use: /etc/modprobe.d/alsa-base.conf

options snd_intel_dspcfg dsp_driver=1
options snd_hda_intel power_save=0
options snd-hda-intel model=laptop-dmic enable=yes

dsp_driver=1 made it appear in the first place. power_save=0 keeps it from vanishing. model=laptop-dmic makes Microphone, Audio Jack and Built-In speakers work Reliably. Even Headset Mic in the Audio Jack works. Can you try again with this @parth-menon ? Hope this helps Tested on CachyOS Kernel: 6.5.9-1 sof-firmware 2023.09-1.1 alsa-utils 1.2.10-1.1

I'm on it!

I tried this. It didn't work for me. Do I have to boot in from Windows? Uploading 20231030_141311.jpg…

parth-menon avatar Oct 30 '23 14:10 parth-menon

No. Can you check what kernel Version you have?

NightHammer1000 avatar Oct 30 '23 14:10 NightHammer1000

No. Can you check what kernel Version you have?

I'm on 6.5.6.

parth-menon avatar Oct 30 '23 14:10 parth-menon

Can you try a different Distro? I see you used Chimera. It could really be that this only works on the newest Stable/Mainline Kernel. I don't even have Windows on my SSD anymore. So it can't be that it's only working because of First Windows Boot.

Best to try something Arch Based.

NightHammer1000 avatar Oct 30 '23 14:10 NightHammer1000

Can you try a different Distro? I see you used Chimera. It could really be that this only works on the newest Stable/Mainline Kernel. I don't even have Windows on my SSD anymore. So it can't be that it's only working because of First Windows Boot.

Best to try something Arch Based.

I'll try Manjaro. Whats the kernel version you are on?

parth-menon avatar Oct 30 '23 14:10 parth-menon

https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.5.8 Looking at that there are some Realtek Audio Fixes in here. Also fixes for the HP Envy that uses the same Codec as the OXP2P. This could be it.

So try anything above that. I was at 6.5.9

NightHammer1000 avatar Oct 30 '23 14:10 NightHammer1000

Also check what BIOS Version you are on

NightHammer1000 avatar Oct 30 '23 15:10 NightHammer1000

Also check what BIOS Version you are on

I'm on 1.05.

parth-menon avatar Oct 30 '23 15:10 parth-menon

Thanks. That seems to check out.

NightHammer1000 avatar Oct 30 '23 15:10 NightHammer1000

Can you try a different Distro? I see you used Chimera. It could really be that this only works on the newest Stable/Mainline Kernel. I don't even have Windows on my SSD anymore. So it can't be that it's only working because of First Windows Boot. Best to try something Arch Based.

I'll try Manjaro. Whats the kernel version you are on?

I tried Manjaro but thats still on 6.5.5 I couldn't get 6.5.9 to install on it. What linux are you using? @NightHammer1000

parth-menon avatar Oct 31 '23 09:10 parth-menon

Can you try a different Distro? I see you used Chimera. It could really be that this only works on the newest Stable/Mainline Kernel. I don't even have Windows on my SSD anymore. So it can't be that it's only working because of First Windows Boot. Best to try something Arch Based.

I'll try Manjaro. Whats the kernel version you are on?

I tried Manjaro but thats still on 6.5.5 I couldn't get 6.5.9 to install on it. What linux are you using? @NightHammer1000

Okay i finally got 6.6.0 installed on Manjaro but still no audio after trying the above fix.

parth-menon avatar Oct 31 '23 09:10 parth-menon

Well. Thats fucked. Than something I did while thinkering around made it work. One of the 1000 Things I tried.

NightHammer1000 avatar Oct 31 '23 17:10 NightHammer1000

Well. Thats fucked. Than something I did while thinkering around made it work. One of the 1000 Things I tried.

Well. Thats fucked. Than something I did while thinkering around made it work. One of the 1000 Things I tried.

Could you try the change on a fresh install on an external ssd, so that you don't lose your working Linux?

parth-menon avatar Oct 31 '23 17:10 parth-menon

Another Issue. USB Ports get turned off sometimes if you disconnect something. Like the Detachable Controllers for example. Reboot needed to get them Going again.

Fix for it curtesy of Paulicat on the OneX Discord:

add usbcore.autosuspend=-1 as a Kernel Paramenter

NightHammer1000 avatar Nov 03 '23 08:11 NightHammer1000

Adding /etc/modprobe.d/oxp-hda-fix.conf with options snd_intel_dspcfg dsp_driver=1

Made Audio work.

Sorry for dumb question, but I cannot find oxp-hda-fix.conf. Can you kindly tell me how to add that? Thank you in advance.

FriendlyAndyC avatar Jan 14 '24 11:01 FriendlyAndyC

Adding /etc/modprobe.d/oxp-hda-fix.conf with options snd_intel_dspcfg dsp_driver=1 Made Audio work.

Sorry for dumb question, but I cannot find oxp-hda-fix.conf. Can you kindly tell me how to add that? Thank you in advance.

You can just add a new file using sudo nano or sudo touch

parth-menon avatar Jan 14 '24 11:01 parth-menon