Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cgsix resolution probs

Status
Not open for further replies.

Nostradamus

Technical User
May 3, 2000
419
0
0
SE
I have a ffb (creator) frame buffer adapter as well as a tgx plus (cgsix) on my solaris workstation.

I can change resolution on the ffb adapter using ffbconf.
however I can't find any tools to change the resolution on the other card.

Starting openwin using ./openwin -dev /dev/fbs/fbb0 -dev /dev/fbs/cgsix0
Can I add the resolution to the ./openwin binary somehow?

Ideas anyone?


/Sören
 
Unfortunately AFAIK you can't set the resolution of the TGX/TGX+ cards from the command line. You have to set their resolution via the prom.

I can't remember the exact options but it involved something like typing the resolution in at the ok prompt. Googling for cgsix and resolution will probably find the exact commands....

Cheers
Steve
 
from sunsolve.sun.com

Document ID: ID14297
Synopsis: Setting resolution of second TGX video card

--------------------------------------------------------------------------------

Document Body

Setting the resolution of a second monitor using a TGXplus frame buffer:

To set the resolution of the second head using a TGXplus frame buffer you
can use a UNIX script.
Here is an example that will set the resolution to r1280x1024x76 :

#! /bin/sh
eeprom fcode-debug\?=true
eeprom nvramrc='probe-all
: vsetup " 135000000,81128,76,32,64,288,1280,2,8,32,1024,COLOR,0OFFSET" 4 ;
vsetup
" /sbus/cgsix@1" " override" execute-device-method drop
install-console
banner
'
eeprom use-nvramrc\?=true

Note: the line that includes " /sbus/cgsix@1" indicates that the card is
in sbus slot 1 if the card is in another slot change the number to match
the card's location.
For example if the card was in sbus slot 3 the line would be:

" /sbus/cgsix@3" " override" execute-device-method drop

This procedure is covered in the "TurboGXplus Installation Guide" Appendix B;
however, the procedure that is given in the manual has a few typos, so use
the previous example instead.

To set the resolution to different resolution settings, use these values
in the vsetup line instead of the one shown:

These are the supported modes for the TurboGXplus frame buffer:

resolution: code:
=========== =====
r1024x768x60 " 64125000,48286,60,16,128,160,1024,2,6,29,768,COLOR"
r1024x768x70 " 74250000,56593,70,16,136,136,1024,2,6,32,768,COLOR"
r1024x768x77 " 84375000,62040,77,32,128,176,1024,2,4,31,768,COLOR"
r1152x900x66 " 94500000,61845,66,40,128,208,1152,2,4,31,900,COLOR"
r1152x900x76 " 108000000,71808,76,32,128,192,1152,2,4,31,900,COLOR,0OFFSET"
r1280x1024x67 " 117000000,71691,67,16,112,224,1280,2,8,33,1024,COLOR,0OFFSET"
r1280x1024x76 " 135000000,81128,76,32,64,288,1280,2,8,32,1024,COLOR,0OFFSET"
r1600x1280x76 " 216000000,101890,76,24,216,280,1600,2,8,50,1280,COLOR,0OFFSET"



Regards
-- Franz
Sorry I'm not a native spaeker, I'm from Munich, Germany - "Home of the Whopper", oh no, "Home of the Oktoberfest" ;-)
 
I've googled some, but haven't found any solution.
The question here was my last chance :)

haven't tried setting the resolution from the ok prompt though. Have to look into that.


/Sören
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top