Add "portable" PlayOS flavour#338
Conversation
|
@knuton @dividat-jgu could you please build a live ISO of this, using: and check on some laptop if audio works "out of the box" when you boot and start using Play? EDIT: added experimental media key bindings, would be good to also check if volume up/down works. |
|
Having a look this afternoon. |
|
Working well!
But:
Also, related but not concerning audio, external screens are mirrored, which looks sensible. But as an optimization, we could disable the laptop screen when closing the lid. Or disable the laptop screen when plugging an external screen. I’m guessing that this would reduce the computation need to display the screen, and let it available for other things. |
Thank you for testing!
Yes, in general this would be nice. However, at the moment the intention is to only use this with a laptop for Play/Flex demo purposes, without an external monitor, so it is not an immediate problem. I have no idea how to make pulseaudio auto-switch to an HDMI profile reliably - it cannot get it to work on my personal Debian setup and it also doesn't work on PlayOS. Online sources have confusing info, e.g. some sources say it should work out of the box with I also don't have a monitor with audio output at hand I could test with. We can probably find a solution, but I propose to delay this until the portable hardware configuration matures, since this is very hard to test without targeting specific hardware. There are plans to use a lightweight portable monitor in the future.
Yes, but same as above, this is not an immediate use case, so I think it's best to avoid any optimizations. It's also not clear this is always desired - e.g. presenter might interact/observe from a different point. I doubt a mirrored extra screen adds much extra load, since all the rendering is already done (especially assuming identical resolutions) for the primary screen. |
|
Audio + media controls seem to work on a Lenovo V15 G5, tested by jvhr |
|
@knuton I propose we actually merge this into Alternatively, I can create separate PRs for the non-config changes, but keep the |
knuton
left a comment
There was a problem hiding this comment.
This looks good, can you lightly clean up the commit history, as we're targeting main?
I propose we actually merge this into main, so that we don't need to dig through branches if we need to update this. I could also add a CI workflow that builds the portable flavor as a test.
Seems reasonable, I would definitely add CI job then, so it doesn't silently break.
Attempting to enable it will produce an error, not attempting to somehow work around it, since this can only happen in non-standard configurations.
Short-term the plan is to use this flavor with generic laptop devices for "demo" purposes". Long-term this might become a more permanent variation of the standard configuration that is optimized for a different operational context from the usual PlayOS PC installations, which is characterized by: - non-persistent internet connection - power-on only during use - frequent network re-setup - frequent display changes - varied input devices and other aspects yet to be discovered.
Done, re-ordered the commits, squashed into self-contained chunks.
Added in 7a4cda9 |
Meant to be installed on laptops, used for Flex device demos via distributors.
Main current issue is sound. The fixes applied here seem to make sound on my laptop (tested via live ISO) work, however users do not have any way control the sound volume, since the media keys are not mapped to anything.
TODOs:
controller.