Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#5918 closed defect (fixed)

0ad graphics broken with 32-bit color depth under Xorg

Reported by: Dunedan Owned by:
Priority: Should Have Milestone: Alpha 24
Component: Core engine Keywords:
Cc: Patch:

Description

When running 0ad (a23b) with 32-bit color depth under Xorg, graphics are completely broken. Running with 24-bit color depth works fine.

The attached screenshot shows that it's broken, however it fails to visualize how broken it is. In reality it's much worse. Also note that the problems aren't limited to 0ad, but to all other windows as well.

To reproduce one has to have a 32-bit capable monitor available and set the following Xorg settings:

Section "Screen"
       Identifier "Screen"
       DefaultDepth 30
EndSection

I encountered this issue while using kwin as window manager and an AMD Ryzen 5 Pro 4650G with the amdgpu graphics driver.

Attachments (3)

0ad_xorg_32bit.png (1.8 MB ) - added by Dunedan 3 years ago.
Screenshot of broken 0ad graphics with 32bit color depth
system_info.txt (8.3 KB ) - added by Dunedan 3 years ago.
userreport_hwdetect.txt (17.5 KB ) - added by Dunedan 3 years ago.

Download all attachments as: .zip

Change History (7)

by Dunedan, 3 years ago

Attachment: 0ad_xorg_32bit.png added

Screenshot of broken 0ad graphics with 32bit color depth

by Dunedan, 3 years ago

Attachment: system_info.txt added

by Dunedan, 3 years ago

Attachment: userreport_hwdetect.txt added

comment:1 by Dunedan, 3 years ago

It also doesn't matter if GLSL or post-processing are active or not, the problem persists.

Screenshots taken from without 0ad look completely normal, although the actual rendered UI is not.

comment:2 by Dunedan, 3 years ago

Resolution: fixed
Status: newclosed

With a24 from git everything works fine.

comment:3 by Stan, 3 years ago

Milestone: Backlog

comment:4 by Stan, 3 years ago

Milestone: Alpha 24
Note: See TracTickets for help on using tickets.