Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Developers

[ANNOUNCE] N9/N950 TV out control application

 

 

Maemo developers RSS feed   Index | Next | Previous | View Threaded


syrjala at sci

Jan 9, 2012, 12:39 AM

Post #1 of 18 (1732 views)
Permalink
[ANNOUNCE] N9/N950 TV out control application

I finally managed to make some progress on "porting"
maemo-tvout-control to harmattan.

Code is here:
https://gitorious.org/maemo-tvout-control/n9-tvout-control

What you'll find there is a a very simple QWidget based GUI,
and backend code utilizing XRandR.

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.

The ultimate plan is to write a nice QML GUI for this stuff,
although I don't know when I'll have time to learn QML.

Another idea I have is to move the backend code to a separate
library. The same should be done for the fremantle Xv based
backend code. This would provide a unified TV out control API
for both platforms.

--
Ville Syrjl
syrjala [at] sci
http://www.sci.fi/~syrjala/
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


pali.rohar at gmail

Jan 9, 2012, 12:48 AM

Post #2 of 18 (1664 views)
Permalink
Re: [ANNOUNCE] N9/N950 TV out control application [In reply to]

On Monday 09 January 2012 10:39:43 Ville =?ISO-8859-1?Q?Syrj=E4l=E4?= wrote:
> I finally managed to make some progress on "porting"
> maemo-tvout-control to harmattan.
>
> Code is here:
> https://gitorious.org/maemo-tvout-control/n9-tvout-control
>
> What you'll find there is a a very simple QWidget based GUI,
> and backend code utilizing XRandR.
>
> 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.
>
> The ultimate plan is to write a nice QML GUI for this stuff,
> although I don't know when I'll have time to learn QML.
>
> Another idea I have is to move the backend code to a separate
> library. The same should be done for the fremantle Xv based
> backend code. This would provide a unified TV out control API
> for both platforms.

Hello,

last year I merged maemo-tvout-control with control panel settings plugin for
Nokia N900. Code is now in Community SSU on gitorious

https://gitorious.org/community-ssu/maemo-tvout-control

and is based on your orignal code
https://gitorious.org/maemo-tvout-control/maemo-tvout-control

I created new tvout status menu plugin, it is in that CSSU repository too.

It is possible to merge my changes on CSSU to your project? I think it is not
good idea to have 2 separated projects which has same code.

(I sent you mail before I forked your code, but you do not responce...)

--
Pali Rohr
pali.rohar [at] gmail
Attachments: signature.asc (0.19 KB)


syrjala at sci

Jan 9, 2012, 1:20 AM

Post #3 of 18 (1664 views)
Permalink
Re: [ANNOUNCE] N9/N950 TV out control application [In reply to]

On Mon, Jan 09, 2012 at 09:48:27AM +0100, Pali Rohr wrote:
> On Monday 09 January 2012 10:39:43 Ville =?ISO-8859-1?Q?Syrj=E4l=E4?= wrote:
> > I finally managed to make some progress on "porting"
> > maemo-tvout-control to harmattan.
> >
> > Code is here:
> > https://gitorious.org/maemo-tvout-control/n9-tvout-control
> >
> > What you'll find there is a a very simple QWidget based GUI,
> > and backend code utilizing XRandR.
> >
> > 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.
> >
> > The ultimate plan is to write a nice QML GUI for this stuff,
> > although I don't know when I'll have time to learn QML.
> >
> > Another idea I have is to move the backend code to a separate
> > library. The same should be done for the fremantle Xv based
> > backend code. This would provide a unified TV out control API
> > for both platforms.
>
> Hello,
>
> last year I merged maemo-tvout-control with control panel settings plugin for
> Nokia N900. Code is now in Community SSU on gitorious
>
> https://gitorious.org/community-ssu/maemo-tvout-control
>
> and is based on your orignal code
> https://gitorious.org/maemo-tvout-control/maemo-tvout-control

Ah, I did see the mail, but was swamped with something at the time and then
I just totally forgot to respond. Sorry.

> I created new tvout status menu plugin, it is in that CSSU repository too.

Great. Multiple different GUIs was the reason I tried to keep the
backend code separate.

> It is possible to merge my changes on CSSU to your project? I think it is not
> good idea to have 2 separated projects which has same code.

Yeah we could do some merging. But perhaps now would a good time to
move the backend code into a separate library. I'm not sure if the
harmattan and fremantle code can coexist nicely inside a single library,
or if that would cause problems with the packaging and whatnot. But at
least we could provide a library with the same name, and the same API,
for both platforms.

--
Ville Syrjl
syrjala [at] sci
http://www.sci.fi/~syrjala/
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


pali.rohar at gmail

Jan 9, 2012, 1:46 AM

Post #4 of 18 (1655 views)
Permalink
Re: [ANNOUNCE] N9/N950 TV out control application [In reply to]

On Monday 09 January 2012 11:20:19 you wrote:
> On Mon, Jan 09, 2012 at 09:48:27AM +0100, Pali Rohr wrote:
> > On Monday 09 January 2012 10:39:43 Ville =?ISO-8859-1?Q?Syrj=E4l=E4?=
wrote:
> > > I finally managed to make some progress on "porting"
> > > maemo-tvout-control to harmattan.
> > >
> > > Code is here:
> > > https://gitorious.org/maemo-tvout-control/n9-tvout-control
> > >
> > > What you'll find there is a a very simple QWidget based GUI,
> > > and backend code utilizing XRandR.
> > >
> > > 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.
> > >
> > > The ultimate plan is to write a nice QML GUI for this stuff,
> > > although I don't know when I'll have time to learn QML.
> > >
> > > Another idea I have is to move the backend code to a separate
> > > library. The same should be done for the fremantle Xv based
> > > backend code. This would provide a unified TV out control API
> > > for both platforms.
> >
> > Hello,
> >
> > last year I merged maemo-tvout-control with control panel settings plugin
> > for Nokia N900. Code is now in Community SSU on gitorious
> >
> > https://gitorious.org/community-ssu/maemo-tvout-control
> >
> > and is based on your orignal code
> > https://gitorious.org/maemo-tvout-control/maemo-tvout-control
>
> Ah, I did see the mail, but was swamped with something at the time and then
> I just totally forgot to respond. Sorry.
>
> > I created new tvout status menu plugin, it is in that CSSU repository too.
>
> Great. Multiple different GUIs was the reason I tried to keep the
> backend code separate.
>
> > It is possible to merge my changes on CSSU to your project? I think it is
> > not good idea to have 2 separated projects which has same code.
>
> Yeah we could do some merging. But perhaps now would a good time to
> move the backend code into a separate library. I'm not sure if the
> harmattan and fremantle code can coexist nicely inside a single library,
> or if that would cause problems with the packaging and whatnot. But at
> least we could provide a library with the same name, and the same API,
> for both platforms.

That version which is in CSSU working as:

* status menu plugin is loaded at startup and only this plugin have access to
tvout-ctl.c code. It monitor gconf tvout keys and when some is changed, it
call tvout-ctl function to change xv properties. (also monitor for xv changes
and change gconf keys)

* control panel plugin and desktop widget (and other plugins that can be
implemented) only changing gconf tvout keys, nothing more.


In tvout-ctl is minimum changes. There was only removed hardcoded function
update_ui and tvout_ui_set_* Instead that, tvout_ctl_init function get pointer
to function which is called.

So tvout-ctl.c should be same in fremantle and harmattan with my changes. I do
not know harmattan, but I think that haramttan does not use any Gtk, gconf
libraries, so desktop widget, control and status menu plugins are only for
fremantle. I think that the best will be to have one repository for tvout-ctl,
one for fremantle (here will be fremantle plugins) in CSSU project and one for
harmattan. What do you think?

--
Pali Rohr
pali.rohar [at] gmail
Attachments: signature.asc (0.19 KB)


syrjala at sci

Jan 9, 2012, 2:36 AM

Post #5 of 18 (1655 views)
Permalink
Re: [ANNOUNCE] N9/N950 TV out control application [In reply to]

On Mon, Jan 09, 2012 at 10:46:14AM +0100, Pali Rohr wrote:
> On Monday 09 January 2012 11:20:19 you wrote:
> > On Mon, Jan 09, 2012 at 09:48:27AM +0100, Pali Rohr wrote:
> > > On Monday 09 January 2012 10:39:43 Ville =?ISO-8859-1?Q?Syrj=E4l=E4?=
> wrote:
> > > > I finally managed to make some progress on "porting"
> > > > maemo-tvout-control to harmattan.
> > > >
> > > > Code is here:
> > > > https://gitorious.org/maemo-tvout-control/n9-tvout-control
> > > >
> > > > What you'll find there is a a very simple QWidget based GUI,
> > > > and backend code utilizing XRandR.
> > > >
> > > > 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.
> > > >
> > > > The ultimate plan is to write a nice QML GUI for this stuff,
> > > > although I don't know when I'll have time to learn QML.
> > > >
> > > > Another idea I have is to move the backend code to a separate
> > > > library. The same should be done for the fremantle Xv based
> > > > backend code. This would provide a unified TV out control API
> > > > for both platforms.
> > >
> > > Hello,
> > >
> > > last year I merged maemo-tvout-control with control panel settings plugin
> > > for Nokia N900. Code is now in Community SSU on gitorious
> > >
> > > https://gitorious.org/community-ssu/maemo-tvout-control
> > >
> > > and is based on your orignal code
> > > https://gitorious.org/maemo-tvout-control/maemo-tvout-control
> >
> > Ah, I did see the mail, but was swamped with something at the time and then
> > I just totally forgot to respond. Sorry.
> >
> > > I created new tvout status menu plugin, it is in that CSSU repository too.
> >
> > Great. Multiple different GUIs was the reason I tried to keep the
> > backend code separate.
> >
> > > It is possible to merge my changes on CSSU to your project? I think it is
> > > not good idea to have 2 separated projects which has same code.
> >
> > Yeah we could do some merging. But perhaps now would a good time to
> > move the backend code into a separate library. I'm not sure if the
> > harmattan and fremantle code can coexist nicely inside a single library,
> > or if that would cause problems with the packaging and whatnot. But at
> > least we could provide a library with the same name, and the same API,
> > for both platforms.
>
> That version which is in CSSU working as:
>
> * status menu plugin is loaded at startup and only this plugin have access to
> tvout-ctl.c code. It monitor gconf tvout keys and when some is changed, it
> call tvout-ctl function to change xv properties. (also monitor for xv changes
> and change gconf keys)
>
> * control panel plugin and desktop widget (and other plugins that can be
> implemented) only changing gconf tvout keys, nothing more.
>
>
> In tvout-ctl is minimum changes. There was only removed hardcoded function
> update_ui and tvout_ui_set_* Instead that, tvout_ctl_init function get pointer
> to function which is called.
>
> So tvout-ctl.c should be same in fremantle and harmattan with my changes. I do
> not know harmattan, but I think that haramttan does not use any Gtk, gconf
> libraries, so desktop widget, control and status menu plugins are only for
> fremantle.

Yep. At least for now there are no desktop/menu plugins.

> I think that the best will be to have one repository for tvout-ctl,
> one for fremantle (here will be fremantle plugins) in CSSU project and one for
> harmattan. What do you think?

Sounds good. We don't really need a harmattan specific GUI repo,
at least yet. The standalone Qt GUI should work in both fremantle
and harmattan if the tvout-ctl API is the same. Some clever way to
handle packaging may be needed if there are differences. Perhaps
keep the packaging stuff in separate branches and merge master to
them when the actual code changes.

--
Ville Syrjl
syrjala [at] sci
http://www.sci.fi/~syrjala/
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


pali.rohar at gmail

Jan 9, 2012, 3:03 AM

Post #6 of 18 (1663 views)
Permalink
Re: [ANNOUNCE] N9/N950 TV out control application [In reply to]

On Monday 09 January 2012 12:36:02 you wrote:
> On Mon, Jan 09, 2012 at 10:46:14AM +0100, Pali Rohr wrote:
> > On Monday 09 January 2012 11:20:19 you wrote:
> > > On Mon, Jan 09, 2012 at 09:48:27AM +0100, Pali Rohr wrote:
> > > > On Monday 09 January 2012 10:39:43 Ville =?ISO-8859-1?Q?Syrj=E4l=E4?=
> >
> > wrote:
> > > > > I finally managed to make some progress on "porting"
> > > > > maemo-tvout-control to harmattan.
> > > > >
> > > > > Code is here:
> > > > > https://gitorious.org/maemo-tvout-control/n9-tvout-control
> > > > >
> > > > > What you'll find there is a a very simple QWidget based GUI,
> > > > > and backend code utilizing XRandR.
> > > > >
> > > > > 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.
> > > > >
> > > > > The ultimate plan is to write a nice QML GUI for this stuff,
> > > > > although I don't know when I'll have time to learn QML.
> > > > >
> > > > > Another idea I have is to move the backend code to a separate
> > > > > library. The same should be done for the fremantle Xv based
> > > > > backend code. This would provide a unified TV out control API
> > > > > for both platforms.
> > > >
> > > > Hello,
> > > >
> > > > last year I merged maemo-tvout-control with control panel settings
> > > > plugin
> > > > for Nokia N900. Code is now in Community SSU on gitorious
> > > >
> > > > https://gitorious.org/community-ssu/maemo-tvout-control
> > > >
> > > > and is based on your orignal code
> > > > https://gitorious.org/maemo-tvout-control/maemo-tvout-control
> > >
> > > Ah, I did see the mail, but was swamped with something at the time and
> > > then
> > > I just totally forgot to respond. Sorry.
> > >
> > > > I created new tvout status menu plugin, it is in that CSSU repository
> > > > too.
> > >
> > > Great. Multiple different GUIs was the reason I tried to keep the
> > > backend code separate.
> > >
> > > > It is possible to merge my changes on CSSU to your project? I think it
> > > > is
> > > > not good idea to have 2 separated projects which has same code.
> > >
> > > Yeah we could do some merging. But perhaps now would a good time to
> > > move the backend code into a separate library. I'm not sure if the
> > > harmattan and fremantle code can coexist nicely inside a single library,
> > > or if that would cause problems with the packaging and whatnot. But at
> > > least we could provide a library with the same name, and the same API,
> > > for both platforms.
> >
> > That version which is in CSSU working as:
> >
> > * status menu plugin is loaded at startup and only this plugin have access
> > to tvout-ctl.c code. It monitor gconf tvout keys and when some is
> > changed, it call tvout-ctl function to change xv properties. (also
> > monitor for xv changes and change gconf keys)
> >
> > * control panel plugin and desktop widget (and other plugins that can be
> > implemented) only changing gconf tvout keys, nothing more.
> >
> >
> > In tvout-ctl is minimum changes. There was only removed hardcoded function
> > update_ui and tvout_ui_set_* Instead that, tvout_ctl_init function get
> > pointer to function which is called.
> >
> > So tvout-ctl.c should be same in fremantle and harmattan with my changes.
> > I do not know harmattan, but I think that haramttan does not use any Gtk,
> > gconf libraries, so desktop widget, control and status menu plugins are
> > only for fremantle.
>
> Yep. At least for now there are no desktop/menu plugins.
>
> > I think that the best will be to have one repository for tvout-ctl,
> > one for fremantle (here will be fremantle plugins) in CSSU project and one
> > for harmattan. What do you think?
>
> Sounds good. We don't really need a harmattan specific GUI repo,
> at least yet. The standalone Qt GUI should work in both fremantle
> and harmattan if the tvout-ctl API is the same. Some clever way to
> handle packaging may be needed if there are differences. Perhaps
> keep the packaging stuff in separate branches and merge master to
> them when the actual code changes.

Now I merged your changes to CSSU repository on:
https://gitorious.org/community-ssu/maemo-tvout-control

--
Pali Rohr
pali.rohar [at] gmail
Attachments: signature.asc (0.19 KB)


syrjala at sci

Jan 12, 2012, 12:37 AM

Post #7 of 18 (1659 views)
Permalink
Re: [ANNOUNCE] N9/N950 TV out control application [In reply to]

On Mon, Jan 09, 2012 at 12:36:02PM +0200, Ville Syrjl wrote:
> On Mon, Jan 09, 2012 at 10:46:14AM +0100, Pali Rohr wrote:
> > I think that the best will be to have one repository for tvout-ctl,
> > one for fremantle (here will be fremantle plugins) in CSSU project and one for
> > harmattan. What do you think?
>
> Sounds good. We don't really need a harmattan specific GUI repo,
> at least yet. The standalone Qt GUI should work in both fremantle
> and harmattan if the tvout-ctl API is the same. Some clever way to
> handle packaging may be needed if there are differences. Perhaps
> keep the packaging stuff in separate branches and merge master to
> them when the actual code changes.

I now merged both Xv and XRandR codes to libtvout-ctl [1].

I changed the license of this library to LGPL 2.1.

There's a configure option to select the backend at build time. The
debian packaging will build the Xv backend.

I'm not quite sure how I'll sort the issue on how to build for
harmattan. The same packaging otherwise works for both platforms,
so it would be nice to have some decent way to detect the platform
during the build and use that to select the backend. It would avoid
having to duplicate the packaging and maintaining multiple branches.

Run-time backend selection would be another option, but seems a little
pointless considering you have to build separate binary packages for
each platform anyway.

I updated both maemo-tvout-control and n9-tvout-control to use the
new library.

[1] https://gitorious.org/maemo-tvout-control/libtvout-ctl

--
Ville Syrjl
syrjala [at] sci
http://www.sci.fi/~syrjala/
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


pali.rohar at gmail

Jan 12, 2012, 12:55 AM

Post #8 of 18 (1662 views)
Permalink
Re: [ANNOUNCE] N9/N950 TV out control application [In reply to]

On Thursday 12 January 2012 10:37:12 Ville =?ISO-8859-1?Q?Syrj=E4l=E4?= wrote:
> On Mon, Jan 09, 2012 at 12:36:02PM +0200, Ville Syrjl wrote:
> > On Mon, Jan 09, 2012 at 10:46:14AM +0100, Pali Rohr wrote:
> > > I think that the best will be to have one repository for tvout-ctl,
> > > one for fremantle (here will be fremantle plugins) in CSSU project and
> > > one for harmattan. What do you think?
> >
> > Sounds good. We don't really need a harmattan specific GUI repo,
> > at least yet. The standalone Qt GUI should work in both fremantle
> > and harmattan if the tvout-ctl API is the same. Some clever way to
> > handle packaging may be needed if there are differences. Perhaps
> > keep the packaging stuff in separate branches and merge master to
> > them when the actual code changes.
>
> I now merged both Xv and XRandR codes to libtvout-ctl [1].
>
> I changed the license of this library to LGPL 2.1.
>
> There's a configure option to select the backend at build time. The
> debian packaging will build the Xv backend.
>
> I'm not quite sure how I'll sort the issue on how to build for
> harmattan. The same packaging otherwise works for both platforms,
> so it would be nice to have some decent way to detect the platform
> during the build and use that to select the backend. It would avoid
> having to duplicate the packaging and maintaining multiple branches.
>
> Run-time backend selection would be another option, but seems a little
> pointless considering you have to build separate binary packages for
> each platform anyway.
>
> I updated both maemo-tvout-control and n9-tvout-control to use the
> new library.
>
> [1] https://gitorious.org/maemo-tvout-control/libtvout-ctl

Checking if and which Maemo version is running on build system server can be
detected by pkgconfig package maemo-version.

--
Pali Rohr
pali.rohar [at] gmail
Attachments: signature.asc (0.19 KB)


syrjala at sci

Jan 12, 2012, 10:51 PM

Post #9 of 18 (1642 views)
Permalink
Re: [ANNOUNCE] N9/N950 TV out control application [In reply to]

On Thu, Jan 12, 2012 at 09:55:21AM +0100, Pali Rohr 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.

--
Ville Syrjl
syrjala [at] sci
http://www.sci.fi/~syrjala/
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


pali.rohar at gmail

Jan 12, 2012, 10:56 PM

Post #10 of 18 (1648 views)
Permalink
Re: [ANNOUNCE] N9/N950 TV out control application [In reply to]

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

So configure script can check if maemo-version exist. If yes build system is
fremantle otherwise harmattan.

--
Pali Rohr
pali.rohar [at] gmail
Attachments: signature.asc (0.19 KB)


pali.rohar at gmail

Jan 24, 2012, 3:18 AM

Post #11 of 18 (1596 views)
Permalink
Re: [ANNOUNCE] N9/N950 TV out control application [In reply to]

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 Rohr 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 Rohr
pali.rohar [at] gmail
Attachments: signature.asc (0.19 KB)


syrjala at sci

Jan 31, 2012, 7:46 AM

Post #12 of 18 (1585 views)
Permalink
Re: [ANNOUNCE] N9/N950 TV out control application [In reply to]

On Tue, Jan 24, 2012 at 12:18:16PM +0100, Pali Rohr 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 Rohr 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 Syrjl
syrjala [at] sci
http://www.sci.fi/~syrjala/
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


pali.rohar at gmail

Feb 26, 2012, 6:59 AM

Post #13 of 18 (1532 views)
Permalink
Re: [ANNOUNCE] N9/N950 TV out control application [In reply to]

On Tuesday 31 January 2012 17:46:00 Ville Syrjl wrote:
> On Tue, Jan 24, 2012 at 12:18:16PM +0100, Pali Rohr 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 Rohr 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 Rohr
pali.rohar [at] gmail
Attachments: signature.asc (0.19 KB)


andrew at bleb

Mar 12, 2012, 11:27 AM

Post #14 of 18 (1502 views)
Permalink
Re: [ANNOUNCE] N9/N950 TV out control application [In reply to]

On 9 January 2012 08:39, Ville Syrjälä <syrjala [at] sci> 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 [at] bleb  |  http://www.bleb.org/
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


syrjala at sci

Mar 12, 2012, 2:43 PM

Post #15 of 18 (1505 views)
Permalink
Re: [ANNOUNCE] N9/N950 TV out control application [In reply to]

On Mon, Mar 12, 2012 at 06:27:03PM +0000, Andrew Flegg wrote:
> On 9 January 2012 08:39, Ville Syrjl <syrjala [at] sci> 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 Syrjl
syrjala [at] sci
http://www.sci.fi/~syrjala/
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


andrew at bleb

Mar 12, 2012, 2:57 PM

Post #16 of 18 (1500 views)
Permalink
Re: [ANNOUNCE] N9/N950 TV out control application [In reply to]

On 12 March 2012 21:43, Ville Syrjälä <syrjala [at] sci> 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 [at] bleb  |  http://www.bleb.org/
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


timur at sch

Mar 12, 2012, 3:04 PM

Post #17 of 18 (1509 views)
Permalink
Re: [ANNOUNCE] N9/N950 TV out control application [In reply to]

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 [at] maemo
Subject: Re: [ANNOUNCE] N9/N950 TV out control application

On 12 March 2012 21:43, Ville Syrjälä <syrjala [at] sci> 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 [at] bleb | http://www.bleb.org/
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


syrjala at sci

Mar 12, 2012, 4:01 PM

Post #18 of 18 (1512 views)
Permalink
Re: [ANNOUNCE] N9/N950 TV out control application [In reply to]

On Mon, Mar 12, 2012 at 09:57:01PM +0000, Andrew Flegg wrote:
> On 12 March 2012 21:43, Ville Syrjl <syrjala [at] sci> 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 Syrjl
syrjala [at] sci
http://www.sci.fi/~syrjala/
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers

Maemo developers RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.