From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 29 08:51:21 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C000137B401 for ; Sun, 29 Jun 2003 08:51:21 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 9F64543FFB for ; Sun, 29 Jun 2003 08:51:20 -0700 (PDT) (envelope-from cinek@gmx.de) Received: (qmail 30681 invoked by uid 65534); 29 Jun 2003 15:51:19 -0000 Received: from pD951F794.dip.t-dialin.net (EHLO pD951F794.dip.t-dialin.net) (217.81.247.148) by mail.gmx.net (mp006) with SMTP; 29 Jun 2003 17:51:19 +0200 From: Martin Krzysiak To: freebsd-hackers@freebsd.org Date: Sun, 29 Jun 2003 17:51:17 +0200 User-Agent: KMail/1.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200306291751.17828.cinek@gmx.de> Subject: Problems with libvgl X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jun 2003 15:51:22 -0000 Hi, I am trying to make something useful with libvgl, but I noticed a few problems: - I cannot use the SW_VGA_xxx-modes. That means: /usr/share/examples/libvgl/demo.c does not work, either. - My system hangs after using any VESA mode prefixed with CG (e.a. 256 palette entries, I think), calling VGLEnd() and switching back to X (Alt+F9). This happens on stable and current. I can only use Ctrl+Alt+Del to shut down my PC. The VESA-modes work well, besides freezing the X-server. I can display graphics and everything (colors and shapes) looks correct. (vidcontrol works fine, also for VGA_xx-modes) My kernel configuration (essential part) is: device vga0 at isa? port ? options VESA pseudo-device splash device sc0 at isa? flags 0x100 device vt0 at isa? options XSERVER options PCVT_FREEBSD=480 options SC_PIXEL_MODE options SC_HISTORY_SIZE=512 The X-Server is XFree86-4.3.0 with "nvidia" driver. Can someone tell me how to use the SW_VGA13, SW_VGA_MODEX and e.g. SW_VESA_CG800x600 mode? I cannot find anything useful on the web. Thanks, Martin