From: "A. Kunigelis" Newsgroups: comp.os.msdos.djgpp Subject: Re: SVGALIB stuff Date: Mon, 2 Dec 1996 14:06:13 +0000 Organization: LITNET Lines: 46 Message-ID: References: NNTP-Posting-Host: santaka.sc-uni.ktu.lt Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp On Sun, 1 Dec 1996, Orlando Andico wrote: > > I've NEVER used SVGALIB under MSDOG, but someone on the DJGPP mailing list > is responsible for the port. I think the DJGPP version currently supports > Tseng, S3, and Cirrus cards. The Linux version 1.2.10 also does Mach32/64 ^^ > and Oak cards. Note that the SVGALIB support for S3 in versions of > Slackware Linux < 3.1 (i.e. SVGALIB 1.2.7 or less) is flaky. Check on > Sunsite for later versions (Linux at least, which is stable -- Linux DOOM > was implemented with it). > > Also, when using SVGALIB under Linux, the program must be setuid root so > it can access the hardware; the last program I tried writing with SVGALIB > crashed my Linux machine.. but that was libvga.so.1.2.7 which as I've said > is kinda buggy. > ^^^^^^^^^^^^^^ Believe me, 1.2.10 on linux doesn't do any better with my S3 Trio64V+ than 1.2.7. If the person who did the DJGPP port could switch to linux and do the S3 part better... Now that would be cool! Actually my problem is that svgalib 1.2.10 doesn't read the modelines from the config file and I *need* a special modeline for low rez modes (i.e. 320xYYY), because Trio64 dot clock can't be programmed for frequency lower that ~16.88 MHz, and the standard 320x200 modeline with the dot clock of 12.588 MHz hangs my Linux box dead. Well, there have to be more bugs too, because while most hi-rez modes in vgatest demo program do work, Maelstrom game dies somewhere in the middle (i.e. it works in the beginning). BTW, isn't anybody thinking of porting Allegro to Linux? Have you heard of the GGI project? General Graphics Interface, that is. When GGI is done and Linus accepts it, Linux will have a graphics driver in the kernel, and the coolest thing, you will be able to use *any* acceleration or such feature of your video card. Given the simple and effective OSS (open sound system) driver present in Linux (and supportinf a lot of sound cards), Linux will become IDEAL for games and demos, which make most of stuff DJGPP is used for IMO. You should all switch to Linux one day, folks! Not that I'm saying DJGPP isn't great, of course.. :) :) Martynas