Subject: X configuration and tuning
To: None <port-sparc@netbsd.org>
From: Joel CARNAT <joel.carnat@noos.com>
List: port-sparc
Date: 07/03/2003 19:25:27
Hi,

I've just decided to try X on the SparcSTATION20 I got.
startx is OK and I get X running

I read there would not be any xf86config because it's Sun and no PC, but :)

I would like to try to change at least the depth, and if possible the resolution...

dmesg says :
NetBSD 1.6.1 (GENERIC) #0: Wed Apr  9 03:02:04 UTC 2003
    autobuild@tgm.daemon.org:/autobuild/netbsd-1-6/sparc/OBJ/autobuild/netbsd-1-6/src/sys/arch/sparc/compile/GENERIC
total memory = 127 MB
avail memory = 114 MB
using 896 buffers containing 6628 KB of memory
bootpath: /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@1,0
mainbus0 (root): SUNW,SPARCstation-20
cpu0 at mainbus0: RT620/625 @ 150 MHz, on-chip FPU
cpu0: 512K byte write-back, 32 bytes/line, sw flush: cache enabled
<snip>
cgsix0 at sbus0 slot 2 offset 0x0 level 9: SUNW,501-2325, 1152 x 900, rev 11 (console)
cgsix0: attached to /dev/fb
<snip>

and xwininfo on twm desktop says:
xwininfo: Window id: 0x2a (the root window) (has no name)
  Absolute upper-left X:  0
  Absolute upper-left Y:  0
  Relative upper-left X:  0
  Relative upper-left Y:  0
  Width: 1152
  Height: 900
  Depth: 8
  Visual Class: PseudoColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x21 (installed)
  Bit Gravity State: ForgetGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +0+0  -0+0  -0-0  +0-0
  -geometry 1152x900+0+0

according to the Sun's FB FAQ, there are some tools (ffbconfig, ...)
but I didn't saw them on the machine.

Is it possible to get this card do... let says 1024x768x24bits ?
Or does it only know one resolution ?

thanks for answers, help or www pointers,
	Jo