View previous topic :: View next topic |
Author |
Message |
shunlir n00b

Joined: 03 Mar 2020 Posts: 7
|
Posted: Tue Mar 03, 2020 3:23 pm Post subject: [SOLVED] media-libs/mesa + Intel GPU: EGL returns 0 config |
|
|
Hello
I have setup a Gentoo, X11 with i3wm, normal application such as Firefox, LibreOffice, Slack, Wifi, BlueTooth, PulseAduio, Qemu/Kvm all works fine.
But, the example code from following URL can't run on my Gentoo setup, eglChooseConfig() function simply return 0 config, but the expected num should be 1.
Code: | https://wiki.maemo.org/SimpleGL_example |
I have tested the code in a ubuntu 16.04 setup, with mesa software rendering, it works well.
Note: I'm troubeshooting Intel GVT-g + DMA_BUF + spice gtk setup, but encounter same problem, that's why I try to reproduce the issue with above sample code.
Code: | ./a.out
Didn't get exactly one config, but 0 |
Code: | MESA_LOADER_DRIVER_OVERRIDE=swrast ./a.out
libEGL warning: did not find extension DRI_IMAGE_DRIVER version 1
libEGL warning: No hardware driver found, falling back to software rendering
Didn't get exactly one config, but 0 |
Code: | MESA_LOADER_DRIVER_OVERRIDE=iris ./a.out
Didn't get exactly one config, but 0 |
Code: | glxinfo | grep direct
direct rendering: Yes |
xorg log:
Code: | [ 46279.051] (++) using VT number 7
[ 46279.076] (II) modeset(0): using drv /dev/dri/card0
[ 46279.076] (II) modeset(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 46279.076] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[ 46279.076] (**) modeset(0): Option "AccelMethod" "glamor"
[ 46279.076] (==) modeset(0): RGB weight 888
[ 46279.076] (==) modeset(0): Default visual is TrueColor |
mesa:
Code: | [I] media-libs/mesa
Available versions: 19.2.8^t ~19.3.4^t ~20.0.0^t **9999*l^t {+X +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 libglvnd +llvm lm-sensors opencl osmesa pax_kernel selinux test unwind vaapi valgrind vdpau vulkan vulkan-overlay wayland xa xvmc +zstd ABI_MIPS="n32 n64 o32" ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32" VIDEO_CARDS="freedreno i915 i965 intel iris lima nouveau panfrost r100 r200 r300 r600 radeon radeonsi vc4 virgl vivante vmware"}
Installed versions: 19.2.8^t(09:51:42 PM 03/03/2020)(X classic dri3 egl gallium gbm gles2 llvm -d3d9 -debug -gles1 -libglvnd -lm-sensors -opencl -osmesa -pax_kernel -selinux -test -unwind -vaapi -valgrind -vdpau -vulkan -vulkan-overlay -wayland -xa -xvmc ABI_MIPS="-n32 -n64 -o32" ABI_RISCV="-lp64 -lp64d" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" VIDEO_CARDS="i965 intel iris -freedreno -i915 -lima -nouveau -panfrost -r100 -r200 -r300 -r600 -radeon -radeonsi -vc4 -virgl -vivante -vmware") |
USE:
Code: | USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus dri dts dvd dvdr emboss encode exif flac fortran gdbm gif gpm gtk iconv icu ipv6 jpeg lcms ldap libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio readline sdl seccomp spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965 iris" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" |
Update 1:
mesa-demos/src/egl/opengl/eglinfo (from https://gitlab.freedesktop.org/mesa/demos, using autogen)
part of the output:
Code: |
EGL client extensions string:
EGL_EXT_client_extensions EGL_EXT_device_base
EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base
EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug
EGL_EXT_platform_x11 EGL_MESA_platform_gbm
EGL_MESA_platform_surfaceless EGL_EXT_platform_device
...
X11 platform:
EGL API version: 1.4
EGL vendor string: Mesa Project
EGL version string: 1.4
EGL client APIs: OpenGL OpenGL_ES
EGL driver name: i965
EGL extensions string:
EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync
EGL_CHROMIUM_sync_control EGL_EXT_buffer_age
EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import
EGL_EXT_image_dma_buf_import_modifiers EGL_IMG_context_priority
EGL_KHR_config_attribs EGL_KHR_create_context
EGL_KHR_create_context_no_error EGL_KHR_fence_sync
EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace
EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image
EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image
EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap
EGL_KHR_no_config_context EGL_KHR_reusable_sync
EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float
EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image
EGL_MESA_image_dma_buf_export EGL_MESA_query_driver
EGL_NOK_texture_from_pixmap
Configurations:
bf lv colorbuffer dp st ms vis cav bi renderable supported
id sz l r g b a th cl ns b id eat nd gl es es2 vg surfaces
---------------------------------------------------------------------
0x01 32 0 8 8 8 8 0 0 0 0 0x21TC a y y y win,pb,pix
0x02 32 0 8 8 8 8 24 8 0 0 0x21TC a y y y win,pb,pix
0x03 24 0 8 8 8 0 0 0 0 0 0x21TC y y y y win,pb,pix
0x04 24 0 8 8 8 0 24 8 0 0 0x21TC y y y y win,pb,pix
0x05 32 0 8 8 8 8 0 0 2 1 0x21TC a y y y win
0x06 32 0 8 8 8 8 0 0 4 1 0x21TC a y y y win
0x07 32 0 8 8 8 8 0 0 8 1 0x21TC a y y y win
0x08 32 0 8 8 8 8 0 0 16 1 0x21TC a y y y win
0x09 32 0 8 8 8 8 24 8 2 1 0x21TC a y y y win
0x0a 32 0 8 8 8 8 24 8 4 1 0x21TC a y y y win
0x0b 32 0 8 8 8 8 24 8 8 1 0x21TC a y y y win
0x0c 32 0 8 8 8 8 24 8 16 1 0x21TC a y y y win
0x0d 24 0 8 8 8 0 0 0 2 1 0x21TC y y y y win
0x0e 24 0 8 8 8 0 0 0 4 1 0x21TC y y y y win
0x0f 24 0 8 8 8 0 0 0 8 1 0x21TC y y y y win
0x10 24 0 8 8 8 0 0 0 16 1 0x21TC y y y y win
0x11 24 0 8 8 8 0 24 8 2 1 0x21TC y y y y win
0x12 24 0 8 8 8 0 24 8 4 1 0x21TC y y y y win
0x13 24 0 8 8 8 0 24 8 8 1 0x21TC y y y y win
0x14 24 0 8 8 8 0 24 8 16 1 0x21TC y y y y win
0x15 32 0 8 8 8 8 0 0 0 0 0x22DC a y y y win,pb,pix
0x16 32 0 8 8 8 8 24 8 0 0 0x22DC a y y y win,pb,pix
0x17 24 0 8 8 8 0 0 0 0 0 0x22DC y y y y win,pb,pix
0x18 24 0 8 8 8 0 24 8 0 0 0x22DC y y y y win,pb,pix
0x19 32 0 8 8 8 8 0 0 2 1 0x22DC a y y y win
0x1a 32 0 8 8 8 8 0 0 4 1 0x22DC a y y y win
0x1b 32 0 8 8 8 8 0 0 8 1 0x22DC a y y y win
0x1c 32 0 8 8 8 8 0 0 16 1 0x22DC a y y y win
0x1d 32 0 8 8 8 8 24 8 2 1 0x22DC a y y y win
0x1e 32 0 8 8 8 8 24 8 4 1 0x22DC a y y y win
0x1f 32 0 8 8 8 8 24 8 8 1 0x22DC a y y y win
0x20 32 0 8 8 8 8 24 8 16 1 0x22DC a y y y win
0x21 24 0 8 8 8 0 0 0 2 1 0x22DC y y y y win
0x22 24 0 8 8 8 0 0 0 4 1 0x22DC y y y y win
0x23 24 0 8 8 8 0 0 0 8 1 0x22DC y y y y win
0x24 24 0 8 8 8 0 0 0 16 1 0x22DC y y y y win
0x25 24 0 8 8 8 0 24 8 2 1 0x22DC y y y y win
0x26 24 0 8 8 8 0 24 8 4 1 0x22DC y y y y win
0x27 24 0 8 8 8 0 24 8 8 1 0x22DC y y y y win
0x28 24 0 8 8 8 0 24 8 16 1 0x22DC y y y y win
...
Device platform:
Device #0:
EGL device extensions string:
EGL_EXT_device_drm
Platform Device:
EGL API version: 1.4
EGL vendor string: Mesa Project
EGL version string: 1.4
EGL client APIs: OpenGL OpenGL_ES
EGL driver name: i965
EGL extensions string:
EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync
EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import
EGL_EXT_image_dma_buf_import_modifiers EGL_IMG_context_priority
EGL_KHR_config_attribs EGL_KHR_create_context
EGL_KHR_create_context_no_error EGL_KHR_fence_sync
EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace
EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image
EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image
EGL_KHR_image_base EGL_KHR_no_config_context EGL_KHR_reusable_sync
EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float
EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image
EGL_MESA_image_dma_buf_export EGL_MESA_query_driver
Configurations:
bf lv colorbuffer dp st ms vis cav bi renderable supported
id sz l r g b a th cl ns b id eat nd gl es es2 vg surfaces
---------------------------------------------------------------------
0x01 16 0 5 6 5 0 0 0 0 0 0x00-- y y y y pb
0x02 16 0 5 6 5 0 16 0 0 0 0x00-- y y y y pb
0x03 16 0 5 6 5 0 24 8 0 0 0x00-- y y y y pb
0x04 32 0 8 8 8 8 0 0 0 0 0x00-- a y y y pb
0x05 32 0 8 8 8 8 24 8 0 0 0x00-- a y y y pb
0x06 24 0 8 8 8 0 0 0 0 0 0x00-- y y y y pb
0x07 24 0 8 8 8 0 24 8 0 0 0x00-- y y y y pb
0x08 16 0 5 6 5 0 0 0 2 1 0x00-- y y y y
0x09 16 0 5 6 5 0 0 0 4 1 0x00-- y y y y
0x0a 16 0 5 6 5 0 0 0 8 1 0x00-- y y y y
0x0b 16 0 5 6 5 0 0 0 16 1 0x00-- y y y y
0x0c 16 0 5 6 5 0 16 0 2 1 0x00-- y y y y
0x0d 16 0 5 6 5 0 16 0 4 1 0x00-- y y y y
0x0e 16 0 5 6 5 0 16 0 8 1 0x00-- y y y y
0x0f 16 0 5 6 5 0 16 0 16 1 0x00-- y y y y
0x10 32 0 8 8 8 8 0 0 2 1 0x00-- a y y y
0x11 32 0 8 8 8 8 0 0 4 1 0x00-- a y y y
0x12 32 0 8 8 8 8 0 0 8 1 0x00-- a y y y
0x13 32 0 8 8 8 8 0 0 16 1 0x00-- a y y y
0x14 32 0 8 8 8 8 24 8 2 1 0x00-- a y y y
0x15 32 0 8 8 8 8 24 8 4 1 0x00-- a y y y
0x16 32 0 8 8 8 8 24 8 8 1 0x00-- a y y y
0x17 32 0 8 8 8 8 24 8 16 1 0x00-- a y y y
0x18 24 0 8 8 8 0 0 0 2 1 0x00-- y y y y
0x19 24 0 8 8 8 0 0 0 4 1 0x00-- y y y y
0x1a 24 0 8 8 8 0 0 0 8 1 0x00-- y y y y
0x1b 24 0 8 8 8 0 0 0 16 1 0x00-- y y y y
0x1c 24 0 8 8 8 0 24 8 2 1 0x00-- y y y y
0x1d 24 0 8 8 8 0 24 8 4 1 0x00-- y y y y
0x1e 24 0 8 8 8 0 24 8 8 1 0x00-- y y y y
0x1f 24 0 8 8 8 0 24 8 16 1 0x00-- y y y y
|
Last edited by shunlir on Fri Mar 13, 2020 1:19 pm; edited 4 times in total |
|
Back to top |
|
 |
mike155 Advocate

Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Tue Mar 03, 2020 7:03 pm Post subject: |
|
|
shunlir,
welcome to the Gentoo forums!
I don't see anything wrong with the settings you posted.
I also get an error when I run this little demo program on my Gentoo machine:
Code: | libEGL warning: MESA-LOADER: failed to open vgem (search paths /usr/lib64/dri)
Didn't get exactly one config, but 0 |
I tried to change USE flags and even updated to Mesa 19.3.4. The result is always the same: the error message above.
Maybe I'll dig deeper into the problem later today.
Mike |
|
Back to top |
|
 |
ff11 l33t


Joined: 10 Mar 2014 Posts: 665
|
Posted: Tue Mar 03, 2020 9:10 pm Post subject: |
|
|
Before try to run strange codes, just make sure that the egl is working first.
From x11-apps/mesa-progs, you can use the "eglinfo".
By the way, my egl isn't working well too. _________________ | Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary "I want to apologize for being so powerless" - Lee |
|
Back to top |
|
 |
shunlir n00b

Joined: 03 Mar 2020 Posts: 7
|
Posted: Wed Mar 04, 2020 2:45 am Post subject: |
|
|
ff11 wrote: | Before try to run strange codes, just make sure that the egl is working first.
From x11-apps/mesa-progs, you can use the "eglinfo".
By the way, my egl isn't working well too. |
I didn't find eglinfo from x11-apps/mesa-progs-8.4.0, but I find it from mesa-demos, I have updated the output in the subject. I'm not sure how to troubleshoot with eglinfo for the issue with eglchooseconfig()
thanks |
|
Back to top |
|
 |
ff11 l33t


Joined: 10 Mar 2014 Posts: 665
|
Posted: Wed Mar 04, 2020 10:51 am Post subject: |
|
|
shunlir wrote: | ff11 wrote: | Before try to run strange codes, just make sure that the egl is working first.
From x11-apps/mesa-progs, you can use the "eglinfo".
By the way, my egl isn't working well too. |
I didn't find eglinfo from x11-apps/mesa-progs-8.4.0, but I find it from mesa-demos, I have updated the output in the subject. I'm not sure how to troubleshoot with eglinfo for the issue with eglchooseconfig()
thanks |
First, I think the we are using different ebuilds.
Sorry if I don't make myself clear. What I mean is that the "SimpleGL_example" have one bug that only work in cases where you have just one possible configuration on EGLint. If you have 2 configurations possible, it will don't work, at least is what I understand by the situation.
Then my proposal is to use another, more official example code. One that should work for you (like one from mesa, https://gitlab.freedesktop.org/mesa/demos/-/tree/master/src/egl ).
And if it doesn't work, you should report a bug at https://gitlab.freedesktop.org/mesa/mesa/issues
EDIT: you can use the "es2gears" too for test. _________________ | Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary "I want to apologize for being so powerless" - Lee |
|
Back to top |
|
 |
shunlir n00b

Joined: 03 Mar 2020 Posts: 7
|
Posted: Wed Mar 04, 2020 12:35 pm Post subject: |
|
|
@ff1
mesa-demo doesn't work.
Code: | ./es2gears_x11
EGL_VERSION = 1.4
EGLUT: failed to choose a config |
I'll report a bug to mesa then. |
|
Back to top |
|
 |
mike155 Advocate

Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Wed Mar 04, 2020 12:48 pm Post subject: |
|
|
I tried a few EGL demo programs, eglgears_x11 and es2gears_x11. None of them works. I tried Mesa 19.2.8, 19.3.4 and 20.0.0. Always the same result:
Code: | libEGL warning: MESA-LOADER: failed to open vgem (search paths /usr/lib64/dri)
EGL_VERSION = 1.4
EGLUT: failed to choose a config |
Something is wrong. But I don't know what. Since I use Weston as Wayland compositor, it could be related to Wayland. On the other hand: EGL demo programs should work under Wayland, shouldn't they? |
|
Back to top |
|
 |
ff11 l33t


Joined: 10 Mar 2014 Posts: 665
|
Posted: Wed Mar 04, 2020 12:48 pm Post subject: |
|
|
shunlir wrote: | @ff1
mesa-demo doesn't work.
Code: | ./es2gears_x11
EGL_VERSION = 1.4
EGLUT: failed to choose a config |
I'll report a bug to mesa then. |
Just one thinking that is bother me here: The "x11-apps/mesa-progs" have the flags "egl gles2" to enable the egl tools. Then I have to ask: Aren't you using the egl gles2 flags globally inside your "/etc/portage/make.conf" file?
Anyway, for what I see, your installation is OK! Everything you need seems to be working. The problem isn't one of gentoo portage, so I would report on https://gitlab.freedesktop.org/mesa/mesa/issues
EDIT: for what you can see on "SimpleGL_example", it import "Xlib.h", Xatom.h, and Xutil.h form X11. The XWayland provides a compatibility layer to seamlessly run legacy X11 applications in Wayland if it need. The only ones who should be concerned about compatibility here, are the ones running Xorg. _________________ | Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary "I want to apologize for being so powerless" - Lee
Last edited by ff11 on Wed Mar 04, 2020 12:53 pm; edited 1 time in total |
|
Back to top |
|
 |
mike155 Advocate

Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Wed Mar 04, 2020 12:53 pm Post subject: |
|
|
I wonder if it's related to: https://gitlab.freedesktop.org/mesa/mesa/issues/1993? I will try a kernel with DRM_VGEM compiled as a kernel module later today.
EDIT: It did NOT help to compile as DRM_VGEM as a kernel module. |
|
Back to top |
|
 |
shunlir n00b

Joined: 03 Mar 2020 Posts: 7
|
Posted: Wed Mar 04, 2020 2:04 pm Post subject: |
|
|
Your `DRM_VGEM` issue may be another one.
For the issue `EGL returns 0 config`, I can confirm it's gone after I rebuild mesa with Code: | -Dplatforms=x11,drm,surfaceless | , You can see the comment from upstream developer (https://gitlab.freedesktop.org/mesa/mesa/issues/2597)
ebuild change, from (https://gitweb.gentoo.org/repo/gentoo.git/tree/media-libs/mesa/mesa-19.2.8.ebuild#n359):
Code: | emesonargs+=( -Dplatforms=surfaceless$(use X && echo ",x11")$(use wayland && echo ",wayland")$(use gbm && echo ",drm") ) |
To:
Code: | emesonargs+=( -Dplatforms=$(use X && echo "x11,")$(use wayland && echo "wayland,")$(use gbm && echo "drm,")surfaceless ) |
Perhaps this is a bug in ebuild.
I see ArchLinux put surfaceless at the end too (https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/mesa#n40) |
|
Back to top |
|
 |
ff11 l33t


Joined: 10 Mar 2014 Posts: 665
|
Posted: Wed Mar 04, 2020 2:13 pm Post subject: |
|
|
"surfaceless" appears to be a new requirement of EGL 1.5 Specification. So the ebuild need update, and the bug report now, should be on https://bugs.gentoo.org. If this is indeed the bug in question.
EDIT: from time to time, there is report of drivers stop supporting EGL, and going back to support it after some releases. I have made some tests here, and my amdgpu EGL driver is broken, but my intel EGL driver is working. But I'm not using it anymore, just for fun tests. On benchmark https://www.phoronix.com/scan.php?page=article&item=ubuntu-1904-desktops it don't give me real improvements, and the support isn't at the level of Xorg yet. But from time to time, I like to know if the things have changed and make some tests too  _________________ | Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary "I want to apologize for being so powerless" - Lee |
|
Back to top |
|
 |
shunlir n00b

Joined: 03 Mar 2020 Posts: 7
|
Posted: Wed Mar 04, 2020 3:08 pm Post subject: |
|
|
I have just reported the issue as a bug: https://bugs.gentoo.org/711516
@ff11
I don't know much about the relationship between EGL and GPU drivers, isn't it OpenGL (or ES) talks to the GPU driver, and EGL sits in between OpenGL and the Window System (X11, WayLand or others)? |
|
Back to top |
|
 |
mike155 Advocate

Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Wed Mar 04, 2020 3:14 pm Post subject: |
|
|
@shunlir: the solution you posted above fixes the problem for me as well. Thanks! Well done!  |
|
Back to top |
|
 |
ff11 l33t


Joined: 10 Mar 2014 Posts: 665
|
Posted: Wed Mar 04, 2020 3:17 pm Post subject: |
|
|
shunlir wrote: | I have just reported the issue as a bug: https://bugs.gentoo.org/711516
@ff11
I don't know much about the relationship between EGL and GPU drivers, isn't it OpenGL (or ES) talks to the GPU driver, and EGL sits in between OpenGL and the Window System (X11, WayLand or others)? |
It depend on from what source you get your EGL implementation. From mesa, we have https://www.mesa3d.org/egl.html
If you want something really neutral, I would recommend the Vulkan API (Works everywhere with full performance). _________________ | Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary "I want to apologize for being so powerless" - Lee |
|
Back to top |
|
 |
mike155 Advocate

Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
|
Back to top |
|
 |
shunlir n00b

Joined: 03 Mar 2020 Posts: 7
|
Posted: Fri Mar 13, 2020 1:18 pm Post subject: |
|
|
@mike155, thanks for you contribution, nice job. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|