From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 60182] X.Org Server terminate when I close video player Date: Wed, 11 Sep 2013 04:45:06 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0134394791==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id D2D56E5BF4 for ; Tue, 10 Sep 2013 21:45:05 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0134394791== Content-Type: multipart/alternative; boundary="1378874705.d15a0.26939"; charset="us-ascii" --1378874705.d15a0.26939 Date: Wed, 11 Sep 2013 04:45:05 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=60182 --- Comment #27 from Weber K. --- I think Ive got it! :) Changed this file: https://github.com/RAOF/xf86-video-ati/blob/master/src/radeon_dri2.c Line 1404 from: AddCallback(&ClientStateCallback, radeon_dri2_client_state_changed, 0); Replaced by: if (pScrn->scrnIndex == 0) { AddCallback(&ClientStateCallback, radeon_dri2_client_state_changed, 0); } The callback is called only once, even if multiple screens! And the error is gone! Please, can someone check if it need to be repeated in other parts as well? If correct, can someone commit it? Thank you very much! :) Weber Kai -- You are receiving this mail because: You are the assignee for the bug. --1378874705.d15a0.26939 Date: Wed, 11 Sep 2013 04:45:05 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 27 on bug 60182 from
I think Ive got it! :)

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

Line 1404 from:
        AddCallback(&ClientStateCallback, radeon_dri2_client_state_changed, 0);

Replaced by:
        if (pScrn->scrnIndex == 0) {
        AddCallback(&ClientStateCallback, radeon_dri2_client_state_changed, 0);
        }

The callback is called only once, even if multiple screens! And the error is
gone!
Please, can someone check if it need to be repeated in other parts as well?
If correct, can someone commit it?

Thank you very much! :)
Weber Kai


You are receiving this mail because:
  • You are the assignee for the bug.
--1378874705.d15a0.26939-- --===============0134394791== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0134394791==--