S3 Vision 968 video problems!

Seems like qnxstart.com is down, so I’ll try my luck here… :slight_smile:

Ok, I’m having terrible problems with QNX RtP final and my Diamond
Stealth 64 Video VRAM display adapter (S3 Vision 968 chip, IBM RGB528
DAC). Photon really seems to have something against this card, and I
have no idea what could be wrong. As far as I know this card should be
supported by QNX.

The problem is that crttrap doesn’t detect my adapter and only offers me
the standard vga driver. Now, I can get the S3 driver running by
manually editing /etc/system/config/graphics-traplist, but this results
in a interlaced and weird looking screen. Only the shelf is visible,
possibly some window frames, but no text or graphics and the system is
totally unresponsive… really strange.

This is what the ‘pci’ program says:


Class = Display (VGA)
Vendor ID = 5333h, S3 Incorporated
Device ID = 88f0, 86C968 Vision 968 GUI Accelerator VRAM rev. 0

PCI index = 0h
Mem Address = f8000000h enabled
PCI Int Pin = INT A
Interrupt Line = 12

A kind person in qnxstart.com suggested that I should check if the PCI
device ID (88f0) was listed in the enumeration file
(/etc/system/enum/devices/graphics). This was in fact the case(!!!) -
there was absolutely no reference to 968 based card (all other Vision
chips were mentioned of course). After a quick copy-paste-edit operation
I thought the problem was solved, but Photon still didn’t detect my
card. :frowning:

Any ideas what could be wrong? I’ve tried everything… removing my
ne2000, Voodoo Graphics accelerator and SB 32 AWE PnP, reinstalling QNX
RtP, changing BIOS settings… nothing helps. I’m starting to get the
feeling that the S3 driver is still somewhat incomplete and buggy.
Anyone know better?


– antti

In message <39D1F1E3.EF72C6EE@mail.fi>, Jan =?iso-8859-1?Q?=C5qvist?= wrote:

Seems like qnxstart.com is down, so I’ll try my luck here… > :slight_smile:

Ok, I’m having terrible problems with QNX RtP final and my Diamond
Stealth 64 Video VRAM display adapter (S3 Vision 968 chip, IBM RGB528
DAC). Photon really seems to have something against this card, and I
have no idea what could be wrong. As far as I know this card should be
supported by QNX.

The problem is that crttrap doesn’t detect my adapter and only offers me
the standard vga driver. Now, I can get the S3 driver running by
manually editing /etc/system/config/graphics-traplist, but this results
in a interlaced and weird looking screen. Only the shelf is visible,
possibly some window frames, but no text or graphics and the system is
totally unresponsive… really strange.

This is what the ‘pci’ program says:


Class = Display (VGA)
Vendor ID = 5333h, S3 Incorporated
Device ID = 88f0, 86C968 Vision 968 GUI Accelerator VRAM rev. 0

PCI index = 0h
Mem Address = f8000000h enabled
PCI Int Pin = INT A
Interrupt Line = 12

A kind person in qnxstart.com suggested that I should check if the PCI
device ID (88f0) was listed in the enumeration file
(/etc/system/enum/devices/graphics). This was in fact the case(!!!) -
there was absolutely no reference to 968 based card (all other Vision
chips were mentioned of course). After a quick copy-paste-edit operation
I thought the problem was solved, but Photon still didn’t detect my
card. > :frowning:

Any ideas what could be wrong? I’ve tried everything… removing my
ne2000, Voodoo Graphics accelerator and SB 32 AWE PnP, reinstalling QNX
RtP, changing BIOS settings… nothing helps. I’m starting to get the
feeling that the S3 driver is still somewhat incomplete and buggy.
Anyone know better?

My TNT is causing the same problems too. device.map doesn’t list any NVIDIA
cards either.

In message <8qu2cd$2da$2@inn.qnx.com>, David Donohoe wrote:

Rayiner (> heliosc@aircor.net> ) wrote:

: My TNT is causing the same problems too. device.map doesn’t list any
NVIDIA
: cards either.

device.map was shipped by accident. It is not used anymore.
/etc/system/enum/devices/graphics now does its job.

What does ‘crttrap -VV trap’ say?

crttrap -VV trap loads finds devg-tnt.so,

it loads the driver, it gives me an “alloc mem failed”
error, a pci device attach failed error, tries
to load the devg-vesabios.so driver, gives me
another “alloc mem failed” error, then gives
me a whole bunch of "BIOS Call int10 eax=(some number)
" messages. Then, when Photon loads, it uses
the VESA driver.

Rayiner (heliosc@aircor.net) wrote:

: My TNT is causing the same problems too. device.map doesn’t list any NVIDIA
: cards either.

device.map was shipped by accident. It is not used anymore.
/etc/system/enum/devices/graphics now does its job.

What does ‘crttrap -VV trap’ say?

Jan =?iso-8859-1?Q?=C5qvist?= (jaqvist@levi.urova.fi) wrote:
: Seems like qnxstart.com is down, so I’ll try my luck here… :slight_smile:

: Ok, I’m having terrible problems with QNX RtP final and my Diamond
: Stealth 64 Video VRAM display adapter (S3 Vision 968 chip, IBM RGB528
: DAC). Photon really seems to have something against this card, and I
: have no idea what could be wrong. As far as I know this card should be
: supported by QNX.

: The problem is that crttrap doesn’t detect my adapter and only offers me
: the standard vga driver. Now, I can get the S3 driver running by
: manually editing /etc/system/config/graphics-traplist, but this results
: in a interlaced and weird looking screen. Only the shelf is visible,
: possibly some window frames, but no text or graphics and the system is
: totally unresponsive… really strange.

: This is what the ‘pci’ program says:


: Class = Display (VGA)
: Vendor ID = 5333h, S3 Incorporated
: Device ID = 88f0, 86C968 Vision 968 GUI Accelerator VRAM rev. 0

: PCI index = 0h
: Mem Address = f8000000h enabled
: PCI Int Pin = INT A
: Interrupt Line = 12

: …

: A kind person in qnxstart.com suggested that I should check if the PCI
: device ID (88f0) was listed in the enumeration file
: (/etc/system/enum/devices/graphics). This was in fact the case(!!!) -
: there was absolutely no reference to 968 based card (all other Vision
: chips were mentioned of course). After a quick copy-paste-edit operation
: I thought the problem was solved, but Photon still didn’t detect my
: card. :frowning:

You need to reboot. The file /etc/system/config/graphics-traplist
gets created by the device enumerator, each time you boot.

Assuming you edited the file correctly, you should get an
entry for devg-s3.so in the traplist file.

Then, typing ‘crttrap trap’ will use this file, to
create /etc/system/config/graphics-modes. You should
get entries for devg-s3.so in this file, if things went according
to plan.

However, we do not have a 968 card here to test with, so
I can’t promise that you will not run into further problems.

: Any ideas what could be wrong? I’ve tried everything… removing my
: ne2000, Voodoo Graphics accelerator and SB 32 AWE PnP, reinstalling QNX
: RtP, changing BIOS settings… nothing helps. I’m starting to get the
: feeling that the S3 driver is still somewhat incomplete and buggy.
: Anyone know better?


: – antti

David Donohoe wrote:

You need to reboot. The file /etc/system/config/graphics-traplist
gets created by the device enumerator, each time you boot.

Assuming you edited the file correctly, you should get an
entry for devg-s3.so in the traplist file.

Then, typing ‘crttrap trap’ will use this file, to
create /etc/system/config/graphics-modes. You should
get entries for devg-s3.so in this file, if things went according
to plan.

However, we do not have a 968 card here to test with, so
I can’t promise that you will not run into further problems.

: Any ideas what could be wrong? I’ve tried everything… removing my
: ne2000, Voodoo Graphics accelerator and SB 32 AWE PnP, reinstalling QNX
: RtP, changing BIOS settings… nothing helps. I’m starting to get the
: feeling that the S3 driver is still somewhat incomplete and buggy.
: Anyone know better?

: – antti

I can confirm that my Diamond Stealth 3240xl (vision 968) doesn’t work in
anything but vga

My stealth II s220 (rendition 2100) works OK in vesa mode 1024x768 16 bit

David Donohoe <ddonohoe@qnx.com> wrote:

You need to reboot. The file /etc/system/config/graphics-traplist
gets created by the device enumerator, each time you boot.

Assuming you edited the file correctly, you should get an
entry for devg-s3.so in the traplist file.

Then, typing ‘crttrap trap’ will use this file, to
create /etc/system/config/graphics-modes. You should
get entries for devg-s3.so in this file, if things went according
to plan.

However, we do not have a 968 card here to test with, so
I can’t promise that you will not run into further problems.

Allrighty! Photon still doesn’t detect my Stealth 64 Video VRAM, but I got
the S3 driver running with a bit of tweaking.

I installed the display adapter to my roommates computer, and to my
supprise QNX detected the thing just like that!! Now, before this I had
edited the graphics enumeration file to include my display adapter’s ID
number, which was indeed missing from the list. After this I copied
graphics-traplist and graphics-modes to a safe location so I could use
them later.

Then I tossed the Stealth 64 card in my machine, booted QNX and replaced
graphics-traplist and graphics-modes with the ones I saved earlier, and
voila! Photon was up and running with 1024x768 and 16-bit colors!

There are some drawbacks though. Since crttrap is run at boot time, I have
to replace graphics-trap and graphics-modes with the saved ones each time
I turn on the computer. One other thing is that I can get 1024x768 only to
work in interlaced mode, and 800x600 in 60hz, but hey… it’s by far
better than plain vga. :slight_smile: Also, in high cpu load situations mouse movement
get’s really, really jerky. Windows move in random direction while
dragging them and it’s impossible to controll the pointer (this is really
annoying - any ideas on what could be causing it?).

After this I a bit more testing, since it was now clear that it wasn’t the
Stealth 64 witch was causing these detection problems. I installed my
friends S3 Virge card (this thing works great with Photon on his
computer: colors, resolution, correct screen refresh - it’s all there!) in
my box, and guess what… Photon didn’t detect it!!! :frowning:

I’m now even more puzzled than I was before. I have no idea why in my
friends computer (just a normal P200 MMX with MG motherboard and an Award
bios) crttrap detects these display adapters and in mine
it doesn’t… :frowning:(((

My computer has nothing strange inside: its has a Intel 150 Mhz Pentium
processor, ASUS P/I-P55TP4XE board (Award bios) with 64 megs of ram (EDO,
60 ns), Diamond Stealth 64 Video VRAM display adapther (S3 Vision 968
chip), 3dfx Voodoo Graphics card, NE2000 ISA PnP ethernet adapter, SB 32
AWE PnP, a 1.2 GB Quantum hard drive and a 4x Acer cd-drive.

QNX is the only OS on this systes and I used a clean install from a home
made RtP cd-rom. Also, every piece of hardware works beautifully in
Windows and in Linux so there shoudn’t be any faulty wireing either. Also
the NE2000 and SB32 work in QNX on my machine, and trappers detect them
correctly.

QNX boots really nicely on my box, but I do get this one line of text that
worries me… any comments on this one?


Neutrino technology inside!!!
Processor #1: 586 with FPU (Pentium (P54c) Stepping 12) Speed = 150
Unable to allocate resource: Resource temporarily unavailable


My bios settings should be correct, and there aren’t any resource
conflicts. I’ve also removed my sound card, network adapter and 3dxf card,
plus disabled the parallel port and serial ports and I still get that
strange message.

I’ve included information from the ‘pci’ and ‘show_vesa’
programs… hopefully someone finds these usefull.

\


Here’s what ‘pci -v’ has to say about my system:


PCI version = 2.10

Class = Bridge (Host/PCI)
Vendor ID = 8086h, Intel Corporation
Device ID = 122dh, 82437FX System Controller (TSC)
PCI index = 0h
Class Codes = 060000h
Revision ID = 2h
Bus number = 0
Device number = 0
Function num = 0
Status Reg = 2200h
Command Reg = 6h
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 20h
Cache Line Size= 0h
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = NC
Interrupt line = 0

Class = Bridge (PCI/ISA)
Vendor ID = 8086h, Intel Corporation
Device ID = 122eh, 82371FB PCI to ISA Bridge (Triton)
PCI index = 0h
Class Codes = 060100h
Revision ID = 2h
Bus number = 0
Device number = 7
Function num = 0
Status Reg = 280h
Command Reg = 7h
Header type = 0h Multi-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 0h
Cache Line Size= 0h
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = NC
Interrupt line = 0

Class = Mass Storage (IDE)
Vendor ID = 8086h, Intel Corporation
Device ID = 1230h, 82371FB IDE Interface (Triton)
PCI index = 0h
Class Codes = 010180h
Revision ID = 2h
Bus number = 0
Device number = 7
Function num = 1
Status Reg = 280h
Command Reg = 5h
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 20h
Cache Line Size= 0h
IO Address = e800h length 16 enabled
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = NC
Interrupt line = 0

Class = Multimedia (Video)
Vendor ID = 121ah, 3dfx Interactive Inc
Device ID = 1h, Voodoo Voodoo 3D Acceleration Chip
PCI index = 0h
Class Codes = 040000h
Revision ID = 2h
Bus number = 0
Device number = 11
Function num = 0
Status Reg = 80h
Command Reg = 2h
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 0h
Cache Line Size= 0h
Mem Address = fb000000h prefetchable 32bit length 16777216 enabled
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = NC
Interrupt line = 0

Class = Display (VGA)
Vendor ID = 5333h, S3 Incorporated
Device ID = 88f0h, 86C968 Vision 968 GUI Accelerator VRAM rev. 0
PCI index = 0h
Class Codes = 030000h
Revision ID = 0h
Bus number = 0
Device number = 12
Function num = 0
Status Reg = 200h
Command Reg = a3h
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 0h
Cache Line Size= 0h
Mem Address = f8000000h 32bit length 33554432 enabled
Expansion ROM = ffef0000h length 65536 disabled
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = INT A
Interrupt line = 9


\


Here’s ‘show_vesa -v’:

VESA Info Block

VESA Signature : VESA
VESA Version : 0102
OEM String Ptr : C000:1B2B
OEM String : Diamond Stealth 64 Video VRAM
Capabilities : 00000000
DAC width fixed to 6 bits per primary color
Controller VGA compatible
Normal RAMDAC operation
Video Mode Ptr : C000:1BB5
Total Memory : 200000 (2097152)
DPMS Services available
Virtual Screen Services available

Total Number Of Video Modes found : 25

Mode : 0x0100 information

Mode Attributes : 001B
Mode Supported in Hardware
TTY Output functions not supported by BIOS
Color Mode
Graphics Mode
VGA compatible
VGA windowed compatible
No Linear Frame Buffer
Window A Attributes : 07
Relocatable Window(s)
Window is Readable
Window is Writeable
Window B Attributes : 00
Single-Non Relocatable Window
Window is Not Readable
Window is Not Writeable
Window Granularity : 0040
Window Size : 0040
Window A Start Segment : A000
Window B Start Segment : A000
Window Function Pointer: C000:793F
Bytes Per Scanline : 0280 (640)
X Resolution : 0280 (640)
Y Resolution : 0190 (400)
X Char Size : 08 (8)
Y Char Size : 10 (16)
Number Of Planes : 01 (1)
Bits Per Pixel : 08 (8)
Number Of Banks : 01 (1)
Memory Model : 04 - Packed Pixel
Bank Size : 00
Number Of Image Pages : 00 (0)
Reserved : 01

Mode : 0x0101 information

Mode Attributes : 001B
Mode Supported in Hardware
TTY Output functions not supported by BIOS
Color Mode
Graphics Mode
VGA compatible
VGA windowed compatible
No Linear Frame Buffer
Window A Attributes : 07
Relocatable Window(s)
Window is Readable
Window is Writeable
Window B Attributes : 00
Single-Non Relocatable Window
Window is Not Readable
Window is Not Writeable
Window Granularity : 0040
Window Size : 0040
Window A Start Segment : A000
Window B Start Segment : A000
Window Function Pointer: C000:793F
Bytes Per Scanline : 0280 (640)
X Resolution : 0280 (640)
Y Resolution : 01E0 (480)
X Char Size : 08 (8)
Y Char Size : 10 (16)
Number Of Planes : 01 (1)
Bits Per Pixel : 08 (8)
Number Of Banks : 01 (1)
Memory Model : 04 - Packed Pixel
Bank Size : 00
Number Of Image Pages : 00 (0)
Reserved : 01

Mode : 0x0102 information

Mode Attributes : 001F
Mode Supported in Hardware
TTY Output functions supported by BIOS
Color Mode
Graphics Mode
VGA compatible
VGA windowed compatible
No Linear Frame Buffer
Window A Attributes : 07
Relocatable Window(s)
Window is Readable
Window is Writeable
Window B Attributes : 00
Single-Non Relocatable Window
Window is Not Readable
Window is Not Writeable
Window Granularity : 0040
Window Size : 0040
Window A Start Segment : A000
Window B Start Segment : A000
Window Function Pointer: C000:793F
Bytes Per Scanline : 0064 (100)
X Resolution : 0320 (800)
Y Resolution : 0258 (600)
X Char Size : 08 (8)
Y Char Size : 10 (16)
Number Of Planes : 04 (4)
Bits Per Pixel : 04 (4)
Number Of Banks : 01 (1)
Memory Model : 03 - Planar
Bank Size : 00
Number Of Image Pages : 00 (0)
Reserved : 01

Mode : 0x0103 information

Mode Attributes : 001B
Mode Supported in Hardware
TTY Output functions not supported by BIOS
Color Mode
Graphics Mode
VGA compatible
VGA windowed compatible
No Linear Frame Buffer
Window A Attributes : 07
Relocatable Window(s)
Window is Readable
Window is Writeable
Window B Attributes : 00
Single-Non Relocatable Window
Window is Not Readable
Window is Not Writeable
Window Granularity : 0040
Window Size : 0040
Window A Start Segment : A000
Window B Start Segment : A000
Window Function Pointer: C000:793F
Bytes Per Scanline : 0320 (800)
X Resolution : 0320 (800)
Y Resolution : 0258 (600)
X Char Size : 08 (8)
Y Char Size : 10 (16)
Number Of Planes : 01 (1)
Bits Per Pixel : 08 (8)
Number Of Banks : 01 (1)
Memory Model : 04 - Packed Pixel
Bank Size : 00
Number Of Image Pages : 00 (0)
Reserved : 01

Mode : 0x0104 information

Mode Attributes : 001B
Mode Supported in Hardware
TTY Output functions not supported by BIOS
Color Mode
Graphics Mode
VGA compatible
VGA windowed compatible
No Linear Frame Buffer
Window A Attributes : 07
Relocatable Window(s)
Window is Readable
Window is Writeable
Window B Attributes : 00
Single-Non Relocatable Window
Window is Not Readable
Window is Not Writeable
Window Granularity : 0040
Window Size : 0040
Window A Start Segment : A000
Window B Start Segment : A000
Window Function Pointer: C000:793F
Bytes Per Scanline : 0080 (128)
X Resolution : 0400 (1024)
Y Resolution : 0300 (768)
X Char Size : 08 (8)
Y Char Size : 10 (16)
Number Of Planes : 04 (4)
Bits Per Pixel : 04 (4)
Number Of Banks : 01 (1)
Memory Model : 03 - Planar
Bank Size : 00
Number Of Image Pages : 00 (0)
Reserved : 01

Mode : 0x0105 information

Mode Attributes : 001B
Mode Supported in Hardware
TTY Output functions not supported by BIOS
Color Mode
Graphics Mode
VGA compatible
VGA windowed compatible
No Linear Frame Buffer
Window A Attributes : 07
Relocatable Window(s)
Window is Readable
Window is Writeable
Window B Attributes : 00
Single-Non Relocatable Window
Window is Not Readable
Window is Not Writeable
Window Granularity : 0040
Window Size : 0040
Window A Start Segment : A000
Window B Start Segment : A000
Window Function Pointer: C000:793F
Bytes Per Scanline : 0400 (1024)
X Resolution : 0400 (1024)
Y Resolution : 0300 (768)
X Char Size : 08 (8)
Y Char Size : 10 (16)
Number Of Planes : 01 (1)
Bits Per Pixel : 08 (8)
Number Of Banks : 01 (1)
Memory Model : 04 - Packed Pixel
Bank Size : 00
Number Of Image Pages : 00 (0)
Reserved : 01

Mode : 0x0106 information

Mode Attributes : 001B
Mode Supported in Hardware
TTY Output functions not supported by BIOS
Color Mode
Graphics Mode
VGA compatible
VGA windowed compatible
No Linear Frame Buffer
Window A Attributes : 07
Relocatable Window(s)
Window is Readable
Window is Writeable
Window B Attributes : 00
Single-Non Relocatable Window
Window is Not Readable
Window is Not Writeable
Window Granularity : 0040
Window Size : 0040
Window A Start Segment : A000
Window B Start Segment : A000
Window Function Pointer: C000:793F
Bytes Per Scanline : 00A0 (160)
X Resolution : 0500 (1280)
Y Resolution : 0400 (1024)
X Char Size : 08 (8)
Y Char Size : 10 (16)
Number Of Planes : 04 (4)
Bits Per Pixel : 04 (4)
Number Of Banks : 01 (1)
Memory Model : 03 - Planar
Bank Size : 00
Number Of Image Pages : 00 (0)
Reserved : 01

Mode : 0x0107 information

Mode Attributes : 001B
Mode Supported in Hardware
TTY Output functions not supported by BIOS
Color Mode
Graphics Mode
VGA compatible
VGA windowed compatible
No Linear Frame Buffer
Window A Attributes : 07
Relocatable Window(s)
Window is Readable
Window is Writeable
Window B Attributes : 00
Single-Non Relocatable Window
Window is Not Readable
Window is Not Writeable
Window Granularity : 0040
Window Size : 0040
Window A Start Segment : A000
Window B Start Segment : A000
Window Function Pointer: C000:793F
Bytes Per Scanline : 0500 (1280)
X Resolution : 0500 (1280)
Y Resolution : 0400 (1024)
X Char Size : 08 (8)
Y Char Size : 10 (16)
Number Of Planes : 01 (1)
Bits Per Pixel : 08 (8)
Number Of Banks : 01 (1)
Memory Model : 04 - Packed Pixel
Bank Size : 00
Number Of Image Pages : 00 (0)
Reserved : 01

Mode : 0x0109 information

Mode Attributes : 000F
Mode Supported in Hardware
TTY Output functions supported by BIOS
Color Mode
Text Mode
VGA compatible
VGA windowed compatible
No Linear Frame Buffer
Window A Attributes : 07
Relocatable Window(s)
Window is Readable
Window is Writeable
Window B Attributes : 00
Single-Non Relocatable Window
Window is Not Readable
Window is Not Writeable
Window Granularity : 0020
Window Size : 0020
Window A Start Segment : B800
Window B Start Segment : B800
Window Function Pointer: C000:793F
Bytes Per Scanline : 0108 (264)
X Resolution : 0084 (132)
Y Resolution : 0019 (25)
X Char Size : 08 (8)
Y Char Size : 10 (16)
Number Of Planes : 04 (4)
Bits Per Pixel : 04 (4)
Number Of Banks : 01 (1)
Memory Model : 00 - Text Mode
Bank Size : 00
Number Of Image Pages : 00 (0)
Reserved : 01

Mode : 0x010A information

Mode Attributes : 000F
Mode Supported in Hardware
TTY Output functions supported by BIOS
Color Mode
Text Mode
VGA compatible
VGA windowed compatible
No Linear Frame Buffer
Window A Attributes : 07
Relocatable Window(s)
Window is Readable
Window is Writeable
Window B Attributes : 00
Single-Non Relocatable Window
Window is Not Readable
Window is Not Writeable
Window Granularity : 0020
Window Size : 0020
Window A Start Segment : B800
Window B Start Segment : B800
Window Function Pointer: C000:793F
Bytes Per Scanline : 0108 (264)
X Resolution : 0084 (132)
Y Resolution : 002B (43)
X Char Size : 08 (8)
Y Char Size : 08 (8)
Number Of Planes : 04 (4)
Bits Per Pixel : 04 (4)
Number Of Banks : 01 (1)
Memory Model : 00 - Text Mode
Bank Size : 00
Number Of Image Pages : 00 (0)
Reserved : 01

Mode : 0x0110 information

Mode Attributes : 001B
Mode Supported in Hardware
TTY Output functions not supported by BIOS
Color Mode
Graphics Mode
VGA compatible
VGA windowed compatible
No Linear Frame Buffer
Window A Attributes : 07
Relocatable Window(s)
Window is Readable
Window is Writeable
Window B Attributes : 00
Single-Non Relocatable Window
Window is Not Readable
Window is Not Writeable
Window Granularity : 0040
Window Size : 0040
Window A Start Segment : A000
Window B Start Segment : A000
Window Function Pointer: C000:793F
Bytes Per Scanline : 0500 (1280)
X Resolution : 0280 (640)
Y Resolution : 01E0 (480)
X Char Size : 08 (8)
Y Char Size : 10 (16)
Number Of Planes : 01 (1)
Bits Per Pixel : 0F (15)
Number Of Banks : 01 (1)
Memory Model : 06 - Direct Color
Bank Size : 00
Number Of Image Pages : 00 (0)
Reserved : 01
Red Mask Size : 05 (5)
Red Field Position : 0A (10)
Green Mask Size : 05 (5)
Green Field Position : 05 (5)
Blue Mask Size : 05 (5)
Blue Field Position : 00 (0)
Reserved Mask Size : 01 (1)
Reserved Field Position: 0F (15)
Direct Color Mode Info : 00
Color Ramp is fixed
Reserved Bit Fields are Reserved

Mode : 0x0111 information

Mode Attributes : 001B
Mode Supported in Hardware
TTY Output functions not supported by BIOS
Color Mode
Graphics Mode
VGA compatible
VGA windowed compatible
No Linear Frame Buffer
Window A Attributes : 07
Relocatable Window(s)
Window is Readable
Window is Writeable
Window B Attributes : 00
Single-Non Relocatable Window
Window is Not Readable
Window is Not Writeable
Window Granularity : 0040
Window Size : 0040
Window A Start Segment : A000
Window B Start Segment : A000
Window Function Pointer: C000:793F
Bytes Per Scanline : 0500 (1280)
X Resolution : 0280 (640)
Y Resolution : 01E0 (480)
X Char Size : 08 (8)
Y Char Size : 10 (16)
Number Of Planes : 01 (1)
Bits Per Pixel : 10 (16)
Number Of Banks : 01 (1)
Memory Model : 06 - Direct Color
Bank Size : 00
Number Of Image Pages : 00 (0)
Reserved : 01
Red Mask Size : 05 (5)
Red Field Position : 0B (11)
Green Mask Size : 06 (6)
Green Field Position : 05 (5)
Blue Mask Size : 05 (5)
Blue Field Position : 00 (0)
Reserved Mask Size : 00 (0)
Reserved Field Position: 00 (0)
Direct Color Mode Info : 00
Color Ramp is fixed
Reserved Bit Fields are Reserved

Mode : 0x0112 information

Mode Attributes : 001B
Mode Supported in Hardware
TTY Output functions not supported by BIOS
Color Mode
Graphics Mode
VGA compatible
VGA windowed compatible
No Linear Frame Buffer
Window A Attributes : 07
Relocatable Window(s)
Window is Readable
Window is Writeable
Window B Attributes : 00
Single-Non Relocatable Window
Window is Not Readable
Window is Not Writeable
Window Granularity : 0040
Window Size : 0040
Window A Start Segment : A000
Window B Start Segment : A000
Window Function Pointer: C000:793F
Bytes Per Scanline : 0A00 (2560)
X Resolution : 0280 (640)
Y Resolution : 01E0 (480)
X Char Size : 08 (8)
Y Char Size : 10 (16)
Number Of Planes : 01 (1)
Bits Per Pixel : 20 (32)
Number Of Banks : 01 (1)
Memory Model : 06 - Direct Color
Bank Size : 00
Number Of Image Pages : 00 (0)
Reserved : 01
Red Mask Size : 08 (8)
Red Field Position : 10 (16)
Green Mask Size : 08 (8)
Green Field Position : 08 (8)
Blue Mask Size : 08 (8)
Blue Field Position : 00 (0)
Reserved Mask Size : 08 (8)
Reserved Field Position: 18 (24)
Direct Color Mode Info : 00
Color Ramp is fixed
Reserved Bit Fields are Reserved

Mode : 0x0113 information

Mode Attributes : 001B
Mode Supported in Hardware
TTY Output functions not supported by BIOS
Color Mode
Graphics Mode
VGA compatible
VGA windowed compatible
No Linear Frame Buffer
Window A Attributes : 07
Relocatable Window(s)
Window is Readable
Window is Writeable
Window B Attributes : 00
Single-Non Relocatable Window
Window is Not Readable
Window is Not Writeable
Window Granularity : 0040
Window Size : 0040
Window A Start Segment : A000
Window B Start Segment : A000
Window Function Pointer: C000:793F
Bytes Per Scanline : 0640 (1600)
X Resolution : 0320 (800)
Y Resolution : 0258 (600)
X Char Size : 08 (8)
Y Char Size : 10 (16)
Number Of Planes : 01 (1)
Bits Per Pixel : 0F (15)
Number Of Banks : 01 (1)
Memory Model : 06 - Direct Color
Bank Size : 00
Number Of Image Pages : 00 (0)
Reserved : 01
Red Mask Size : 05 (5)
Red Field Position : 0A (10)
Green Mask Size : 05 (5)
Green Field Position : 05 (5)
Blue Mask Size : 05 (5)
Blue Field Position : 00 (0)
Reserved Mask Size : 01 (1)
Reserved Field Position: 0F (15)
Direct Color Mode Info : 00
Color Ramp is fixed
Reserved Bit Fields are Reserved

Mode : 0x0114 information

Mode Attributes : 001B
Mode Supported in Hardware
TTY Output functions not supported by BIOS
Color Mode
Graphics Mode
VGA compatible
VGA windowed compatible
No Linear Frame Buffer
Window A Attributes : 07
Relocatable Window(s)
Window is Readable
Window is Writeable
Window B Attributes : 00
Single-Non Relocatable Window
Window is Not Readable
Window is Not Writeable
Window Granularity : 0040
Window Size : 0040
Window A Start Segment : A000
Window B Start Segment : A000
Window Function Pointer: C000:793F
Bytes Per Scanline : 0640 (1600)
X Resolution : 0320 (800)
Y Resolution : 0258 (600)
X Char Size : 08 (8)
Y Char Size : 10 (16)
Number Of Planes : 01 (1)
Bits Per Pixel : 10 (16)
Number Of Banks : 01 (1)
Memory Model : 06 - Direct Color
Bank Size : 00
Number Of Image Pages : 00 (0)
Reserved : 01
Red Mask Size : 05 (5)
Red Field Position : 0B (11)
Green Mask Size : 06 (6)
Green Field Position : 05 (5)
Blue Mask Size : 05 (5)
Blue Field Position : 00 (0)
Reserved Mask Size : 00 (0)
Reserved Field Position: 00 (0)
Direct Color Mode Info : 00
Color Ramp is fixed
Reserved Bit Fields are Reserved

Mode : 0x0115 information

Mode Attributes : 001B
Mode Supported in Hardware
TTY Output functions not supported by BIOS
Color Mode
Graphics Mode
VGA compatible
VGA windowed compatible
No Linear Frame Buffer
Window A Attributes : 07
Relocatable Window(s)
Window is Readable
Window is Writeable
Window B Attributes : 00
Single-Non Relocatable Window
Window is Not Readable
Window is Not Writeable
Window Granularity : 0040
Window Size : 0040
Window A Start Segment : A000
Window B Start Segment : A000
Window Function Pointer: C000:793F
Bytes Per Scanline : 0C80 (3200)
X Resolution : 0320 (800)
Y Resolution : 0258 (600)
X Char Size : 08 (8)
Y Char Size : 10 (16)
Number Of Planes : 01 (1)
Bits Per Pixel : 20 (32)
Number Of Banks : 01 (1)
Memory Model : 06 - Direct Color
Bank Size : 00
Number Of Image Pages : 00 (0)
Reserved : 01
Red Mask Size : 08 (8)
Red Field Position : 10 (16)
Green Mask Size : 08 (8)
Green Field Position : 08 (8)
Blue Mask Size : 08 (8)
Blue Field Position : 00 (0)
Reserved Mask Size : 08 (8)
Reserved Field Position: 18 (24)
Direct Color Mode Info : 00
Color Ramp is fixed
Reserved Bit Fields are Reserved

Mode : 0x0116 information

Mode Attributes : 001B
Mode Supported in Hardware
TTY Output functions not supported by BIOS
Color Mode
Graphics Mode
VGA compatible
VGA windowed compatible
No Linear Frame Buffer
Window A Attributes : 07
Relocatable Window(s)
Window is Readable
Window is Writeable
Window B Attributes : 00
Single-Non Relocatable Window
Window is Not Readable
Window is Not Writeable
Window Granularity : 0040
Window Size : 0040
Window A Start Segment : A000
Window B Start Segment : A000
Window Function Pointer: C000:793F
Bytes Per Scanline : 0800 (2048)
X Resolution : 0400 (1024)
Y Resolution : 0300 (768)
X Char Size : 08 (8)
Y Char Size : 10 (16)
Number Of Planes : 01 (1)
Bits Per Pixel : 0F (15)
Number Of Banks : 01 (1)
Memory Model : 06 - Direct Color
Bank Size : 00
Number Of Image Pages : 00 (0)
Reserved : 01
Red Mask Size : 05 (5)
Red Field Position : 0A (10)
Green Mask Size : 05 (5)
Green Field Position : 05 (5)
Blue Mask Size : 05 (5)
Blue Field Position : 00 (0)
Reserved Mask Size : 01 (1)
Reserved Field Position: 0F (15)
Direct Color Mode Info : 00
Color Ramp is fixed
Reserved Bit Fields are Reserved

Mode : 0x0117 information

Mode Attributes : 001B
Mode Supported in Hardware
TTY Output functions not supported by BIOS
Color Mode
Graphics Mode
VGA compatible
VGA windowed compatible
No Linear Frame Buffer
Window A Attributes : 07
Relocatable Window(s)
Window is Readable
Window is Writeable
Window B Attributes : 00
Single-Non Relocatable Window
Window is Not Readable
Window is Not Writeable
Window Granularity : 0040
Window Size : 0040
Window A Start Segment : A000
Window B Start Segment : A000
Window Function Pointer: C000:793F
Bytes Per Scanline : 0800 (2048)
X Resolution : 0400 (1024)
Y Resolution : 0300 (768)
X Char Size : 08 (8)
Y Char Size : 10 (16)
Number Of Planes : 01 (1)
Bits Per Pixel : 10 (16)
Number Of Banks : 01 (1)
Memory Model : 06 - Direct Color
Bank Size : 00
Number Of Image Pages : 00 (0)
Reserved : 01
Red Mask Size : 05 (5)
Red Field Position : 0B (11)
Green Mask Size : 06 (6)
Green Field Position : 05 (5)
Blue Mask Size : 05 (5)
Blue Field Position : 00 (0)
Reserved Mask Size : 00 (0)
Reserved Field Position: 00 (0)
Direct Color Mode Info : 00
Color Ramp is fixed
Reserved Bit Fields are Reserved

Mode : 0x0120 information

Mode Attributes : 001B
Mode Supported in Hardware
TTY Output functions not supported by BIOS
Color Mode
Graphics Mode
VGA compatible
VGA windowed compatible
No Linear Frame Buffer
Window A Attributes : 07
Relocatable Window(s)
Window is Readable
Window is Writeable
Window B Attributes : 00
Single-Non Relocatable Window
Window is Not Readable
Window is Not Writeable
Window Granularity : 0040
Window Size : 0040
Window A Start Segment : A000
Window B Start Segment : A000
Window Function Pointer: C000:793F
Bytes Per Scanline : 0640 (1600)
X Resolution : 0640 (1600)
Y Resolution : 04B0 (1200)
X Char Size : 08 (8)
Y Char Size : 10 (16)
Number Of Planes : 01 (1)
Bits Per Pixel : 08 (8)
Number Of Banks : 01 (1)
Memory Model : 04 - Packed Pixel
Bank Size : 00
Number Of Image Pages : 00 (0)
Reserved : 01

Antti Koskinen (d74456@loisto.uwasa.fi) wrote:
: David Donohoe <ddonohoe@qnx.com> wrote:
: > You need to reboot. The file /etc/system/config/graphics-traplist
: > gets created by the device enumerator, each time you boot.

: > Assuming you edited the file correctly, you should get an
: > entry for devg-s3.so in the traplist file.

: > Then, typing ‘crttrap trap’ will use this file, to
: > create /etc/system/config/graphics-modes. You should
: > get entries for devg-s3.so in this file, if things went according
: > to plan.

: > However, we do not have a 968 card here to test with, so
: > I can’t promise that you will not run into further problems.

: Allrighty! Photon still doesn’t detect my Stealth 64 Video VRAM, but I got
: the S3 driver running with a bit of tweaking.

: I installed the display adapter to my roommates computer, and to my
: supprise QNX detected the thing just like that!! Now, before this I had
: edited the graphics enumeration file to include my display adapter’s ID
: number, which was indeed missing from the list. After this I copied
: graphics-traplist and graphics-modes to a safe location so I could use
: them later.

: Then I tossed the Stealth 64 card in my machine, booted QNX and replaced
: graphics-traplist and graphics-modes with the ones I saved earlier, and
: voila! Photon was up and running with 1024x768 and 16-bit colors!

Sounds like there’s a bug in our pci enumeration. Can you
post the good, and bad versions of graphics-traplist?

I’m guessing it’s releated to another problem, whereby people see
the message “Alloc mem failed” (printed by pci-bios) when they
run “crttrap trap”.

: There are some drawbacks though. Since crttrap is run at boot time, I have
: to replace graphics-trap and graphics-modes with the saved ones each time
: I turn on the computer. One other thing is that I can get 1024x768 only to
: work in interlaced mode, and 800x600 in 60hz, but hey… it’s by far
: better than plain vga. :slight_smile: Also, in high cpu load situations mouse movement
: get’s really, really jerky. Windows move in random direction while
: dragging them and it’s impossible to controll the pointer (this is really
: annoying - any ideas on what could be causing it?).

: After this I a bit more testing, since it was now clear that it wasn’t the
: Stealth 64 witch was causing these detection problems. I installed my
: friends S3 Virge card (this thing works great with Photon on his
: computer: colors, resolution, correct screen refresh - it’s all there!) in
: my box, and guess what… Photon didn’t detect it!!! :frowning:

: I’m now even more puzzled than I was before. I have no idea why in my
: friends computer (just a normal P200 MMX with MG motherboard and an Award
: bios) crttrap detects these display adapters and in mine
: it doesn’t… :frowning:(((

: My computer has nothing strange inside: its has a Intel 150 Mhz Pentium
: processor, ASUS P/I-P55TP4XE board (Award bios) with 64 megs of ram (EDO,
: 60 ns), Diamond Stealth 64 Video VRAM display adapther (S3 Vision 968
: chip), 3dfx Voodoo Graphics card, NE2000 ISA PnP ethernet adapter, SB 32
: AWE PnP, a 1.2 GB Quantum hard drive and a 4x Acer cd-drive.

: QNX is the only OS on this systes and I used a clean install from a home
: made RtP cd-rom. Also, every piece of hardware works beautifully in
: Windows and in Linux so there shoudn’t be any faulty wireing either. Also
: the NE2000 and SB32 work in QNX on my machine, and trappers detect them
: correctly.

: QNX boots really nicely on my box, but I do get this one line of text that
: worries me… any comments on this one?


: Neutrino technology inside!!!
: Processor #1: 586 with FPU (Pentium (P54c) Stepping 12) Speed = 150
: Unable to allocate resource: Resource temporarily unavailable


: My bios settings should be correct, and there aren’t any resource
: conflicts. I’ve also removed my sound card, network adapter and 3dxf card,
: plus disabled the parallel port and serial ports and I still get that
: strange message.

: I’ve included information from the ‘pci’ and ‘show_vesa’
: programs… hopefully someone finds these usefull.

The device id for S3 Vision 968 has been added to our enumeration file.

Antti Koskinen (> d74456@loisto.uwasa.fi> ) wrote:

: I’ve included information from the ‘pci’ and ‘show_vesa’
: programs… hopefully someone finds these usefull.

snip

David Donohoe <ddonohoe@qnx.com> wrote:

Sounds like there’s a bug in our pci enumeration. Can you
post the good, and bad versions of graphics-traplist?

I’m guessing it’s releated to another problem, whereby people see
the message “Alloc mem failed” (printed by pci-bios) when they
run “crttrap trap”.

Good news - the S3 Vision 968 video problem has been solved (well, the
crttrap detection/pci enumeration part anyway)! I flashed a new Award
bios on my Asus mainboard and crttrap now detects the display adapter
and generates a working graphics-traplist. Also, the strange boot warning
disappeared. :slight_smile:

So everyone using Asus P/I-P55TP4(XE)(G)(U) mainboard update your bios
version to 0302! Version 0202 doesn’t work well with QNX!

Now, if only I could find out what’s up with those mouse/screen refresh
problems I mentioned earlier…

–Antti

Antti Koskinen <d74456@loisto.uwasa.fi> wrote:

David Donohoe <> ddonohoe@qnx.com> > wrote:
Sounds like there’s a bug in our pci enumeration. Can you
post the good, and bad versions of graphics-traplist?

I’m guessing it’s releated to another problem, whereby people see
the message “Alloc mem failed” (printed by pci-bios) when they
run “crttrap trap”.

Good news - the S3 Vision 968 video problem has been solved (well, the
crttrap detection/pci enumeration part anyway)! I flashed a new Award
bios on my Asus mainboard and crttrap now detects the display adapter
and generates a working graphics-traplist. Also, the strange boot warning
disappeared. > :slight_smile:

Excellent!


So everyone using Asus P/I-P55TP4(XE)(G)(U) mainboard update your bios
version to 0302! Version 0202 doesn’t work well with QNX!

Now, if only I could find out what’s up with those mouse/screen refresh
problems I mentioned earlier…

The S3 driver uses the video BIOS to perform the modeswitch and does not
have refresh rate support. So whatever comes out of the bios for resolutions etc.,
is what you get.

–Antti

Michael Van Reenen <mvr@qnx.com> wrote:

Now, if only I could find out what’s up with those mouse/screen refresh
problems I mentioned earlier…

The S3 driver uses the video BIOS to perform the modeswitch and does not
have refresh rate support. So whatever comes out of the bios for resolutions etc.,
is what you get.

There actually is a way to modify refresh rates on S3 cards. We will try
to add this to the driver.

–Antti

There actually is a way to modify refresh rates on S3 cards. We will try
to add this to the driver.

Excellent stuff! Hope you guys can get this done soon… these
interlaced/60 hz modes are giving me a headache. :wink:

  • Antti