[haiku-bugs] Re: [Haiku] #14581: no audio on T410 (8086/3b56) - mixer not used (DMA/IRQ problem?)

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 27 Dec 2018 10:07:56 -0000

#14581: no audio on T410 (8086/3b56) - mixer not used (DMA/IRQ problem?)
---------------------------------+----------------------------
   Reporter:  ttcoder            |      Owner:  korli
       Type:  bug                |     Status:  new
   Priority:  normal             |  Milestone:  R1/beta2
  Component:  Drivers/Audio/HDA  |    Version:  R1/Development
 Resolution:                     |   Keywords:
 Blocked By:                     |   Blocking:
Has a Patch:  0                  |   Platform:  All
---------------------------------+----------------------------

Comment (by ttcoder):

DMA snooping differs:

This is a huge difference. The driver is supposed to enable or disable
 this based on your device ID; it shouldn't be different across reboots
 with the same driver!


 Well yet here we are... The archived syslog was captured when I started
 working on this ticket with gcc2-32bit, it should be a reliable data
 point. As to the snooping=yes part, I now get it at every single boot of
 x64 (tried again once more after the two edits above), so pretty darn
 reliable too. I'll try booting in 32-bit haiku today to check.

day 2: cold boot R1/b1 x64; launch MediaPlayer after uptime of 50 s.
 => no audio
day 2, checked again after 1h40 uptime: audio works! (nice easter egg
 in the Haiku About Box when left open BTW)

Wow, that's ... really, really weird. I guess I should test with my
 laptop to see if the same is true here. I wonder what could be going on in
 the HDA driver to cause this?

 Actually, not at all -- by which I mean it's consistent with past
 experience, not that it's a desirable behavior ;-). Ever since I started
 using Haiku (is that 6 years?) I've had problems with media_server
 remaining silent for the first few minutes, on most machines I've ever
 used. Dane also had me add a "5 seconds delay after commandcenter
 autostart" some time back, so as to not disturb media_server after a
 reboot or it'd remain silent. First time I see this phenomenon last for 40
 minutes or some such though (still didn't finish "bracketing" the delay
 yet). I always pinned it on media_server rather than HDA, what with the
 complex BBuffer code and all. Could be wrong.

 I believe the most logical course of action at this point is...
 - close this ticket as not-reproducible, since my laptop got "unbricked"
 in some mysterious and unfathomable way, so there's no more HDA driver
 work that's possible on it at this point; maybe someone who wants to work
 on the peer X220 ticket can pick up where I left with my zip-of-goodness
 above.. Or tidux can run the OpenBSD driver on his X220 in case it has the
 same 'magical' effect it had on my laptop :-).. If my laptop ever gets
 "bricked" (probably too strong a word) again I would re-open this. Maybe I
 should try to not only power it off but also unplug it from mains and
 remove the battery..
 - gather more data about that "media_server silent for minutes after boot
 up" bug that's been there for some time.

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14581#comment:16>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: