[Bug 77053] New: segfault in sna_set_cursor_position with PRIME + opengl compositing
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Apr 4 07:09:52 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=77053
Priority: medium
Bug ID: 77053
Assignee: chris at chris-wilson.co.uk
Summary: segfault in sna_set_cursor_position with PRIME +
opengl compositing
QA Contact: intel-gfx-bugs at lists.freedesktop.org
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: haagch.christoph at googlemail.com
Hardware: All
Status: NEW
Version: git
Component: Driver/intel
Product: xorg
Created attachment 96902
--> https://bugs.freedesktop.org/attachment.cgi?id=96902&action=edit
gdb with bt and bt full
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor
Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Wimbledon XT [Radeon HD 7970M] (rev ff)
mesa, xf86-video-ati and xf86-video-intel from latest git, xorg 1.15 stable.
It only happens in relatively specific circumstances.
I have reproduced it with wine + space engine, wine + furmark (both times with
a virtual 1920x1080 wine desktop) and antichamber (native version from humble
bundle).
With xrender compositing everything is fine. With OpenGL compositing I get this
segfault.
With OpenGL compositing and PRIME there is sometimes this bug:
https://bugs.freedesktop.org/show_bug.cgi?id=69101 (there are multiple issues
described, I am talking about the window content not being rendered initially,
but only after resizing the window/minimizing+restoring etc.). It might or
might not be related but I believe in every instance the crash happened the
initial rendering didn't work. Strangely the usual workaround of minimizing and
restoring a window doesn't seem to "fix" the rendering now.
For wine+space engine this happens every time: I start it with DRI_PRIME=1
GALLIUM_HUD=fps wine SpaceEngine.exe, wait a bit until the menu should be
loaded, but the screen is blank. I hit the shortcut for minimizing the window,
X crashes. This only happens since recently I believe, but I have not yet
investigated since when.
For antichamber it's kind of the opposite, as minimizing works and the crash
happened as soon as I managed to get it to render the contents.
Anyway, attached is "bt" and "bt full" from gdb.
The variable "cursor" is a null pointer.
>From how I see it the cursor variable gets initialized with NULL, but never
set.
It looks like f98b2e164637292c2425f6e6d2c22bd9a2800f8e broke it by removing
cursor = __sna_get_cursor(sna, crtc); among some other changes, so perhaps
this is just some leftover stuff that was forgotten to be changed.
http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=f98b2e164637292c2425f6e6d2c22bd9a2800f8e
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140404/2848c0c0/attachment.html>
More information about the intel-gfx-bugs
mailing list