Working HDMI? USB GUD driver (OnePlus6T - Fajita)
Hi; very new to this (Linux). This is a liberating effort. You guys are doing god's work!
Someone skilled had gotten a display [HDMI] output on OnePlus6/T working in NixOS mobile using USB GUD driver, with SXMO as an UI:
- NixOS mobile HDMI: OnePlus6/T
- Childhood games on a Linux pocket-computer
- USB GUD in Linux kernel
- Git: GUD
There was an attempt in using my novice troubleshooting to naively replicate this on OnePlus6T Mclaren running pmOS, using pinephone's USB-C dock. Tried it with/out powerbank into dock's power, removing and loading GUD kernel module etc. Attached are dmesg / lsmod for people who actually know their way around.
I don't quite understand: does USB GUD require a Raspberry PI? Sources above don't seem to include it. Does OTG mode need to be enabled [in the kernel] for this to work? Is it likely because of a PinePhone USB-C dock instead of using a legit, powered-one?
Progress on few alternative solutions:
- Miracast - couldn't get it working through [Flatpak] Gnome Network Displays even after reinstalling dependencies.
- DisplayLink (prepare to shell out 200$+ for a bulky dock)
- Use PinePhone with dock to remote-connect to OnePlus6T, and extend it on the external monitor (dynamic resizing IIRC).
- Fast, encrypted RDP doesn't seem to be a thing in Wayland unless one uses Gnome-mobile, or WayPipe (remote display individual applications). FreeRDP didn't work, NoMachine seems to be problematic.
- Last resort seems to be VNC, which might not be optimal (slowly transmits entire image through TCP, insecure/unencrypted by default).
This would be a game-changer in pmOS for powerful [SDM845 SoC] devices!
Particularly, since PinePhone is unusable for browsing with normal browser (Firefox) even on SXMO, and PP Pro's realistic in-heavy-use battery life is in the range of 1-2 hours (with much less powerful hardware). Sadly, using Angelfish doesn't offer an acceptable improvement.
Thank you again for your efforts in developing a free OS liberating users from corporate greed, mass-surveillance, bloatware, and allowing for a truly universal computing platform.
Describe your issue
What's the expected behaviour?
HDMI output through an USB-C dock (hopefully without utilizing 200$+ DisplayPort devices)
What's the current behaviour?
N/A
How to reproduce your issue?
What device are you using?
OnePlus6T (Fajita, McLaren Edition)
On what postmarketOS version did you encounter the issue?
-
edge (
master
branch) -
v23.06
-
v22.12
(Supported until 2023-07-06) -
I confirm that the issue still is present after running
sudo apk upgrade -a
On what environment did you encounter the issue?
Environments
- GNOME Shell on Mobile
- Phosh
- Plasma Mobile
-
Sxmo (Wayland/Sway) Please post the output of
sxmo_version.sh
- Other: Please fill out
How did you get postmarketOS image?
- from https://images.postmarketos.org
- I built it using pmbootstrap
- It was preinstalled on my device