From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 73358] [regression?][nv34] adobe flash + firefox -> DATA_ERROR Date: Fri, 17 Jan 2014 18:10:09 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1962443066==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1962443066== Content-Type: multipart/alternative; boundary="1389982208.dbF1Fcd2.10913"; charset="us-ascii" --1389982208.dbF1Fcd2.10913 Date: Fri, 17 Jan 2014 18:10:08 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73358 --- Comment #28 from Ilia Mirkin --- (In reply to comment #27) > (In reply to comment #26) > > > I think you meant to say LD_LIBRARY_PATH=./lib > > The vdpau_nouveau.so was sitting in mesa/lib/gallium. But it turns out that > even with your suggestion it would not load. What I did was this: Right, because libvdpau hardcodes its paths, it doesn't just try to dlopen(). Note that normally the libvdpau_$driver.so are NOT in a dlopen-able place, which is why it has to do this. > > - vdpau_nouveau.so was sitting in ~/mesa/lib/gallium > - cd ~/mesa/lib/gallium > - git clone git://people.freedesktop.org/~aplattner/libvdpau > - ./configure --with-module-dir=~/mesa/lib/gallium > - cd .. > - ln -s -t . libvdpau/src/.libs/libvdpau.so > - ln -s libvdpau.so libvdpau.so.1 > - ln -s libvdpau.so libvdpau.so.1.0.0 > - cd ~/mesa/lib/gallium > > And reran the tests. Same garbled screen as in comment #23. Sorry. Blast! What about messages in dmesg? Do you still see subc 7 class 0x0697 mthd 0x0208 data 0x00000120 Or are those completely gone? Those are the messages I would expect to have seen fixed by my patch. Also, since you're on NV34, you don't get NPOT textures either (those came with NV40). I wonder if the vdpau st deals with those. Hmm... it never asks the driver whether it has NPOT textures or not, which probably means not-good, and most likely accounts for your crashes. I need to look into exactly what the NPOT restriction should be... > > Mind testing out http://patchwork.freedesktop.org/patch/18063/ ? (Note, > > again, make _sure_ that the 'new' version of libvdpau_nouveau.so is being > > loaded, not the old one.) > > Yes, you suggested this in comment #19 (or did you accidentaly ment another > patch?) Wow, I must have spaced out there. My bad. It indeed is the same patch, but I had forgotten I already asked you about it :) -- You are receiving this mail because: You are the assignee for the bug. --1389982208.dbF1Fcd2.10913 Date: Fri, 17 Jan 2014 18:10:08 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 28 on bug 73358 from
(In reply to comment #27)
> (In reply to comment #26)
> 
> > I think you meant to say LD_LIBRARY_PATH=./lib
> 
> The vdpau_nouveau.so was sitting in mesa/lib/gallium. But it turns out that
> even with your suggestion it would not load. What I did was this:

Right, because libvdpau hardcodes its paths, it doesn't just try to dlopen().
Note that normally the libvdpau_$driver.so are NOT in a dlopen-able place,
which is why it has to do this.

> 
> - vdpau_nouveau.so was sitting in ~/mesa/lib/gallium
> - cd ~/mesa/lib/gallium
> - git clone git://people.freedesktop.org/~aplattner/libvdpau
> - ./configure --with-module-dir=~/mesa/lib/gallium
> - cd ..
> - ln -s -t . libvdpau/src/.libs/libvdpau.so
> - ln -s libvdpau.so libvdpau.so.1
> - ln -s libvdpau.so libvdpau.so.1.0.0
> - cd ~/mesa/lib/gallium
> 
> And reran the tests. Same garbled screen as in comment #23. Sorry.

Blast! What about messages in dmesg? Do you still see

subc 7 class 0x0697 mthd 0x0208 data 0x00000120

Or are those completely gone? Those are the messages I would expect to have
seen fixed by my patch.

Also, since you're on NV34, you don't get NPOT textures either (those came with
NV40). I wonder if the vdpau st deals with those. Hmm... it never asks the
driver whether it has NPOT textures or not, which probably means not-good, and
most likely accounts for your crashes. I need to look into exactly what the
NPOT restriction should be...

> > Mind testing out http://patchwork.freedesktop.org/patch/18063/ ? (Note,
> > again, make _sure_ that the 'new' version of libvdpau_nouveau.so is being
> > loaded, not the old one.)
> 
> Yes, you suggested this in comment #19 (or did you accidentaly ment another
> patch?)

Wow, I must have spaced out there. My bad. It indeed is the same patch, but I
had forgotten I already asked you about it :)


You are receiving this mail because:
  • You are the assignee for the bug.
--1389982208.dbF1Fcd2.10913-- --===============1962443066== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1962443066==--