[Bug 1122807] New: segfault using multiple monitors
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807 Bug ID: 1122807 Summary: segfault using multiple monitors Classification: openSUSE Product: openSUSE.org Version: unspecified Hardware: 64bit OS: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Bugzilla Assignee: bnc-team-screening@forge.provo.novell.com Reporter: iosolutions@mail.com QA Contact: novbugzilla-bugs@forge.provo.novell.com Found By: --- Blocker: --- Using opensuse 15.0 with all the latest update as of 22/01/2019 -- Use the system setting application, submenu display and monitor. configuring two screen will work provided both screens are horizontal. -- I can set the secondary screen to the left of the primary screen I can set the secondary screen to the right of the primary screen I can set the secondary screen upside down All of these configurations work. -- setting the secondary screen to 90 degrees clockwise or anti clockwise will cause a segfault. This is a copy of dmesg -- [ 504.005716] nouveau 0000:04:00.0: disp: 0x00005e5a[0]: INIT_GENERIC_CONDITON: unknown 0x07 [ 619.881711] nouveau 0000:04:00.0: disp: 0x00005e5a[0]: INIT_GENERIC_CONDITON: unknown 0x07 [ 620.277276] snd_hda_codec_hdmi hdaudioC2D0: HDMI: invalid ELD data byte 29 [ 620.282650] nouveau 0000:04:00.0: disp: 0x00005e5a[0]: INIT_GENERIC_CONDITON: unknown 0x07 [ 620.305252] snd_hda_codec_hdmi hdaudioC2D0: HDMI: invalid ELD data byte 0 [ 730.011188] kscreen_backend[4880]: segfault at 10 ip 00007fa7169a0788 sp 00007fff50397ae0 error 4 in KSC_XRandR.so[7fa716987000+22000] [ 730.266185] nouveau 0000:04:00.0: disp: 0x00005e5a[0]: INIT_GENERIC_CONDITON: unknown 0x07 [ 808.679954] kscreen_backend[5197]: segfault at 10 ip 00007f3b6a9a0788 sp 00007ffe99f2aae0 error 4 in KSC_XRandR.so[7f3b6a987000+22000] [ 808.923487] nouveau 0000:04:00.0: disp: 0x00005e5a[0]: INIT_GENERIC_CONDITON: unknown 0x07 [ 1218.564350] nouveau 0000:04:00.0: disp: 0x00005e5a[0]: INIT_GENERIC_CONDITON: unknown 0x07 [ 1416.687562] kscreen_backend[6069]: segfault at 10 ip 00007f1ed2957788 sp 00007ffc37405070 error 4 in KSC_XRandR.so[7f1ed293e000+22000] [ 1417.012521] nouveau 0000:04:00.0: disp: 0x00005e5a[0]: INIT_GENERIC_CONDITON: unknown 0x07 [ 1512.263839] kscreen_backend[7591]: segfault at 10 ip 00007f48ae0d6788 sp 00007ffdfbd2dae0 error 4 in KSC_XRandR.so[7f48ae0bd000+22000] [ 1512.580145] nouveau 0000:04:00.0: disp: 0x00005e5a[0]: INIT_GENERIC_CONDITON: unknown 0x07 -- This has occurred on opensuse 42.0 onwards but by using xrendering as the compositor, I was able to have one screen at 90 degress to the other -- I have now upgraded to a 2560X1440 monitor and all combinations of the compositor result in a segfault -- I have tried opensuse using gnome, and enlightenment and I am able to have a screen at 90 degrees. So I am under the opinion that this is related to nouveau. -- I am able to test patches if you wish. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807#c1
Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807#c2
--- Comment #2 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807#c3
--- Comment #3 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807#c4
--- Comment #4 from chris reid
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807#c5
--- Comment #5 from chris reid
I cannot reproduce with G84, modesetting, and rotate secondary left to right of primary:
-------- | | | |__________________ | || | | 2 || | | || 1 | | || | --------___________________ The main screen(1) is 2560 x1440 and horizontal The secondary screen(2) 1920x1080 and is vertical (90 degrees) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807#c6
--- Comment #6 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807#c7
--- Comment #7 from chris reid
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807#c8
--- Comment #8 from Felix Miata
I still feel the problem is monitor 2 is in portrait mode and monitor 1 is landscape mode, using the printing terminology.
That's how I tested (rotate left), on either side of primary (landscape, not rotated).
...debug version of nouveau...
Nouveau is a generic term that applies to multiple "layers": 1-Kernel module: (not a separate package, though it can be blacklisted) 2-X foundational: xf86-video-nouveau 3-Other X: Mesa, drm, vdpau, more(?) #2 is old technology. Did your testing of "more variants" include the newer technology, aka modesetting, which is not a separate package? Did "more variants" include compositing disabled? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807#c9
--- Comment #9 from chris reid
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807#c10
--- Comment #10 from Felix Miata
With limited knowledge of the interaction of each component I feel tackling the current software in opensuse 15.0 is my best approach.
Feel free to attack problems in any manner you choose. Note that "current" has included the modesetting driver since 42.1 was in beta testing nearly three years ago, as it has been and is automatically used by default when supported by the hardware and optional software such as xf86-video-nouveau is not installed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807#c12
--- Comment #12 from chris reid
gdb -c ./core.kscreen_backend.3196 GNU gdb (GDB; openSUSE Leap 15.0) 8.2 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-suse-linux". Type "show configuration" for configuration details. For bug reporting instructions, please see: http://bugs.opensuse.org/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word".
[New LWP 3196]
[New LWP 3197]
[New LWP 3198]
Missing separate debuginfo for the main executable file
Try: zypper install -C
"debuginfo(build-id)=4c942587962af5f256486ed34247378652f5e330"
Core was generated by `/usr/local/lib64/libexec/kf5/kscreen_backend_launcher'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000000000002108d in ?? ()
[Current thread is 1 (LWP 3196)]
(gdb) bt
#0 0x000000000002108d in ?? ()
#1 0x00007f854bdd7bff in ?? ()
#2 0x0000000000000000 in ?? ()
(gdb) symbol-file libKF5Screen.so
Reading symbols from libKF5Screen.so...done.
(gdb) bt
#0 0x000000000002108d in QMap
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807#c13
--- Comment #13 from Fabian Vogt
I tried to attach the coredump but it was rejected for being too large. The backtrace is not much help
Indeed. Coredumps are somehow not relocated properly. Is there anything useful in the journal? Do you get the drkonqi crash report window? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807#c14
--- Comment #14 from chris reid
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807#c15
--- Comment #15 from Fabian Vogt
When it segfaults, I lose the screen completely and then I'm back to login screen
Ok, so it's not just the kscreen segfault. That would just cause the configuration to not get applied.
Nothing useful in dmesg, no journal just a core dump, and no crash window.
Can you provide the sudo journalctl output at the time of the crash? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807#c16
--- Comment #16 from chris reid
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807#c17
--- Comment #17 from Fabian Vogt
Created attachment 795382 [details] journctl output
There is some extra debug I have added to xrandr library You will see it in the output I added it in the hope of entering a function and not leaving it, to find the problem. toKScreenScreen //is entering function toKScreenScreen toKScreenScreenEOF // is existing function toKScreenScreen But again there was nothing useful, And it did not change the bug.
I don't see any crash in there, is anything useful in ~/.local/share/sddm./xorg-session.log or /var/log/Xorg.0.log(.old)? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807#c18
--- Comment #18 from chris reid
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807#c20
--- Comment #20 from chris reid
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807
http://bugzilla.opensuse.org/show_bug.cgi?id=1122807#c21
--- Comment #21 from chris reid
participants (1)
-
bugzilla_noreply@novell.com