R9 280 - Broken font rendering in Godot Engine (GLES2) - Radeonsi
System information
- OS: Arch Linux
- GPU: [AMD/ATI] Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280]
- Kernel version: 6.3.5-arch1-1
- Mesa version: OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.1.1
- Xserver version (if applicable): X.Org X Server 1.21.1.8
- Desktop manager and compositor: WM awesome 4.3-3, compositor N/A
Describe the issue
Font rendering in Godot engine using GLES2 comes out blocky like the blending is disabled. switching to GLES3 fixes the issue. no issue is present when using llvmpipe. A similar issue seems to be happening in RetroArch under similar system specs.
Please let me know if you need any additional information on this from my side. I'll be more than happy to provide it.
debug output:
[kiniamaro@judgement: ~]$ MESA_DEBUG=1 LIBGL_DEBUG=verbose DRI_PRIME_DEBUG=1 MESA_LOADER_DRIVER_OVERRIDE=radeonsi godot3-bin -v --video-driver GLES2
Godot Engine v3.5.2.stable.official.170ba337a - https://godotengine.org
XInput: Refreshing devices.
XInput: Absolute pointing device: Wacom Bamboo 2FG 6x8 Pen stylus
XInput: Absolute pointing device: Wacom Bamboo 2FG 6x8 Finger touch
XInput: Absolute pointing device: Wacom Bamboo 2FG 6x8 Pad pad
XInput: Absolute pointing device: Wacom Bamboo 2FG 6x8 Pen eraser
XInput: No touch devices found.
Detecting GPUs, set DRI_PRIME in the environment to override GPU detection logic.
libGL: MESA-LOADER: dlopen(/usr/lib/dri/radeonsi_dri.so)
/usr/share/libdrm/amdgpu.ids version: 1.0.0
libGL: Using DRI3 for screen 0
libGL: MESA-LOADER: dlopen(/usr/lib/dri/radeonsi_dri.so)
/usr/share/libdrm/amdgpu.ids version: 1.0.0
libGL: Using DRI3 for screen 0
Only one GPU found, using default.
libGL: MESA-LOADER: dlopen(/usr/lib/dri/radeonsi_dri.so)
/usr/share/libdrm/amdgpu.ids version: 1.0.0
libGL: Using DRI3 for screen 0
XcursorGetTheme could not get cursor theme
Using GLES2 video driver
OpenGL ES 2.0 Renderer: AMD Radeon HD 7900 Series (tahiti, LLVM 15.0.7, DRM 3.52, 6.3.5-arch1-1)
OpenGL ES 2D Batching: ON
Batching Options:
max_join_item_commands 16
colored_vertex_format_threshold 0.25
batch_buffer_size 16384
light_scissor_area_threshold 1
item_reordering_lookahead 4
light_max_join_items 32
single_rect_fallback False
debug_flash False
diagnose_frame False
Regression
It used to work. but I don't remember what version of mesa I was on before updating that caused this issue.
Screenshots/video files (if applicable)
Any extra information would be greatly appreciated
- Related issue in Godot: https://github.com/godotengine/godot/issues/69684
- Related issue in retro arch: https://github.com/libretro/RetroArch/issues/14705