https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228755

            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: b...@freebsd.org
          Reporter: mqu...@neosmart.net

I was attempting to get a GUI going without any X dependency under the FreeBSD
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=aalib
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 different
platform similarly does not cause any adverse effects).

(Filing under kern against libvgl)

[0]: http://share.neosmart.net/View/Index/nXNRtQ.cpp

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to