Regarding the USB-C to DisplayPort output on the Pixel 8 series.
Just wanted to let anybody who wanted to try this and also use an external mouse at the same time know - by default, your cursor will show up on the phone but not the external monitor (at least with my configuration at this time).
To fix this, you can enable developer options, and toggle Disable HW overlays on. Then it should work. At least this was the case for me when I used a USB-C to DisplayPort cable and a bluetooth mouse.
(I haven't tried it with a hub that has DisplayPort out and a wired mouse, as I don't have a hub to test that yet. No idea if it even works with hubs at all, or possibly only specific hubs, as I'd prefer a wired mouse and keyboard over Bluetooth for increased security of course).
Also, to be clear, I'm not advising you do this as it's not generally advised by the GrapheneOS team to enable developer options and I am not contradicting them. I just thought I would let people know in case they were trying out the USB-C to DisplayPort output feature as it currently stands and have already enabled them/understand the risks.
I have also just been informed of the downsides of using the Disable HW overlays option:
"Disable HW overlays: Disables the hardware overlay. Note that using the hardware overlay lets apps that display something on the screen use less processing power. Without the overlay, apps share the video memory and have to constantly check for collision and clipping to render a proper image. The checking uses a lot of processing power."
https://developer.android.com/studio/debug/dev-options#:~:text=Disable%20HW%20overlays,of%20processing%20power._
Also, to anybody who would like to try the DisplayPort output feature, just know that currently it only mirrors your phone display and doesn't adapt to your external monitor's resolution or aspect ratio properly and is always in wide-screen/horizontal (at least I couldn't get it to work on a rotated monitor properly, it just stayed as wide-screen with black bars on either side)._ Just in case anybody was going to buy a cable or hub to try it, that is how it currently seems to work, so bear that mind.
Of course, we are lucky to have the feature enabled at all as Google has it currently disabled on stock OS.
Apparently, Google has not necessarily abandoned the feature but may be working on it to improve it into a full desktop mode, which would be great so fingers crossed.
I've been told It is a very low priority feature for GrapheneOS to be working on themselves right now, very understandably, as they have so many other, higher priority, things to focus on. So the GrapheneOS team just enabled it in it's current state and if Google makes improvements, they can easily backport them. So thanks, as always, to the GrapheneOS team for giving us the choice 😊
Also, to the mods, I wasn't sure if this should be tagged as Development or not, so apologies if that is incorrect, or if anything else is not done correctly - it is my first time making a post instead of just replying in one on a forum.