From owner-freebsd-bugs@freebsd.org Mon Jun 4 23:50:58 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8B557FE7F71 for ; Mon, 4 Jun 2018 23:50:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 254F16EA27 for ; Mon, 4 Jun 2018 23:50:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id DA149FE7F70; Mon, 4 Jun 2018 23:50:57 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B2B4AFE7F6F for ; Mon, 4 Jun 2018 23:50:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4AA1C6EA24 for ; Mon, 4 Jun 2018 23:50:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 7C73113011 for ; Mon, 4 Jun 2018 23:50:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w54NouLZ019642 for ; Mon, 4 Jun 2018 23:50:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w54NouAn019641 for bugs@FreeBSD.org; Mon, 4 Jun 2018 23:50:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 228755] libvgl under syscons causes system reboot (via SDL 1.2) Date: Mon, 04 Jun 2018 23:50:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mqudsi@neosmart.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2018 23:50:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228755 Bug ID: 228755 Summary: libvgl under syscons causes system reboot (via SDL 1.2) Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: mqudsi@neosmart.net I was attempting to get a GUI going without any X dependency under the Free= BSD CURRENT; not finding any documentation regarding the viability of vgl under newcons/vt, I set kern.tty to sc and (after a reboot) attempted to run the attached SDL code sample with SDL_VIDEODRIVER set to vgl. When executed as sudo (a requirement for directly using vgl), the system reboots immediately. Using the vgl-wrapped-in-a-service SDL_VIDEODRIVER=3Da= alib as an unprivileged user instead does not result in the same behavior (but it doesn't work, either). I have observed the same behavior with a statically-linked SDL1.2 compiled = from sources and when linking against the system SDL1.2 as installed via pkg. I = have not attempted to use vgl directly, and will endeavour to do so if I get the time, thereby cutting out SDL from the picture entirely (though it does not seem to be the problem as changing the video driver to something other than= vgl does not cause this system reboot and using SDL1.2 with vgl under a differe= nt platform similarly does not cause any adverse effects). (Filing under kern against libvgl) [0]: http://share.neosmart.net/View/Index/nXNRtQ.cpp --=20 You are receiving this mail because: You are the assignee for the bug.=