From: bugzilla-daemon@freedesktop.org Subject: [Bug 38473] [egl] When program ends, monitor is switched off leaving system unusable Date: Sun, 26 Jun 2011 18:23:43 -0700 (PDT) Message-ID: <20110627012343.19B9413004D@annarchy.freedesktop.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from annarchy.freedesktop.org (annarchy.freedesktop.org [131.252.210.176]) by gabe.freedesktop.org (Postfix) with ESMTP id 324579E771 for ; Sun, 26 Jun 2011 18:23:43 -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 https://bugs.freedesktop.org/show_bug.cgi?id=38473 --- Comment #6 from Chia-I Wu 2011-06-26 18:23:42 PDT --- There could be multiple issues in this bug. First of all, I have never be able to tested those demos with a Radeon card. How EGL does modesetting may be wrong or trigger a bug somewhere else. Then there is no code to do VT switch. The screen will turn off when the demos end. For EGL on DRM, it is suggested to base your work on eglkms.c, not other EGL_MESA_screen_surface-based demos. You will have to do KMS manually: easier to see how it works and easier to debug on new hardware. You might also want to extend it to do VT switch. (Note that eglkms is currently broken with mesa git head) -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.