<br>drmdpy-&gt;event_handler-&gt;new_drm_screen(&amp;drmdpy-&gt;base, name, drmdpy-&gt;fd);<br><br>Dose there have a chance to call new_sw_screen?<br><br>gallium/state_trackers/egl/drm/native_drm.c<br><br>Thanks,<br>Arthur<br>
<br><br><br>wayland/compositor# ./compositor <br>libEGL debug: added /usr/lib/egl/egl_gallium.so to module array<br>libEGL debug: added /usr/lib/egl/egl_glx.so to module array<br>libEGL debug: dlopen(/usr/lib/egl/egl_gallium.so)<br>
libEGL info: use DRM for display 0x5<br>libEGL debug: searching for pipe module i915<br>libEGL warning: failed to create DRM screen<br>libEGL debug: EGL user error 0x3001 (other) in eglInitialize(no usable display)<br><br>
libEGL debug: dlopen(/usr/lib/egl/egl_glx.so)<br>libEGL debug: EGL user error 0x3001 (other) in eglInitialize<br><br>failed to initialize display<br>GL User Error: calling GL function without a rendering context<br>GL User Error: calling GL function without a rendering context<br>
GL User Error: calling GL function without a rendering context<br>GL User Error: calling GL function without a rendering context<br>GL User Error: calling GL function without a rendering context<br>GL User Error: calling GL function without a rendering context<br>
libEGL debug: EGL user error 0x3001 (other) in eglCreateDRMImageMESA<br><br>Segmentation fault<br><br>