bugzilla-daemon at freedesktop.org
2018-Jun-01 19:01 UTC
[Nouveau] [Bug 106772] New: Xorg crashes with nouveau and dual screen setup
https://bugs.freedesktop.org/show_bug.cgi?id=106772
Bug ID: 106772
Summary: Xorg crashes with nouveau and dual screen setup
Product: xorg
Version: unspecified
Hardware: Other
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
Assignee: nouveau at lists.freedesktop.org
Reporter: bircoph at gmail.com
QA Contact: xorg-team at lists.x.org
Created attachment 139910
--> https://bugs.freedesktop.org/attachment.cgi?id=139910&action=edit
gdb.log
Hi!
I tried Nouveau (xorg-dri-nouveau-18.1.0 from mesa 18.1.0 and
xorg-drv-nouveau-1.0.15) with the latest xorg-1.20 and dual monitors. With
single screen and xinerama it works fine, with dual screens (w/o xinerama) it
segfaults, see log below.
I want to use separate X screens, since monitors have sufficiently different
DPI and color temp and Xinerama doesn't allow different DPI on different
monitors.
Kernel in use is 4.6.13 with nouveau built as module.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.freedesktop.org/archives/nouveau/attachments/20180601/b2e21273/attachment.html>
bugzilla-daemon at freedesktop.org
2018-Jun-01 19:01 UTC
[Nouveau] [Bug 106772] Xorg crashes with nouveau and dual screen setup
https://bugs.freedesktop.org/show_bug.cgi?id=106772 --- Comment #1 from Andrew Savchenko <bircoph at gmail.com> --- Created attachment 139913 --> https://bugs.freedesktop.org/attachment.cgi?id=139913&action=edit Full xorg.log -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20180601/0a62d1ec/attachment.html>
bugzilla-daemon at freedesktop.org
2018-Jun-01 19:03 UTC
[Nouveau] [Bug 106772] Xorg crashes with nouveau and dual screen setup
https://bugs.freedesktop.org/show_bug.cgi?id=106772 --- Comment #2 from Andrew Savchenko <bircoph at gmail.com> --- Created attachment 139918 --> https://bugs.freedesktop.org/attachment.cgi?id=139918&action=edit xorg.conf xorg.conf for dual head setup with screens, I tried to remove Option ZaphodHeads and to add Option DRI 3, all attempts results in the same failure as above. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20180601/5ec827d9/attachment.html>
bugzilla-daemon at freedesktop.org
2018-Jun-01 19:04 UTC
[Nouveau] [Bug 106772] Xorg crashes with nouveau and dual screen setup
https://bugs.freedesktop.org/show_bug.cgi?id=106772 --- Comment #3 from Andrew Savchenko <bircoph at gmail.com> --- Created attachment 139922 --> https://bugs.freedesktop.org/attachment.cgi?id=139922&action=edit lspci lspci -v output for the VGA device -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20180601/56a2716c/attachment.html>
bugzilla-daemon at freedesktop.org
2018-Jun-01 19:04 UTC
[Nouveau] [Bug 106772] Xorg crashes with nouveau and dual screen setup
https://bugs.freedesktop.org/show_bug.cgi?id=106772 --- Comment #4 from Andrew Savchenko <bircoph at gmail.com> --- Created attachment 139924 --> https://bugs.freedesktop.org/attachment.cgi?id=139924&action=edit xrandr output -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20180601/b1fd503d/attachment.html>
bugzilla-daemon at freedesktop.org
2018-Jun-01 20:55 UTC
[Nouveau] [Bug 106772] Xorg crashes with nouveau and dual screen setup
https://bugs.freedesktop.org/show_bug.cgi?id=106772 --- Comment #5 from Keith Packard <keithp at keithp.com> --- Looks like Nouveau still parties like it's 1999. I don't think more recent drivers do mode setting this early. However, it's easy enough to handle this case by simply skipping the RRCrtcIsLeased and RROutputIsLeased calls when the respective DIX objects haven't been created yet. Here's a patch which simply wraps those functions in xf86 code that checks for NULL pointers before calling the DIX code. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20180601/2e9f7743/attachment.html>
bugzilla-daemon at freedesktop.org
2018-Jun-01 20:56 UTC
[Nouveau] [Bug 106772] Xorg crashes with nouveau and dual screen setup
https://bugs.freedesktop.org/show_bug.cgi?id=106772 --- Comment #6 from Keith Packard <keithp at keithp.com> --- Created attachment 139958 --> https://bugs.freedesktop.org/attachment.cgi?id=139958&action=edit xfree86: Wrap RRCrtcIsLeased and RROutputIsLeased to check for DIX structures -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20180601/fa80d3f1/attachment-0001.html>
bugzilla-daemon at freedesktop.org
2018-Jul-13 09:52 UTC
[Nouveau] [Bug 106772] Xorg crashes with nouveau and dual screen setup
https://bugs.freedesktop.org/show_bug.cgi?id=106772 --- Comment #7 from Mariusz Białończyk <manio at skyboo.net> --- Hello Keith, I suffer from the same problem - crash on startup. The backtrace is identical (attaching). The circumstances are the same - I have four monitors with two nvidia cards using nouveau driver. I am using xinerama. After applying your patch the backtrace is different: double free or corruption (!prev) (EE) (EE) Backtrace: (EE) 0: /usr/lib/xorg/Xorg (xorg_backtrace+0x4a) [0x5637ad9347da] (EE) 1: /usr/lib/xorg/Xorg (0x5637ad780000+0x1b8489) [0x5637ad938489] (EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7efc039f4000+0x11f50) [0x7efc03a05f50] (EE) 3: /lib/x86_64-linux-gnu/libc.so.6 (gsignal+0x10b) [0x7efc0366ee7b] (EE) 4: /lib/x86_64-linux-gnu/libc.so.6 (abort+0x151) [0x7efc03670231] (EE) 5: /lib/x86_64-linux-gnu/libc.so.6 (0x7efc0363a000+0x777b7) [0x7efc036b17b7] (EE) 6: /lib/x86_64-linux-gnu/libc.so.6 (0x7efc0363a000+0x7dd5a) [0x7efc036b7d5a] (EE) 7: /lib/x86_64-linux-gnu/libc.so.6 (0x7efc0363a000+0x7f81c) [0x7efc036b981c] (EE) 8: /usr/lib/xorg/Xorg (PanoramiXCreateConnectionBlock+0x20a) [0x5637ad87f98a] (EE) 9: /usr/lib/xorg/Xorg (0x5637ad780000+0x609e1) [0x5637ad7e09e1] (EE) 10: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xe7) [0x7efc0365ba87] (EE) 11: /usr/lib/xorg/Xorg (_start+0x2a) [0x5637ad7ca6ca] Attaching a full log. regards, manio -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20180713/c62be865/attachment.html>
bugzilla-daemon at freedesktop.org
2018-Jul-13 09:53 UTC
[Nouveau] [Bug 106772] Xorg crashes with nouveau and dual screen setup
https://bugs.freedesktop.org/show_bug.cgi?id=106772 --- Comment #8 from Mariusz Białończyk <manio at skyboo.net> --- Created attachment 140621 --> https://bugs.freedesktop.org/attachment.cgi?id=140621&action=edit backtrace before any patch -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20180713/69d30f04/attachment.html>
bugzilla-daemon at freedesktop.org
2018-Jul-13 09:53 UTC
[Nouveau] [Bug 106772] Xorg crashes with nouveau and dual screen setup
https://bugs.freedesktop.org/show_bug.cgi?id=106772 --- Comment #9 from Mariusz Białończyk <manio at skyboo.net> --- Created attachment 140622 --> https://bugs.freedesktop.org/attachment.cgi?id=140622&action=edit full Xorg log after patching -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20180713/bbbf2263/attachment.html>
bugzilla-daemon at freedesktop.org
2019-Dec-04 09:40 UTC
[Nouveau] [Bug 106772] Xorg crashes with nouveau and dual screen setup
https://bugs.freedesktop.org/show_bug.cgi?id=106772
Martin Peres <martin.peres at free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |MOVED
Status|NEW |RESOLVED
--- Comment #10 from Martin Peres <martin.peres at free.fr> ---
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.
You can subscribe and participate further through the new bug through this link
to our GitLab instance:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/436.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.freedesktop.org/archives/nouveau/attachments/20191204/ac92b916/attachment.html>
Maybe Matching Threads
- [Bug 109230] New: [crash] Xorg is crashing on startup with enabled xinerama
- [Bug 36219] New: Block artifacts with OpenGL rendering on NV4B (G73)
- [PATCH xf86-video-nouveau] Do not register hotplug without RandR
- [PATCH 1/2] drm/nouveau/bios/therm: handle vbioses with duplicate entries (mostly nva5)
- [Bug 90482] New: Xorg take 100% CPU when using multiple independent screen configuration