All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 102319] Crashes and freezes when switching VTs
@ 2017-08-20 12:19 bugzilla-daemon
  2017-08-20 16:41 ` bugzilla-daemon
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla-daemon @ 2017-08-20 12:19 UTC (permalink / raw)
  To: dri-devel


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

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

            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 for
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 TTY
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 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 output
in the dmesg log: https://pastebin.com/FgzZLEGg

I asked about it on #nouveau and I was told that since the intel driver takes
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-7500K
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.

[-- Attachment #1.2: Type: text/html, Size: 3350 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 102319] Crashes and freezes when switching VTs
  2017-08-20 12:19 [Bug 102319] Crashes and freezes when switching VTs bugzilla-daemon
@ 2017-08-20 16:41 ` bugzilla-daemon
  2017-08-23 16:03 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2017-08-20 16:41 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Ilia Mirkin <imirkin@alum.mit.edu> ---
Try booting with nouveau.modeset=0 to rule out any nouveau interaction in your
problem.

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

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

[-- Attachment #1.2: Type: text/html, Size: 1165 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 102319] Crashes and freezes when switching VTs
  2017-08-20 12:19 [Bug 102319] Crashes and freezes when switching VTs bugzilla-daemon
  2017-08-20 16:41 ` bugzilla-daemon
@ 2017-08-23 16:03 ` bugzilla-daemon
  2017-08-23 16:03 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2017-08-23 16:03 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Marcin Mielniczuk <marcin.marcin.m@gmail.com> ---
With nouveau.modeset=0 I get a black screen in the tty the DM is running in.
Attaching the journal and dmesg.

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

[-- Attachment #1.2: Type: text/html, Size: 1088 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 102319] Crashes and freezes when switching VTs
  2017-08-20 12:19 [Bug 102319] Crashes and freezes when switching VTs bugzilla-daemon
  2017-08-20 16:41 ` bugzilla-daemon
  2017-08-23 16:03 ` bugzilla-daemon
@ 2017-08-23 16:03 ` bugzilla-daemon
  2017-08-23 16:04 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2017-08-23 16:03 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Marcin Mielniczuk <marcin.marcin.m@gmail.com> ---
Created attachment 133717
  --> https://bugs.freedesktop.org/attachment.cgi?id=133717&action=edit
dmesg with nouveau.modeset=0

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

[-- Attachment #1.2: Type: text/html, Size: 1254 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 102319] Crashes and freezes when switching VTs
  2017-08-20 12:19 [Bug 102319] Crashes and freezes when switching VTs bugzilla-daemon
                   ` (2 preceding siblings ...)
  2017-08-23 16:03 ` bugzilla-daemon
@ 2017-08-23 16:04 ` bugzilla-daemon
  2017-08-23 16:07 ` bugzilla-daemon
  2019-10-14 13:20 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2017-08-23 16:04 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Marcin Mielniczuk <marcin.marcin.m@gmail.com> ---
Created attachment 133718
  --> https://bugs.freedesktop.org/attachment.cgi?id=133718&action=edit
journal with nouveau.modeset=0

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

[-- Attachment #1.2: Type: text/html, Size: 1260 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 102319] Crashes and freezes when switching VTs
  2017-08-20 12:19 [Bug 102319] Crashes and freezes when switching VTs bugzilla-daemon
                   ` (3 preceding siblings ...)
  2017-08-23 16:04 ` bugzilla-daemon
@ 2017-08-23 16:07 ` bugzilla-daemon
  2019-10-14 13:20 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2017-08-23 16:07 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Marcin Mielniczuk <marcin.marcin.m@gmail.com> ---
As for suspending the Nvidia GPU - I ran 

DRI_PRIME=1 xed

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

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

[-- Attachment #1.2: Type: text/html, Size: 1148 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 102319] Crashes and freezes when switching VTs
  2017-08-20 12:19 [Bug 102319] Crashes and freezes when switching VTs bugzilla-daemon
                   ` (4 preceding siblings ...)
  2017-08-23 16:07 ` bugzilla-daemon
@ 2019-10-14 13:20 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2019-10-14 13:20 UTC (permalink / raw)
  To: dri-devel


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

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

Martin Peres <martin.peres@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #6 from Martin Peres <martin.peres@free.fr> ---
Hi,

Freedesktop's Bugzilla instance is EOLed and open bugs are about to be migrated
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!

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

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

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

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-10-14 13:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-20 12:19 [Bug 102319] Crashes and freezes when switching VTs bugzilla-daemon
2017-08-20 16:41 ` bugzilla-daemon
2017-08-23 16:03 ` bugzilla-daemon
2017-08-23 16:03 ` bugzilla-daemon
2017-08-23 16:04 ` bugzilla-daemon
2017-08-23 16:07 ` bugzilla-daemon
2019-10-14 13:20 ` bugzilla-daemon

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.