@FernetMenta

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
P.Kosunen Offline
Senior Member
Posts: 101
Joined: Jan 2010
Reputation: 0
Post: #16
EkASs Wrote:I disagree. The colors are defined by the provider and most of the time there are more than one color for hearing impaired.

I mean movie subtitles where is no colors defined. VobSubs with .avi or in .mkv...
(This post was last modified: 2011-09-03 19:25 by P.Kosunen.)
find quote
FernetMenta Offline
Team-Kodi Developer
Posts: 3,424
Joined: Jul 2010
Reputation: 67
Location: Munich
Post: #17
My working branch is a big construction site at the moment. I will let you know when its worth testing. I have touched subtitles in order to put texture loading on an extra thread but have not looked yet into bitmaps.
find quote
steffen_b Offline
Member
Posts: 52
Joined: Dec 2009
Reputation: 0
Post: #18
I suffer from this as well a lot with Dharma and odk pre-eden packages on Ubuntu Natty

From what i understood, the xrandr refresh rate switch is causing a pre-emption error in nvidia driver, which should restart the vdpau decoder - but xbmc crashes for this error as it cant handle it.

Your approach is now
a) to reduce the likelyhood that the preemption error happens
b) re-init vdpau decoder on pre-emption error

Confused

Sorry i just know enough to be dangerous - i'm likely wrong in anything written above - but i would like to understand Smile
find quote
FernetMenta Offline
Team-Kodi Developer
Posts: 3,424
Joined: Jul 2010
Reputation: 67
Location: Munich
Post: #19
The problem is the interoperation with OpenGL. The OpenGL pipeline is asnyc, and has textures mapped to resources from hardware decoder. Now if an error occurs like display preemption, you have to make sure that the OpenGL pipeline is empty and there are no references to invalid resources.

The approach is:
- look in advance if a change of refresh rate will happen
- stop player and clear opengl pipeline
- clear down vdpau (or other hw decoder)
- allow change of refresh rate
- wait until it has happened
- start player and reinit decoder
find quote
steffen_b Offline
Member
Posts: 52
Joined: Dec 2009
Reputation: 0
Post: #20
Ok thx - looking forward to test it as soon as you say its ok - so take your time and let us know (please) when you think its worth testing.
find quote
tocinillo Offline
Fan
Posts: 317
Joined: Dec 2010
Reputation: 2
Post: #21
steffen_b Wrote:Ok thx - looking forward to test it as soon as you say its ok - so take your time and let us know (please) when you think its worth testing.

+1, thanks for your time Fernet Smile

EDIT: I see in https://github.com/FernetMenta/xbmc/ that your merge the fix, is this correct?
find quote
FernetMenta Offline
Team-Kodi Developer
Posts: 3,424
Joined: Jul 2010
Reputation: 67
Location: Munich
Post: #22
This was just a fix for the fix Smile
find quote
tocinillo Offline
Fan
Posts: 317
Joined: Dec 2010
Reputation: 2
Post: #23
Ah ok!, because I tested this and my xbmc crash again xD

Regards!
find quote
Post Reply