All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 102319] Crashes and freezes when switching VTs
Date: Sun, 20 Aug 2017 12:19:23 +0000	[thread overview]
Message-ID: <bug-102319-502@http.bugs.freedesktop.org/> (raw)


[-- 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

             reply	other threads:[~2017-08-20 12:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-20 12:19 bugzilla-daemon [this message]
2017-08-20 16:41 ` [Bug 102319] Crashes and freezes when switching VTs 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

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-102319-502@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.