-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Mon, Apr 22, 2024 at 10:38:56AM -0000, qubist wrote:
> On Mon, 22 Apr 2024 00:01:30 +0200 Marek Marczykowski-Górecki wrote:
> 
> > It doesn't matter what your display is using, the memory allocated in
> > VM for the frame buffer is 32-bits per pixel.
> 
> When using a 4K 10-bit display (note the bpp):
> 
> root@dom0:~ # grep bpp /sys/kernel/debug/dri/0/i915_display_info
>       pipe src=3840x2160+0+0, dither=no, bpp=30
>       pipe src=0x0+0+0, dither=no, bpp=0
>       pipe src=0x0+0+0, dither=no, bpp=0
> 
> When using a 2K 8-bit display:
> 
> root@dom0:~ # grep bpp /sys/kernel/debug/dri/0/i915_display_info
>       pipe src=0x0+0+0, dither=no, bpp=0
>       pipe src=1920x1080+0+0, dither=no, bpp=24
>       pipe src=0x0+0+0, dither=no, bpp=0
> 
> Also, according to 'xrandr --verbose", max bpc is 12.
> 
> How do you read this?
> 
> If it is always 32 bits, it would mean 2-bit alpha for 10-bit display.
> Or does Qubes OS even support 10/30-bit color?

VMs do not see nor care what display is connected. From the VM point of
view it's always 32 bits per pixel (3x8 + 8 padding, as alpha is not
supported).

- -- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAmYmSncACgkQ24/THMrX
1yxtzwf8CShXlR8j4651qFqPti6tHfL2gs9Jred4yvi3xdoZ9KLnGMZYUFoR/QN/
yZlfklge0foJHDDpOUcB+Q+Ku2SfS0Did6yUMaHQVwGH1X8zXkcLYOwIICOR2FDv
9uwdqpLEVLZK3Qmsu9RDGSs83dlub1KXzWtPaW1eMfDbxrYj5OJGjPpqsB4dT4MI
YroowdXAV3+7pWt7Snb6MhRMgUKRHrXlxjLa5yl+CKZaB0eIfDMh2Dbs+0X581S9
z0j9JyUWte/BdQc6E0+EwCSpvn3qZfNazFC4hDb83J/mHlf7Uu5hT4oYBmPPsshq
LztovCmualC9aA+w6Sbm0HGLMg/wkw==
=Dgxd
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/ZiZKdy_6k4bqDzbg%40mail-itl.

Reply via email to