Bug 98170

Summary: [vdpau] Error when calling vdp_output_surface_create
Product: Mesa Reporter: Branko <bagzy92>
Component: Drivers/Gallium/r300Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium    
Version: 12.0   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Branko 2016-10-09 13:03:03 UTC
I'm running Gentoo linux amd64 with radeon r300 driver. From version 12.0.1 VDPAU is broken. I also have tried mesa-git, but bug is still there. VDPAU works good with mesa 11.2.2 witch i use right now.

Here is the output from mplayer: https://bpaste.net/show/53e11a71da14
Comment 1 Michel Dänzer 2016-10-11 07:26:39 UTC
Can you bisect?
Comment 2 Branko 2016-10-11 09:00:09 UTC
(In reply to Michel Dänzer from comment #1)
> Can you bisect?

Sorry, I don't understand what you mean.
Comment 3 Christian König 2016-10-11 12:20:40 UTC
Bisecting means you try to figure out what patch introduced this bug.

E.g. you know that 11.2.2 work and 12.0.1 is broken. So you checkout the source code from git and issue "git bisect start mesa-12.0.1 mesa-11.2.2".

Now git has the list of changes between 11.2.2 and 12.0.1, so it jumps into the middle of that list of changes.

You then compile mesa and see if this version still works.

If it works you say "git bisect good" and git will jump another quarter to the end of the list, if it doesn't work you say "git bisect bad" and git will jump a quarter to the beginning of the list.

This repeats until you figured out which commit caused the problem.
Comment 4 Branko 2016-10-23 08:05:01 UTC
I have cloned mesa-git and i'm trying to do it, but i get only this output:

$ git bisect start mesa-12.0.1 mesa-11.2.2
Previous HEAD position was 4cd5e5b... nouveau: update the Makefile.sources list
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
Bisecting: a merge base must be tested
[4cd5e5b48e24a8b8ff7255022208d3e5fe6557d8] nouveau: update the Makefile.sources list
Comment 5 Branko 2016-10-24 09:01:07 UTC
When I do $ git bisect good i have "12 steps" and i don't see anything that can cause this bug.
Comment 6 Christian König 2016-10-24 10:58:41 UTC
(In reply to Branko from comment #4)
> I have cloned mesa-git and i'm trying to do it, but i get only this output:
> 
> $ git bisect start mesa-12.0.1 mesa-11.2.2
> Previous HEAD position was 4cd5e5b... nouveau: update the Makefile.sources
> list
> Switched to branch 'master'
> Your branch is up-to-date with 'origin/master'.
> Bisecting: a merge base must be tested
> [4cd5e5b48e24a8b8ff7255022208d3e5fe6557d8] nouveau: update the
> Makefile.sources list

This is the expected result. Now you need to build and install Mesa and see if the problem persists.

If you never build and installed Mesa before I suggest you just checkout version 11.2.2 (e.g. run "git checkout mesa-11.2.2") and try that first.
Comment 7 Michel Dänzer 2016-10-27 09:22:07 UTC
Enter something like "git bisect howto" in your favourite web search engine to find a document explaining how to use it.
Comment 8 Branko 2016-11-14 16:22:04 UTC
FIXED In mesa-13.0.1.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.