Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 22 Sep 2014, 16:32
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How to patch the latest flashplayer? (patch for vdpau) FIXED
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [13 Posts]  
Author Message
divisionmd


Joined: 14 Jul 2007
Posts: 606

PostPosted: Thu 02 Aug 2012, 07:08    Post subject:  How to patch the latest flashplayer? (patch for vdpau) FIXED
Subject description: I have a patch, how do I use it? (patch for vdpau) FIXED
 

Hello,

- There is a known bug with the latest Flashplayer (vdpau) - blue bug - quite funny look at the attached image.

- However there is a fix - some sort of patch:
Quote:
"Implement two workarounds:

1) Swap U and V planes to VdpVideoSurfacePutBitsYCbCr to fix blue-tinged
videos.

2) Disable VdpPresentationQueueSetBackgroundColor, so that Flash doesn't
set the background to pure black or pure white, which would cause the
VDPAU image to bleed through to other parts of the desktop with those
very common colors."


- URL with information on this: http://lists.freedesktop.org/archives/vdpau/2012-May/000022.html
http://www.ubuntuvibes.com/2012/06/fix-for-blue-faces-in-flash-video-bug.html

- Ubuntu has it easy they only need to type:


sudo add-apt-repository ppa:tikhonov/misc
sudo apt-get update
sudo apt-get install libvdpau1

- However how can this patch be applied to Puppy Linux (Fatdog 64 bit) ?



- Another workaround people mention is to disable hardware accleration - but that is not a fix - because need hardware acceleration so movies play nicely.

- Many thanks for help - and would gladly pay for help on this.


Best regards,
Johan
Flash Blue Tint Bug Solved.jpg
 Description   
 Filesize   37.24 KB
 Viewed   796 Time(s)

Flash Blue Tint Bug Solved.jpg


Last edited by divisionmd on Tue 21 Aug 2012, 06:37; edited 3 times in total
Back to top
View user's profile Send private message MSN Messenger 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Fri 03 Aug 2012, 10:28    Post subject:  

No idea, but

http://packages.ubuntu.com/search?searchon=all&keywords=libvdpau1

shows some

nvidia libvdpau .

What for a Grahpics Chip/Card are you using ?
Back to top
View user's profile Send private message Visit poster's website 
Semme

Joined: 07 Aug 2011
Posts: 3908
Location: World_Hub

PostPosted: Fri 03 Aug 2012, 21:15    Post subject:  

Karl's probably right. If you read the replies on Ask Ubuntu, should be one of the two under LTS..

If not those, maybe here? Then again- I suppose you could just as well downgrade.. 10.3.183.19.
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6435
Location: Auckland, New Zealand

PostPosted: Sun 05 Aug 2012, 16:44    Post subject:  

Quote:
How to patch the latest flashplayer?

Of course, it is a patch for vdpau, not for flashplayer.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
divisionmd


Joined: 14 Jul 2007
Posts: 606

PostPosted: Mon 06 Aug 2012, 03:44    Post subject:  

Hello All,

Disciple: Thanks, Can you do this patch to Fatdog64 Puppy?

Quote:
Of course, it is a patch for vdpau



Karl: Thanks, i am using a Nvidia NVS 420 card - can you get me that file? would like to learn how you did it afterwards if you got time for this of course.. .


Many thanks for help,

Best regards,
JOhan[/quote]
Back to top
View user's profile Send private message MSN Messenger 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Mon 06 Aug 2012, 18:10    Post subject:  

John, first thing i would try is to "steal" the /usr/sbin/xorgwizard from Lighthouse Puppy to get the proper Xorg driver loaded correctly.

With compiling extra graphic drivers for nvidia as i should now, i had not have the time. Running Xorg-seerver-1.3.0 with the vesa driver .

The nvdia source should compile these nvidia-libvdpau.so* i guess. Don't know which one of the many Nvidia drivers would be best for your Graphics Card.

Shinobar had compiled a couple of nvidia drivers recently.

I am running Macpups based on Puppy 4.3 mainly with 32bit kernels-2.6.30 with and without PAE on my 64bit machine.
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6435
Location: Auckland, New Zealand

PostPosted: Mon 06 Aug 2012, 18:48    Post subject:  

divisionmd wrote:
Hello All,

Disciple: Thanks, Can you do this patch to Fatdog64 Puppy?

Sure you could - grab the source from
http://cgit.freedesktop.org/~aplattner/libvdpau.
I can't - I don't have a 64bit machine.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Tue 07 Aug 2012, 03:47    Post subject:  

Jamesbond might be interested. Send the link of this thread to 007 ie Fatdog thread. Jamesbond has created nvidia proprietary driver pet which has 64 bit libvdpau included. He might be interested to patch libvdpau since he has created that nvidia pet manually copying the needed files and.... patching the relevant files into the pet could be something he is interested.
Back to top
View user's profile Send private message 
divisionmd


Joined: 14 Jul 2007
Posts: 606

PostPosted: Wed 08 Aug 2012, 04:02    Post subject:  

Pemasu: Mailing Jamesbond directly - i think this is a most welcomed patch - since the latest player has a lot of speed advantages.


Disciple: Tested to download that: http://cgit.freedesktop.org/~aplattner/libvdpau = got no errors when i compilied it (autogen.sh / configure / make / make install). But still the movies are blue... .


Karld Godt: Ok but have you tested that patch? since everyone on Linux testing the new flashplayer will get this strange blu smurf bug.


Best regards,
Johan
Back to top
View user's profile Send private message MSN Messenger 
divisionmd


Joined: 14 Jul 2007
Posts: 606

PostPosted: Tue 21 Aug 2012, 06:31    Post subject: Got a fix from Jamesbond (fixed)  

Hello All,

- To use the latest flashplayer with "stage video" on Fatdog 64bit you need a patch to fix the "smurf" bug.. .

- Attaching the patch. (only for Fatdog)

- And many thanks to JamesBond!

Best regards,
Johan
libvdpau-patched.pet
Description 
pet

 Download 
Filename  libvdpau-patched.pet 
Filesize  19.29 KB 
Downloaded  129 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
wsamh

Joined: 16 Apr 2010
Posts: 79

PostPosted: Wed 03 Oct 2012, 12:31    Post subject:  

Is there anyway to patch it for Slacko?
Back to top
View user's profile Send private message Visit poster's website 
666philb


Joined: 07 Feb 2010
Posts: 1697
Location: wales

PostPosted: Sat 08 Dec 2012, 17:51    Post subject:  

here's a patch that patches libflashplayer.so......

Code:
cd /usr/lib/mozilla/plugins
perl -pi.bak -e 's/libvdpau/lixvdpau/g' libflashplayer.so


then restart the browser.

not sure if the devx needs to be installed or not

_________________
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
LÖVE2d, a collection of 27 lua gameshttp://www.murga-linux.com/puppy/viewtopic.php?t=76739
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2247

PostPosted: Tue 11 Dec 2012, 12:11    Post subject:  

Quote:

Prevent Flash Player from finding libvdpau

(Via Daniel Mario Vega on Launchpad)

Run the following commands (given you have adobe-flashplugin package installed):

cd /usr/lib/adobe-flashplugin/
sudo perl -pi.bak -e 's/libvdpau/lixvdpau/g' libflashplayer.so

The change takes effect after restarting the browser.

This will modify Flash Player's binary to search for non-existent "lixvdpau" library instead of "libvdpau". Therefore it won't attempt to use VDPAU presentation at all.

The command creates libflashplayer.so.bak backup of the binary in case you run into any problems.

You need to run this command every time there's a Flash Player update since your change will be overwritten.

With this workaround you can keep HW acceleration on, have libvdpau1 installed and it's very easy to apply compared to patching libvdpau


If you don't have perl installed, the exact same syntax using 'sed', instead of perl, will do the same thing.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [13 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0835s ][ Queries: 13 (0.0101s) ][ GZIP on ]