Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Dec 2004 16:34:36 +0100
From:      Ramiro Aceves <ea1abz@wanadoo.es>
To:        freebsd-questions@freebsd.org
Subject:   Re: Cant get SVGLIB running
Message-ID:  <41BC650C.4060602@wanadoo.es>
In-Reply-To: <41BB21A7.6040800@wanadoo.es>
References:  <41BB21A7.6040800@wanadoo.es>

next in thread | previous in thread | raw e-mail | index | archive | help
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<vga.h>

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);

}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41BC650C.4060602>