old ATI video card

Hello!

I heard RTP has a good support for ATI video cards. I have one of them. System works fine, but I
have a question.

sloginfo

Dec 06 21:28:09 6 8 0 Offscreen allocation from video ram failed; Trying system ram
Dec 06 21:28:09 6 8 0 Offscreen allocation from video ram failed; Trying system ram

I wonder offscreen allocation is not supported by my video? Or, is it driver’s issue? How bad is
it?
Additional information
pci.qnfo:

Class = Display (VGA)
Vendor ID = 1002h, ATI Technologies
Device ID = 4755h, Rage 3D II+
PCI index = 0h
Class Codes = 030000h
Revision ID = 9ah
Bus number = 0
Device number = 9
Function num = 0
Status Reg = 280h
Command Reg = 87h


modes.qnfo:
io-graphics -g800x600x32 -dldevg-rage.so -I0 -d0x1002,0x4755 -R72;#800,600,32,100,0CBDr,rage - ATI
Mach64 GT and Rage II/Rage Pro

Thanks in advance,
Eduard.

Older video cards did not have a lot of memory. The
driver does support offscreen memory and so should your card
as long as memory is available. How much memory does your
card have? How much offscreen memory are you trying to allocate?
Do you have other applications running that may be using offscreen
memory? Have you tried running at a lower color depth (16 instead
of 32)

Thanks

Erick.


ed1k <ed1k@yahoo.com> wrote:

Hello!

I heard RTP has a good support for ATI video cards. I have one of them. System works fine, but I
have a question.

sloginfo

Dec 06 21:28:09 6 8 0 Offscreen allocation from video ram failed; Trying system ram
Dec 06 21:28:09 6 8 0 Offscreen allocation from video ram failed; Trying system ram

I wonder offscreen allocation is not supported by my video? Or, is it driver’s issue? How bad is
it?
Additional information
pci.qnfo:

Class = Display (VGA)
Vendor ID = 1002h, ATI Technologies
Device ID = 4755h, Rage 3D II+
PCI index = 0h
Class Codes = 030000h
Revision ID = 9ah
Bus number = 0
Device number = 9
Function num = 0
Status Reg = 280h
Command Reg = 87h

.
modes.qnfo:
io-graphics -g800x600x32 -dldevg-rage.so -I0 -d0x1002,0x4755 -R72;#800,600,32,100,0CBDr,rage - ATI
Mach64 GT and Rage II/Rage Pro

Thanks in advance,
Eduard.

Hi Erick,

Hardware Support Account <hw@qnx.com> wrote in article <9uqpk5$j3g$1@nntp.qnx.com>…

Older video cards did not have a lot of memory. The
driver does support offscreen memory and so should your card
as long as memory is available. How much memory does your
card have?

I guess 2mb , I’m not sure :wink:

How much offscreen memory are you trying to allocate?

There is sloginfo output at once Photon started. I don’t try anything yet.

Do you have other applications running that may be using offscreen
memory? Have you tried running at a lower color depth (16 instead
of 32)

I’ll do experiments. I’ve looked through VESA modes list for my card in order to determine free
memory. I was under assumption that memory is enough for 2 buffer 800x600x16. (1 meg for buffer) Is
not it?

Thanks,
Eduard.

Thanks

Erick.


ed1k <> ed1k@yahoo.com> > wrote:
Hello!

I heard RTP has a good support for ATI video cards. I have one of them. System works fine, but
I
have a question.

sloginfo

Dec 06 21:28:09 6 8 0 Offscreen allocation from video ram failed; Trying system ram
Dec 06 21:28:09 6 8 0 Offscreen allocation from video ram failed; Trying system ram

I wonder offscreen allocation is not supported by my video? Or, is it driver’s issue? How bad
is
it?
Additional information
pci.qnfo:

Class = Display (VGA)
Vendor ID = 1002h, ATI Technologies
Device ID = 4755h, Rage 3D II+
PCI index = 0h
Class Codes = 030000h
Revision ID = 9ah
Bus number = 0
Device number = 9
Function num = 0
Status Reg = 280h
Command Reg = 87h

.
modes.qnfo:
io-graphics -g800x600x32 -dldevg-rage.so -I0 -d0x1002,0x4755 -R72;#800,600,32,100,0CBDr,rage -
ATI
Mach64 GT and Rage II/Rage Pro

Thanks in advance,
Eduard.

The output of show_vesa will show the video cards memory.

Erick.


ed1k <ed1k@yahoo.com> wrote:

Hi Erick,

Hardware Support Account <> hw@qnx.com> > wrote in article <9uqpk5$j3g$> 1@nntp.qnx.com> >…
Older video cards did not have a lot of memory. The
driver does support offscreen memory and so should your card
as long as memory is available. How much memory does your
card have?

I guess 2mb , I’m not sure > :wink:

How much offscreen memory are you trying to allocate?

There is sloginfo output at once Photon started. I don’t try anything yet.

Do you have other applications running that may be using offscreen
memory? Have you tried running at a lower color depth (16 instead
of 32)

I’ll do experiments. I’ve looked through VESA modes list for my card in order to determine free
memory. I was under assumption that memory is enough for 2 buffer 800x600x16. (1 meg for buffer) Is
not it?

Thanks,
Eduard.


Thanks

Erick.


ed1k <> ed1k@yahoo.com> > wrote:
Hello!

I heard RTP has a good support for ATI video cards. I have one of them. System works fine, but
I
have a question.

sloginfo

Dec 06 21:28:09 6 8 0 Offscreen allocation from video ram failed; Trying system ram
Dec 06 21:28:09 6 8 0 Offscreen allocation from video ram failed; Trying system ram

I wonder offscreen allocation is not supported by my video? Or, is it driver’s issue? How bad
is
it?
Additional information
pci.qnfo:

Class = Display (VGA)
Vendor ID = 1002h, ATI Technologies
Device ID = 4755h, Rage 3D II+
PCI index = 0h
Class Codes = 030000h
Revision ID = 9ah
Bus number = 0
Device number = 9
Function num = 0
Status Reg = 280h
Command Reg = 87h

.
modes.qnfo:
io-graphics -g800x600x32 -dldevg-rage.so -I0 -d0x1002,0x4755 -R72;#800,600,32,100,0CBDr,rage -
ATI
Mach64 GT and Rage II/Rage Pro

Thanks in advance,
Eduard.

Hi,

Thank you very much, Erick. You open my eyes, those were really memory problems :wink:

Hardware Support Account <hw@qnx.com> wrote in article <9ur25q$omk$2@nntp.qnx.com>…
<…>

ed1k <> ed1k@yahoo.com> > wrote:
…> > .
modes.qnfo:
io-graphics -g800x600x32 -dldevg-rage.so -I0 -d0x1002,0x4755 -R72;#800,600,32,100,0CBDr,rage

ATI
Mach64 GT and Rage II/Rage Pro

And I have yet another question (Erick, probably it’s for another people). The graphics settings
are applied for Photon for all users, is it right? Okay, and ANY user HAVE ABILITY to change these
settings, is not it? Was there any security analysis in Photon development? Well,

Is there any recommended way to disable changing of graphics subsystem settings for ordinary users
in QNXRTP 6.1A? I wish to allow it for root user ONLY.

Thanks in advance,
Eduard.

Hi Eduard,

Yup, just change the permissions on the file so that noone other than root
can read or write to the /etc/system/config/graphics-modes and graphics-traplist
files and you should be able to do it then.

Take care!

E.



ed1k <ed1k@yahoo.com> wrote:

Hi,

Thank you very much, Erick. You open my eyes, those were really memory problems > :wink:

Hardware Support Account <> hw@qnx.com> > wrote in article <9ur25q$omk$> 2@nntp.qnx.com> >…

ed1k <> ed1k@yahoo.com> > wrote:
…> > .
modes.qnfo:
io-graphics -g800x600x32 -dldevg-rage.so -I0 -d0x1002,0x4755 -R72;#800,600,32,100,0CBDr,rage

ATI
Mach64 GT and Rage II/Rage Pro



And I have yet another question (Erick, probably it’s for another people). The graphics settings
are applied for Photon for all users, is it right? Okay, and ANY user HAVE ABILITY to change these
settings, is not it? Was there any security analysis in Photon development? Well,

Is there any recommended way to disable changing of graphics subsystem settings for ordinary users
in QNXRTP 6.1A? I wish to allow it for root user ONLY.

Thanks in advance,
Eduard.

Hi E.,

Please be so kind and tell me what exactly I should do :wink:. I’m newbie and I’m still out of luck.
Here is the some of my research results:

  1. /etc/system/config/graphics-traplist is created by enum-devices (I think) during boot up. It has
    permissions “-rw-rw-rw-”. Changing the permissions to “-rw-r–r–” or “-rw-------” has no effect
    (of course, changes will lost after reboot - no problem to change permissions in startup script (I
    guess), but it does not make the trick). I changed permissions as root, then login as Eduard on
    other console, type “ph” and freely change graphics settings.
  2. /etc/system/config/graphics-modes has permissions “-rw-r–r–”. Photon is no longer accessible
    for users except root if I change the permissions to “-rw-------”:
    $ ph
    Running crttrap, please wait…
    /usr/photon/bin/devgt-iographics -dldevg-rage.so -I0 -d0x1002,0x4755
    /usr/photon/bin/devgt-iographics -dldevg-vesabios.so -I0 -d0x1002,0x4755
    crttrap: wrote config file as /etc/system/config/graphics-modes
    $

Cheers,
Eduard.



Hardware Support Account <hw@qnx.com> wrote in article <9v2ffa$1pl$1@nntp.qnx.com>…

Hi Eduard,

Yup, just change the permissions on the file so that noone other than root
can read or write to the /etc/system/config/graphics-modes and graphics-traplist
files and you should be able to do it then.

Take care!

E.



ed1k <> ed1k@yahoo.com> > wrote:
Hi,

Thank you very much, Erick. You open my eyes, those were really memory problems > :wink:

Hardware Support Account <> hw@qnx.com> > wrote in article <9ur25q$omk$> 2@nntp.qnx.com> >…

ed1k <> ed1k@yahoo.com> > wrote:
…> > .
modes.qnfo:
io-graphics -g800x600x32 -dldevg-rage.so -I0 -d0x1002,0x4755
-R72;#800,600,32,100,0CBDr,rage

ATI
Mach64 GT and Rage II/Rage Pro



And I have yet another question (Erick, probably it’s for another people). The graphics
settings
are applied for Photon for all users, is it right? Okay, and ANY user HAVE ABILITY to change
these
settings, is not it? Was there any security analysis in Photon development? Well,

Is there any recommended way to disable changing of graphics subsystem settings for ordinary
users
in QNXRTP 6.1A? I wish to allow it for root user ONLY.

Thanks in advance,
Eduard.