From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 102319] Crashes and freezes when switching VTs Date: Sun, 20 Aug 2017 12:19:23 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1263494007==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 0A41C89213 for ; Sun, 20 Aug 2017 12:19:24 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1263494007== Content-Type: multipart/alternative; boundary="15032315630.c02987.1656"; charset="UTF-8" --15032315630.c02987.1656 Date: Sun, 20 Aug 2017 12:19:23 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D102319 Bug ID: 102319 Summary: Crashes and freezes when switching VTs Product: DRI Version: XOrg git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: General Assignee: dri-devel@lists.freedesktop.org Reporter: marcin.marcin.m@gmail.com I have a weird problem while switching vts I have a dual-GPU setup: intel i5-5200U as the default OpenGL renderer and GeForce 940M as the discrete card. I'm using the intel modesetting driver f= or the Intel graphics and xf86-video-nouveau for DRI_PRIME. If I run SDDM/LXDM as my display manager (on Arch Linux), then switch the T= TY to tty2, then switch back to tty7 (DM), I get only a blinking cursor. If I run LightDM as my display manager, it survives a tty switch, but if I start an X server in tty2 and then switch directly to tty7, LightDM crashes. If I switch tty2 -> tty3 (no x server) -> tty7, on the other hand, the DM d= oes *not* crash. The whole problem doesn't occur when using the `nomodeset` kernel option, (= i.e. when my DE runs in software rendering mode) Whenever I switch the ttys or when I launch the DM I get the following outp= ut in the dmesg log: https://pastebin.com/FgzZLEGg I asked about it on #nouveau and I was told that since the intel driver tak= es care of the rendering, it is the one to blame here. On the intel side, the problem occurs with both xf86-video-intel and the modesetting driver The problem only occurs with the X server that is launched by a DM. If I run startx directly from the tty on both vts, everything works correctly. It is not observed on a machine without nvidia graphics and with intel i5-7= 500K as the CPU/integrated GPU, with fairly same software stack. OS: Arch Linux, DE: Cinnamon --=20 You are receiving this mail because: You are the assignee for the bug.= --15032315630.c02987.1656 Date: Sun, 20 Aug 2017 12:19:23 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 102319
Summary Crashes and freezes when switching VTs
Product DRI
Version XOrg git
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component General
Assignee dri-devel@lists.freedesktop.org
Reporter marcin.marcin.m@gmail.com

I have a weird problem while switching vts

I have a dual-GPU setup: intel i5-5200U as the default OpenGL renderer and
GeForce 940M as the discrete card. I'm using the intel modesetting driver f=
or
the Intel graphics and xf86-video-nouveau for DRI_PRIME.

If I run SDDM/LXDM as my display manager (on Arch Linux), then switch the T=
TY
to tty2, then switch back to tty7 (DM), I get only a blinking cursor.
If I run LightDM as my display manager, it survives a tty switch, but if I
start an X server in tty2 and then switch directly to tty7, LightDM crashes.
If I switch tty2 -> tty3 (no x server) -> tty7, on the other hand, th=
e DM does
*not* crash.

The whole problem doesn't occur when using the `nomodeset` kernel option, (=
i.e.
when my DE runs in software rendering mode)

Whenever I switch the ttys or when I launch the DM I get the following outp=
ut
in the dmesg log: https://pastebi=
n.com/FgzZLEGg

I asked about it on #nouveau and I was told that since the intel driver tak=
es
care of the rendering, it is the one to blame here.

On the intel side, the problem occurs with both xf86-video-intel and the
modesetting driver

The problem only occurs with the X server that is launched by a DM. If I run
startx directly from the tty on both vts, everything works correctly.

It is not observed on a machine without nvidia graphics and with intel i5-7=
500K
as the CPU/integrated GPU, with fairly same software stack.

OS: Arch Linux, DE: Cinnamon


You are receiving this mail because:
  • You are the assignee for the bug.
= --15032315630.c02987.1656-- --===============1263494007== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1263494007==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 102319] Crashes and freezes when switching VTs Date: Sun, 20 Aug 2017 16:41:43 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1859202650==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 95C776E196 for ; Sun, 20 Aug 2017 16:41:43 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1859202650== Content-Type: multipart/alternative; boundary="15032473030.bC019.8437"; charset="UTF-8" --15032473030.bC019.8437 Date: Sun, 20 Aug 2017 16:41:43 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D102319 --- Comment #1 from Ilia Mirkin --- Try booting with nouveau.modeset=3D0 to rule out any nouveau interaction in= your problem. But perhaps the issue lies in the fact that nouveau suspends the GPU and in= tel is waiting on some fence to complete? --=20 You are receiving this mail because: You are the assignee for the bug.= --15032473030.bC019.8437 Date: Sun, 20 Aug 2017 16:41:43 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 1 on bug 10231= 9 from Ilia Mirkin
Try booting with nouveau.modeset=3D0 to rule out any nouveau i=
nteraction in your
problem.

But perhaps the issue lies in the fact that nouveau suspends the GPU and in=
tel
is waiting on some fence to complete?


You are receiving this mail because:
  • You are the assignee for the bug.
= --15032473030.bC019.8437-- --===============1859202650== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1859202650==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 102319] Crashes and freezes when switching VTs Date: Wed, 23 Aug 2017 16:03:07 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0320698312==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id B06FF89617 for ; Wed, 23 Aug 2017 16:03:07 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0320698312== Content-Type: multipart/alternative; boundary="15035041870.B1a2b.24585"; charset="UTF-8" --15035041870.B1a2b.24585 Date: Wed, 23 Aug 2017 16:03:07 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D102319 --- Comment #2 from Marcin Mielniczuk --- With nouveau.modeset=3D0 I get a black screen in the tty the DM is running = in. Attaching the journal and dmesg. --=20 You are receiving this mail because: You are the assignee for the bug.= --15035041870.B1a2b.24585 Date: Wed, 23 Aug 2017 16:03:07 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 2 on bug 10231= 9 from Marcin Mielniczuk
With nouveau.modeset=3D0 I get a black screen in the tty the D=
M is running in.
Attaching the journal and dmesg.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15035041870.B1a2b.24585-- --===============0320698312== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0320698312==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 102319] Crashes and freezes when switching VTs Date: Wed, 23 Aug 2017 16:03:43 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0002998820==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id B16BA8961E for ; Wed, 23 Aug 2017 16:03:43 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0002998820== Content-Type: multipart/alternative; boundary="15035042230.edd7fb1.24802"; charset="UTF-8" --15035042230.edd7fb1.24802 Date: Wed, 23 Aug 2017 16:03:43 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D102319 --- Comment #3 from Marcin Mielniczuk --- Created attachment 133717 --> https://bugs.freedesktop.org/attachment.cgi?id=3D133717&action=3Dedit dmesg with nouveau.modeset=3D0 --=20 You are receiving this mail because: You are the assignee for the bug.= --15035042230.edd7fb1.24802 Date: Wed, 23 Aug 2017 16:03:43 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 3 on bug 10231= 9 from Marcin Mielniczuk
Created attachmen=
t 133717 [details]
dmesg with nouveau.modeset=3D0


You are receiving this mail because:
  • You are the assignee for the bug.
= --15035042230.edd7fb1.24802-- --===============0002998820== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0002998820==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 102319] Crashes and freezes when switching VTs Date: Wed, 23 Aug 2017 16:04:04 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0368066531==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 874206E5D4 for ; Wed, 23 Aug 2017 16:04:04 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0368066531== Content-Type: multipart/alternative; boundary="15035042440.23F28CFd.24587"; charset="UTF-8" --15035042440.23F28CFd.24587 Date: Wed, 23 Aug 2017 16:04:04 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D102319 --- Comment #4 from Marcin Mielniczuk --- Created attachment 133718 --> https://bugs.freedesktop.org/attachment.cgi?id=3D133718&action=3Dedit journal with nouveau.modeset=3D0 --=20 You are receiving this mail because: You are the assignee for the bug.= --15035042440.23F28CFd.24587 Date: Wed, 23 Aug 2017 16:04:04 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 4 on bug 10231= 9 from Marcin Mielniczuk
Created attachm=
ent 133718 [details]
journal with nouveau.modeset=3D0


You are receiving this mail because:
  • You are the assignee for the bug.
= --15035042440.23F28CFd.24587-- --===============0368066531== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0368066531==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 102319] Crashes and freezes when switching VTs Date: Wed, 23 Aug 2017 16:07:00 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2102510165==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 276F36E5CA for ; Wed, 23 Aug 2017 16:07:00 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2102510165== Content-Type: multipart/alternative; boundary="15035044200.5445bfC.25665"; charset="UTF-8" --15035044200.5445bfC.25665 Date: Wed, 23 Aug 2017 16:07:00 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D102319 --- Comment #5 from Marcin Mielniczuk --- As for suspending the Nvidia GPU - I ran=20 DRI_PRIME=3D1 xed inside my DM manager to make sure that the Nvidia GPU remains powered on. T= he problem persists even then. --=20 You are receiving this mail because: You are the assignee for the bug.= --15035044200.5445bfC.25665 Date: Wed, 23 Aug 2017 16:07:00 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 5 on bug 10231= 9 from Marcin Mielniczuk
As for suspending the Nvidia GPU - I ran=20

DRI_PRIME=3D1 xed

inside my DM manager to make sure that the Nvidia GPU remains powered on. T=
he
problem persists even then.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15035044200.5445bfC.25665-- --===============2102510165== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============2102510165==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 102319] Crashes and freezes when switching VTs Date: Mon, 14 Oct 2019 13:20:17 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0824273272==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C9C5C6E4A5 for ; Mon, 14 Oct 2019 13:20:16 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0824273272== Content-Type: multipart/alternative; boundary="15710592168.66ae.29307" Content-Transfer-Encoding: 7bit --15710592168.66ae.29307 Date: Mon, 14 Oct 2019 13:20:16 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D102319 Martin Peres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #6 from Martin Peres --- Hi, Freedesktop's Bugzilla instance is EOLed and open bugs are about to be migr= ated to http://gitlab.freedesktop.org. To avoid migrating out of date bugs, I am now closing all the bugs that did= not see any activity in the past year. If the issue is still happening, please create a new bug in the relevant project at https://gitlab.freedesktop.org/= drm (use misc by default). Sorry about the noise! --=20 You are receiving this mail because: You are the assignee for the bug.= --15710592168.66ae.29307 Date: Mon, 14 Oct 2019 13:20:16 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated <= span class=3D"fn">Martin Peres changed bug 10231= 9
What Removed Added
Status NEW RESOLVED
Resolution --- INVALID


You are receiving this mail because:
  • You are the assignee for the bug.
= --15710592168.66ae.29307-- --===============0824273272== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0824273272==--