Subject: Re: views
To: Markus Landgraf <landgraf@crunch.ikp.physik.th-darmstadt.de>
From: Eduardo E. Horvath eeh@btr.com <eeh@btr.btr.com>
List: amiga-x
Date: 03/25/1994 11:05:13
On Fri, 25 Mar 1994, Markus Landgraf wrote:

> I am puzzled about views using X. I am using X with A2024 in 1024x1024
> mode and the Xmono server which uses /dev/grf0. To select the
> 1024x1024 videomode I use iteconfig from the console.

> I tried to use the Xamiga server which uses /dev/viewxx and recognized
> that I don't know how to select the video mode. When I do iteconfig,
> the console gets to the 1024x1024, but when I start Xamiga, the server
> opens on a 640x400 screen.
 
> My question is:
> How can I use a X server that uses /dev/view in 1024x1024 A2024 mode ?

I think I know what your problem is and may even have a solution!

The /dev/grf0 device used /dev/view0, so when you use iteconfig to 
override the default screen size, Xmono uses that size.

When Xamiga opens a new view (not view0) it gets its default size from 
the values compiled into the kernel.

How do you fix this?  There are two ways.  First of all, you can patch 
or re-compile your kernel with whatever size you want.  

Secondly, the sources I released to Xamiga are slightly newer than the
executable, and support display width, height, and depth specification on
the command line.  If you compile that version of Xamiga, you can use 
the -W, -H, and -D flags to specify what size screen you want.  (Since 
Xamiga is only a monochrome server, the only effect of the -D flag is to 
eat more chip RAM than usual.)  I usually start mine with:

Xamiga -W 689 -H 440


=========================================================================
Eduardo Horvath				eeh@btr.com
					..!{decwrl,mips,fernwood}!btr!eeh
	"Trust me, I am cognizant of what I am doing." - Hammeroid


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