Author |
Message |
divisionmd

Joined: 14 Jul 2007 Posts: 608
|
Posted: 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
Description |
|
Filesize |
37.24 KB |
Viewed |
834 Time(s) |

|
Last edited by divisionmd on Tue 21 Aug 2012, 06:37; edited 3 times in total
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 4208 Location: Kiel,Germany
|
Posted: 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
|
|
 |
Semme

Joined: 07 Aug 2011 Posts: 7826 Location: World_Hub
|
Posted: 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
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6781 Location: Auckland, New Zealand
|
Posted: 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.
_________________ If you have or know of a good gtkdialog application, please post a link here
Classic Puppy quotes
ROOT FOREVER
|
Back to top
|
|
 |
divisionmd

Joined: 14 Jul 2007 Posts: 608
|
Posted: 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
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 4208 Location: Kiel,Germany
|
Posted: 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
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6781 Location: Auckland, New Zealand
|
Posted: 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.
_________________ If you have or know of a good gtkdialog application, please post a link here
Classic Puppy quotes
ROOT FOREVER
|
Back to top
|
|
 |
pemasu

Joined: 08 Jul 2009 Posts: 5484 Location: Finland
|
Posted: 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
|
|
 |
divisionmd

Joined: 14 Jul 2007 Posts: 608
|
Posted: 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
|
|
 |
divisionmd

Joined: 14 Jul 2007 Posts: 608
|
Posted: 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
Description |
|

Download |
Filename |
libvdpau-patched.pet |
Filesize |
19.29 KB |
Downloaded |
203 Time(s) |
|
Back to top
|
|
 |
wsamh
Joined: 16 Apr 2010 Posts: 79
|
Posted: Wed 03 Oct 2012, 12:31 Post subject:
|
|
Is there anyway to patch it for Slacko?
|
Back to top
|
|
 |
666philb

Joined: 07 Feb 2010 Posts: 3169 Location: wales
|
Posted: 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
_________________ Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
|
Back to top
|
|
 |
amigo
Joined: 02 Apr 2007 Posts: 2641
|
Posted: 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
|
|
 |
|