egui icon indicating copy to clipboard operation
egui copied to clipboard

Broken rendering on integrated graphics

Open Shadlock0133 opened this issue 1 year ago • 4 comments

Describe the bug Rendering seems to be broken on a laptop with integrated graphics ("Mobile Intel(R) 4 Series Express Chipset Family").

Expected behavior image

Screenshots audiopath

Desktop (please complete the following information):

  • OS: Windows 8.1
  • Version: Both eframe 0.18.0 and git master

Additional context This computer doesn't support OpenGL above version 2.1, and I've noticed applications and libraries are dropping support for it, so I'm not expecting this to get fixed.

Shadlock0133 avatar Jul 31 '22 16:07 Shadlock0133

if it supports directx 12 or vulkan, you can try the wgpu version.

coderedart avatar Jul 31 '22 17:07 coderedart

if it supports directx 12 or vulkan

it supports directx only up to 10 or 11, and doesn't support vulcan

Shadlock0133 avatar Jul 31 '22 17:07 Shadlock0133

partial support for dx11 exists (and opengl ES 2.0 support via angle).

no idea how hard it would be to enable it though. https://github.com/emilk/egui/blob/935913b1ec5fb95c468fde60a107daf4ac164a9e/eframe/src/native/run.rs#L251

coderedart avatar Jul 31 '22 18:07 coderedart

Use glow backend + SR, windows also support mesa llvmpipe: just copy all the *.dll file from https://github.com/pal1000/mesa-dist-win along side your app (doing that manually per/app is recommended), then add or set your envar before running the app like so:

set GALLIUM_DRIVER=llvmpipe
set LIBGL_ALWAYS_SOFTWARE=1

ar37-rs avatar Aug 02 '22 08:08 ar37-rs