Re: weston-launch: libEGL: no configs with appropriate attributes
On 14 March 2018 at 11:36, Pekka Paalanenwrote: > On Wed, 14 Mar 2018 11:55:54 +0100 > Král Gergely wrote: > >> Hi, >> >> >> On my old notebook I would like to set up a test environment by running >> weston and let clients to connect to it. I am stuck in the very >> beginning and after almost a day of googling and trying to understand >> documentation that are over my expertise I am asking your help. >> >> According to the weston building page the radeon RV200 video card should >> work with wayland and weston. The DRM looks OK to me. Am I missing >> something? How could I further debug to see what is exactly failing? >> >> Any comment is appreciated. >> >> >> root$ weston-launch >> Date: 2018-03-14 CET >> [00:08:15.465] weston 1.12.0 >> http://wayland.freedesktop.org >> Bug reports to: >> https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland=weston=1.12.0 >> Build: 1.11.94-2-ga08dff5 configure.ac: bump to version >> 1.12.0 for the official release (2016-09-20 12:22:46 -0700) >> [00:08:15.465] Command line: /usr/bin/weston >> [00:08:15.465] OS: Linux, 4.9.0-4-686-pae, #1 SMP Debian 4.9.65-3 >> (2017-12-03), i686 >> [00:08:15.466] Using config file '/root/.config/weston.ini' >> [00:08:15.466] Output repaint window is 7 ms maximum. >> [00:08:15.466] Loading module >> '/usr/lib/i386-linux-gnu/libweston-1/drm-backend.so' >> [00:08:15.475] initializing drm backend >> [00:08:15.476] logind: not running in a systemd session >> [00:08:15.476] logind: cannot setup systemd-logind helper (-6), using >> legacy fallback >> [00:08:15.479] using /dev/dri/card0 >> [00:08:15.479] Loading module >> '/usr/lib/i386-linux-gnu/libweston-1/gl-renderer.so' >> libGL: Can't open configuration file /root/.drirc: No such file or >> directory. >> [00:08:15.514] EGL client extensions: EGL_EXT_client_extensions >> EGL_EXT_platform_base EGL_EXT_platform_wayland >> EGL_EXT_platform_x11 EGL_MESA_platform_gbm >> EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug >> libEGL debug: added egl_dri2 to module array >> libEGL debug: No DRI config supports native format 0x30335258 >> libEGL debug: No DRI config supports native format 0x30335241 > > Hi, > > not sure where this comes from, and I'm not sure it wouldn't cause the > below. > >> libEGL debug: the best driver is DRI2 >> libEGL debug: the value (0x9) of attribute 0x3040 did not meet the >> criteria (0x4) > > The attribute is EGL_RENDERABLE_TYPE, where the system has OPENGL and > OPENGL_ES, while Weston needs OPENGL_ES2. > r100/r200 only supports GL 1.3 and GLES1 1.1 One can easily check the above for any card, via glxinfo | grep "Max.*profile version" ;-) -Emil ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel
Re: weston-launch: libEGL: no configs with appropriate attributes
On Wed, 14 Mar 2018 11:55:54 +0100 Král Gergelywrote: > Hi, > > > On my old notebook I would like to set up a test environment by running > weston and let clients to connect to it. I am stuck in the very > beginning and after almost a day of googling and trying to understand > documentation that are over my expertise I am asking your help. > > According to the weston building page the radeon RV200 video card should > work with wayland and weston. The DRM looks OK to me. Am I missing > something? How could I further debug to see what is exactly failing? > > Any comment is appreciated. > > > root$ weston-launch > Date: 2018-03-14 CET > [00:08:15.465] weston 1.12.0 > http://wayland.freedesktop.org > Bug reports to: > https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland=weston=1.12.0 > Build: 1.11.94-2-ga08dff5 configure.ac: bump to version > 1.12.0 for the official release (2016-09-20 12:22:46 -0700) > [00:08:15.465] Command line: /usr/bin/weston > [00:08:15.465] OS: Linux, 4.9.0-4-686-pae, #1 SMP Debian 4.9.65-3 > (2017-12-03), i686 > [00:08:15.466] Using config file '/root/.config/weston.ini' > [00:08:15.466] Output repaint window is 7 ms maximum. > [00:08:15.466] Loading module > '/usr/lib/i386-linux-gnu/libweston-1/drm-backend.so' > [00:08:15.475] initializing drm backend > [00:08:15.476] logind: not running in a systemd session > [00:08:15.476] logind: cannot setup systemd-logind helper (-6), using > legacy fallback > [00:08:15.479] using /dev/dri/card0 > [00:08:15.479] Loading module > '/usr/lib/i386-linux-gnu/libweston-1/gl-renderer.so' > libGL: Can't open configuration file /root/.drirc: No such file or > directory. > [00:08:15.514] EGL client extensions: EGL_EXT_client_extensions > EGL_EXT_platform_base EGL_EXT_platform_wayland > EGL_EXT_platform_x11 EGL_MESA_platform_gbm > EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug > libEGL debug: added egl_dri2 to module array > libEGL debug: No DRI config supports native format 0x30335258 > libEGL debug: No DRI config supports native format 0x30335241 Hi, not sure where this comes from, and I'm not sure it wouldn't cause the below. > libEGL debug: the best driver is DRI2 > libEGL debug: the value (0x9) of attribute 0x3040 did not meet the > criteria (0x4) The attribute is EGL_RENDERABLE_TYPE, where the system has OPENGL and OPENGL_ES, while Weston needs OPENGL_ES2. > [00:08:15.515] No EGL configs with appropriate attributes. > [00:08:15.515] failed to choose EGL config > [00:08:15.516] failed to initialize egl > [00:08:15.521] fatal: failed to create compositor backend > > > [ 13.090647] [drm] Loading R100 Microcode Does this card actually support any kind of shaders? Maybe the Weston build guide is mistaken there. Weston's GL renderer supports only GL ES 2.0, which implies shaders. You should still be able to get Weston running by using the weston command line option --use-pixman, but that makes it software rendered. If you have to use weston-launch, then the command would be: weston-launch -- --use-pixman Thanks, pq pgpxoPpanYa1K.pgp Description: OpenPGP digital signature ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel
weston-launch: libEGL: no configs with appropriate attributes
Hi, On my old notebook I would like to set up a test environment by running weston and let clients to connect to it. I am stuck in the very beginning and after almost a day of googling and trying to understand documentation that are over my expertise I am asking your help. According to the weston building page the radeon RV200 video card should work with wayland and weston. The DRM looks OK to me. Am I missing something? How could I further debug to see what is exactly failing? Any comment is appreciated. root$ weston-launch Date: 2018-03-14 CET [00:08:15.465] weston 1.12.0 http://wayland.freedesktop.org Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland=weston=1.12.0 Build: 1.11.94-2-ga08dff5 configure.ac: bump to version 1.12.0 for the official release (2016-09-20 12:22:46 -0700) [00:08:15.465] Command line: /usr/bin/weston [00:08:15.465] OS: Linux, 4.9.0-4-686-pae, #1 SMP Debian 4.9.65-3 (2017-12-03), i686 [00:08:15.466] Using config file '/root/.config/weston.ini' [00:08:15.466] Output repaint window is 7 ms maximum. [00:08:15.466] Loading module '/usr/lib/i386-linux-gnu/libweston-1/drm-backend.so' [00:08:15.475] initializing drm backend [00:08:15.476] logind: not running in a systemd session [00:08:15.476] logind: cannot setup systemd-logind helper (-6), using legacy fallback [00:08:15.479] using /dev/dri/card0 [00:08:15.479] Loading module '/usr/lib/i386-linux-gnu/libweston-1/gl-renderer.so' libGL: Can't open configuration file /root/.drirc: No such file or directory. [00:08:15.514] EGL client extensions: EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_wayland EGL_EXT_platform_x11 EGL_MESA_platform_gbm EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug libEGL debug: added egl_dri2 to module array libEGL debug: No DRI config supports native format 0x30335258 libEGL debug: No DRI config supports native format 0x30335241 libEGL debug: the best driver is DRI2 libEGL debug: the value (0x9) of attribute 0x3040 did not meet the criteria (0x4) libEGL debug: the value (0x9) of attribute 0x3040 did not meet the criteria (0x4) libEGL debug: the value (0x9) of attribute 0x3040 did not meet the criteria (0x4) libEGL debug: the value (0x9) of attribute 0x3040 did not meet the criteria (0x4) libEGL debug: the value (0x9) of attribute 0x3040 did not meet the criteria (0x4) libEGL debug: the value (0x9) of attribute 0x3040 did not meet the criteria (0x4) libEGL debug: the value (0x9) of attribute 0x3040 did not meet the criteria (0x4) libEGL debug: the value (0x9) of attribute 0x3040 did not meet the criteria (0x4) libEGL debug: the value (0x9) of attribute 0x3040 did not meet the criteria (0x4) libEGL debug: the value (0x9) of attribute 0x3040 did not meet the criteria (0x4) libEGL debug: the value (0x9) of attribute 0x3040 did not meet the criteria (0x4) libEGL debug: the value (0x9) of attribute 0x3040 did not meet the criteria (0x4) [00:08:15.515] No EGL configs with appropriate attributes. [00:08:15.515] failed to choose EGL config [00:08:15.516] failed to initialize egl [00:08:15.521] fatal: failed to create compositor backend $ dmesg | grep "radeon\|drm\|agp\|fb" [1.370456] Linux agpgart interface v0.103 [1.370655] agpgart-intel :00:00.0: Intel i845 Chipset [1.374723] agpgart-intel :00:00.0: AGP aperture is 64M @ 0xe000 [ 12.052247] [drm] Initialized [ 13.073251] [drm] radeon kernel modesetting enabled. [ 13.074159] [drm] initializing kernel modesetting (RV200 0x1002:0x4C57 0x1014:0x0509 0x00). [ 13.074208] [drm] register mmio base: 0xD010 [ 13.074211] [drm] register mmio size: 65536 [ 13.074488] agpgart-intel :00:00.0: AGP 2.0 bridge [ 13.074511] agpgart-intel :00:00.0: putting AGP V2 device into 4x mode [ 13.074546] radeon :01:00.0: putting AGP V2 device into 4x mode [ 13.074580] radeon :01:00.0: GTT: 64M 0xE000 - 0xE3FF [ 13.074595] radeon :01:00.0: VRAM: 128M 0xE800 - 0xEFFF (32M used) [ 13.074623] [drm] Detected VRAM RAM=128M, BAR=128M [ 13.074626] [drm] RAM width 128bits DDR [ 13.088655] [drm] radeon: 32M of VRAM memory ready [ 13.088659] [drm] radeon: 64M of GTT memory ready. [ 13.090563] radeon :01:00.0: WB disabled [ 13.090578] radeon :01:00.0: fence driver on ring 0 use gpu addr 0xe000 and cpu addr 0xf07a [ 13.090583] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 13.090586] [drm] Driver supports precise vblank timestamp query. [ 13.090615] [drm] radeon: irq initialized. [ 13.090647] [drm] Loading R100 Microcode [ 13.544379] radeon :01:00.0: firmware: direct-loading firmware radeon/R100_cp.bin [ 13.544792] [drm] radeon: ring at 0xE0001000 [ 13.544824] [drm] ring test succeeded in 1 usecs [ 13.545177] [drm] ib test succeeded in 0 usecs [