Fix unreadable overlay elements in 3D view on XWayland/Intel #1439

Open
opened 2026-04-05 17:46:55 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @pedrosland on 12/2/2025

Description

I think what is happening is that the texture is too narrow so the font rendering stacks up and makes it larger than GL_MAX_TEXTURE_SIZE height (attempting 4096x20650). If I'm understanding correctly, it seems that glTexImage2D was failing with GL_INVALID_VALUE but it wasn't being handled.

The proposed fix is to increase the texture width.

Note that I really have no idea what I am doing with any of this but it seems to fix the issue on my machine.

Note that XWayland + Nvidia doesn't have this problem nor very old Intel machines.

Closes #10287

Screenshots/Recordings/Graphs

Screenshot of prepare tab:
Screenshot From 2025-12-03 22-35-30

Screenshot of preview tab:
Screenshot From 2025-12-03 22-35-41

Tests

I made the change, built and re-ran it.

*Originally created by @pedrosland on 12/2/2025* # Description I think what is happening is that the texture is too narrow so the font rendering stacks up and makes it larger than GL_MAX_TEXTURE_SIZE height (attempting 4096x20650). If I'm understanding correctly, it seems that `glTexImage2D` was failing with GL_INVALID_VALUE but it wasn't being handled. The proposed fix is to increase the texture width. Note that I really have no idea what I am doing with any of this but it seems to fix the issue on my machine. Note that XWayland + Nvidia doesn't have this problem nor very old Intel machines. Closes #10287 # Screenshots/Recordings/Graphs Screenshot of prepare tab: <img width="2605" height="1832" alt="Screenshot From 2025-12-03 22-35-30" src="https://github.com/user-attachments/assets/2f97e87f-5c9c-457c-844b-d293901293d9" /> Screenshot of preview tab: <img width="2605" height="1832" alt="Screenshot From 2025-12-03 22-35-41" src="https://github.com/user-attachments/assets/e5d1ada7-e395-442d-bcc1-c3da1943f9bf" /> ## Tests I made the change, built and re-ran it.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OrcaSlicer#1439