[Bug 60182] X.Org Server terminate when I close video player

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 10 13:00:29 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=60182

--- Comment #21 from Weber K. <weberkai at yahoo.com.br> ---
Hello!
I think I found a workaround!

At this file:
https://github.com/RAOF/xf86-video-ati/blob/master/src/radeon_dri2.c

At line 608:
Changed from:
            xorg_list_for_each_entry(ref, &pClientEventsPriv->reference_list,
link) {
                ref->valid = FALSE;
                radeon_dri2_unref_buffer(ref->front);
                radeon_dri2_unref_buffer(ref->back);
            }

Replaced by:
            xorg_list_for_each_entry(ref, &pClientEventsPriv->reference_list,
link) {
        if (ref->valid) {
                    ref->valid = FALSE;
                    radeon_dri2_unref_buffer(ref->front);
                    radeon_dri2_unref_buffer(ref->back);
        }
            }

I just checked valid before the calls, but I still cannot find what is making
double calls...

Maybe its because I have two boards? Onboard HD4250 e PCIE HD6850?

Thanks!
Weber Kai

bash-4.2# lspci
01:05.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RS880
[Radeon HD 4250]
01:05.1 Audio device: Advanced Micro Devices [AMD] nee ATI RS880 HDMI Audio
[Radeon HD 4200 Series]
02:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Barts
PRO [ATI Radeon HD 6800 Series]
02:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI Barts HDMI Audio
[Radeon HD 6800 Series]

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130910/acc0ac17/attachment.html>


More information about the dri-devel mailing list