Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2002-11

Repeat: Problems with crashing graphics

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

John Coppens

Hi all...

Please forgive me, I'm resending this message from about a week ago. I've done some more digging and can't find a solution or even references. Am I doing something wrong here?

-----------------
I've been playing a bit with the Graph and SVGAlib libraries. I found that, when calling the new modes, my comuter hangs completely with a black screen. Not even Ctl-Alt-Del gets it out.

I'm using kernel 2.4.19, and Xfree 4.2.1. The graphics card is a SiS300, updated with the last Drivers I found on the 'net.

I've tried the 'detection protocol' as described in the Graph docs, to detect valid modes, and I've tried to single step my program to check that the mode selected was signalled as valid.

Some of the old combinations, such as VGA/VGAHi work fine, but I was really hoping for the newer hi-res modes.

Any suggestions on how to go on testing? Preferably avoiding the red panic button on the machine?

John

Reply by email

Jonas Maebe
to John Coppens
John Coppens wrote
Any suggestions on how to go on testing? Preferably avoiding the red panic button on the machine?

Do other (non-FPC) svgalib based programs work properly with the higher resolution modes?

Jonas

Reply by email

John Coppens
to Jonas Maebe
Show quoted text 11 lines
On dinsdag, nov 26, 2002, at 16:07 Europe/Brussels, John Coppens wrote: > Any suggestions on how to go on testing? Preferably avoiding the > red panic button on the machine? Do other (non-FPC) svgalib based programs work properly with the higher resolution modes? Jonas

Hi Jonas.

It seems I'd never used any SVGAlib based program before... I tried a simple fractal program, from the SVGALib site and - the system crashed too.

So, I checked around and did _not_ find my SiS300 based card in the supported card list. I then uncommented the 'vesa' line in the /etc/vga/libvga.config file, and all is working now. I suppose the VESA mode may not be the optimun solution, but at least I can see the graphics.

I'm supposing that the Graph unit is also based on SVGAlib...

Thanks Jonas,
John

Reply by email