xserver-xsdl icon indicating copy to clipboard operation
xserver-xsdl copied to clipboard

24bit color depth is really 32bit

Open adam-kulagowski opened this issue 4 years ago • 4 comments

I'm trying to use my old android tablet as a secondary display for my laptop. To do so I'm using Xdmx (which acts as a proxy between two separates Xservers and a user). However this application requires that all backend Xservers must be working with the same color depth. My laptop (Intel GPU) can work only in 24Bit depth. However when I enable the same same depth in SDL Xserver via GUI, the Xdmx complains that this display is in 32bit depth not 24bit.

Is this an expected behavior?

I'm using the following CLI (192.168.42.129 is an Android IP via USB):

/usr/bin/Xdmx :0 -xinput local +xinerama -display 192.168.42.129:0.0 -display :1 -norender -noglxproxy -ignorebadfontpaths

adam-kulagowski avatar May 04 '20 06:05 adam-kulagowski

I was just about to report the same issue.

MarkoSchuetz avatar Jun 10 '20 16:06 MarkoSchuetz

How am i suppose to start 24bpp mode by setting the XSDL commandline from the app settings? (instead to setting the toggle in video options (so i can skip the waiting time)

If I set "-screen 1920x1080x24" it will not work, server will not start If I set "-screen 1920x1080x32" the server will start and report 32bpp, but the colors will actually not be 32bpp but will actually remain (seems like) 16bpp (quite obvious when watching a video on youtube)

If I do not use the "-screen" option and set the flag in the app options, the colors are correct!

Any ideas?

zanfix avatar Mar 18 '21 20:03 zanfix

How am i suppose to start 24bpp mode by setting the XSDL commandline from the app settings? (instead to setting the toggle in video options (so i can skip the waiting time)

If I set "-screen 1920x1080x24" it will not work, server will not start If I set "-screen 1920x1080x32" the server will start and report 32bpp, but the colors will actually not be 32bpp but will actually remain (seems like) 16bpp (quite obvious when watching a video on youtube)

If I do not use the "-screen" option and set the flag in the app options, the colors are correct!

Any ideas?

ok... I figured out that I just have to set the flag in the app options AND use "-screen WxHx32"' on the commandline

zanfix avatar Mar 19 '21 16:03 zanfix

How am i suppose to start 24bpp mode by setting the XSDL commandline from the app settings? (instead to setting the toggle in video options (so i can skip the waiting time) If I set "-screen 1920x1080x24" it will not work, server will not start If I set "-screen 1920x1080x32" the server will start and report 32bpp, but the colors will actually not be 32bpp but will actually remain (seems like) 16bpp (quite obvious when watching a video on youtube) If I do not use the "-screen" option and set the flag in the app options, the colors are correct! Any ideas?

ok... I figured out that I just have to set the flag in the app options AND use "-screen WxHx32"' on the commandline

and eats a lot of CPU...

zanfix avatar Apr 03 '21 23:04 zanfix