Hi !
> I have some questions.
> My graphics subsystem
You mean your program - right ?
> uses double-buffering scheme 1024x768.V1024x768.F2.[16/16].
> I use multi-frame feature of GGI library. I
> chose to use frame buffer via GGI as primary target and X via GGI as debug
> target. I have no problem with X.
I see.
> Matrox(G100 4MB) Frame buffer.
> Problem is I can not operate with GGI input without super user privileges.
The problem is only the input ? I.e. output works fine ?
That is strange. Your problem might be caused by inappropriate permissions
on /dev/fb0.
> Other problem that every console uses the same fb.
How exactly do you mean that ? Do you have a multihead setup - i.e. multiple
/dev/fb ? In that case con2fbmap should help you out.
Or do you mean that all consoles have the same mode ? fbset will help there.
> How I can stop text cursor, gpm, loosing picture when switching between
> consoles?
This sounds strange. What exectly happens - I do not quite get you .
> (By the way may be some one knows. I load matroxfb as module and have
> problem with gpm. My text mouse catches only 80x25 moving range instead of
> 132x..(i use 1024x768))
Yes. You need to restart GPM after the module load. GPM does not recognize the
suddenly higher resolution. Killing and restarting it helps.
> VESA Frame buffer(using vesa 2.0 over Matrox G100 4MB)
There is a native driver for matrox in the kernel. Use that if possible.
The vesa driver is _MUCH_ inferior.
> I can not set modes: 0000x0000.V1111x1111 where 0000 and 1111 are the all
> possible combination
Yes. The VESAfb driver can NOT change modes. This is a BIOS limitation.
All the VESAfb driver does, is set up a mode while still booting (in real
mode) and determine the address of the framebuffer.
> also I can not set F2 mode.
Yes. This is as well not possible with VESAfb. It cannot pan. If it does with
some cards, this is purely on the heuristic, that the standard VGA regs will
work for that.
> When vesafb is loading at the boot time I can
> see(or inspect log)that frame buffer is set 1024x4824 .I can be wrong with
> exactly remembering of the last dimension Could you show me any way how to
> use vesa fb with multiple frames?
No, except maybe by bad and incompatible hardware hacks like directly accessing
VGA regs.
> 1. How to use ggi input with framebuffer target without root privileges
Check the priviledges of /dev/fb0. If that does not help, please send strace
logs for both cases (root,works and nonroot,fails). We will then try to spot
the problem.
> 2. How to use vesafb with multi-frames
You can't.
> 3. How I can stop text cursor, gpm, loosing picture when switching between
> consoles?
I do not get this question.
> 4. I would like to get hardware mouse cursor.
This is not yet possible, but we should finally work on it. O.K. - I will try
to put some time into it.
> 5. May be anyone can help me with the mouse
You mean integrating mouse input ? Have a look at e.g. the monitest
application. It accepts mouse input for that "defective pixel" test.
CU, Andy
--
Andreas Beck | Email : <[EMAIL PROTECTED]>