[nouveau] xmir black window (mesa 11.0.0) and/or freezing and kernel errors
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Mir |
Invalid
|
Undecided
|
Unassigned | |
| | linux (Ubuntu) |
High
|
Unassigned | ||
| | mir (Ubuntu) |
Undecided
|
Unassigned | ||
Bug Description
wily/unity8/mir
i'm trying to run some x11 apps on unity8/mir but i get a black window, the window size looks right, tested with geany, firefox, etc (windows size is diff depending on the app). tried every Xmir arg no luck
i don't see any warnings or error messages
glamor EGL version: 1.4 (DRI2)
glamor EGL extensions: EGL_EXT_buffer_age EGL_EXT_
glamor GL version: 3.0 Mesa 11.0.0
glamor GL extensions: GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_
glamor GLSL version: 1.30
[DRI2] Setup complete
[DRI2] DRI driver: nouveau
[DRI2] VDPAU driver: nouveau
Resize requested to 1008x728
| dinamic (dinamic6661) wrote : | #1 |
| Daniel van Vugt (vanvugt) wrote : | #3 |
BTW, you may get more success disabling the DRI acceleration that is enabled by default:
Xmir :0 -sw -damage ...
| dinamic (dinamic6661) wrote : | #4 |
uuuu new stuff :D can't wait
i think there is something wrong with nouveau/mesa 11.0.0, i get all sort of crashes after the last mesa landed
webbrowser-app
qml: Loaded 3 UA override(s) from file://
nouveau: kernel rejected pushbuf: No such file or directory
nouveau: ch0: krec 0 pushes 0 bufs 1 relocs 0
nouveau: ch0: buf 00000000 00000002 00000004 00000004 00000000
nouveau: kernel rejected pushbuf: No such file or directory
nouveau: ch0: krec 0 pushes 2 bufs 25 relocs 0
nouveau: ch0: buf 00000000 00000003 00000004 00000004 00000000
nouveau: kernel rejected pushbuf: No such file or directory
nouveau: ch0: krec 0 pushes 0 bufs 6 relocs 0
nouveau: ch0: buf 00000000 00000003 00000004 00000004 00000000
nouveau: ch0: buf 00000001 00000006 00000004 00000000 00000004
Segmentation fault (core dumped)
https:/
and kern.log
Sep 25 12:38:13 pixel-MS-7369 kernel: [ 58.943435] ibus-ui-gtk3[1493]: segfault at 31 ip 00007f78664b8bef sp 00007ffd355e2ab0 error 4 in libX11.
Sep 25 12:38:14 pixel-MS-7369 kernel: [ 59.809015] system-
Sep 25 12:42:14 pixel-MS-7369 kernel: [ 300.444656] nouveau E[Mir/IPC[1950]] Unknown handle 0x0000003c
Sep 25 12:42:14 pixel-MS-7369 kernel: [ 300.444688] nouveau E[Mir/IPC[1950]] validate_init
Sep 25 12:42:14 pixel-MS-7369 kernel: [ 300.444691] nouveau E[Mir/IPC[1950]] validate: -2
Sep 25 12:42:39 pixel-MS-7369 kernel: [ 324.756860] nouveau E[Mir/IPC[1950]] Unknown handle 0x0000002c
Sep 25 12:42:39 pixel-MS-7369 kernel: [ 324.756891] nouveau E[Mir/IPC[1950]] validate_init
Sep 25 12:42:39 pixel-MS-7369 kernel: [ 324.756894] nouveau E[Mir/IPC[1950]] validate: -2
Sep 25 12:42:39 pixel-MS-7369 kernel: [ 324.757819] QSGRenderThread
Sep 25 12:42:39 pixel-MS-7369 kernel: [ 324.757819] Chrome_
Sep 25 12:42:39 pixel-MS-7369 kernel: [ 324.757832] in nouveau_
Sep 25 12:45:59 pixel-MS-7369 kernel: [ 524.621973] nouveau E[ PGRAPH]
Sep 25 12:45:59 pixel-MS-7369 kernel: [ 524.621986] nouveau E[ PGRAPH]
Sep 25 12:45:59 pixel-MS-7369 kernel: [ 524.621993] nouveau E[ PGRAPH]
Sep 25 12:45:59 pixel-MS-7369 kernel: [ 524.622002] nouveau E[ PFB][0000:04:00.0] trapped read at 0x002036c000 on channel 0x0000f939 [Mir/IPC[2393]] PGRAPH/
Sep 25 12:45:59 pixel-MS-7369 kernel: [ 524.622014] nouveau E[ PGRAPH]
Sep 25 12:45:59 pixel-MS-7369 kernel: [ 524.622019] nouveau E[ PGRAPH]
Sep 25 12:45:59 pixel-MS-7369 kernel: [...
| dinamic (dinamic6661) wrote : | #5 |
with Xmir :0 -sw -damage i occasionally see some random pixels when i resize the window X-) but that's that, still black. for now i'll probably start bugging the nouveau people :D
| Daniel van Vugt (vanvugt) wrote : | #6 |
I would not bug nouveau people till us Xmir/Mir people have investigated first.
| Changed in xorg-server (Ubuntu): | |
| importance: | Undecided → High |
| Daniel van Vugt (vanvugt) wrote : | #7 |
I get similarly broken behaviour using Unity8 on nouveau:
nouveau: kernel rejected pushbuf: Device or resource busy
And worse messages appear in the dmesg kernel log. So nouveau is very broken. Nothing new there.
I do find it works better using Xmir -sw. Both geany and firefox start and are visible. However resizing the root window is indeed very buggy with "random pixels". Those random pixels are not specific to nouveau though as you get the same issue with intel graphics.
So you've actually found three separate bugs here and we need to break this one up:
* Confirmed: nouveau is very unstable, freezes the screen and hangs the system.
* Confirmed: resizing the root window in Xmir is very buggy -> bug 1417541
* Unconfirmed: black window (my system usually hangs completely instead)
| Changed in mir: | |
| status: | New → Invalid |
| Changed in mir (Ubuntu): | |
| status: | New → Invalid |
| Daniel van Vugt (vanvugt) wrote : | #8 |
Sadly, I must recommend you switch to Intel graphics for now. There's no telling when or if nouveau will ever be stable.
| Changed in xorg-server (Ubuntu): | |
| status: | New → Confirmed |
| summary: |
- xmir black window (mesa 11.0.0) + [nouveau] xmir black window (mesa 11.0.0) and/or freezing and kernel + errors |
| Daniel van Vugt (vanvugt) wrote : | #9 |
To clarify: All hope is not lost for nouveau. Nouveau works and it works fine with Mir in general. And mostly fine with Unity8 too. Nouveau is only unusable with Xmir in the default DRI mode.
You can avoid that problem however using -sw mode, and you can avoid the resizing issues using -rootless but only after the new xmir with working rootless gets released. Once that happens you've mostly only got general Unity8 bugs to deal with and can then use:
Xmir :0 -sw -rootless -flatten
So please wait for the new Xmir to be released and let us know how that goes.
| Daniel van Vugt (vanvugt) wrote : | #10 |
Xmir stability has improved a lot since I tested this last. Need to retest nvidia hardware again...
| dinamic (dinamic6661) wrote : | #11 |
hi Daniel, i'm on Xenial now. i still get the black window, i'll wait for more updates :D maybe something will change. here's a screenshot http://
for my sanity... maybe i'm doing something wrong.. so to launch an X11 apps on Xmir, "Xmir :0 --desktop_
the web browser still crashes but the core apps seems to work
| dinamic (dinamic6661) wrote : | #12 |
the new xmir is not released yet (i'm not on xenial proposed yet), but i'll try "Xmir :0 -sw -rootless -flatten" when it lands
| Daniel van Vugt (vanvugt) wrote : | #13 |
Unfortunately even xenial still contains the old Xmir code, so you've got a lot to look forward to when the new code eventually arrives.
| Daniel van Vugt (vanvugt) wrote : | #14 |
Reassigning this bug to the kernel. AFAIK the only problem that was in Xmir itself was resolved as bug 1417541.
The remaining issues, while severe, are general nouveau driver/kernel issues.
| affects: | xorg-server (Ubuntu) → linux (Ubuntu) |
| dinamic (dinamic6661) wrote : | #15 |
Hello daniel, a new xmir landed. I get the same black window but the previous bugs arr gone resizing and random pixels. When i run with rootless flatten i get the loading animations spinning into a loop but nothing happens next.
| dinamic (dinamic6661) wrote : | #16 |
The browser still crashes and i get nouveau errors so i.ll wait for future nouveau updates


dinamic,
Thanks for testing this. We'll have to do some more nvidia testing in the near future.
In the mean time, a major Xmir update is coming soon to wily. Stay tuned and watch for updates... /launchpad. net/ubuntu/ +source/ xorg-server
https:/
I'm not saying that will definitely fix this bug, but a lot has changed and it's not yet released.