[Bug 38473] [egl] When program ends, monitor is switched off leaving system unusable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugs.freedesktop.org/show_bug.cgi?id=38473

--- Comment #9 from Roger Leigh <rleigh@xxxxxxxxxx> 2011-12-30 03:41:37 PST ---
Hi Michel,

Just tried to verify this for you with current Debian unstable, but I can't get
any EGL/DRM program to run.  Here's an example:

% EGL_LOG_LEVEL=debug EGL_PLATFORM=drm ./gears_screen
libEGL debug: EGL search path is /usr/lib/x86_64-linux-gnu/egl
libEGL debug: added /usr/lib/x86_64-linux-gnu/egl/egl_gallium.so to module
array
libEGL debug: added egl_dri2 to module array
libEGL debug: added egl_glx to module array
libEGL debug: dlopen(/usr/lib/x86_64-linux-gnu/egl/egl_gallium.so)
libEGL info: use DRM for display (nil)
libEGL debug: EGL user error 0x3001 (EGL_NOT_INITIALIZED) in eglInitialize(no
usable display)

Not sure if I'm misconfiguring something here (since EGL_PLATFORM=drm used to
pick up the r600 just fine).  I did switch from a Radeon HD 4850 to 6800 in the
interim, but thought it was supported just fine.  drm and radeondrmfb are
certainly set up.

% EGL_LOG_LEVEL=debug EGL_PLATFORM=drm gdb ./gears_screen
GNU gdb (GDB) 7.3-debian
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
/home/rleigh/code/mesa-demos/src/egl/opengles1/gears_screen...done.
(gdb) run
Starting program: /home/rleigh/code/mesa-demos/src/egl/opengles1/gears_screen
[Thread debugging using libthread_db enabled]
libEGL debug: EGL search path is /usr/lib/x86_64-linux-gnu/egl
libEGL debug: added /usr/lib/x86_64-linux-gnu/egl/egl_gallium.so to module
array
libEGL debug: added egl_dri2 to module array
libEGL debug: added egl_glx to module array
libEGL debug: dlopen(/usr/lib/x86_64-linux-gnu/egl/egl_gallium.so)
Traceback (most recent call last):
  File "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16-gdb.py", line 59, in
<module>
    from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named libstdcxx.v6.printers
libEGL info: use DRM for display (nil)
libEGL debug: EGL user error 0x3001 (EGL_NOT_INITIALIZED) in eglInitialize(no
usable display)


Program received signal SIGSEGV, Segmentation fault.
gbm_device_get_backend_name (gbm=0x0) at gbm.c:61
61    gbm.c: No such file or directory.
    in gbm.c
(gdb) bt
#0  gbm_device_get_backend_name (gbm=0x0) at gbm.c:61
#1  0x00007ffff7bc90c1 in dri2_initialize_drm (drv=0x41f360, disp=0x405010) at
platform_drm.c:104
#2  0x00007ffff7bc34e0 in _eglMatchAndInitialize (dpy=0x405010) at
egldriver.c:608
#3  0x00007ffff7bc3923 in _eglMatchDriver (dpy=0x405010, test_only=0) at
egldriver.c:639
#4  0x00007ffff7bbe762 in eglInitialize (dpy=0x405010, major=0x404448,
minor=0x40444c) at eglapi.c:323
#5  0x0000000000402991 in eglutInit (argc=<optimized out>, argv=<optimized
out>) at eglut.c:194
#6  0x000000000040264e in main (argc=<optimized out>, argv=0x7fffffffeaa8) at
gears.c:368


Regards,
Roger

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux