Bug 108708 - mesa 18.1.9 segfault at 68 ip with spectacle via USB-C screen
Summary: mesa 18.1.9 segfault at 68 ip with spectacle via USB-C screen
Status: NEEDINFO
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: 18.1
Hardware: Other All
: medium normal
Assignee: Intel 3D Bugs Mailing List
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-11 07:09 UTC by Ladislav Jecvh
Modified: 2018-12-25 14:28 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ladislav Jecvh 2018-11-11 07:09:04 UTC
I experience failing Spectacle app with segfault on i965 driver.

STEPS TO REPRODUCE
1. Connect external monitor via USB-C
2. Let spectacle main window be located on either primary or secondary screen
3. Click "Take a New Screenshot"

OBSERVED RESULT
Spectacle just shutdown silently. There is no error visible in Xorg.0.log neither in messages. But I see in dmesg output:
[ 1256.092610] spectacle[22229]: segfault at 68 ip 00007fc5650e2d1b sp 00007ffe65f637c0 error 4 in i965_dri.so[7fc564cd2000+7ef000]

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.13.5 (-r3 but I think it is internal Gentoo patch release)
KDE Frameworks Version: 5.50.0
Qt Version: 5.11.1

I plan to upgrade to latest Mesa although marked as UNSTABLE in Gentoo tree.
Comment 1 Denis 2018-11-12 16:12:52 UTC
Hi. What about hardware in use? 

In my case I have laptop with KBL cpu (HD 620 graphics) which was usb-c, so tomorrow can try to reproduce this on it and ubuntu+kde.
Comment 2 Ladislav Jecvh 2018-11-13 06:29:15 UTC
Ok, good catch, I have Dell XPS 9550 with i7-6700HQ (Skylake-H) with 
Intel® HD Graphics 530
Comment 3 Denis 2018-11-13 13:53:56 UTC
Hi again. Unfortunately looks like my laptop doesn't support alternate mode for type-C, so I couldn't connect monitor via it :(

But still, I checked your case on KBL laptop (HD620) and SKL laptop (HD520) - with DisplayPort and HDMI cables (mesa 18.1.9, 19.0.0 from git).
It works fine for me.

So somebody who has possibility to use usb-c for monitor connection, please try to reproduce it.

Also, Ladislav, did you try regular cable, HDMI or DisplayPort? Did it work fine for you? (just to be sure, that the issue really relates to the usb-c connection).
_________
Kernels in use - 4.15 and 4.18 (on KBL only)
systems - ubuntu 16.04 and 18.04
Plasma-desktop latest from repo.
Comment 4 Ladislav Jecvh 2018-11-15 05:31:49 UTC
Sure, I will test with other cable, hdmi for example. Good point.
Comment 5 Denis 2018-12-25 11:14:05 UTC
Ladislav, did you have a chance to check another cables? Interesting to see the result here. Thanks
Comment 6 Ladislav Jecvh 2018-12-25 14:28:43 UTC
Sure not, but I think about it :-) Think is I have at moment USB-C only monitor, no HDMI neither Display port, but thx for reminder I will pack my cables and will try some monitor unit in office...


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.