Advertisement
vliaskov

gnome-shell-43.2 crash on Mesa 23.0.0 on intel graphics

Mar 9th, 2023
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.95 KB | None | 0 0
  1. Crashes with Mesa 23.0.0, works fine with Mesa-22.3.5
  2.  
  3. If the following upstream Mesa 23.0.0 commit is reverted, gnome-shell works fine:
  4.  
  5. "
  6. From 19c57ea3bf6d77cf6f07f2a56e781f55b0e6013b Mon Sep 17 00:00:00 2001
  7. From: Adam Jackson <ajax@redhat.com>
  8. Date: Tue, 13 Dec 2022 12:26:58 -0500
  9. Subject: [PATCH] glx: Remove pointless GLX_INTEL_swap_event paranoia
  10.  
  11. It's not our job to filter this out, it's the server's job to not send
  12. events that haven't been selected for. We'll still throw the event away
  13. if we don't have any client-side state for it though.
  14. "
  15.  
  16.  
  17. (gdb) bt
  18. #0 0x00007fd104389e3d in cogl_onscreen_glx_notify_swap_buffers (swap_event=0x7ffc351d7f00, onscreen=0x55655988d120 [CoglOnscreenGlx])
  19. at ../cogl/cogl/winsys/cogl-onscreen-glx.c:991
  20. #1 notify_swap_buffers (context=<optimized out>, swap_event=0x7ffc351d7f00) at ../cogl/cogl/winsys/cogl-winsys-glx.c:184
  21. #2 glx_event_filter_cb (xevent=0x7ffc351d7f00, data=<optimized out>) at ../cogl/cogl/winsys/cogl-winsys-glx.c:224
  22. #3 0x00007fd104388f18 in _cogl_renderer_handle_native_event (renderer=<optimized out>, event=0x7ffc351d7f00) at ../cogl/cogl/cogl-renderer.c:636
  23. #4 cogl_xlib_renderer_handle_event (renderer=<optimized out>, event=0x7ffc351d7f00) at ../cogl/cogl/cogl-xlib-renderer.c:579
  24. #5 0x00007fd1048de110 in cogl_xlib_filter (xevent=<optimized out>, event=<optimized out>, data=<optimized out>) at ../src/backends/x11/meta-clutter-backend-x11.c:94
  25. #6 0x00007fd1048e9d93 in meta_clutter_backend_x11_process_event_filters
  26. (clutter_backend_x11=0x5565596b0010 [MetaClutterBackendX11], event=0x55655dd7a2e0, native=0x7ffc351d7f00) at ../src/backends/x11/meta-clutter-backend-x11.c:329
  27. #7 meta_clutter_backend_x11_translate_event (clutter_backend=0x5565596b0010 [MetaClutterBackendX11], native=0x7ffc351d7f00, event=0x55655dd7a2e0)
  28. at ../src/backends/x11/meta-clutter-backend-x11.c:363
  29. #8 0x00007fd10498c090 in meta_x11_handle_event.isra.0 (backend=backend@entry=0x5565595f31d0 [MetaBackendX11Cm], xevent=xevent@entry=0x7ffc351d7f00)
  30. at ../src/backends/x11/meta-event-x11.c:82
  31. #9 0x00007fd1048e576d in handle_host_xevent (event=0x7ffc351d7f00, backend=0x5565595f31d0 [MetaBackendX11Cm]) at ../src/backends/x11/meta-backend-x11.c:421
  32. #10 x_event_source_dispatch (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>) at ../src/backends/x11/meta-backend-x11.c:475
  33. #11 0x00007fd1056a0a90 in g_main_dispatch (context=0x5565595de9f0) at ../glib/gmain.c:3454
  34. #12 g_main_context_dispatch (context=context@entry=0x5565595de9f0) at ../glib/gmain.c:4172
  35. #13 0x00007fd1056a0e48 in g_main_context_iterate (context=0x5565595de9f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4248
  36. #14 0x00007fd1056a110f in g_main_loop_run (loop=0x55655b770f00) at ../glib/gmain.c:4448
  37. #15 0x00007fd1048c28c5 in meta_context_run_main_loop (context=<optimized out>, error=error@entry=0x7ffc351d8160) at ../src/core/meta-context.c:465
  38. #16 0x000055655892d904 in main (argc=<optimized out>, argv=<optimized out>) at ../src/main.c:582
  39.  
  40.  
  41. $ glxinfo -B
  42. name of display: :0
  43. display: :0 screen: 0
  44. direct rendering: Yes
  45. Extended renderer info (GLX_MESA_query_renderer):
  46. Vendor: Intel (0x8086)
  47. Device: Mesa Intel(R) HD Graphics 520 (SKL GT2) (0x1916)
  48. Version: 22.3.5
  49. Accelerated: yes
  50. Video memory: 7713MB
  51. Unified memory: yes
  52. Preferred profile: core (0x1)
  53. Max core profile version: 4.6
  54. Max compat profile version: 4.6
  55. Max GLES1 profile version: 1.1
  56. Max GLES[23] profile version: 3.2
  57. OpenGL vendor string: Intel
  58. OpenGL renderer string: Mesa Intel(R) HD Graphics 520 (SKL GT2)
  59. OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.3.5
  60. OpenGL core profile shading language version string: 4.60
  61. OpenGL core profile context flags: (none)
  62. OpenGL core profile profile mask: core profile
  63.  
  64. OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.3.5
  65. OpenGL shading language version string: 4.60
  66. OpenGL context flags: (none)
  67. OpenGL profile mask: compatibility profile
  68.  
  69. OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.3.5
  70. OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
  71.  
  72. # inxi -aG
  73. Graphics:
  74. Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Dell Latitude E7470 driver: i915 v: kernel
  75. arch: Gen-9 process: Intel 14n built: 2015-16 ports: active: DP-2,DP-4,eDP-1 empty: DP-1, DP-3,
  76. HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:1916 class-ID: 0300
  77. Device-2: Sunplus Innovation Integrated_Webcam_HD type: USB driver: uvcvideo bus-ID: 1-2:2
  78. chip-ID: 1bcf:28b8 class-ID: 0e02
  79. Display: server: X.org v: 1.21.1.7 with: Xwayland v: 22.1.8 compositor: gnome-shell v: 43.3
  80. driver: X: loaded: intel unloaded: fbdev,modesetting,vesa dri: i965 gpu: i915 tty: 135x30
  81. Monitor-1: DP-2 model: Dell P2414H serial: KKMMW62572JB built: 2016 res: 1920x1080 dpi: 93
  82. gamma: 1.2 size: 527x297mm (20.75x11.69") diag: 605mm (23.8") ratio: 16:9 modes: max: 1920x1080
  83. min: 720x400
  84. Monitor-2: DP-4 model: Fujitsu Siemens P24W-7 LED serial: YV8S000307 built: 2014
  85. res: 1920x1200 dpi: 94 gamma: 1.2 size: 518x324mm (20.39x12.76") diag: 611mm (24.1")
  86. ratio: 16:10 modes: max: 1920x1200 min: 720x400
  87. Monitor-3: eDP-1 model: LG Display 0x0490 built: 2014 res: 1920x1080 dpi: 158 gamma: 1.2
  88. size: 309x174mm (12.17x6.85") diag: 355mm (14") ratio: 16:9 modes: 1920x1080
  89. API: OpenGL Message: GL data unavailable in console for root.
  90. Graphics:
  91. Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Dell Latitude E7470
  92. driver: i915 v: kernel arch: Gen-9 process: Intel 14n built: 2015-16 ports:
  93. active: DP-2,DP-4,eDP-1 empty: DP-1, DP-3, HDMI-A-1, HDMI-A-2
  94. bus-ID: 00:02.0 chip-ID: 8086:1916 class-ID: 0300
  95. Device-2: Sunplus Innovation Integrated_Webcam_HD type: USB
  96. driver: uvcvideo bus-ID: 1-2:2 chip-ID: 1bcf:28b8 class-ID: 0e02
  97. Display: x11 server: X.Org v: 21.1.7 with: Xwayland v: 22.1.8
  98. compositor: gnome-shell v: 43.3 driver: X: loaded: intel
  99. unloaded: fbdev,modesetting,vesa dri: i965 gpu: i915 display-ID: :0
  100. screens: 1
  101. Screen-1: 0 s-res: 3648x1920 s-dpi: 96 s-size: 965x508mm (37.99x20.00")
  102. s-diag: 1091mm (42.93")
  103. Monitor-1: DP-2 mapped: DP1-1 pos: primary,top-center model: Dell P2414H
  104. serial: KKMMW62572JB built: 2016 res: 1080x1920 hz: 60 dpi: 91 gamma: 1.2
  105. size: 300x530mm (11.81x20.87") diag: 605mm (23.8") ratio: 16:9 modes:
  106. max: 1920x1080 min: 720x400
  107. Monitor-2: DP-4 mapped: DP1-3 pos: top-left model: Fujitsu Siemens P24W-7
  108. LED serial: YV8S000307 built: 2014 res: 1200x1920 hz: 60 dpi: 95
  109. gamma: 1.2 size: 320x520mm (12.6x20.47") diag: 611mm (24.1") ratio: 16:10
  110. modes: max: 1920x1200 min: 720x400
  111. Monitor-3: eDP-1 mapped: eDP1 pos: bottom-r model: LG Display 0x0490
  112. built: 2014 res: 1368x768 dpi: 112 gamma: 1.2 size: 310x170mm (12.2x6.69")
  113. diag: 355mm (14") ratio: 16:9 modes: 1920x1080
  114. API: OpenGL v: 4.6 Mesa 22.3.5 renderer: Mesa Intel HD Graphics 520 (SKL
  115. GT2) direct render: Yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement