Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Dec 2004 17:27:37 GMT
From:      Ramiro Aceves <ea1abz@wanadoo.es>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/74993: SVGALIB-1.4.3_4 segfaults with NVIDIA TNT Card (32MB)
Message-ID:  <200412121727.iBCHRbUZ078818@www.freebsd.org>
Resent-Message-ID: <200412121730.iBCHUL85015477@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         74993
>Category:       ports
>Synopsis:       SVGALIB-1.4.3_4 segfaults with NVIDIA TNT Card (32MB)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 12 17:30:20 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ramiro Aceves
>Release:        FreeBSD 5.3 from CDROM
>Organization:
>Environment:
System: FreeBSD freebsd-remix 5.3-RELEASE FreeBSD 5.3-RELEASE #6: Tue Dec 7 13:54:49 CET 2004 ea1abz@freebsd-remix:/usr/src/sys/i386/compile/MIKERNEL i386


      
>Description:
I installed SVGALIB-1.4.3_4 from the cvsuped ports collection. SVGALIB only works when selecting "chipset VGA" on the libvga.config file. If I select "chipset NV3" (as I do in Linux) it segfaults. My video card is a  Nvidia Riva TNT 32 MB.     
>How-To-Repeat:
Using any program that requires SVGALIB generates the segfaults. 
For example, this little program produces the same result. It only work if I set "chipset VGA" in the libvga.config file.

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

} 
>Fix:
I do not know, perhaps it is not a bug and it is my mistake :-(

If you need further information please contact my email address.
Thank you very much.
FreeBSD is nice!



>Release-Note:
>Audit-Trail:
>Unformatted:



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