Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

miral-shell gets very wacky sometimes on my Nvidia setup using either Nouveau or Nvidia drivers #3097

Closed
mattkae opened this issue Oct 25, 2023 · 10 comments
Labels

Comments

@mattkae
Copy link
Contributor

mattkae commented Oct 25, 2023

What I ran

sudo MIR_EXPERIMENTAL_HYBRID_GRAPHICS=1 XDG_RUNTIME_DIR=/run ./bin/miral-shell

Result

output.mp4

Output

Full Logs

matthew@matthew-MS-7971:~/mir/build$ sudo MIR_EXPERIMENTAL_HYBRID_GRAPHICS=1 XDG_RUNTIME_DIR=/run ./bin/miral-shell
LD_LIBRARY_PATH=./bin/../lib/
MIR_SERVER_PLATFORM_PATH=./bin/../lib/server-modules/
exec=./bin/miral-shell.bin
[2023-10-25 16:21:39.039123]  mirserver: Starting
[2023-10-25 16:21:39.042193] < - debug - > mirserver: Not using logind for session management: Seat has no active session
[2023-10-25 16:21:39.042748] < - debug - > mirserver: Using Linux VT subsystem for session management
[2023-10-25 16:21:39.043016]  mircommon: Loading modules from: ./bin/../lib/server-modules/
[2023-10-25 16:21:39.043142]  mircommon: Loading module: ./bin/../lib/server-modules/server-x11.so.20
[2023-10-25 16:21:39.043155]  mircommon: Loading module: ./bin/../lib/server-modules/graphics-gbm-kms.so.20
[2023-10-25 16:21:39.043191]  mircommon: Loading module: ./bin/../lib/server-modules/server-virtual.so.20
[2023-10-25 16:21:39.043216]  mircommon: Loading module: ./bin/../lib/server-modules/graphics-eglstream-kms.so.20
[2023-10-25 16:21:39.043226]  mircommon: Loading module: ./bin/../lib/server-modules/graphics-wayland.so.20
[2023-10-25 16:21:39.043236]  mircommon: Loading module: ./bin/../lib/server-modules/renderer-egl-generic.so.20
[2023-10-25 16:21:39.043244]  mircommon: Loading module: ./bin/../lib/server-modules/input-evdev.so.8
[2023-10-25 16:21:39.043274]  mircommon: Loading module: ./bin/../lib/server-modules/graphics-throw.so
[2023-10-25 16:21:39.043283]  mircommon: Loading module: ./bin/../lib/server-modules/input-stub.so
[2023-10-25 16:21:39.044222]  mircommon: Loading module: ./bin/../lib/server-modules/graphics-dummy.so
[2023-10-25 16:21:39.044262]  mirserver: Found display driver: mir:x11 (version 2.15.0)
[2023-10-25 16:21:39.044330]  mirserver: (Unsupported by system environment)
[2023-10-25 16:21:39.044340]  mirserver: Found display driver: mir:gbm-kms (version 2.15.0)
[2023-10-25 16:21:39.047396] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card1, driver nouveau
[2023-10-25 16:21:39.103907] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2023-10-25 16:21:39.104123] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2023-10-25 16:21:39.104307] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2023-10-25 16:21:39.104521] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2023-10-25 16:21:39.104701] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2023-10-25 16:21:39.104904] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card0, driver i915
[2023-10-25 16:21:39.117298] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2023-10-25 16:21:39.117479] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2023-10-25 16:21:39.117640] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2023-10-25 16:21:39.117851] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2023-10-25 16:21:39.117938]  mirserver: Driver supports:
[2023-10-25 16:21:39.117952]  mirserver:   /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (priority 256)
[2023-10-25 16:21:39.117959]  mirserver:   /devices/pci0000:00/0000:00:02.0/drm/card0 (priority 256)
[2023-10-25 16:21:39.117993]  mirserver: Found display driver: mir:virtual (version 2.15.0)
[2023-10-25 16:21:39.118007]  mirserver: (Unsupported by system environment)
[2023-10-25 16:21:39.118021]  mirserver: Found display driver: mir:eglstream-kms (version 2.15.0)
[2023-10-25 16:21:39.119531] < - debug - > eglstream: Found EGLDeviceEXT with device extensions: EGL_EXT_device_drm EGL_EXT_device_drm_render_node
[2023-10-25 16:21:39.135218] < -warning- > eglstream: Failed to create EGL context: no EGL_STREAM_BIT_KHR configs supported
[2023-10-25 16:21:39.167913] < - debug - > eglstream: Found EGLDeviceEXT with device extensions: EGL_EXT_device_drm EGL_EXT_device_drm_render_node
[2023-10-25 16:21:39.178872] < -warning- > eglstream: Failed to create EGL context: no EGL_STREAM_BIT_KHR configs supported
[2023-10-25 16:21:39.179755] < - debug - > eglstream: Found EGLDeviceEXT with device extensions: EGL_MESA_device_software EGL_EXT_device_drm_render_node
[2023-10-25 16:21:39.179826]  eglstream: Failed to query DRM node for EGLDevice: Failed to determine DRM device node path from EGLDevice: EGL_BAD_PARAMETER (0x300c)
[2023-10-25 16:21:39.179842]  mirserver: Driver supports:
[2023-10-25 16:21:39.179852]  mirserver:   /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (priority 0)
[2023-10-25 16:21:39.179859]  mirserver:   /devices/pci0000:00/0000:00:02.0/drm/card0 (priority 0)
[2023-10-25 16:21:39.179878]  mirserver: Found display driver: mir:wayland (version 2.15.0)
[2023-10-25 16:21:39.179894]  mirserver: (Unsupported by system environment)
[2023-10-25 16:21:39.179909]  mirserver: Found display driver: mir:egl-generic (version 2.15.0)
[2023-10-25 16:21:39.179973]  mirserver: Found display driver: throw-on-creation (version 2.15.0)
[2023-10-25 16:21:39.179989]  mirserver: Driver supports:
[2023-10-25 16:21:39.179996]  mirserver:   System (priority 0)
[2023-10-25 16:21:39.180018]  mirserver: Found display driver: mir:stub-graphics (version 2.15.0)
[2023-10-25 16:21:39.180027]  mirserver: Driver supports:
[2023-10-25 16:21:39.180034]  mirserver:   System (priority 1)
[2023-10-25 16:21:39.180101]  mirserver: Selected display driver: mir:gbm-kms (version 2.15.0) for device ((null): /dev/dri/card1)
[2023-10-25 16:21:39.209435]  mirserver: Selected display driver: mir:gbm-kms (version 2.15.0) for device ((null): /dev/dri/card0)
[2023-10-25 16:21:39.221837]  mircommon: Loading modules from: ./bin/../lib/server-modules/
[2023-10-25 16:21:39.221934]  mircommon: Loading module: ./bin/../lib/server-modules/server-x11.so.20
[2023-10-25 16:21:39.221956]  mircommon: Loading module: ./bin/../lib/server-modules/graphics-gbm-kms.so.20
[2023-10-25 16:21:39.221970]  mircommon: Loading module: ./bin/../lib/server-modules/server-virtual.so.20
[2023-10-25 16:21:39.221984]  mircommon: Loading module: ./bin/../lib/server-modules/graphics-eglstream-kms.so.20
[2023-10-25 16:21:39.222000]  mircommon: Loading module: ./bin/../lib/server-modules/graphics-wayland.so.20
[2023-10-25 16:21:39.222016]  mircommon: Loading module: ./bin/../lib/server-modules/renderer-egl-generic.so.20
[2023-10-25 16:21:39.222030]  mircommon: Loading module: ./bin/../lib/server-modules/input-evdev.so.8
[2023-10-25 16:21:39.222043]  mircommon: Loading module: ./bin/../lib/server-modules/graphics-throw.so
[2023-10-25 16:21:39.222056]  mircommon: Loading module: ./bin/../lib/server-modules/input-stub.so
[2023-10-25 16:21:39.223544]  mircommon: Loading module: ./bin/../lib/server-modules/graphics-dummy.so
[2023-10-25 16:21:39.223589]  mirserver: Found rendering driver: mir:x11 (version 2.15.0)
[2023-10-25 16:21:39.223641]  mirserver: Found rendering driver: mir:gbm-kms (version 2.15.0)
[2023-10-25 16:21:39.223657] < - debug - > gbm-kms: GBM-capable display found
[2023-10-25 16:21:39.226173] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card1, driver nouveau
[2023-10-25 16:21:39.226441] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2023-10-25 16:21:39.226584] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2023-10-25 16:21:39.226724] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2023-10-25 16:21:39.226863] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2023-10-25 16:21:39.227007] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2023-10-25 16:21:39.227181] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/renderD129, driver nouveau
[2023-10-25 16:21:39.259519] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card0, driver i915
[2023-10-25 16:21:39.259764] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2023-10-25 16:21:39.259996] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2023-10-25 16:21:39.260217] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2023-10-25 16:21:39.260394] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2023-10-25 16:21:39.260635] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/renderD128, driver i915
[2023-10-25 16:21:39.269872]  mirserver: Driver supports:
[2023-10-25 16:21:39.269892]  mirserver:   /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/renderD129 (priority 256)
[2023-10-25 16:21:39.269898]  mirserver:   /devices/pci0000:00/0000:00:02.0/drm/renderD128 (priority 256)
[2023-10-25 16:21:39.269914]  mirserver: Found rendering driver: mir:virtual (version 2.15.0)
[2023-10-25 16:21:39.269989]  mirserver: Found rendering driver: mir:eglstream-kms (version 2.15.0)
[2023-10-25 16:21:39.280155]  eglstream: EGLDevice found but unsuitable. Missing extension EGL_KHR_stream_consumer_gltexture
[2023-10-25 16:21:39.280168]  eglstream: EGLDevice found but unsuitable. Missing extension EGL_NV_stream_attrib
[2023-10-25 16:21:39.310051]  eglstream: EGLDevice found but unsuitable. Missing extension EGL_KHR_stream_consumer_gltexture
[2023-10-25 16:21:39.310066]  eglstream: EGLDevice found but unsuitable. Missing extension EGL_NV_stream_attrib
[2023-10-25 16:21:39.310595] < - debug - > eglstream: Failed to find kernel device for EGLDevice: Failed to determine DRM device node path from EGLDevice: EGL_BAD_PARAMETER (0x300c)
[2023-10-25 16:21:39.310608] < - debug - > eglstream: EGLDeviceEXTs found, but none are suitable for Mir
[2023-10-25 16:21:39.310618]  mirserver: Driver supports:
[2023-10-25 16:21:39.310627]  mirserver:   /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 (priority 0)
[2023-10-25 16:21:39.310648]  mirserver:   /devices/pci0000:00/0000:00:02.0/drm/card0 (priority 0)
[2023-10-25 16:21:39.310665]  mirserver: Found rendering driver: mir:wayland (version 2.15.0)
[2023-10-25 16:21:39.310722]  mirserver: Found rendering driver: mir:egl-generic (version 2.15.0)
[2023-10-25 16:21:39.310748]  mirserver: Driver supports:
[2023-10-25 16:21:39.310755]  mirserver:   System (priority 0)
[2023-10-25 16:21:39.311215]  mirserver: Found rendering driver: throw-on-creation (version 2.15.0)
[2023-10-25 16:21:39.311242]  mirserver: Driver supports:
[2023-10-25 16:21:39.311248]  mirserver:   System (priority 0)
[2023-10-25 16:21:39.311266]  mirserver: Found rendering driver: mir:stub-graphics (version 2.15.0)
[2023-10-25 16:21:39.311289]  mirserver: Driver supports:
[2023-10-25 16:21:39.311295]  mirserver:   System (priority 1)
[2023-10-25 16:21:39.311475]  mirserver: Selected rendering driver: mir:gbm-kms (version 2.15.0) for device ((null): /dev/dri/renderD129)
[2023-10-25 16:21:39.311601] < - debug - > gbm-kms: Checking whether /dev/dri/renderD129 is the same device as (/dev/dri/card1, /dev/dri/renderD129)...
[2023-10-25 16:21:39.311609] < - debug - > gbm-kms:     ...yup.
[2023-10-25 16:21:39.322747]  mirserver: Selected rendering driver: mir:gbm-kms (version 2.15.0) for device ((null): /dev/dri/renderD128)
[2023-10-25 16:21:39.322871] < - debug - > gbm-kms: Checking whether /dev/dri/renderD128 is the same device as (/dev/dri/card1, /dev/dri/renderD129)...
[2023-10-25 16:21:39.322880] < - debug - > gbm-kms:     ...nope.
[2023-10-25 16:21:39.322945] < - debug - > gbm-kms: Checking whether /dev/dri/renderD128 is the same device as (/dev/dri/card0, /dev/dri/renderD128)...
[2023-10-25 16:21:39.322952] < - debug - > gbm-kms:     ...yup.
[2023-10-25 16:21:39.855062] < -warning- > gbm-kms: Unable to determine the current display mode.
[2023-10-25 16:21:39.855254]  gbm-kms: DRM device details:
[2023-10-25 16:21:39.855292]  gbm-kms: /dev/dri/card1: using driver nouveau [nVidia Riva/TNT/GeForce/Quadro/Tesla/Tegra K1+] (version: 1.3.1 driver date: 20120801)
[2023-10-25 16:21:39.856855]  gbm-kms:     Output: DVI-D-1 (disconnected)
[2023-10-25 16:21:39.918944]  gbm-kms:     Output: DisplayPort-1 (disconnected)
[2023-10-25 16:21:39.982938]  gbm-kms:     Output: DisplayPort-2 (disconnected)
[2023-10-25 16:21:40.050432]  gbm-kms:     Output: HDMI-A-1 (connected)
[2023-10-25 16:21:40.050457]  gbm-kms:             Mode: 1920×[email protected]
[2023-10-25 16:21:40.050465]  gbm-kms:             Mode: 1920×[email protected]
[2023-10-25 16:21:40.050471]  gbm-kms:             Mode: 1920×[email protected]
[2023-10-25 16:21:40.050476]  gbm-kms:             Mode: 1920×[email protected]
[2023-10-25 16:21:40.050496]  gbm-kms:             Mode: 1920×[email protected]
[2023-10-25 16:21:40.050501]  gbm-kms:             Mode: 1920×[email protected]
[2023-10-25 16:21:40.050507]  gbm-kms:             Mode: 1920×[email protected]
[2023-10-25 16:21:40.050529]  gbm-kms:             Mode: 1680×[email protected]
[2023-10-25 16:21:40.050547]  gbm-kms:             Mode: 1280×[email protected]
[2023-10-25 16:21:40.050553]  gbm-kms:             Mode: 1280×[email protected]
[2023-10-25 16:21:40.050572]  gbm-kms:             Mode: 1440×[email protected]
[2023-10-25 16:21:40.050593]  gbm-kms:             Mode: 1280×[email protected]
[2023-10-25 16:21:40.050599]  gbm-kms:             Mode: 1366×[email protected]
[2023-10-25 16:21:40.050621]  gbm-kms:             Mode: 1280×[email protected]
[2023-10-25 16:21:40.050640]  gbm-kms:             Mode: 1152×[email protected]
[2023-10-25 16:21:40.050647]  gbm-kms:             Mode: 1280×[email protected]
[2023-10-25 16:21:40.050653]  gbm-kms:             Mode: 1280×[email protected]
[2023-10-25 16:21:40.050659]  gbm-kms:             Mode: 1280×[email protected]
[2023-10-25 16:21:40.050819]  gbm-kms:             Mode: 1024×[email protected]
[2023-10-25 16:21:40.050826]  gbm-kms:             Mode: 1024×[email protected]
[2023-10-25 16:21:40.051096]  gbm-kms:             Mode: 1024×[email protected]
[2023-10-25 16:21:40.051117]  gbm-kms:             Mode: 832×[email protected]
[2023-10-25 16:21:40.051123]  gbm-kms:             Mode: 800×[email protected]
[2023-10-25 16:21:40.051129]  gbm-kms:             Mode: 800×[email protected]
[2023-10-25 16:21:40.051148]  gbm-kms:             Mode: 800×[email protected]
[2023-10-25 16:21:40.051154]  gbm-kms:             Mode: 800×[email protected]
[2023-10-25 16:21:40.051175]  gbm-kms:             Mode: 720×[email protected]
[2023-10-25 16:21:40.051182]  gbm-kms:             Mode: 720×[email protected]
[2023-10-25 16:21:40.051188]  gbm-kms:             Mode: 720×[email protected]
[2023-10-25 16:21:40.051207]  gbm-kms:             Mode: 640×[email protected]
[2023-10-25 16:21:40.051213]  gbm-kms:             Mode: 640×[email protected]
[2023-10-25 16:21:40.051219]  gbm-kms:             Mode: 640×[email protected]
[2023-10-25 16:21:40.051352]  gbm-kms:             Mode: 640×[email protected]
[2023-10-25 16:21:40.051372]  gbm-kms:             Mode: 720×[email protected]
[2023-10-25 16:21:40.114954]  gbm-kms:     Output: DisplayPort-3 (disconnected)
[2023-10-25 16:21:40.438647] < -warning- > gbm-kms: drmModeCrtcSetGamma failed: Invalid argument
[2023-10-25 16:21:40.460656]  gbm-kms: DRM device details:
[2023-10-25 16:21:40.460690]  gbm-kms: /dev/dri/card0: using driver i915 [Intel Graphics] (version: 1.6.0 driver date: 20201103)
[2023-10-25 16:21:40.464616]  gbm-kms:     Output: HDMI-A-2 (disconnected)
[2023-10-25 16:21:40.468532]  gbm-kms:     Output: HDMI-A-3 (disconnected)
[2023-10-25 16:21:40.468568]  gbm-kms:     Output: DisplayPort-4 (disconnected)
[2023-10-25 16:21:40.472470]  gbm-kms:     Output: HDMI-A-4 (disconnected)
[2023-10-25 16:21:40.491357]  mirserver: Using software cursor
[2023-10-25 16:21:40.492076]  gbm-kms-buffer-allocator: Enabled linux-dmabuf import support
[2023-10-25 16:21:40.493558]  mircommon: Loading modules from: ./bin/../lib/server-modules/
[2023-10-25 16:21:40.493671]  mircommon: Loading module: ./bin/../lib/server-modules/server-x11.so.20
[2023-10-25 16:21:40.493724]  mircommon: Loading module: ./bin/../lib/server-modules/graphics-gbm-kms.so.20
[2023-10-25 16:21:40.493856]  mircommon: Loading module: ./bin/../lib/server-modules/server-virtual.so.20
[2023-10-25 16:21:40.494249]  mircommon: Loading module: ./bin/../lib/server-modules/graphics-eglstream-kms.so.20
[2023-10-25 16:21:40.494281]  mircommon: Loading module: ./bin/../lib/server-modules/graphics-wayland.so.20
[2023-10-25 16:21:40.494292]  mircommon: Loading module: ./bin/../lib/server-modules/renderer-egl-generic.so.20
[2023-10-25 16:21:40.494338]  mircommon: Loading module: ./bin/../lib/server-modules/input-evdev.so.8
[2023-10-25 16:21:40.494610]  mirserver: Selected input driver: mir:evdev-input (version: 2.15.0)
[2023-10-25 16:21:40.495091]  mirserver: Mir version 2.15.0
[2023-10-25 16:21:40.498079]  GLRenderer: EGL vendor: Mesa Project
[2023-10-25 16:21:40.498113]  GLRenderer: EGL version: 1.5
[2023-10-25 16:21:40.498132]  GLRenderer: EGL client APIs: OpenGL OpenGL_ES 
[2023-10-25 16:21:40.498154]  GLRenderer: EGL extensions: EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_IMG_context_priority EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display 
[2023-10-25 16:21:40.498177]  GLRenderer: GL vendor: Intel
[2023-10-25 16:21:40.498184]  GLRenderer: GL renderer: Mesa Intel(R) HD Graphics 530 (SKL GT2)
[2023-10-25 16:21:40.498190]  GLRenderer: GL version: OpenGL ES 3.2 Mesa 23.0.4-0ubuntu1~22.04.1
[2023-10-25 16:21:40.498196]  GLRenderer: GLSL version: OpenGL ES GLSL ES 3.20
[2023-10-25 16:21:40.498283]  GLRenderer: GL extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_AMD_performance_monitor GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_pack_subimage GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_OES_viewport_array GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_robustness GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_debug_label GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch GL_EXT_shader_group_vote GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_INTEL_conservative_rasterization GL_INTEL_performance_query GL_ANDROID_extension_pack_es31a GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_gpu_shader5 GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_render_snorm GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_norm16 GL_EXT_texture_view GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_NV_image_formats GL_NV_shader_noperspective_interpolation GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_gpu_shader5 GL_OES_primitive_bounding_box GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_texture_view GL_EXT_blend_func_extended GL_EXT_buffer_storage GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_shader_samples_identical GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_NV_fragment_shader_interlock GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic GL_EXT_clear_texture GL_EXT_clip_cull_distance GL_EXT_disjoint_timer_query GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_EXT_clip_control GL_EXT_color_buffer_half_float GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_semaphore GL_EXT_semaphore_fd GL_EXT_texture_compression_bptc GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_NV_alpha_to_coverage_dither_control GL_EXT_EGL_image_storage GL_EXT_shader_framebuffer_fetch_non_coherent GL_EXT_texture_shadow_lod GL_INTEL_blackhole_render GL_MESA_framebuffer_flip_y GL_NV_compute_shader_derivatives GL_EXT_demote_to_helper_invocation GL_EXT_depth_clamp GL_EXT_texture_query_lod GL_MESA_bgra 
[2023-10-25 16:21:40.498310]  GLRenderer: GL max texture size = 16384
[2023-10-25 16:21:40.499575]  GLRenderer: GL framebuffer bits: RGBA=8888, depth=0, stencil=0
[2023-10-25 16:21:40.536553]  mirserver: Initial display configuration:
[2023-10-25 16:21:40.536824]  mirserver: * Output 1: DVI-D disconnected
[2023-10-25 16:21:40.536869]  mirserver: * Output 2: DisplayPort disconnected
[2023-10-25 16:21:40.536875]  mirserver: * Output 3: DisplayPort disconnected
[2023-10-25 16:21:40.536881]  mirserver: * Output 4: HDMI-A connected, used
[2023-10-25 16:21:40.536890]  mirserver: . |_ EDID monitor name: VG248
[2023-10-25 16:21:40.537324]  mirserver: . |_ EDID manufacturer: ACI
[2023-10-25 16:21:40.537624]  mirserver: . |_ EDID product code: 9381
[2023-10-25 16:21:40.538333]  mirserver: . |_ Physical size 24.0" 530x300mm
[2023-10-25 16:21:40.538343]  mirserver: . |_ Power is on
[2023-10-25 16:21:40.538364]  mirserver: . |_ Current mode 1920x1080 60.00Hz
[2023-10-25 16:21:40.538402]  mirserver: . |_ Preferred mode 1920x1080 60.00Hz
[2023-10-25 16:21:40.538407]  mirserver: . |_ Orientation normal
[2023-10-25 16:21:40.538415]  mirserver: . |_ Logical size 1920x1080
[2023-10-25 16:21:40.538848]  mirserver: . |_ Logical position +0+0
[2023-10-25 16:21:40.538857]  mirserver: . |_ Scaling factor: 1.00
[2023-10-25 16:21:40.539324]  mirserver: * Output 5: DisplayPort disconnected
[2023-10-25 16:21:40.539332]  mirserver: * Output 6: HDMI-A disconnected
[2023-10-25 16:21:40.539337]  mirserver: * Output 7: HDMI-A disconnected
[2023-10-25 16:21:40.539342]  mirserver: * Output 8: DisplayPort disconnected
[2023-10-25 16:21:40.539382]  mirserver: * Output 9: HDMI-A disconnected
[2023-10-25 16:21:43.374256] < -warning- > mirserver: wl_surface@11 destroyed before associated role
^C[2023-10-25 16:21:56.059889] < - debug - > mirserver: Handling Interrupt from pid=0
[2023-10-25 16:21:56.062304] < -warning- > mirserver: wl_surface@9 destroyed before associated role

@mattkae mattkae added the bug label Oct 25, 2023
@mattkae mattkae changed the title miral-shell gets very wacky sometimes on my Nvidia setup using Nouveau drivers miral-shell gets very wacky sometimes on my Nvidia setup using both Nouveau and Nvidia drivers Oct 25, 2023
@mattkae mattkae changed the title miral-shell gets very wacky sometimes on my Nvidia setup using both Nouveau and Nvidia drivers miral-shell gets very wacky sometimes on my Nvidia setup using either Nouveau or Nvidia drivers Oct 25, 2023
@Saviq
Copy link
Collaborator

Saviq commented Oct 26, 2023

@mattkae can you confirm this didn't happen for you on main before #3067?

@mattkae
Copy link
Contributor Author

mattkae commented Oct 26, 2023

@Saviq It does happen before then as well 👍

@mattkae
Copy link
Contributor Author

mattkae commented Oct 26, 2023

This is better than we were in v2.15 of mir. On my system, nouveau drivers can barely render anything at all, while the proprietary drivers crash.

@Fuseteam
Copy link

could this also be related to the recently touted "explicit sync" (linux-drm-syncobj-v1) support?

@mattkae
Copy link
Contributor Author

mattkae commented Jun 3, 2024

could this also be related to the recently touted "explicit sync" (linux-drm-syncobj-v1) support?

I am unsure, although I no longer see this. I wonder if it was just because we were selecting the graphics platform poorly in the past.

@Saviq
Copy link
Collaborator

Saviq commented Jun 3, 2024

Mir doesn't support that protocol (yet), so unlikely to have impact.

@mattkae
Copy link
Contributor Author

mattkae commented Jun 3, 2024

I will close since I no longer see this and this issue was from very long ago

@mattkae mattkae closed this as completed Jun 3, 2024
@Fuseteam
Copy link

Fuseteam commented Jun 4, 2024

Mir doesn't support that protocol (yet), so unlikely to have impact.

should i make a separate issue for eventual support? it seems relevant for the usecases of lomiri, miraclewm and miriway

@Saviq
Copy link
Collaborator

Saviq commented Jun 4, 2024

Done:

@Fuseteam
Copy link

Fuseteam commented Jun 4, 2024

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants