S3Vision

Hi,

at QRTP supported hardware video page is S3 Vision mentioned available.
I have a ELSA Winner 2000PRO with Vision 86C964-P chip on it. It is not
recognised by crttrap.
I must say it is alsn not recognised as videocard by the pci BIOS of my
board (ASUS P55TP4N with new BIOS flashed).
Is there a tool like QNX4 show_pci in RTP?

Regards
Friedhelm Schuetz
H.Kleinknecht & Co. GmbH

Friedhelm Schuetz <Friedhelm.Schuetz@kleinknecht.de> wrote:

Hi,

at QRTP supported hardware video page is S3 Vision mentioned available.
I have a ELSA Winner 2000PRO with Vision 86C964-P chip on it. It is not
recognised by crttrap.

I must say it is alsn not recognised as videocard by the pci BIOS of my
board (ASUS P55TP4N with new BIOS flashed).

Is there a tool like QNX4 show_pci in RTP?

It’s just called `pci’ now.

Can you post the output of `pci -v’ here. We may just be missing the PCI
ID from our detection code.

pete@qnx.com wrote:

Friedhelm Schuetz <> Friedhelm.Schuetz@kleinknecht.de> > wrote:
Hi,

Can you post the output of `pci -v’ here. We may just be missing the PCI
ID from our detection code.

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 = Network (Ethernet)
Vendor ID = 1011h, Digital Equipment Corporation
Device ID = 19h, DC21143 PCI/CardBus 10/100 Mbit Ethernet Ctlr
PCI index = 0h
Class Codes = 020000h
Revision ID = 41h
Bus number = 0
Device number = 9
Function num = 0
Status Reg = 280h
Command Reg = 17h
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 20h
Cache Line Size= 8h un-cacheable
IO Address = e400h length 128 enabled
Mem Address = e7000000h 32bit length 1024 enabled
Subsystem Vendor ID = 1109h
Subsystem ID = 2a00h
Expansion ROM = ffec0000h length 262144 disabled
Max Lat = 40ns
Min Gnt = 20ns
PCI Int Pin = INT A
Interrupt line = 11

Class = Pre-2.0 (VGA)
Vendor ID = 5333h, S3 Incorporated
Device ID = 88d0h, 86C964 Vision 964 GUI Accelerator VRAM rev. 0
PCI index = 0h
Class Codes = 000100h
Revision ID = 0h
Bus number = 0
Device number = 11
Function num = 0
Status Reg = 200h
Command Reg = 3h
Header type = 0h Single-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

Thanks for looking at.
Friedhelm Schuetz
H. Kleinknecht & Co. GmbH

Can you post the output of `pci -v’ here. We may just be missing the PCI
ID from our detection code.

We are missing the PCI device ID from your card in our enumeration file.

Edit the file /etc/system/enum/devices/graphics and search for the lines
with the other S3 cards. Copy one of these lines and change the device id
to that of your card. You should get a line:

device(pci, ven=$(PCI_VEND_S3), dev=88d0) # S3 Vision 964

After editting this file, you will have to reboot your system and try
crttrap again. Let us know if the card is then detected, and if so if
the driver works correctly, so we can add this line to our files here.


PCI version = 2.10

Class = Pre-2.0 (VGA)
Vendor ID = 5333h, S3 Incorporated
Device ID = 88d0h, 86C964 Vision 964 GUI Accelerator VRAM rev. 0
PCI index = 0h
Class Codes = 000100h
Revision ID = 0h
Bus number = 0
Device number = 11
Function num = 0
Status Reg = 200h
Command Reg = 3h
Header type = 0h Single-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

Thanks for looking at.
Friedhelm Schuetz
H. Kleinknecht & Co. GmbH

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


Can you post the output of `pci -v’ here. We may just be missing the PCI
ID from our detection code.

We are missing the PCI device ID from your card in our enumeration file.

Edit the file /etc/system/enum/devices/graphics and search for the lines
with the other S3 cards. Copy one of these lines and change the device id
to that of your card. You should get a line:

device(pci, ven=$(PCI_VEND_S3), dev=88d0) # S3 Vision 964

After editting this file, you will have to reboot your system and try
crttrap again. Let us know if the card is then detected, and if so if
the driver works correctly, so we can add this line to our files here.

Be careful not to create a backup file in that directory, or use an editor
that adds garbage to the file (i.e. `ped’ with the default settings)

Hi Michael,

edited the graphics file, but graphics-mode doesn’t work. Getting a black
screen with some colored pixels.

Friedhelm Schuetz
H. Kleinknecht & Co. GmbH

Could you post the contents of /etc/system/config/graphics-traplist
and /etc/system/config/graphics-modes to confirm the correct driver
has been detected.

Friedhelm Schuetz <Friedhelm.Schuetz@kleinknecht.de> wrote:

Hi Michael,

edited the graphics file, but graphics-mode doesn’t work. Getting a black
screen with some colored pixels.

Friedhelm Schuetz
H. Kleinknecht & Co. GmbH

Michael Van Reenen wrote:

Could you post the contents of /etc/system/config/graphics-traplist
and /etc/system/config/graphics-modes to confirm the correct driver
has been detected.

graphics-traplist:
devgt-iographics -dldevg-s3.so -I0 -d0x5333,0x88d0
devgt-iographics -dldevg-vesabios.so -I0 -d0x5333,0x88d0

graphics-modes:
io-graphics -g640x480x8 -dldevg-vga.so -Pvga4.pal;#640,480,4,100,0,vga - safe
mode
io-graphics -g640x480x8 -dldevg-s3.so -I0
-d0x5333,0x88d0;#640,480,8,100,0CBD,s3(964) - 964
io-graphics -g800x600x8 -dldevg-s3.so -I0
-d0x5333,0x88d0;#800,600,8,100,0CBD,s3(964) - 964
io-graphics -g1024x768x8 -dldevg-s3.so -I0
-d0x5333,0x88d0;#1024,768,8,100,0CBD,s3(964) - 964
io-graphics -g1280x1024x8 -dldevg-s3.so -I0
-d0x5333,0x88d0;#1280,1024,8,100,0CBD,s3(964) - 964
io-graphics -g640x480x15 -dldevg-s3.so -I0
-d0x5333,0x88d0;#640,480,15,100,0CBD,s3(964) - 964
io-graphics -g640x480x16 -dldevg-s3.so -I0
-d0x5333,0x88d0;#640,480,16,100,0CBD,s3(964) - 964
io-graphics -g640x480x32 -dldevg-s3.so -I0
-d0x5333,0x88d0;#640,480,32,100,0CBD,s3(964) - 964
io-graphics -g800x600x15 -dldevg-s3.so -I0
-d0x5333,0x88d0;#800,600,15,100,0CBD,s3(964) - 964
io-graphics -g800x600x16 -dldevg-s3.so -I0
-d0x5333,0x88d0;#800,600,16,100,0CBD,s3(964) - 964
io-graphics -g800x600x32 -dldevg-s3.so -I0
-d0x5333,0x88d0;#800,600,32,100,0CBD,s3(964) - 964
io-graphics -g1024x768x15 -dldevg-s3.so -I0
-d0x5333,0x88d0;#1024,768,15,100,0CBD,s3(964) - 964
io-graphics -g1024x768x16 -dldevg-s3.so -I0
-d0x5333,0x88d0;#1024,768,16,100,0CBD,s3(964) - 964
io-graphics -g1600x1200x8 -dldevg-s3.so -I0
-d0x5333,0x88d0;#1600,1200,8,100,0CBD,s3(964) - 964
io-graphics -g640x480x8 -dldevg-vga.so -Pvga4.pal;#640,480,4,100,0,vga - safe
mode
io-graphics -g640x480x8 -dldevg-vga.so -Pvga4.pal;#640,480,4,100,0,vga - safe
mode

checksum 108 86 106

Friedhelm Schuetz
H. Kleinknecht & Co. GmbH

The card is now detected and using the right driver.
Unfortunately we do not have one of those cards here to test.
A number of fixes have been made to the S3 driver and will
be available soon in a patch.

Could you describe in more detail what you see when you
run the driver? You mentioned seeing a black screen with
some colored pixels - Are these pixels random or are they
rectangles with no text etc?



Friedhelm Schuetz <Friedhelm.Schuetz@kleinknecht.de> wrote:

Michael Van Reenen wrote:

Could you post the contents of /etc/system/config/graphics-traplist
and /etc/system/config/graphics-modes to confirm the correct driver
has been detected.

graphics-traplist:
devgt-iographics -dldevg-s3.so -I0 -d0x5333,0x88d0
devgt-iographics -dldevg-vesabios.so -I0 -d0x5333,0x88d0

graphics-modes:
io-graphics -g640x480x8 -dldevg-vga.so -Pvga4.pal;#640,480,4,100,0,vga - safe
mode
io-graphics -g640x480x8 -dldevg-s3.so -I0
-d0x5333,0x88d0;#640,480,8,100,0CBD,s3(964) - 964
io-graphics -g800x600x8 -dldevg-s3.so -I0

Michael Van Reenen wrote:

The card is now detected and using the right driver.
Unfortunately we do not have one of those cards here to test.
A number of fixes have been made to the S3 driver and will
be available soon in a patch.

Could you describe in more detail what you see when you
run the driver? You mentioned seeing a black screen with
some colored pixels - Are these pixels random or are they
rectangles with no text etc?

Hi Michael,

just had a look at it again, seeing only 3 white pixels, one in upper left corner,
two in the center area of the screen.
Didn’t you think the card could have problems because its “pre 2.0” pci interface?

Regards
Friedhelm Schuetz
H.Kleinknecht & Co. GmbH

Friedhelm Schuetz <Friedhelm.Schuetz@kleinknecht.de> wrote:

Michael Van Reenen wrote:

The card is now detected and using the right driver.
Unfortunately we do not have one of those cards here to test.
A number of fixes have been made to the S3 driver and will
be available soon in a patch.

Could you describe in more detail what you see when you
run the driver? You mentioned seeing a black screen with
some colored pixels - Are these pixels random or are they
rectangles with no text etc?

Hi Michael,

just had a look at it again, seeing only 3 white pixels, one in upper left corner,
two in the center area of the screen.
Didn’t you think the card could have problems because its “pre 2.0” pci interface?

Probably not. We have a number of other cards that show “pre 2.0” and work fine.
As mentioned above, we do not have a card with a Vision 964 chip on it here to test. But
we have a number of other cards with other types of the S3 Vision chipset (864) here
that did not work with the release but have been fixed. Hopefully the new driver will
get your card to work as well. :slight_smile:



Regards
Friedhelm Schuetz
H.Kleinknecht & Co. GmbH