Mir-on-X rendering is corrupt for dual GPU systems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Confirmed
|
Wishlist
|
Unassigned | ||
mir (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Running mir-on-x mir_demo_server results in corruption when running mir_demo_
Startup log:
[2017-03-14 09:08:11.917539] x11-display: Screen resolution = 1920x1080
[2017-03-14 09:08:11.917564] x11-display: ... is smaller than the requested size (1280x1024) plus border (150). Clipping to (1770x930).
[2017-03-14 09:08:11.922752] x11-display: 1 visual(s) found
[2017-03-14 09:08:11.922763] x11-display: Using the first one :
[2017-03-14 09:08:11.922777] x11-display: ID : 33
[2017-03-14 09:08:11.922780] x11-display: screen : 0
[2017-03-14 09:08:11.922784] x11-display: depth : 24
[2017-03-14 09:08:11.922787] x11-display: red_mask : 0xFF0000
[2017-03-14 09:08:11.922790] x11-display: green_mask : 0xFF00
[2017-03-14 09:08:11.922805] x11-display: blue_mask : 0xFF
[2017-03-14 09:08:11.922809] x11-display: colormap_size : 256
[2017-03-14 09:08:11.922812] x11-display: bits_per_rgb : 8
[2017-03-14 09:08:12.074043] mirserver: Using software cursor
[2017-03-14 09:08:12.115520] mirserver: Selected input driver: mir:x11-input (version: 0.27.0)
[2017-03-14 09:08:12.124136] mirserver: Mir version 0.27.0
[2017-03-14 09:08:12.131270] GLRenderer: EGL vendor: Mesa Project
[2017-03-14 09:08:12.131304] GLRenderer: EGL version: 1.4 (DRI2)
[2017-03-14 09:08:12.131307] GLRenderer: EGL client APIs: OpenGL OpenGL_ES
[2017-03-14 09:08:12.131313] GLRenderer: GL vendor: Intel Open Source Technology Center
[2017-03-14 09:08:12.131329] GLRenderer: GL renderer: Mesa DRI Intel(R) Haswell Mobile
[2017-03-14 09:08:12.131332] GLRenderer: GL version: OpenGL ES 3.1 Mesa 13.0.4
[2017-03-14 09:08:12.131335] GLRenderer: GLSL version: OpenGL ES GLSL ES 3.10
[2017-03-14 09:08:12.131342] GLRenderer: GL max texture size = 16384
[2017-03-14 09:08:12.132097] GLRenderer: GL framebuffer bits: RGBA=8888, depth=0, stencil=0
[2017-03-14 09:08:12.154863] mirserver: Initial display configuration:
[2017-03-14 09:08:12.154915] mirserver: Output 1: unknown connected, used
[2017-03-14 09:08:12.154932] mirserver: Physical size 20.8" 468x245mm
[2017-03-14 09:08:12.154939] mirserver: Power is on
[2017-03-14 09:08:12.154946] mirserver: Current mode 1770x930 60.00Hz
[2017-03-14 09:08:12.154956] mirserver: Preferred mode 1770x930 60.00Hz
[2017-03-14 09:08:12.154963] mirserver: Orientation normal
[2017-03-14 09:08:12.154975] mirserver: Logical size 1770x930
[2017-03-14 09:08:12.154980] mirserver: Logical position +0+0
[2017-03-14 09:08:12.154986] mirserver: Scaling factor: 1.00
Changed in mir: | |
importance: | Undecided → Medium |
summary: |
- Warn users that dual-gpu setups can cause mir-on-x rendering corruption - or driver problems + Mir-on-X rendering is corrupt for dual GPU systems |
tags: | added: visual-quality |
This happens when you have two GPUs. It goes away when you disable one.
Everytime, I log on I do 'echo OFF > /sys/kernel/ debug/vgaswitch eroo/switch' to disable the inactive GPU.