Bug 90072 - Xorg crashes when Alt-Tabbing on DRI3 and Gallium Nine
Summary: Xorg crashes when Alt-Tabbing on DRI3 and Gallium Nine
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-17 12:23 UTC by Nick Sarnie
Modified: 2019-11-19 07:49 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
xorg backtrace (22.09 KB, text/plain)
2015-04-17 12:23 UTC, Nick Sarnie
no flags Details
wine errors right before xorg crash after alt-tab (8.93 KB, text/plain)
2015-04-17 12:23 UTC, Nick Sarnie
no flags Details
bt with michel's branch (5.03 KB, text/plain)
2015-05-01 13:10 UTC, Nick Sarnie
no flags Details
gdb output (1.04 KB, text/plain)
2015-05-02 00:53 UTC, Nick Sarnie
no flags Details

Description Nick Sarnie 2015-04-17 12:23:10 UTC
Created attachment 115152 [details]
xorg backtrace

Hi guys,

If I Alt-tab out of a game when running DRI3 and Gallium Nine, my Xserver crashes. There is no issue on DRI2. I've attached a backtrace and some relevant WINE messages.

Thanks,
sarnex
Comment 1 Nick Sarnie 2015-04-17 12:23:59 UTC
Created attachment 115153 [details]
wine errors right before xorg crash after alt-tab
Comment 2 Nick Sarnie 2015-04-22 04:11:47 UTC
Hi guys,

Just to note, Xorg does not crash, nor do I get Wine errors if I enable TearFree in my xorg.conf.

Hope this helps,
sarnex
Comment 3 Michel Dänzer 2015-05-01 10:10:01 UTC
Does the current master branch of git://people.freedesktop.org/~daenzer/xf86-video-ati help for this?
Comment 4 Nick Sarnie 2015-05-01 13:09:36 UTC
(In reply to Michel Dänzer from comment #3)
> Does the current master branch of
> git://people.freedesktop.org/~daenzer/xf86-video-ati help for this?

Hi Michel, thanks for your reply.

I still get the crashes with your branch, but I got a much better backtrace using it. I've attached it.

Thanks again,
sarnex
Comment 5 Nick Sarnie 2015-05-01 13:10:07 UTC
Created attachment 115498 [details]
bt with michel's branch
Comment 6 Michel Dänzer 2015-05-01 23:41:05 UTC
When it crashes in damageCopyArea, please provide the output of the following commands in gdb:

p *pGC
p *pGC->pCompositeClip
p *pGC->pCompositeClip->data
Comment 7 Nick Sarnie 2015-05-02 00:53:45 UTC
(In reply to Michel Dänzer from comment #6)
> When it crashes in damageCopyArea, please provide the output of the
> following commands in gdb:
> 
> p *pGC
> p *pGC->pCompositeClip
> p *pGC->pCompositeClip->data

Hi Michel,

I've attached the output.

Hope it helps, sarnex
Comment 8 Nick Sarnie 2015-05-02 00:53:58 UTC
Created attachment 115508 [details]
gdb output
Comment 9 Michel Dänzer 2015-12-25 03:39:45 UTC
Is this still happening with current snapshots of the driver and xserver? If yes, any chance you can run Xorg in valgrind to see if that gives us more information?
Comment 10 Nick Sarnie 2015-12-25 19:13:06 UTC
(In reply to Michel Dänzer from comment #9)
> Is this still happening with current snapshots of the driver and xserver? If
> yes, any chance you can run Xorg in valgrind to see if that gives us more
> information?

Hi Michel,

The Xserver crash doesn't happen anymore, but the games themselves now crash when alt-tabbing with dri3 and no tear free. I get spam from wine about 'err:d3dadapter:PRESENTPixmap FATAL ERROR: Trying to Present a pixmap not released', so maybe the problem is in st/nine or wine.

Thanks,
sarnex
Comment 11 Martin Peres 2019-11-19 07:49:51 UTC
-- 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-ati/issues/126.


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.