weston-launch: libEGL: no configs with appropriate attributes

Král Gergely kralg at robolution.eu
Wed Mar 14 10:55:54 UTC 2018


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&component=weston&version=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 0000:00:00.0: Intel i845 Chipset
[    1.374723] agpgart-intel 0000:00:00.0: AGP aperture is 64M @ 
0xe0000000
[   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: 0xD0100000
[   13.074211] [drm] register mmio size: 65536
[   13.074488] agpgart-intel 0000:00:00.0: AGP 2.0 bridge
[   13.074511] agpgart-intel 0000:00:00.0: putting AGP V2 device into 4x 
mode
[   13.074546] radeon 0000:01:00.0: putting AGP V2 device into 4x mode
[   13.074580] radeon 0000:01:00.0: GTT: 64M 0xE0000000 - 0xE3FFFFFF
[   13.074595] radeon 0000:01:00.0: VRAM: 128M 0x00000000E8000000 - 
0x00000000EFFFFFFF (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 0000:01:00.0: WB disabled
[   13.090578] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 
0x00000000e0000000 and cpu addr 0xf07a0000
[   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 0000:01:00.0: firmware: direct-loading firmware 
radeon/R100_cp.bin
[   13.544792] [drm] radeon: ring at 0x00000000E0001000
[   13.544824] [drm] ring test succeeded in 1 usecs
[   13.545177] [drm] ib test succeeded in 0 usecs
[   13.546269] [drm] Panel ID String: Samsung LTN150P1-L02
[   13.546273] [drm] Panel Size 1400x1050
[   13.546438] [drm] No TV DAC info found in BIOS
[   13.546594] [drm] Radeon Display Connectors
[   13.546598] [drm] Connector 0:
[   13.546600] [drm]   VGA-1
[   13.546605] [drm]   DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60
[   13.546606] [drm]   Encoders:
[   13.546609] [drm]     CRT1: INTERNAL_DAC1
[   13.546611] [drm] Connector 1:
[   13.546613] [drm]   DVI-D-1
[   13.546615] [drm]   HPD1
[   13.546619] [drm]   DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64
[   13.546621] [drm]   Encoders:
[   13.546623] [drm]     DFP1: INTERNAL_TMDS1
[   13.546625] [drm] Connector 2:
[   13.546627] [drm]   LVDS-1
[   13.546628] [drm]   Encoders:
[   13.546630] [drm]     LCD1: INTERNAL_LVDS
[   13.546632] [drm] Connector 3:
[   13.546634] [drm]   SVIDEO-1
[   13.546636] [drm]   Encoders:
[   13.546638] [drm]     TV1: INTERNAL_DAC2
[   13.690132] [drm] fb mappable at 0xE8040000
[   13.690136] [drm] vram apper at 0xE8000000
[   13.690138] [drm] size 1884160
[   13.690140] [drm] fb depth is 8
[   13.690141] [drm]    pitch is 1792
[   13.690921] fbcon: radeondrmfb (fb0) is primary device
[   13.849339] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
[   13.853183] [drm] Initialized radeon 2.49.0 20080528 for 0000:01:00.0 
on minor 0


-- 

Gergely Kral


More information about the wayland-devel mailing list