Unable to launch examples
dsvensson opened this issue · comments
Daniel Svensson commented
Problem
none of the examples work
Steps To Reproduce
Steps to reproduce the behavior:
- Install Ubuntu 22.10 with
- Install GPU driver 4.6.0 NVIDIA 525.78.01
- Enable Wayland
- Build with examples
- Observe:
thread 'main' panicked at 'Error in Surface::configure: requested format Bgra8UnormSrgb is not in list of supported formats: [Bgra8Unorm]'
Changing the format requested to Bgra8Unorm
makes the examples work, although with fairly poor font rendering, but that's probably a separate issue. Srgb sounds HDR-related?
Or paste reproducible error codes:
Expected behavior
Examples work.
Screenshots
N/A
Environment:
- Ribir version:
master
- Rust version:
nightly
- OS, if relevant: Ubuntu 22.10
- Browser and version, if relevant: -
Questionnaire
- I'm interested in fixing this myself but don't know where to start
- I would like to fix and I have a solution
- I don't have time to fix this right now, but maybe later