From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 70895] BUG: soft lockup - CPU#0 stuck for 22s!
[Xorg:1292] after disable descrete card with switcheroo
Date: Thu, 20 Nov 2014 23:41:03 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1582407677=="
Return-path:
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Sender: "Nouveau"
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
List-Id: nouveau.vger.kernel.org
--===============1582407677==
Content-Type: multipart/alternative; boundary="1416526862.fe1bb2.24013"; charset="UTF-8"
--1416526862.fe1bb2.24013
Date: Thu, 20 Nov 2014 23:41:02 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=70895
--- Comment #3 from Ilia Mirkin ---
(In reply to Marcin Zajaczkowski from comment #2)
> Hello again. I upgraded my system to Fedora 21 and with
> 3.17.3-300.fc21.x86_64 I cannot reproduce mentioned issue (with "CPU#0 stuck
> for 22s").
>
> Unfortunately I have problem with switching a discrete card. By default:
> # echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
> does nothing - a discrete card is still in DynPwr state:
That's expected. What's unexpected is that something is keeping a reference to
your GPU which isn't letting it power off. Similar to bug #70875.
> Booting with nouveau.runpm=0 I have both cards on:
> $ $ sudo cat /sys/kernel/debug/vgaswitcheroo/switch
> 0:IGD:+:Pwr:0000:00:02.0
> 1:DIS: :Pwr:0000:01:00.0
>
> and after
> # echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
>
> I have:
> 0:IGD:+:Pwr:0000:00:02.0
> 1:DIS: :Off:0000:01:00.0
>
> Looks ok, but I still see 3 providers:
> $ xrandr --listproviders
> Providers: number : 3
> Provider 0: id: 0x90 cap: 0xb, Source Output, Sink Output, Sink Offload
> crtcs: 3 outputs: 5 associated providers: 2 name:Intel
> Provider 1: id: 0x63 cap: 0x7, Source Output, Sink Output, Source Offload
> crtcs: 2 outputs: 2 associated providers: 2 name:nouveau
> Provider 2: id: 0x63 cap: 0x7, Source Output, Sink Output, Source Offload
> crtcs: 2 outputs: 2 associated providers: 2 name:nouveau
>
> and system temperature could suggest that the card is still on. I see no
> messages from VGA switcheroo in the system log (as there were in 3.11.6).
That is odd... not sure what that situation is.
> Should I close that issue and report another issue?
Yes, don't confuse multiple issues into one, it gets unwieldy.
--
You are receiving this mail because:
You are the assignee for the bug.
--1416526862.fe1bb2.24013
Date: Thu, 20 Nov 2014 23:41:02 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 3
on bug 70895
from Ilia Mirkin
(In reply to Marcin Zajaczkowski from comment #2)
> Hello again. I upgraded my system to Fedora 21 and with
> 3.17.3-300.fc21.x86_64 I cannot reproduce mentioned issue (with "CPU#0 stuck
> for 22s").
>
> Unfortunately I have problem with switching a discrete card. By default:
> # echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
> does nothing - a discrete card is still in DynPwr state:
That's expected. What's unexpected is that something is keeping a reference to
your GPU which isn't letting it power off. Similar to bug #70875.
> Booting with nouveau.runpm=0 I have both cards on:
> $ $ sudo cat /sys/kernel/debug/vgaswitcheroo/switch
> 0:IGD:+:Pwr:0000:00:02.0
> 1:DIS: :Pwr:0000:01:00.0
>
> and after
> # echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
>
> I have:
> 0:IGD:+:Pwr:0000:00:02.0
> 1:DIS: :Off:0000:01:00.0
>
> Looks ok, but I still see 3 providers:
> $ xrandr --listproviders
> Providers: number : 3
> Provider 0: id: 0x90 cap: 0xb, Source Output, Sink Output, Sink Offload
> crtcs: 3 outputs: 5 associated providers: 2 name:Intel
> Provider 1: id: 0x63 cap: 0x7, Source Output, Sink Output, Source Offload
> crtcs: 2 outputs: 2 associated providers: 2 name:nouveau
> Provider 2: id: 0x63 cap: 0x7, Source Output, Sink Output, Source Offload
> crtcs: 2 outputs: 2 associated providers: 2 name:nouveau
>
> and system temperature could suggest that the card is still on. I see no
> messages from VGA switcheroo in the system log (as there were in 3.11.6).
That is odd... not sure what that situation is.
> Should I close that issue and report another issue?
Yes, don't confuse multiple issues into one, it gets unwieldy.
You are receiving this mail because:
- You are the assignee for the bug.
--1416526862.fe1bb2.24013--
--===============1582407677==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt
YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cDovL2xpc3RzLmZy
ZWVkZXNrdG9wLm9yZy9tYWlsbWFuL2xpc3RpbmZvL25vdXZlYXUK
--===============1582407677==--