All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 99881] Lockup/Freezes on Laptop with switchable graphics
Date: Thu, 23 Feb 2017 04:03:39 +0000	[thread overview]
Message-ID: <bug-99881-502-zZT6UZKbgI@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-99881-502@http.bugs.freedesktop.org/>


[-- Attachment #1.1: Type: text/plain, Size: 2334 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=99881

--- Comment #30 from Matthew Fox <matthew@tech3.me> ---
Just to confirm, the freezes and hard lockups still occur and the corresponding
messages in dmesg which I also attached.

This may be more sound related but I previously found in the kernel source
(file http://lxr.free-electrons.com/source/sound/pci/hda/hda_intel.c?v=4.8):

1182 static int register_vga_switcheroo(struct azx *chip)
1183 {
1184         struct hda_intel *hda = container_of(chip, struct hda_intel,
chip);
1185         int err;
1186 
1187         if (!hda->use_vga_switcheroo)
1188                 return 0;
1189         /* FIXME: currently only handling DIS controller
1190          * is there any machine with two switchable HDMI audio
controllers?
1191          */
1192         err = vga_switcheroo_register_audio_client(chip->pci, &azx_vs_ops,
1193                                                    VGA_SWITCHEROO_DIS);
1194         if (err < 0)
1195                 return err;
1196         hda->vga_switcheroo_registered = 1;
1197 
1198         /* register as an optimus hdmi audio power domain */
1199         vga_switcheroo_init_domain_pm_optimus_hdmi_audio(chip->card->dev,
1200                                                         
&hda->hdmi_pm_domain);
1201         return 0;
1202 } 

In dmesg, these lines always appear along with the gpu init lines:

snd_hda_intel 0000:02:00.1: Enabling via vga_switcheroo
snd_hda_intel 0000:02:00.1: CORB reset timeout#2, CORBRP = 65535
snd_hda_intel 0000:02:00.1: Disabling via vga_switcheroo
snd_hda_intel 0000:02:00.1: Cannot lock devices!

'CORB reset timeout#2, CORBRP = 65535' appears red in dmesg and
'Cannot lock devices!' appears white in dmesg.

0000:02:00.1 is the Discrete audio attached to the discrete GPU (the discrete
GPU is 02:00.0)

>From lspci, there's another audio device:
00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00
Azalia (Intel HDA) [1002:4383] (rev 40)

Now in the function above, it says '...is there any machine with two switchable
HDMI audio controllers?' - I wonder if that's the case here? Which might be
causing problems and the associated sound messages in dmesg?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3224 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2017-02-23  4:03 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-21  0:06 [Bug 99881] Lockup/Freezes on Laptop with switchable graphics bugzilla-daemon
2017-02-21  0:10 ` bugzilla-daemon
2017-02-21  1:18 ` bugzilla-daemon
2017-02-21  1:21 ` bugzilla-daemon
2017-02-21  1:52 ` bugzilla-daemon
2017-02-21  2:07 ` bugzilla-daemon
2017-02-21  2:31 ` bugzilla-daemon
2017-02-21  2:55 ` bugzilla-daemon
2017-02-21  3:08 ` bugzilla-daemon
2017-02-21  3:11 ` bugzilla-daemon
2017-02-21  4:09 ` bugzilla-daemon
2017-02-21  4:11 ` bugzilla-daemon
2017-02-21  4:15 ` bugzilla-daemon
2017-02-21  4:16 ` bugzilla-daemon
2017-02-21  4:46 ` bugzilla-daemon
2017-02-21  6:20 ` bugzilla-daemon
2017-02-21 20:28 ` bugzilla-daemon
2017-02-21 20:29 ` bugzilla-daemon
2017-02-21 20:30 ` bugzilla-daemon
2017-02-21 20:32 ` bugzilla-daemon
2017-02-21 20:33 ` bugzilla-daemon
2017-02-21 20:34 ` bugzilla-daemon
2017-02-21 20:36 ` bugzilla-daemon
2017-02-21 20:36 ` bugzilla-daemon
2017-02-22  9:25 ` bugzilla-daemon
2017-02-22 16:29 ` bugzilla-daemon
2017-02-23  0:58 ` bugzilla-daemon
2017-02-23  3:29 ` bugzilla-daemon
2017-02-23  3:30 ` bugzilla-daemon
2017-02-23  3:34 ` bugzilla-daemon
2017-02-23  3:36 ` bugzilla-daemon
2017-02-23  3:38 ` bugzilla-daemon
2017-02-23  4:03 ` bugzilla-daemon [this message]
2017-02-23  8:24 ` bugzilla-daemon
2017-02-23 13:53 ` bugzilla-daemon
2017-02-23 20:51 ` bugzilla-daemon
2019-11-19  9:25 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-99881-502-zZT6UZKbgI@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.