How to test virtual resolution

10 messages, 3 authors, 2008-08-07 · open the first message on its own page

How to test virtual resolution

From: sun york <hidden>
Date: 2008-08-06 15:46:15

I was asked to add the support for virtual resolution for fsl_diu_fb. I
don't know how to test it without X. It seems that fbcon can use the
virtual resolution and pan around. Can someone shed some light on this?
 
York
 

Re: How to test virtual resolution

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2008-08-06 19:17:54

On Wed, 6 Aug 2008, sun york wrote:
I was asked to add the support for virtual resolution for fsl_diu_fb. I
don't know how to test it without X. It seems that fbcon can use the
virtual resolution and pan around. Can someone shed some light on this?
You can try fbtest (CVS module FBdev/utlilities/fbtest on
http://sourceforge.net/projects/linux-fbdev).

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Re: How to test virtual resolution

From: York Sun <hidden>
Date: 2008-08-06 20:01:18

Fbset can definitely change the resolution but it doesn't pan the
screen. I looked around but didn't find an application takes advantage
of the virtual resolution.

York

On Wed, 2008-08-06 at 21:17 +0200, Geert Uytterhoeven wrote:
On Wed, 6 Aug 2008, sun york wrote:
quoted
I was asked to add the support for virtual resolution for fsl_diu_fb. I
don't know how to test it without X. It seems that fbcon can use the
virtual resolution and pan around. Can someone shed some light on this?
You can try fbtest (CVS module FBdev/utlilities/fbtest on
http://sourceforge.net/projects/linux-fbdev).

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Re: How to test virtual resolution

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2008-08-06 20:06:09

On Wed, 6 Aug 2008, York Sun wrote:
Fbset can definitely change the resolution but it doesn't pan the
screen. I looked around but didn't find an application takes advantage
of the virtual resolution.
Sorry, I forgot to mention that the panning test requires that you
manually enable a large virtual resolution before running fbtest.

E.g. `fbset -vxres 2000 -vyres 2000'
On Wed, 2008-08-06 at 21:17 +0200, Geert Uytterhoeven wrote:
quoted
On Wed, 6 Aug 2008, sun york wrote:
quoted
I was asked to add the support for virtual resolution for fsl_diu_fb. I
don't know how to test it without X. It seems that fbcon can use the
virtual resolution and pan around. Can someone shed some light on this?
You can try fbtest (CVS module FBdev/utlilities/fbtest on
http://sourceforge.net/projects/linux-fbdev).
Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Re: How to test virtual resolution

From: York Sun <hidden>
Date: 2008-08-06 20:53:10

I actually use fbset -g to set the resolutions. Does fbset have anything
to do with panning?

York

On Wed, 2008-08-06 at 22:06 +0200, Geert Uytterhoeven wrote:
On Wed, 6 Aug 2008, York Sun wrote:
quoted
Fbset can definitely change the resolution but it doesn't pan the
screen. I looked around but didn't find an application takes advantage
of the virtual resolution.
Sorry, I forgot to mention that the panning test requires that you
manually enable a large virtual resolution before running fbtest.

E.g. `fbset -vxres 2000 -vyres 2000'
quoted
On Wed, 2008-08-06 at 21:17 +0200, Geert Uytterhoeven wrote:
quoted
On Wed, 6 Aug 2008, sun york wrote:
quoted
I was asked to add the support for virtual resolution for fsl_diu_fb. I
don't know how to test it without X. It seems that fbcon can use the
virtual resolution and pan around. Can someone shed some light on this?
You can try fbtest (CVS module FBdev/utlilities/fbtest on
http://sourceforge.net/projects/linux-fbdev).
Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Re: How to test virtual resolution

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2008-08-06 20:59:05

On Wed, 6 Aug 2008, York Sun wrote:
I actually use fbset -g to set the resolutions. Does fbset have anything
So the third and fourth value for -g are the virtual resolution.
to do with panning?
Not directly; it allows to set the virtual screen size, so the frame
buffer console (or an application like fbtest) can make use of it.
On Wed, 2008-08-06 at 22:06 +0200, Geert Uytterhoeven wrote:
quoted
On Wed, 6 Aug 2008, York Sun wrote:
quoted
Fbset can definitely change the resolution but it doesn't pan the
screen. I looked around but didn't find an application takes advantage
of the virtual resolution.
Sorry, I forgot to mention that the panning test requires that you
manually enable a large virtual resolution before running fbtest.

E.g. `fbset -vxres 2000 -vyres 2000'
quoted
On Wed, 2008-08-06 at 21:17 +0200, Geert Uytterhoeven wrote:
quoted
On Wed, 6 Aug 2008, sun york wrote:
quoted
I was asked to add the support for virtual resolution for fsl_diu_fb. I
don't know how to test it without X. It seems that fbcon can use the
virtual resolution and pan around. Can someone shed some light on this?
You can try fbtest (CVS module FBdev/utlilities/fbtest on
http://sourceforge.net/projects/linux-fbdev).
Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Re: How to test virtual resolution

From: York Sun <hidden>
Date: 2008-08-06 21:08:02

On Wed, 2008-08-06 at 22:59 +0200, Geert Uytterhoeven wrote:
On Wed, 6 Aug 2008, York Sun wrote:
quoted
I actually use fbset -g to set the resolutions. Does fbset have anything
So the third and fourth value for -g are the virtual resolution.
quoted
to do with panning?
Not directly; it allows to set the virtual screen size, so the frame
buffer console (or an application like fbtest) can make use of it.
Thanks, Geert. That's exact what I am asking -- what application can I
use and how?

York




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Re: How to test virtual resolution

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2008-08-07 07:02:46

On Wed, 6 Aug 2008, York Sun wrote:
On Wed, 2008-08-06 at 22:59 +0200, Geert Uytterhoeven wrote:
quoted
On Wed, 6 Aug 2008, York Sun wrote:
quoted
I actually use fbset -g to set the resolutions. Does fbset have anything
So the third and fourth value for -g are the virtual resolution.
quoted
to do with panning?
Not directly; it allows to set the virtual screen size, so the frame
buffer console (or an application like fbtest) can make use of it.
Thanks, Geert. That's exact what I am asking -- what application can I
use and how?
X? Just you specify a virtual screen in xorg.conf (see `Virtual' in
xorg.conf(5)).

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Re: How to test virtual resolution

From: York Sun <hidden>
Date: 2008-08-07 15:02:54

On Thu, 2008-08-07 at 09:02 +0200, Geert Uytterhoeven wrote:
On Wed, 6 Aug 2008, York Sun wrote:
quoted
On Wed, 2008-08-06 at 22:59 +0200, Geert Uytterhoeven wrote:
quoted
On Wed, 6 Aug 2008, York Sun wrote:
quoted
I actually use fbset -g to set the resolutions. Does fbset have anything
So the third and fourth value for -g are the virtual resolution.
quoted
to do with panning?
Not directly; it allows to set the virtual screen size, so the frame
buffer console (or an application like fbtest) can make use of it.
Thanks, Geert. That's exact what I am asking -- what application can I
use and how?
X? Just you specify a virtual screen in xorg.conf (see `Virtual' in
xorg.conf(5)).
Yes, X works. And it does use FBIOPAN_DISPLAY ioctl. I am looking for a
simple application such as a picture viewer.

Thanks anyway.

York


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Re: How to test virtual resolution

From: Ondrej Zajicek <hidden>
Date: 2008-08-06 21:01:07

On Wed, Aug 06, 2008 at 02:59:36PM -0500, York Sun wrote:
Fbset can definitely change the resolution but it doesn't pan the
screen. I looked around but didn't find an application takes advantage
of the virtual resolution.
You can also test panning by writing to /sys/class/graphics/fb0/pan .

-- 
Elen sila lumenn' omentielvo

Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help