mesa icon indicating copy to clipboard operation
mesa copied to clipboard

Assertion Failure with QT Video Application

Open Fishwaldo opened this issue 11 years ago • 1 comments

Hi, I'm trying to get qt 5.2 working with the eglfs driver (so it doesn't require X or Wayland), and I'm having a assertion failure with etna when trying to load up the Video Widget:

obsworker-arm2:/usr/local/Qt-5.2.1/examples/multimedia/video/qmlvideo # export EGL_FBDEV_DRIVER=etna  obsworker-arm2:/usr/local/Qt-5.2.1/examples/multimedia/video/qmlvideo # QT_QPA_EGLFS_FB=/dev/fb0 LD_LIBRARY_PATH=/usr/local/Qt-5.2.1/lib/ ./qmlvideo -platform eglfs -plugin evdevmouse:/dev/input/by-id/usb-e2i_Technology__Inc._USB_Touchpanel_L000000000-event-if00  
libEGL debug: Native platform type: fbdev (build-time configuration)
libEGL debug: EGL search path is /usr/lib/egl
libEGL debug: added /usr/lib/egl/egl_gallium.so to module array
libEGL debug: added egl_dri2 to module array
libEGL debug: dlopen(/usr/lib/egl/egl_gallium.so)
libEGL info: use FBDEV for display (nil)
fbdev_display succesful
Kernel: Vivante GPL kernel driver 2.0.0.0
Physical address of internal memory: 00000000
* Video memory:
  Internal physical: 0x00000000
  Internal size: 0x00000000
  External physical: 00000000
  External size: 0x00000000
  Contiguous physical: 0x6c000000
  Contiguous size: 0x04000000
Succesfully opened device
libEGL info: created a pipe screen for etna
libEGL debug: the best driver is Gallium
EGLFS: Unable to query physical screen size, defaulting to 100 dpi.
EGLFS: To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
qrc:///qml/qmlvideo/DisableScreenSaver.qml:43:1: module "QtSystemInfo" is not installed
[qmlvideo] performanceLoader.init logging false visible true
[frequencymonitor] FrequencyMonitor::FrequencyMonitor 
[frequencymonitor] FrequencyMonitor::FrequencyMonitor 
libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x18)
libEGL debug: the value (0x10) of attribute 0x3025 did not meet the criteria (0x18)
libEGL debug: the value (0x0) of attribute 0x3026 did not meet the criteria (0x8)
libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x18)
libEGL debug: the value (0x10) of attribute 0x3025 did not meet the criteria (0x18)
libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x18)
libEGL debug: the value (0x10) of attribute 0x3025 did not meet the criteria (0x18)
libEGL debug: the value (0x0) of attribute 0x3026 did not meet the criteria (0x8)
libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x18)
libEGL debug: the value (0x10) of attribute 0x3025 did not meet the criteria (0x18)
native_fbdev: 2 buffers of 1920x1080
Framebuffer format: 6, flip_rb=0
Framebuffer format: 6, flip_rb=0
libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x18)
libEGL debug: the value (0x10) of attribute 0x3025 did not meet the criteria (0x18)
libEGL debug: the value (0x0) of attribute 0x3026 did not meet the criteria (0x8)
libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x18)
libEGL debug: the value (0x10) of attribute 0x3025 did not meet the criteria (0x18)
libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x18)
libEGL debug: the value (0x10) of attribute 0x3025 did not meet the criteria (0x18)
libEGL debug: the value (0x0) of attribute 0x3026 did not meet the criteria (0x8)
libEGL debug: the value (0x0) of attribute 0x3025 did not meet the criteria (0x18)
libEGL debug: the value (0x10) of attribute 0x3025 did not meet the criteria (0x18)
etna_compile_pass_generate_code:1189: Unhandled instruction DP2
etna_compiler.c:1190:etna_compile_pass_generate_code: Assertion `0' failed.
Trace/breakpoint trap

Any Idea if this can be fixed?

Fishwaldo avatar Mar 31 '14 05:03 Fishwaldo

Yes, you'd need to implement the DP2 instruction in etna_compiler.c

laanwj avatar Mar 31 '14 05:03 laanwj