From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 77002] problems with kernel 3.14
Date: Thu, 03 Apr 2014 13:26:30 +0000
Message-ID:
Priority | medium |
---|---|
Bug ID | 77002 |
Assignee | dri-devel@lists.freedesktop.org |
Summary | problems with kernel 3.14 |
Severity | normal |
Classification | Unclassified |
OS | Linux (All) |
Reporter | bgunteriv@gmail.com |
Hardware | x86-64 (AMD64) |
Status | NEW |
Version | unspecified |
Component | DRM/Radeon |
Product | DRI |
Created attachment 96846 [details] dmesg not sure where this bug belongs. having great issues with the new kernel 3.14 on my system trying to play any type of media -- video or music. currently running kernel 3.13 version 8. is the most stable. here are my logs when running kernel 3.14 dmesg | pastebinit http://paste.ubuntu.com/7033651/ cat ~/.xbmc/temp/xbmc.log | pastebinit http://paste.ubuntu.com/7033687/ cat /var/log/Xorg.0.log | pastebinit http://paste.ubuntu.com/7033653/ DISPLAY=:0 vdpauinfo | pastebinit http://paste.ubuntu.com/7033656/ dpkg -l |grep mesa | pastebinit http://paste.ubuntu.com/7033657/ and here's a log file when trying to play a video... both online, and from my hard drive. and a music file (which made XBMC freeze): http://paste.ubuntu.com/7033704/ and yes. i get the same results when running the most recent "stable" version of the kernel 3.14. but can try to get some logs if necessary.
please let me know if you require some different information.
What sort of issues are you having? Display corruption? gpu hangs? system hangs? Is this a regression? If so, when did it last work?
oh! my apologies, i guess i left that out. i'm seeing choppy video, no audio at all. audio files don't play. using HDMI output. I have not tried S/PDIF I'm using XBMC as my interface with minimal install of Ubuntu. I would say regression. all 3.13.x kernels work for me. I've noticed this problem with the very first introduction of kernel 3.14.rc1 i'll attach a good dmesg. with my current kernel 3.13.8
Created attachment 96906 [details]
good_dmesg-kernel 3.13.8
Created attachment 96908 [details]
xbmc trying to play video/audio files
Here is the last file of my original post as an attachment. i forgot to upload
this the first time.
Getting a lot of I/O errors in AlSA Sink.
does the information i gave you help? or do you need further explanation?
Does reverting 832eafaf34ff7d0348fe701e417900c6cf1f5656 help?
What | Removed | Added |
---|---|---|
Summary | problems with kernel 3.14 | hdmi audio problems with 3.14 |
Created attachment 97008 [details] [review] workaround Does that attached kernel patch fix the issue?
(In reply to comment #11) > Created attachment 97008 [details] [review] [review] > workaround > > Does that attached kernel patch fix the issue? no this did not help. also, now when it boots up, I get the message: drm:module has bad taint, not creating trace events i'm attaching new dmesg.
Created attachment 97042 [details]
dmesg - kernel 3.14 w/ patch
Does reverting 832eafaf34ff7d0348fe701e417900c6cf1f5656 help?
(In reply to comment #14) > Does reverting 832eafaf34ff7d0348fe701e417900c6cf1f5656 help? no, this did not help either. just to make sure i did this correctly. i got the git from here --> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git and then i ran: git revert 832eafaf34ff7d0348fe701e417900c6cf1f5656 it said that it did it... after updating the kernel, i still saw that message about: drm:module has bad taint, not creating trace events
It seems to be https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7546abfb8e1f9933b549f05898377e9444ee4cb2 + the fact streams are assigned in reverse order. I'll have a patch for reversing the assignment shortly. Alex, is the limit 4 streams on 7-output cards as well, or is it just these 1-output cards only?
(In reply to comment #16) > It seems to be > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/ > ?id=7546abfb8e1f9933b549f05898377e9444ee4cb2 > + the fact streams are assigned in reverse order. > > I'll have a patch for reversing the assignment shortly. > > Alex, is the limit 4 streams on 7-output cards as well, or is it just these > 1-output cards only? What do you mean by 4 streams? Is that the same as audio pins?
Created attachment 97049 [details] [review] ALSA: hda - Do not assign streams in reverse order Please try this one.
What | Removed | Added |
---|---|---|
CC | anssi@mageia.org |
(In reply to comment #17) > (In reply to comment #16) > > It seems to be > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/ > > ?id=7546abfb8e1f9933b549f05898377e9444ee4cb2 > > + the fact streams are assigned in reverse order. > > > > I'll have a patch for reversing the assignment shortly. > > > > Alex, is the limit 4 streams on 7-output cards as well, or is it just these > > 1-output cards only? > > What do you mean by 4 streams? Is that the same as audio pins? AFAIK this is the maximum amount of different streams played back at once. Before the patch I just attached, ALSA always used the "stream numbers" starting from the last one, which caused problems with assumed 8 streams because Christian's card only had 4 streams (his card had a single output only, though; alsa-info: http://sprunge.us/dbiB ). So in addition to the patch I just attached I think we need to correct the stream count, _IF_ the 6/7-output cards only have 4 streams as well. But if those cards support 6/7 streams as well, all is OK.
(In reply to comment #19) > maximum amount of different streams played back at once. Well streams can be inactive as well, so this was not entirely accurate... See Section 2.2 of HDA spec for what a stream is in this context. What I'm after is the correct value for HDA spec 3.3.2, register offset 00h, bits 12-15 (Number of Output Streams Supported (OSS)), which is 0x00 (no audio output streams) on the AMD cards for some reason. For Christian's card the correct value seems to be 4, but I wonder if the same is true for 6/7-pin cards as well or if they have it at least 6/7 so there are streams for every pin available. If (streams >= pins) is true always, I think there is no need to add any other fixes.
(In reply to comment #19) > (In reply to comment #17) > > > > What do you mean by 4 streams? Is that the same as audio pins? > > AFAIK this is the maximum amount of different streams played back at once. > Before the patch I just attached, ALSA always used the "stream numbers" > starting from the last one, which caused problems with assumed 8 streams > because Christian's card only had 4 streams (his card had a single output > only, though; alsa-info: http://sprunge.us/dbiB ). > > So in addition to the patch I just attached I think we need to correct the > stream count, _IF_ the 6/7-output cards only have 4 streams as well. But if > those cards support 6/7 streams as well, all is OK. Kaveri: 4 streams, 7 endpoints Kabini: 2 streams, 3 endpoints Bonaire/Hawaii: 6 streams, 7 endpoints Trinity/Richland: 4 streams, 6 endpoints Oland: 2 streams, 2 endpoints Tahiti/Pitcairn/Verde: 6 streams, 6 endpoints Endpoints would be equivalent to pins as I understand it.