N9/N950 TV out control application

Re: [ANNOUNCE] N9/N950 TV out control application

Pali Rohár
Karma: 1273
2012-01-24 11:18 UTC
On Friday 13 January 2012 08:51:21 Ville =?ISO-8859-1?Q?Syrj=E4l=E4?= wrote:
> On Thu, Jan 12, 2012 at 09:55:21AM +0100, Pali Rohár wrote:
> > Checking if and which Maemo version is running on build system server can
> > be detected by pkgconfig package maemo-version.
>
> That's not available in harmattan. But anyway I realized I need to
> change the build dependencies anyway, so I just removed the packaging
> from the master branch and moved it to fremantle and harmattan branches
> for each platform.

Can you merge CSSU repository (with new control panel & status menu plugin)
into main maemo-tvout-control repository?

--
Pali Rohár
pali.rohar@gmail.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEABECAAYFAk8ek3gACgkQi/DJPQPkQ1LJFgCfVWM4a3HyxHvLouGtNY4mSV95
MC4AniONhKzZEhCbn1kmagWSpSVyiVR7
=dvic
-----END PGP SIGNATURE-----

  •  Reply

Re: [ANNOUNCE] N9/N950 TV out control application

Ville Syrjala
Karma: 11
2012-01-31 15:46 UTC
On Tue, Jan 24, 2012 at 12:18:16PM +0100, Pali Rohár wrote:
> On Friday 13 January 2012 08:51:21 Ville =?ISO-8859-1?Q?Syrj=E4l=E4?= wrote:
> > On Thu, Jan 12, 2012 at 09:55:21AM +0100, Pali Rohár wrote:
> > > Checking if and which Maemo version is running on build system server can
> > > be detected by pkgconfig package maemo-version.
> >
> > That's not available in harmattan. But anyway I realized I need to
> > change the build dependencies anyway, so I just removed the packaging
> > from the master branch and moved it to fremantle and harmattan branches
> > for each platform.
>
> Can you merge CSSU repository (with new control panel & status menu plugin)
> into main maemo-tvout-control repository?

Sorry for the delay. I'll try to take a look at this tonight.

--
Ville Syrjälä
syrjala@sci.fi
http://www.sci.fi/~syrjala/
  •  Reply

Re: [ANNOUNCE] N9/N950 TV out control application

Pali Rohár
Karma: 1273
2012-02-26 14:59 UTC
On Tuesday 31 January 2012 17:46:00 Ville Syrjälä wrote:
> On Tue, Jan 24, 2012 at 12:18:16PM +0100, Pali Rohár wrote:
> > On Friday 13 January 2012 08:51:21 Ville =?ISO-8859-1?Q?Syrj=E4l=E4?=
wrote:
> > > On Thu, Jan 12, 2012 at 09:55:21AM +0100, Pali Rohár wrote:
> > > > Checking if and which Maemo version is running on build system server
> > > > can
> > > > be detected by pkgconfig package maemo-version.
> > >
> > > That's not available in harmattan. But anyway I realized I need to
> > > change the build dependencies anyway, so I just removed the packaging
> > > from the master branch and moved it to fremantle and harmattan branches
> > > for each platform.
> >
> > Can you merge CSSU repository (with new control panel & status menu
> > plugin)
> > into main maemo-tvout-control repository?
>
> Sorry for the delay. I'll try to take a look at this tonight.

Did you looked at it?

--
Pali Rohár
pali.rohar@gmail.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEABECAAYFAk9KSLcACgkQi/DJPQPkQ1JE1gCaAgktvXEjTtxfhNV2T8DI+JDZ
GDYAoIG7obs603j8XrvJxgR5z3INk//i
=orKk
-----END PGP SIGNATURE-----

  •  Reply

Re: [ANNOUNCE] N9/N950 TV out control application

ndriza mas
Karma: 17
2012-03-07 09:57 UTC
>
> On Tuesday 31 January 2012 17:46:00 Ville Syrjälä wrote:
> > On Tue, Jan 24, 2012 at 12:18:16PM +0100, Pali Rohár wrote:
> > > On Friday 13 January 2012 08:51:21 Ville =?ISO-8859-1?Q?Syrj=E4l=E4?=
> wrote:
> > > > On Thu, Jan 12, 2012 at 09:55:21AM +0100, Pali Rohár wrote:
> > > > > Checking if and which Maemo version is running on build system server
> > > > > can
> > > > > be detected by pkgconfig package maemo-version.
> > > >
> > > > That's not available in harmattan. But anyway I realized I need to
> > > > change the build dependencies anyway, so I just removed the packaging
> > > > from the master branch and moved it to fremantle and harmattan branches
> > > > for each platform.
> > >
> > > Can you merge CSSU repository (with new control panel & status menu
> > > plugin)
> > > into main maemo-tvout-control repository?
> >
> > Sorry for the delay. I'll try to take a look at this tonight.
>
> Did you looked at it?
>
> --
> Pali Rohár
> pali.rohar@gmail.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
>
> iEYEABECAAYFAk9KSLcACgkQi/DJPQPkQ1JE1gCaAgktvXEjTtxfhNV2T8DI+JDZ
> GDYAoIG7obs603j8XrvJxgR5z3INk//i
> =orKk
> -----END PGP SIGNATURE-----
>
>
>
these may be useful?
http://depot.javispedro.com/nit/harm/srcs/
https://endno.de/~itsnotabigtruck/inception/
  •  Reply

Re: [ANNOUNCE] N9/N950 TV out control application

Andrew Flegg
Karma: 3340
2012-03-12 18:27 UTC
On 9 January 2012 08:39, Ville Syrjälä <syrjala@sci.fi> wrote:
>
> The backend supports a few extra knobs, when compared with
> fremantle. However, I was too lazy to write the extra GUI
> code. So the current GUI offers the same controls that
> maemo-tvout-control has.

Is it possible to get rotational support in there? So that showing
Music has very wide black bars, but is at least the right way up?

Is there a binary package with everything nicely precompiled?

Thanks in advance,

Andrew

--
Andrew Flegg -- mailto:andrew@bleb.org  |  http://www.bleb.org/
  •  Reply

Re: [ANNOUNCE] N9/N950 TV out control application

Ville Syrjala
Karma: 11
2012-03-12 21:43 UTC
On Mon, Mar 12, 2012 at 06:27:03PM +0000, Andrew Flegg wrote:
> On 9 January 2012 08:39, Ville Syrjälä <syrjala@sci.fi> wrote:
> >
> > The backend supports a few extra knobs, when compared with
> > fremantle. However, I was too lazy to write the extra GUI
> > code. So the current GUI offers the same controls that
> > maemo-tvout-control has.
>
> Is it possible to get rotational support in there? So that showing
> Music has very wide black bars, but is at least the right way up?

Nope. At the very least you'd need to modify the X driver, and doing
it optimally from performance POV would require even more changes.

> Is there a binary package with everything nicely precompiled?

Dunno. I'm too lazy to distribute binaries.

--
Ville Syrjälä
syrjala@sci.fi
http://www.sci.fi/~syrjala/
  •  Reply

Re: [ANNOUNCE] N9/N950 TV out control application

Andrew Flegg
Karma: 3340
2012-03-12 21:57 UTC
On 12 March 2012 21:43, Ville Syrjälä <syrjala@sci.fi> wrote:
> On Mon, Mar 12, 2012 at 06:27:03PM +0000, Andrew Flegg wrote:
>>
>> Is it possible to get rotational support in there? So that showing
>> Music has very wide black bars, but is at least the right way up?
>
> Nope. At the very least you'd need to modify the X driver, and doing
> it optimally from performance POV would require even more changes.

So xrandr on Harmattan is more like 'xonlyoner' ;-)

>> Is there a binary package with everything nicely precompiled?
>
> Dunno. I'm too lazy to distribute binaries.

Fair enough.

--
Andrew Flegg -- mailto:andrew@bleb.org  |  http://www.bleb.org/
  •  Reply

Re: [ANNOUNCE] N9/N950 TV out control application

Kristóf Timur

2012-03-12 22:04 UTC
Unlike Fremantle, in Harmattan, screen rotation is implemented in the
toolkit level. (eg. MTF or Qt-Components).
As far as X is concerned, everything is in landscape.

-----Original Message-----
From: Andrew Flegg
Sent: Monday, March 12, 2012 10:57 PM
To: Ville Syrjälä
Cc: maemo-developers@maemo.org
Subject: Re: [ANNOUNCE] N9/N950 TV out control application

On 12 March 2012 21:43, Ville Syrjälä <syrjala@sci.fi> wrote:
> On Mon, Mar 12, 2012 at 06:27:03PM +0000, Andrew Flegg wrote:
>>
>> Is it possible to get rotational support in there? So that showing
>> Music has very wide black bars, but is at least the right way up?
>
> Nope. At the very least you'd need to modify the X driver, and doing
> it optimally from performance POV would require even more changes.

So xrandr on Harmattan is more like 'xonlyoner' ;-)

>> Is there a binary package with everything nicely precompiled?
>
> Dunno. I'm too lazy to distribute binaries.

Fair enough.

--
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org/

  •  Reply

Re: [ANNOUNCE] N9/N950 TV out control application

Ville Syrjala
Karma: 11
2012-03-12 23:01 UTC
On Mon, Mar 12, 2012 at 09:57:01PM +0000, Andrew Flegg wrote:
> On 12 March 2012 21:43, Ville Syrjälä <syrjala@sci.fi> wrote:
> > On Mon, Mar 12, 2012 at 06:27:03PM +0000, Andrew Flegg wrote:
> >>
> >> Is it possible to get rotational support in there? So that showing
> >> Music has very wide black bars, but is at least the right way up?
> >
> > Nope. At the very least you'd need to modify the X driver, and doing
> > it optimally from performance POV would require even more changes.
>
> So xrandr on Harmattan is more like 'xonlyoner' ;-)

Well, somewhat, but the r left is actually the rotate, not resize. Let
me explain. There was some problem with pvr memory management, so
resizing the X screen is disabled by default. IIRC we added some
xorg.conf option to allow it, but there's a good chance of making a
mess of things if you try it.

What you could do is start X with a larger screen size (eg. 854x854), and
then you could safely rotate the LCD output. TV output rotation isn't
really possible since VRFB (tile based hw rotation engine) isn't used. If
you attempt to use non-VRFB based rotation (aka. DMA rotation) on the TV
output, the display controller is likely to fail since the DMA can't keep
up with the display refresh due to the non-tiled memory layout. The
third way to rotate would be using the GPU, but no one ever bothered to
implement that in the X driver.

There are other things you can do with the current xrandr support.
For example you could use a bigger screen size, and pan the LCD and
TV output viewports to non-overlapping positions, which would give
you independent content on each output. There are going to be problems
with touch coordinates though, and the WM doesn't know how to the handle
the situation either. Also page flipping only works as long as the window
size equals the screen size.

So there is a fair bit of xrandr functionality in the driver, but it's
not utilized by the upper layers. The main reason for that was that the
UI designers wanted the transitions to be glitch free, and there just
wasn't enough time to make that happen with xrandr.

--
Ville Syrjälä
syrjala@sci.fi
http://www.sci.fi/~syrjala/
  •  Reply