Mplayer with rebased Andrzej Zaborowski patch for -vo glamo

2009-07-20 Thread Martin Jansa
Hi,

sorry for delay, my previous post of this patch was stopped by "too
large attachement rule", sorry for this still quite big gziped one.

In attachement is patch for OE repo (for shr-import branch few weeks old),
which will add support for -vo glamo in mplayer_svn.git.

I rebased glamo patch from Andrzej Zaborowski 
http://repo.or.cz/w/mplayer/glamo.git?a=shortlog to last mplayer svn revision
29415, sofar it works for me.

In OE mplayer there was 
--enable-tremor-low   enable lower accuracy internal Tremor
enabled, but I'll check if external tremor performs better.

-- 
uin:136542059jid:martin.ja...@gmail.com
Jansa Martin sip:jama...@voip.wengo.fr 
JaMa 


0001-Rebased-glamo-patch-from-Andrzej-Zaborowski.patch.gz
Description: Binary data
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Mplayer with rebased Andrzej Zaborowski patch for -vo glamo

2009-07-20 Thread PaulTT
> sorry for delay, my previous post of this patch was stopped by "too
> large attachement rule", sorry for this still quite big gziped one.
>
> In attachement is patch for OE repo (for shr-import branch few weeks old),
> which will add support for -vo glamo in mplayer_svn.git.
>
> I rebased glamo patch from Andrzej Zaborowski
> http://repo.or.cz/w/mplayer/glamo.git?a=shortlog to last mplayer svn revision
> 29415, sofar it works for me.
>

when did you -or andrzej- posted the patch above to mplayer
development mailing list?
i couldn't found it in there
(the only thread nameing glamo was of oct 2008, and not really a patchset)
please do.

http://www.mplayerhq.hu/design7/mailing_lists.html

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Mplayer with rebased Andrzej Zaborowski patch for -vo glamo

2009-07-20 Thread Martin Jansa
On Mon, Jul 20, 2009 at 05:08:03PM +0200, PaulTT wrote:
> when did you -or andrzej- posted the patch above to mplayer
> development mailing list?
> i couldn't found it in there
> (the only thread nameing glamo was of oct 2008, and not really a patchset)
> please do.

I couldn't found it there too, thats why I started to update it to
latest mplayer code :).

I'll post it there after some testing here, it works for me, but I'm
using latest DRI stuff from Thomas White and others
(now from exa-via-dri branch [1]) so I'm curious about others experience with 
it.

I just updated patch for latest mplayer (just few changes like configure
script and resolved few conflicts). I also cleaned up some unfinished
work like stub for vidix driver [2].

I would like to update it directly in git repo [3], but I need to get
more experience with git, before trying it in public repo :).

[1] 
http://git.openmoko.org/?p=xf86-video-glamo.git;a=shortlog;h=refs/heads/exa-via-dri
[2] 
http://repo.or.cz/w/mplayer/glamo.git?a=commit;h=9572d78e64f53aa3ce4746e7472550dcfb9570e3
[3] http://repo.or.cz/w/mplayer/glamo.git

-- 
uin:136542059jid:martin.ja...@gmail.com
Jansa Martin sip:jama...@voip.wengo.fr 
JaMa 


pgplfTcExKP98.pgp
Description: PGP signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Mplayer with rebased Andrzej Zaborowski patch for -vo glamo

2009-07-20 Thread PaulTT
On Mon, Jul 20, 2009 at 5:29 PM, Martin Jansa wrote:
> On Mon, Jul 20, 2009 at 05:08:03PM +0200, PaulTT wrote:
>> when did you -or andrzej- posted the patch above to mplayer
>> development mailing list?
>> i couldn't found it in there
>> (the only thread nameing glamo was of oct 2008, and not really a patchset)
>> please do.
>
> I couldn't found it there too, thats why I started to update it to
> latest mplayer code :).
>
> I'll post it there after some testing here, it works for me, but I'm
> using latest DRI stuff from Thomas White and others
> (now from exa-via-dri branch [1]) so I'm curious about others experience with 
> it.
>
> I just updated patch for latest mplayer (just few changes like configure
> script and resolved few conflicts). I also cleaned up some unfinished
> work like stub for vidix driver [2].
>
> I would like to update it directly in git repo [3], but I need to get
> more experience with git, before trying it in public repo :).
>
> [1] 
> http://git.openmoko.org/?p=xf86-video-glamo.git;a=shortlog;h=refs/heads/exa-via-dri
> [2] 
> http://repo.or.cz/w/mplayer/glamo.git?a=commit;h=9572d78e64f53aa3ce4746e7472550dcfb9570e3
> [3] http://repo.or.cz/w/mplayer/glamo.git
>

that's ok :)
i'll try to look and try it, as soon as i'll have a little spare
time,hoping in vacancies time, sigh, lately i'm very busy :(

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Mplayer with rebased Andrzej Zaborowski patch for -vo glamo

2009-07-20 Thread Thomas White
On Mon, 20 Jul 2009 17:29:09 +0200
Martin Jansa  wrote:

> I couldn't found it there too, thats why I started to update it to
> latest mplayer code :).
> 
> I'll post it there after some testing here, it works for me, but I'm
> using latest DRI stuff from Thomas White and others
> (now from exa-via-dri branch [1]) so I'm curious about others experience
> with it.

I'm fascinated that you managed to get a picture (of anything) on the screen
using the exa-via-dri branch at the moment :).. It contains only a small
amount of code leading up to the point when I realised the serious problem
with trying to do EXA over DRI within an fbdev-based DDX without KMS [1]:
http://tinyurl.com/lgu2d7

Both the exa-via-dri and dri-aware branches of xf86-video-glamo will be going
away quite soon in favour of a new "kms" branch, which works round these
issues, and has an added bonus of being much simpler.  The kernel parts of
KMS necessary to get an "old-style" fbdev Xorg driver running are working
already, this part is about making our Xorg driver use the KMS framework.
I'll send an email to OM-Devel to clarify this when this next stage of things
is working.

But anyway, are you interesting in making the mplayer driver use DRI?  If so,
that's fantastic - it'd allow cooperation between Xorg's acceleration and the
video acceleration.

Tom

[1] If that's not too many TLAs for one sentence...

-- 
Thomas White 

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Mplayer with rebased Andrzej Zaborowski patch for -vo glamo

2009-07-21 Thread Martin Jansa
On Mon, Jul 20, 2009 at 06:18:24PM +0100, Thomas White wrote:
> I'm fascinated that you managed to get a picture (of anything) on the screen
> using the exa-via-dri branch at the moment :).. It contains only a small
> amount of code leading up to the point when I realised the serious problem
> with trying to do EXA over DRI within an fbdev-based DDX without KMS [1]:
> http://tinyurl.com/lgu2d7

First I had to apply patch from attachement to even compile it in OE ;).
Then I guess thats because EXA was disabled at Xorg startup at the moment,
so it worked like dri-aware version from user pov.
 
> Both the exa-via-dri and dri-aware branches of xf86-video-glamo will be going
> away quite soon in favour of a new "kms" branch, which works round these
> issues, and has an added bonus of being much simpler.  The kernel parts of
> KMS necessary to get an "old-style" fbdev Xorg driver running are working
> already, this part is about making our Xorg driver use the KMS framework.
> I'll send an email to OM-Devel to clarify this when this next stage of things
> is working.

I'm looking forward to test it.

> But anyway, are you interesting in making the mplayer driver use DRI?  If so,
> that's fantastic - it'd allow cooperation between Xorg's acceleration and the
> video acceleration.

I'm quite interested, but the problem is that I'm interested in too many
things already, so lack of skills and lack of time.. :(

-- 
uin:136542059jid:martin.ja...@gmail.com
Jansa Martin sip:jama...@voip.wengo.fr 
JaMa 
diff -uNr git.orig/src/glamo-draw.c git/src/glamo-draw.c
--- git.orig/src/glamo-draw.c   2009-07-18 14:20:55.0 +0200
+++ git/src/glamo-draw.c2009-07-18 14:21:13.0 +0200
@@ -482,7 +482,7 @@
width, height, depth,
bitsPerPixel, devKind);
 
-   miModifyPixmapHeader(pPixmap, width, height, depth,
+   miModifyPixmapHeader(pPix, width, height, depth,
 bitsPerPixel, devKind, NULL);
 
if ( pPix == screen_pixmap ) {


pgpztF9pwjkSL.pgp
Description: PGP signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community