Bug 76054

Summary: Adobe flash player crashed, because of the function "pipe_context" in si_pipe.c
Product: Mesa Reporter: Bill Chen (CHEN, Zhechuan) <chen.bill.bill>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: medium    
Version: 10.0   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Bill Chen (CHEN, Zhechuan) 2014-03-12 04:35:54 UTC
My video card is ATI hd6470m [Radeon HD 6400M/7400M Series]. The Adobe flash player was running well before mesaLib-10.0.0. After I updated to 10.0 or 10.1, the Adobe flash player is always crashed.

I think the problem is at the function called "pipe_context", which is in the file gallium/drivers/radeonsi/si_pipe.c

Here are some tips to reappear this bug as I meet.
1, Open a terminal, run "firefox -safe-mode".
2, Open a web page with flash player plugin, if it is a video site like youtube, it is better. (For me, I use http://www.youku.com)
3, Flash player plugin will crash.
4, Goto the terminal, some information is printed. Notice that as below.
   "si_pipe.c: Unsupported chip class 6."

My environment, hd6470m, Arch Linux x86_64, i3_wm
/etc/adobe/mms.cfg:
EnableLinuxHWVideoDecode=1

This bug is on the version 10.0, 10.1 and git master branch(2014-3-11).
Comment 1 Michel Dänzer 2014-03-12 06:48:55 UTC
The functions and message you're referencing are from the radeonsi driver, which doesn't support your GPU. Please make sure you don't have an environment variable VDPAU_DRIVER=radeonsi or something along those lines.

If that doesn't help, please attach a gdb backtrace of the crash if possible, but at least the full terminal output you're referring to.
Comment 2 Bill Chen (CHEN, Zhechuan) 2014-03-14 05:49:52 UTC
(In reply to comment #1)
> The functions and message you're referencing are from the radeonsi driver,
> which doesn't support your GPU. Please make sure you don't have an
> environment variable VDPAU_DRIVER=radeonsi or something along those lines.
> 
> If that doesn't help, please attach a gdb backtrace of the crash if
> possible, but at least the full terminal output you're referring to.

I am so Sorry. It was actually my mistake. I had the environment variable VDPAU_DRIVER=radeonsi. After I unset it, the crash was over.

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.