On Thu, 25 Jul 2024 14:53:31 +0200 daniel antoine <univa...@gmail.com> said:
those errors when loading shaders look really suspicious. this should not happen. saved shaders are keyed on efl version and on renderer/vendor strings. you could rm -rf ~/.cache/evas_gl_common_caches i have have no hybrid gfx systems ... though my advice has always been "avoid optimus etc. like the plague - nothing but trouble" and i'm continually proven right. :) hybrid systems have 2 gpu's. outputs are often split between them with some outputs coming from one gpu and some from another. sometimes they are shared with a mux chip. without explicit support to know which output for which gpu is actually active (connected to something) and what it's connected to and is it muxed and that needs switching to choose where the output goes - it's going to likely only partly work. also buffers have to be allocated in a way they can be seen by all gpu's - e.g. an integrated gpu must have all buffers in system memory in memory regions it can see. the discrete gpu has its own memory and buffers there may not be visible (well mapped over pcie may be fine - may not be. you may have to move buffers into system ram via dma copies or have the discrete gpu render to system ram if it can etc.). either way - it becomes a bit of a mess as you have 2 gpu driver stacks. also applications have to pick a specific gpu to use to render with - you cant just invisibly switch over from one to the other as 2 gpus have different feature sets. any switch requires killing off your entire graphics/rendering system within any process and restarting it. no one is going to bother with this so it generally means re-running the app and forcing it to see a different gl/vulkan etc. driver stack. so ... either way... pain. :) got amd systems - e wl mode works (on one screen). on intel - same. works on several arm dev boards too. > Hi > > Since more than one tear I am not able to open a wayland enlightenment > session on my AMD Hybrid graphic laptop I have disabled the dgpu but > without success. When I launch the wayland session the blue background > with the yellow wayland image appears for one second and the screen > turns black , I can hear the start sound , the system is running but > with a black screen a ctrl alt backspace is the only way to exit and > reboot the laptop. I have installed enlightenment on a virtual machine > and curiously the wayland session works without problem. The main > difference may be is with the driver radeonsi on the host and virtio > on the Virtual machine, both drivers are given by mesa. > I add some text off the two .e-log.log from the host and the VM. On > the host there > is something related to "atomic' > > Best regards > > Daniel > > Host log > > ERR<2516>:evas_main > ../efl-1.27.0/src/lib/evas/canvas/evas_object_smart.c:151 > evas_object_smart_data_get() calling smart object API on non-smart > object! > ## Copy & Paste the below (until EOF) into a terminal, then hit Enter > > eina_btlog << EOF > /usr/lib/libeina.so.1 0x7f27d23cf487 0x7f27d23a2000 > /usr/lib/libeina.so.1 0x7f27d23d0749 0x7f27d23a2000 > /usr/lib/libeina.so.1 0x7f27d23d1a25 0x7f27d23a2000 > /usr/lib/libevas.so.1 0x7f27d1f1b958 0x7f27d1e00000 > /usr/bin/enlightenment 0x5647ba6b0261 0x5647ba634000 > /usr/bin/enlightenment 0x5647ba6b0aac 0x5647ba634000 > /usr/lib/libevas.so.1 0x7f27d1f11ddf 0x7f27d1e00000 > /usr/lib/libevas.so.1 0x7f27d1f125ae 0x7f27d1e00000 > /usr/lib/libevas.so.1 0x7f27d1eecd0c 0x7f27d1e00000 > /usr/lib/libefl.so.1 0x7f27d0c86ed1 0x7f27d0c63000 > /usr/bin/enlightenment 0x5647ba6b06e5 0x5647ba634000 > /usr/lib/libevas.so.1 0x7f27d1f11e5d 0x7f27d1e00000 > /usr/lib/libevas.so.1 0x7f27d1f125ae 0x7f27d1e00000 > /usr/lib/libevas.so.1 0x7f27d1edfa30 0x7f27d1e00000 > /usr/lib/libefl.so.1 0x7f27d0c86b52 0x7f27d0c63000 > /usr/bin/enlightenment 0x5647ba6a2142 0x5647ba634000 > /usr/bin/enlightenment 0x5647ba793e73 0x5647ba634000 > /usr/lib/libffi.so.8 0x7f27d076001a 0x7f27d0759000 > /usr/lib/libffi.so.8 0x7f27d075f4be 0x7f27d0759000 > /usr/lib/libffi.so.8 0x7f27d075fbad 0x7f27d0759000 > /usr/lib/libwayland-server.so.0 0x7f27d177bf61 0x7f27d176d000 > /usr/lib/libwayland-server.so.0 0x7f27d1776c52 0x7f27d176d000 > /usr/lib/libwayland-server.so.0 0x7f27d1779a72 0x7f27d176d000 > /usr/lib/libecore_wl2.so.1 0x7f27d1cf37b7 0x7f27d1cdd000 > /usr/lib/libecore.so.1 0x7f27d22c98bb 0x7f27d22a8000 > /usr/lib/libecore.so.1 0x7f27d22c9f75 0x7f27d22a8000 > /usr/lib/libecore.so.1 0x7f27d22ced65 0x7f27d22a8000 > /usr/lib/libecore.so.1 0x7f27d22ce0e9 0x7f27d22a8000 > /usr/lib/libecore.so.1 0x7f27d22ca057 0x7f27d22a8000 > /usr/bin/enlightenment 0x5647ba6809de 0x5647ba634000 > /usr/lib/libc.so.6 0x7f27d14dfc4a 0x7f27d14b6000 > /usr/lib/libc.so.6 0x7f27d14dfd05 0x7f27d14b6000 > /usr/bin/enlightenment 0x5647ba6812d1 0x5647ba634000 > EOF > > Eccore: Trying to set loop time (1309,53810400) 0,00005904s too far in > the future > Eccore: Trying to set loop time (1309,54504500) 0,00005574s too far in > the future > Eccore: Trying to set loop time (1309,56587000) 0,00001819s too far in > the future > Eccore: Trying to set loop time (1309,67693300) 0,00001513s too far in > the future > Eccore: Trying to set loop time (1309,68387500) 0,00005491s too far in > the future > Eccore: Trying to set loop time (1309,69081600) 0,00006015s too far in > the future > Eccore: Trying to set loop time (1309,69775700) 0,00004524s too far in > the future > Eccore: Trying to set loop time (1309,71164000) 0,00005709s too far in > the future > Eccore: Trying to set loop time (1309,72552300) 0,00000570s too far in > the future > ERR<2516>:eina_safety > ../efl-1.27.0/src/lib/ecore_drm2/ecore_drm2_fb.c:515 _fb_atomic_flip() > safety check failed: output->prep.atomic_req == NULL > ## Copy & Paste the below (until EOF) into a terminal, then hit Enter > > eina_btlog << EOF > /usr/lib/libeina.so.1 0x7f27d23cf487 0x7f27d23a2000 > /usr/lib/libeina.so.1 0x7f27d23d0749 0x7f27d23a2000 > /usr/lib/libeina.so.1 0x7f27d23d1a25 0x7f27d23a2000 > /usr/lib/libeina.so.1 0x7f27d23ea189 0x7f27d23a2000 > /usr/lib/libecore_drm2.so.1 0x7f27d1703ffc 0x7f27d16fe000 > /usr/lib/libecore_drm2.so.1 0x7f27d170416f 0x7f27d16fe000 > /usr/lib/libecore_evas.so.1 0x7f27d20e4ed3 0x7f27d20cf000 > /usr/lib/libecore.so.1 0x7f27d22c744f 0x7f27d22a8000 > /usr/lib/libeo.so.1 0x7f27d235f668 0x7f27d2348000 > /usr/lib/libeo.so.1 0x7f27d23593bd 0x7f27d2348000 > /usr/lib/libecore.so.1 0x7f27d22c99f1 0x7f27d22a8000 > /usr/lib/libecore.so.1 0x7f27d22c9f75 0x7f27d22a8000 > /usr/lib/libecore.so.1 0x7f27d22ced65 0x7f27d22a8000 > /usr/lib/libecore.so.1 0x7f27d22ce0e9 0x7f27d22a8000 > /usr/lib/libecore.so.1 0x7f27d22ca057 0x7f27d22a8000 > /usr/bin/enlightenment 0x5647ba6809de 0x5647ba634000 > /usr/lib/libc.so.6 0x7f27d14dfc4a 0x7f27d14b6000 > /usr/lib/libc.so.6 0x7f27d14dfd05 0x7f27d14b6000 > /usr/bin/enlightenment 0x5647ba6812d1 0x5647ba634000 > EOF > > RRR: ... 0 0 > DRM2 RRR: ................. info get! > DRM2 RRR: .... out eDP-1 > DRM2 RRR: ...... connected 1 > DRM2 RRR: Created Screen: > eDP-1/00ffffffffffff0006afed8000000000101b0104a5221378036a75a456529c270b505400000001010101010101010101010101010101ce8f80b6703888403020a50058c110000000e93b80b6703888403020a50058c110000000000000fd003c90b0b025010a202020202020000000fe004231353648414e30382e30200a00ed > DRM2 RRR: ...... lid_closed = 0 (1 && 0) > DRM2 RRR: 'eDP-1' 0 0 1920x1080 > DRM2 RRR: drm output rotation=0 > RRR:-------------------------------- 2 > RRR: 'eDP-1': 0 0 1920x1080 > RRR: result max: 1920x1080 > xinerama screen 0 0 1920x1080 > xinerama setup............... 1 0x5647bb941f30 > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ match screens 0x5647bc1cb830[0] = 0 0 1920x1080 -- 0 > @ matches existing zone 0x5647bbdcb490 > move resize 0 0 1920x1080 -> 0 0 1920x1080 > RRR: New unconfigured screen on eDP-1 > LOAD XWAYLAND MODULE > Failed to bind to abstract socket /tmp/.X11-unix/X0: Adresse déjà utilisée > XWayland Listening on display: :1 > > > > Virtual machine log > > ERR<343>:evas_main > ../efl-1.27.0/src/modules/evas/engines/gl_common/evas_gl_shader.c:178 > _evas_gl_common_shader_program_binary_load() Abort load of program > (/shader/10000003) > ## Copy & Paste the below (until EOF) into a terminal, then hit Enter > > eina_btlog << EOF > /usr/lib/libeina.so.1 0x7f2d62153487 0x7f2d62126000 > /usr/lib/libeina.so.1 0x7f2d62154749 0x7f2d62126000 > /usr/lib/libeina.so.1 0x7f2d62155a25 0x7f2d62126000 > /usr/lib/evas/modules/engines/gl_generic/v-1.27/module.so > 0x7f2d5c65b22a 0x7f2d5c632000 > /usr/lib/evas/modules/engines/gl_generic/v-1.27/module.so > 0x7f2d5c65c042 0x7f2d5c632000 > /usr/lib/evas/modules/engines/gl_generic/v-1.27/module.so > 0x7f2d5c65602e 0x7f2d5c632000 > /usr/lib/evas/modules/engines/gl_generic/v-1.27/module.so > 0x7f2d5c665ec9 0x7f2d5c632000 > /usr/lib/evas/modules/engines/gl_generic/v-1.27/module.so > 0x7f2d5c643a59 0x7f2d5c632000 > /usr/lib/libevas.so.1 0x7f2d61cfa695 0x7f2d61c00000 > /usr/lib/libevas.so.1 0x7f2d61cfc7b7 0x7f2d61c00000 > /usr/lib/libevas.so.1 0x7f2d61cfd2a8 0x7f2d61c00000 > /usr/lib/libevas.so.1 0x7f2d61d6b2df 0x7f2d61c00000 > /usr/lib/libevas.so.1 0x7f2d61d6d664 0x7f2d61c00000 > /usr/lib/libevas.so.1 0x7f2d61d707b3 0x7f2d61c00000 > /usr/lib/libevas.so.1 0x7f2d61d71128 0x7f2d61c00000 > /usr/lib/libevas.so.1 0x7f2d61d71a2e 0x7f2d61c00000 > /usr/lib/libevas.so.1 0x7f2d61ce3179 0x7f2d61c00000 > /usr/lib/libecore_evas.so.1 0x7f2d61ba4373 0x7f2d61b93000 > /usr/lib/libecore_evas.so.1 0x7f2d61ba8f65 0x7f2d61b93000 > /usr/lib/libecore.so.1 0x7f2d6204b44f 0x7f2d6202c000 > /usr/lib/libeo.so.1 0x7f2d620e3668 0x7f2d620cc000 > /usr/lib/libeo.so.1 0x7f2d620dd3bd 0x7f2d620cc000 > /usr/lib/libecore.so.1 0x7f2d6204d6f1 0x7f2d6202c000 > /usr/lib/libecore.so.1 0x7f2d6204df75 0x7f2d6202c000 > /usr/lib/libecore.so.1 0x7f2d62052d65 0x7f2d6202c000 > /usr/lib/libecore.so.1 0x7f2d620520e9 0x7f2d6202c000 > /usr/lib/libecore.so.1 0x7f2d6204e057 0x7f2d6202c000 > /usr/bin/enlightenment 0x55871ad479de 0x55871acfb000 > /usr/lib/libc.so.6 0x7f2d6125ec4a 0x7f2d61235000 > /usr/lib/libc.so.6 0x7f2d6125ed05 0x7f2d61235000 > /usr/bin/enlightenment 0x55871ad482d1 0x55871acfb000 > EOF > > RRR: ... 0 0 > DRM2 RRR: ................. info get! > DRM2 RRR: .... out Virtual-1 > DRM2 RRR: ...... connected 1 > DRM2 RRR: Created Screen: > Virtual-1/00ffffffffffff0049143412000000002a180104a520147806ee91a3544c99260f5054210800e1c0d1c0d100a940b300950081808140ea2900c051201c304026444045cb10000018000000f7000a004082002820000000000000000000fd00327d1ea0ff010a202020202020000000fc0051454d55204d6f6e69746f720a013a > DRM2 RRR: ...... lid_closed = 0 (0 && 0) > DRM2 RRR: 'Virtual-1' 0 0 1920x1080 > DRM2 RRR: drm output rotation=0 > RRR:-------------------------------- 2 > RRR: 'Virtual-1': 0 0 1920x1080 > RRR: result max: 1920x1080 > xinerama screen 0 0 1920x1080 > xinerama setup............... 1 0x55871cfa0f20 > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ match screens 0x55871d52e610[0] = 0 0 1920x1080 -- 0 > @ matches existing zone 0x55871d15cc60 > move resize 0 0 1920x1080 -> 0 0 1920x1080 > RRR: New unconfigured screen on Virtual-1 > ERR<343>:evas_main > ../efl-1.27.0/src/modules/evas/engines/gl_common/evas_gl_shader.c:178 > _evas_gl_common_shader_program_binary_load() Abort load of program > (/shader/10000427) > ## Copy & Paste the below (until EOF) into a terminal, then hit Enter > > eina_btlog << EOF > /usr/lib/libeina.so.1 0x7f2d62153487 0x7f2d62126000 > /usr/lib/libeina.so.1 0x7f2d62154749 0x7f2d62126000 > /usr/lib/libeina.so.1 0x7f2d62155a25 0x7f2d62126000 > /usr/lib/evas/modules/engines/gl_generic/v-1.27/module.so > 0x7f2d5c65b22a 0x7f2d5c632000 > /usr/lib/evas/modules/engines/gl_generic/v-1.27/module.so > 0x7f2d5c65c042 0x7f2d5c632000 > /usr/lib/evas/modules/engines/gl_generic/v-1.27/module.so > 0x7f2d5c652a7e 0x7f2d5c632000 > /usr/lib/evas/modules/engines/gl_generic/v-1.27/module.so > 0x7f2d5c666427 0x7f2d5c632000 > /usr/lib/evas/modules/engines/gl_generic/v-1.27/module.so > 0x7f2d5c643856 0x7f2d5c632000 > /usr/lib/libevas.so.1 0x7f2d61cf5a3a 0x7f2d61c00000 > /usr/lib/libevas.so.1 0x7f2d61cfccd1 0x7f2d61c00000 > /usr/lib/libevas.so.1 0x7f2d61cfd2a8 0x7f2d61c00000 > /usr/lib/libevas.so.1 0x7f2d61d6b2df 0x7f2d61c00000 > /usr/lib/libevas.so.1 0x7f2d61d6d664 0x7f2d61c00000 > /usr/lib/libevas.so.1 0x7f2d61d707b3 0x7f2d61c00000 > /usr/lib/libevas.so.1 0x7f2d61d71128 0x7f2d61c00000 > /usr/lib/libevas.so.1 0x7f2d61d71a2e 0x7f2d61c00000 > /usr/lib/libevas.so.1 0x7f2d61ce3179 0x7f2d61c00000 > /usr/lib/libecore_evas.so.1 0x7f2d61ba4373 0x7f2d61b93000 > /usr/lib/libecore_evas.so.1 0x7f2d61ba8f65 0x7f2d61b93000 > /usr/lib/libecore.so.1 0x7f2d6204b44f 0x7f2d6202c000 > /usr/lib/libeo.so.1 0x7f2d620e3668 0x7f2d620cc000 > /usr/lib/libeo.so.1 0x7f2d620dd3bd 0x7f2d620cc000 > /usr/lib/libecore.so.1 0x7f2d6204d6f1 0x7f2d6202c000 > /usr/lib/libecore.so.1 0x7f2d6204df75 0x7f2d6202c000 > /usr/lib/libecore.so.1 0x7f2d62052d65 0x7f2d6202c000 > /usr/lib/libecore.so.1 0x7f2d620520e9 0x7f2d6202c000 > /usr/lib/libecore.so.1 0x7f2d6204e057 0x7f2d6202c000 > /usr/bin/enlightenment 0x55871ad479de 0x55871acfb000 > /usr/lib/libc.so.6 0x7f2d6125ec4a 0x7f2d61235000 > /usr/lib/libc.so.6 0x7f2d6125ed05 0x7f2d61235000 > /usr/bin/enlightenment 0x55871ad482d1 0x55871acfb000 > EOF > > LOAD XWAYLAND MODULE > Failed to bind to abstract socket /tmp/.X11-unix/X0: Adresse déjà utilisée > XWayland Listening on display: :1 > ERR<343>:evas_main > ../efl-1.27.0/src/modules/evas/engines/gl_common/evas_gl_shader.c:178 > _evas_gl_common_shader_program_binary_load() Abort load of program > (/shader/1000040b) > ## Copy & Paste the below (until EOF) into a terminal, then hit Enter > > eina_btlog << EOF > /usr/lib/libeina.so.1 0x7f2d62153487 0x7f2d62126000 > /usr/lib/libeina.so.1 0x7f2d62154749 0x7f2d62126000 > /usr/lib/libeina.so.1 0x7f2d62155a25 0x7f2d62126000 > /usr/lib/evas/modules/engines/gl_generic/v-1.27/module.so > 0x7f2d5c65b22a 0x7f2d5c632000 > /usr/lib/evas/modules/engines/gl_generic/v-1.27/module.so > 0x7f2d5c65c042 0x7f2d5c632000 > /usr/lib/evas/modules/engines/gl_generic/v-1.27/module.so > 0x7f2d5c652a7e 0x7f2d5c632000 > /usr/lib/evas/modules/engines/gl_generic/v-1.27/module.so > 0x7f2d5c666427 0x7f2d5c632000 > /usr/lib/evas/modules/engines/gl_generic/v-1.27/module.so > 0x7f2d5c643856 0x7f2d5c632000 > /usr/lib/libevas.so.1 0x7f2d61cf5a3a 0x7f2d61c00000 > /usr/lib/libevas.so.1 0x7f2d61cfc3e3 0x7f2d61c00000 > /usr/lib/libevas.so.1 0x7f2d61cfd2a8 0x7f2d61c00000 > /usr/lib/libevas.so.1 0x7f2d61d6b2df 0x7f2d61c00000 > /usr/lib/libevas.so.1 0x7f2d61d6d664 0x7f2d61c00000 > /usr/lib/libevas.so.1 0x7f2d61d707b3 0x7f2d61c00000 > /usr/lib/libevas.so.1 0x7f2d61d71128 0x7f2d61c00000 > /usr/lib/libevas.so.1 0x7f2d61d71a2e 0x7f2d61c00000 > /usr/lib/libevas.so.1 0x7f2d61ce3179 0x7f2d61c00000 > /usr/lib/libecore_evas.so.1 0x7f2d61ba4373 0x7f2d61b93000 > /usr/lib/libecore_evas.so.1 0x7f2d61ba8f65 0x7f2d61b93000 > /usr/lib/libecore.so.1 0x7f2d6204b44f 0x7f2d6202c000 > /usr/lib/libeo.so.1 0x7f2d620e3668 0x7f2d620cc000 > /usr/lib/libeo.so.1 0x7f2d620dd3bd 0x7f2d620cc000 > /usr/lib/libecore.so.1 0x7f2d6204d6f1 0x7f2d6202c000 > /usr/lib/libecore.so.1 0x7f2d6204df75 0x7f2d6202c000 > /usr/lib/libecore.so.1 0x7f2d62052d65 0x7f2d6202c000 > /usr/lib/libecore.so.1 0x7f2d620520e9 0x7f2d6202c000 > /usr/lib/libecore.so.1 0x7f2d6204e057 0x7f2d6202c000 > /usr/bin/enlightenment 0x55871ad479de 0x55871acfb000 > /usr/lib/libc.so.6 0x7f2d6125ec4a 0x7f2d61235000 > /usr/lib/libc.so.6 0x7f2d6125ed05 0x7f2d61235000 > /usr/bin/enlightenment 0x55871ad482d1 0x55871acfb000 > EOF > > > _______________________________________________ > enlightenment-users mailing list > enlightenment-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-users -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- Carsten Haitzler - ras...@rasterman.com _______________________________________________ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users