Jump to content


betacentauri

Member Since 3 Dec 2011
Offline Last Active 01 Jun 2024 18:44
*****

#245487 Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

Posted by betacentauri on 11 January 2012 - 16:34

Hi attaros,

I have found something which can perhaps cause this problem. I'll builld a patch this evening for it. If it doesn't help, I revert my old patch.

Regards


#244789 Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

Posted by betacentauri on 8 January 2012 - 23:25

I have tested with osd branch and xshm and opengl driver -> no problems.
And also with master branch (without osd pressing space -> up -> up -> enter). Here a had some e2 crashes (not whole PC), but not everytime.

I really don't believe that my patch can crash whole PC. I hope you cannot reproduce it.

I only had one total freeze during developing some days ago. It was while trying to debug e2. But it was not this patch I was developing...


#244780 Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

Posted by betacentauri on 8 January 2012 - 22:07

Since you can see the osd and you use master branch, I expect that you have a nvidia card and use the vdpau driver.
Well I don't have a nvidia card... I need to use my osd branch to see the osd.

@nobody9: Can you test and confirm problems?

@Pr2: Can you please test another time with current version and then checkout old commit point 6db15484b43527f795a865f6b6db9e8bdfefae2d and retest?


#244435 Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

Posted by betacentauri on 7 January 2012 - 16:29

I have added a nice feature to master branch (I will merge it to osd branch in a view minutes):
Video is resized when window is resized. Also there are no ugly artefact anymore.


#244277 Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

Posted by betacentauri on 6 January 2012 - 21:09

Hi everybody,

OSD wasn't visible for ATI graphic cards users until now. I have changed source code so that opengl driver can now show OSD.
It works with all common opengl renderer (2D_Tex_Fragprog, 2D_Tex, 2D_Tex_Tiled and Image_Pipeline).
To change to opengl driver you can change the video.driver line (in /usr/local/e2/share/enigma2/xine.conf) to
video.driver:opengl

To get the source code checkout git and switch to new branch osd.
git clone https://github.com/nobody9/openpliPC.git
git checkout osd

Big thanks for the beta testers: nobody9, neku, balans and buyukbang!!!

Known bugs:[list]
[*]according to nobody9 e2 crashes with nvidia graphic card and opengl driver on HD channels (SD channels work)
[/list]
With ATI graphic cards (5770, 4290) we had no problems with HD and SD.

Technical:
I use a second texture (for Image_Pipeline a second draw) which is rendered over the video with alphablending.
2 renderings are used and no multitexturing (that would cause too many changes to the source code).

Regards,
Betacentauri


#243078 Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

Posted by betacentauri on 1 January 2012 - 18:47

@nobody9: You're really fast. Thanks!

@all: Can you change window size without problems(I mean with the mouse)? If I shrink the size e2 crashes. If I increase size I get this:
Bildschirmfoto am 2012-01-01 18:45:59.png


#243062 Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

Posted by betacentauri on 1 January 2012 - 18:00

Here's another patch.

Changes:
- turn on xine verbosity before driver setup to get important informations about choosen driver and renderer

@nobody9, buyukbang and balans: I'll have something for you ;) (see messenger)

Attached Files




#242977 Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

Posted by betacentauri on 1 January 2012 - 13:34

Happy new year!!

Here's my first patch ever (Never worked with git before. I hope I did it right).

Changes:
- added xine.conf to configuration backup
- added switch to turn off configure / autoconf (that took on my machine > 30 seconds everytime and is
for developers often unnecessary)

@nobody9: Is it ok?

Attached Files




#242616 Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

Posted by betacentauri on 31 December 2011 - 01:40

I have good news!

I found another way to show the OSD(currently only for opengl driver). It's much better than the other solution,
because I don't need the yuv conversion and the color reduction.

Here is a new screenshot.

As you can see I have a problem with the osd size. It's too small and 2 times visible.

Best regards,
Betacentauri

Attached Thumbnails

  • Bildschirmfoto am 2011-12-31 01:33:31.png



#242292 Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit

Posted by betacentauri on 30 December 2011 - 01:54

You did a great work (especially nobody9)!!

E2 runs here with one exception without problems (with vtuner on a ET9200).

The exception is the OSD. I have a ATI graphic card and OSD isn't visible.
I searched many hours to understand how it works and why OSD isn't visible. The quick answer is that overlays are only visible
with the vdpau driver. For all other drivers it's not implemented :angry:

But I wanted to see a OSD, so I'm implemented one ;) (not with overlays, I use normal xine OSD).
I can see a OSD, but currently the implementation isn't really nice (at most alpha status).
Drawing an OSD with xine is really ugly. I have to convert the rgb E2 OSD to yuv and have to shrink used colors to 256 (indexed image).

So I only wanted you to know that I'm working on it. I hope, that I can finish it in the next 1-2 weeks. I'll post the code when it's done.