linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to test virtual resolution
@ 2008-08-06 15:37 sun york
  2008-08-06 19:17 ` Geert Uytterhoeven
  0 siblings, 1 reply; 10+ messages in thread
From: sun york @ 2008-08-06 15:37 UTC (permalink / raw)
  To: linux-fbdev-devel


[-- Attachment #1.1: Type: text/plain, Size: 228 bytes --]

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
 

[-- Attachment #1.2: Type: text/html, Size: 697 bytes --]

[-- Attachment #2: Type: text/plain, Size: 363 bytes --]

-------------------------------------------------------------------------
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=/

[-- Attachment #3: Type: text/plain, Size: 182 bytes --]

_______________________________________________
Linux-fbdev-devel mailing list
Linux-fbdev-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: How to test virtual resolution
  2008-08-06 15:37 How to test virtual resolution sun york
@ 2008-08-06 19:17 ` Geert Uytterhoeven
  2008-08-06 19:59   ` York Sun
  0 siblings, 1 reply; 10+ messages in thread
From: Geert Uytterhoeven @ 2008-08-06 19:17 UTC (permalink / raw)
  To: sun york; +Cc: linux-fbdev-devel

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=/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: How to test virtual resolution
  2008-08-06 19:17 ` Geert Uytterhoeven
@ 2008-08-06 19:59   ` York Sun
  2008-08-06 20:06     ` Geert Uytterhoeven
  2008-08-06 21:00     ` Ondrej Zajicek
  0 siblings, 2 replies; 10+ messages in thread
From: York Sun @ 2008-08-06 19:59 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: linux-fbdev-devel

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:
> > 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=/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: How to test virtual resolution
  2008-08-06 19:59   ` York Sun
@ 2008-08-06 20:06     ` Geert Uytterhoeven
  2008-08-06 20:51       ` York Sun
  2008-08-06 21:00     ` Ondrej Zajicek
  1 sibling, 1 reply; 10+ messages in thread
From: Geert Uytterhoeven @ 2008-08-06 20:06 UTC (permalink / raw)
  To: York Sun; +Cc: linux-fbdev-devel

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:
> > 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=/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: How to test virtual resolution
  2008-08-06 20:06     ` Geert Uytterhoeven
@ 2008-08-06 20:51       ` York Sun
  2008-08-06 20:59         ` Geert Uytterhoeven
  0 siblings, 1 reply; 10+ messages in thread
From: York Sun @ 2008-08-06 20:51 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: linux-fbdev-devel

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:
> > 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:
> > > 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=/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: How to test virtual resolution
  2008-08-06 20:51       ` York Sun
@ 2008-08-06 20:59         ` Geert Uytterhoeven
  2008-08-06 21:05           ` York Sun
  0 siblings, 1 reply; 10+ messages in thread
From: Geert Uytterhoeven @ 2008-08-06 20:59 UTC (permalink / raw)
  To: York Sun; +Cc: linux-fbdev-devel

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:
> > 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:
> > > > 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=/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: How to test virtual resolution
  2008-08-06 19:59   ` York Sun
  2008-08-06 20:06     ` Geert Uytterhoeven
@ 2008-08-06 21:00     ` Ondrej Zajicek
  1 sibling, 0 replies; 10+ messages in thread
From: Ondrej Zajicek @ 2008-08-06 21:00 UTC (permalink / raw)
  To: York Sun; +Cc: linux-fbdev-devel, Geert Uytterhoeven


[-- Attachment #1.1: Type: text/plain, Size: 541 bytes --]

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."

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 363 bytes --]

-------------------------------------------------------------------------
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=/

[-- Attachment #3: Type: text/plain, Size: 182 bytes --]

_______________________________________________
Linux-fbdev-devel mailing list
Linux-fbdev-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: How to test virtual resolution
  2008-08-06 20:59         ` Geert Uytterhoeven
@ 2008-08-06 21:05           ` York Sun
  2008-08-07  7:02             ` Geert Uytterhoeven
  0 siblings, 1 reply; 10+ messages in thread
From: York Sun @ 2008-08-06 21:05 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: linux-fbdev-devel

On Wed, 2008-08-06 at 22:59 +0200, Geert Uytterhoeven wrote:
> 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.

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=/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: How to test virtual resolution
  2008-08-06 21:05           ` York Sun
@ 2008-08-07  7:02             ` Geert Uytterhoeven
  2008-08-07 14:57               ` York Sun
  0 siblings, 1 reply; 10+ messages in thread
From: Geert Uytterhoeven @ 2008-08-07  7:02 UTC (permalink / raw)
  To: York Sun; +Cc: linux-fbdev-devel

On Wed, 6 Aug 2008, York Sun wrote:
> On Wed, 2008-08-06 at 22:59 +0200, Geert Uytterhoeven wrote:
> > 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.
> 
> 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=/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: How to test virtual resolution
  2008-08-07  7:02             ` Geert Uytterhoeven
@ 2008-08-07 14:57               ` York Sun
  0 siblings, 0 replies; 10+ messages in thread
From: York Sun @ 2008-08-07 14:57 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: linux-fbdev-devel

On Thu, 2008-08-07 at 09:02 +0200, Geert Uytterhoeven wrote:
> On Wed, 6 Aug 2008, York Sun wrote:
> > On Wed, 2008-08-06 at 22:59 +0200, Geert Uytterhoeven wrote:
> > > 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.
> > 
> > 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=/

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-08-07 15:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-06 15:37 How to test virtual resolution sun york
2008-08-06 19:17 ` Geert Uytterhoeven
2008-08-06 19:59   ` York Sun
2008-08-06 20:06     ` Geert Uytterhoeven
2008-08-06 20:51       ` York Sun
2008-08-06 20:59         ` Geert Uytterhoeven
2008-08-06 21:05           ` York Sun
2008-08-07  7:02             ` Geert Uytterhoeven
2008-08-07 14:57               ` York Sun
2008-08-06 21:00     ` Ondrej Zajicek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).