From owner-freebsd-questions@FreeBSD.ORG Sun Dec 12 15:33:59 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D05216A4CE for ; Sun, 12 Dec 2004 15:33:59 +0000 (GMT) Received: from asmtp01.eresmas.com (asmtp01.eresmas.com [62.81.235.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A8D243D53 for ; Sun, 12 Dec 2004 15:33:58 +0000 (GMT) (envelope-from ea1abz@wanadoo.es) Received: from [192.168.108.57] (helo=mx01.eresmas.com) by asmtp01.eresmas.com with esmtp (Exim 4.30) id 1CdVjO-0006cd-9Z for freebsd-questions@freebsd.org; Sun, 12 Dec 2004 16:33:54 +0100 Received: from [80.103.11.148] (helo=[80.103.11.148]) by mx01.eresmas.com with asmtp (Exim 4.41) id 1CdVjN-0000Qh-Jl for freebsd-questions@freebsd.org; Sun, 12 Dec 2004 16:33:54 +0100 Message-ID: <41BC650C.4060602@wanadoo.es> Date: Sun, 12 Dec 2004 16:34:36 +0100 From: Ramiro Aceves User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <41BB21A7.6040800@wanadoo.es> In-Reply-To: <41BB21A7.6040800@wanadoo.es> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Score: 0.0 (/) Subject: Re: Cant get SVGLIB running X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Dec 2004 15:33:59 -0000 Ramiro Aceves wrote: > Hello dear FreeBSD friends. > > I am having trouble to get SVGALIB running. I need it for running LINRAD > amateur radio software from the ports. I cvsuped the ports collection > and installed LINRAD and SVGALIB with the make and make install comands > as usual, no problem at all. The problem arises when I execute linrad > and get a "nice Bus error" :-( > > I have configured the file /usr/local/etc/vga/libvga.config many times > according to my hardware with no success. Also tried to place the config > file in /etc/vga/libvga.config. I have googled for bugs but I did not > find any problems like this one. > > I am a Debian GNU/Linux user and never had problems to get SVGALIB > running in this box. My cpu is a 1200 MHz AMD athlon processor. Graphic > card is a Nvidia TNT 32 MB. > > I attach my libvga.config > > I will apreciate any help. Does anybody have such a Nvidia TNT card > working with SVGALIB? > > Many thanks in advance, anyway, I am enjoying FreeBSD, it is fun! . The > Linrad software is very important for me as a radio amateur and I need > getting it working in order to switch from Linux to FreeBSD (I use it > for MoonBounce communication). FreeBSD ofers for me everything I do in > Linux, so If I make Linrad work I could switch. > Hello again: I have tried a simple C program to test svgalib drawing some line patterns on the screen. I found that it works if I use "chipset VGA" in /usr/local/etc/vga/libvga.config. If I choose "chipset NV3" acording to my video card it segfaults (that is the setting I have under Linux). The problem is that VGA mode does not offer enough resolution and color depth to run Linrad software. Do you think that I should write a bug report to the mantainer saying that the NVIDIA card does not work with SVGALIB? Thanks in advance. Ramiro. /*SVGALIB TEST*/ #include void main(void){ int a; vga_init(); vga_setmode(G640x480x16); vga_setcolor(6); for (a=0;a<640;a=a+10){ vga_drawline(0,0,a,480); } sleep(4); }