Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
mesa
mesa
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2,428
    • Issues 2,428
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 685
    • Merge Requests 685
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mesa
  • mesamesa
  • Issues
  • #759

Closed
Open
Created Sep 18, 2019 by Bugzilla Migration User@bugzilla-migration

crash when switching from plasma to tty console

Submitted by Paulo Dias

Assigned to Ian Romanick

Link to original bug (#93837)

Description

when i switch from plasma to tty , the console never shows up, the screen stays black, and when switching back to plasma, i get a GPU hang.

dmesg:

Jan 23 20:11:31 hydra kernel: [drm] GPU HANG: ecode 7:0:0x85dffff8, in Compositor [2296], reason: Ring hung, action: reset Jan 23 20:11:31 hydra kernel: [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace. Jan 23 20:11:31 hydra kernel: [drm] Please file a new bug report on bugs.freedesktop.org against DRI -> DRM/Intel Jan 23 20:11:31 hydra kernel: [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue. Jan 23 20:11:31 hydra kernel: [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it. Jan 23 20:11:31 hydra kernel: [drm] GPU crash dump saved to /sys/class/drm/card0/error Jan 23 20:11:31 hydra kernel: ------------[ cut here ]------------ Jan 23 20:11:31 hydra kernel: WARNING: CPU: 0 PID: 172 at /home/kernel/COD/linux/drivers/gpu/drm/i915/intel_display.c:11289 intel_mmio_flip_work_func+0x38e/0x3d0 i915 Jan 23 20:11:31 hydra kernel: WARN_ON(__i915_wait_request(mmio_flip->req, mmio_flip->crtc->reset_counter, false, NULL, &mmio_flip->i915->rps.mmioflips)) Jan 23 20:11:31 hydra kernel: Modules linked in: Jan 23 20:11:31 hydra kernel: uas usb_storage rfcomm hid_generic usbhid hid bnep drbg ansi_cprng ctr ccm rtsx_usb_ms memstick pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) binfmt_misc vboxdrv(OE) nls_iso8859_1 uvcvideo dell_led videobuf2_vmalloc videobuf2_memops snd_hda_codec_realtek snd_hda_codec_generic dell_wmi sparse_keymap snd_hda_intel snd_hda_codec videobuf2_v4l2 ath3k btusb snd_hda_core videobuf2_core snd_hwdep btrtl btbcm v4l2_common btintel snd_pcm videodev bluetooth media intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp dell_laptop dcdbas arc4 kvm_intel ath9k kvm ath9k_common dell_smm_hwmon irqbypass ath9k_hw snd_seq_midi crct10dif_pclmul snd_seq_midi_event ath crc32_pclmul snd_rawmidi aesni_intel aes_x86_64 mac80211 lrw gf128mul snd_seq glue_helper ablk_helper cryptd snd_seq_device cfg80211 Jan 23 20:11:31 hydra kernel: input_leds joydev snd_timer serio_raw lpc_ich snd mei_me mei soundcore shpchp dell_rbtn soc_button_array mac_hid parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq rtsx_usb_sdmmc rtsx_usb amdkfd amd_iommu_v2 radeon i915 ttm i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt psmouse fb_sys_fops drm ahci r8169 libahci mii wmi video fjes Jan 23 20:11:31 hydra kernel: CPU: 0 PID: 172 Comm: kworker/0:2 Tainted: G OE 4.4.0-040400-generic #201601101930 Jan 23 20:11:31 hydra kernel: Hardware name: Dell Inc. Latitude 3540/02R0J9, BIOS A10 01/28/2015 Jan 23 20:11:31 hydra kernel: Workqueue: events intel_mmio_flip_work_func [i915] Jan 23 20:11:31 hydra kernel: 0000000000000000 00000000e84d443d ffff8801a3ac7d20 ffffffff813c8d94 Jan 23 20:11:31 hydra kernel: ffff8801a3ac7d68 ffff8801a3ac7d58 ffffffff8107dba2 ffff88005b4df6c0 Jan 23 20:11:31 hydra kernel: ffff8801af2162c0 ffff8801af21aa00 0000000000000000 ffff88005b4df6c0 Jan 23 20:11:31 hydra kernel: Call Trace: Jan 23 20:11:31 hydra kernel: [<ffffffff813c8d94>] dump_stack+0x44/0x60 Jan 23 20:11:31 hydra kernel: [<ffffffff8107dba2>] warn_slowpath_common+0x82/0xc0 Jan 23 20:11:31 hydra kernel: [<ffffffff8107dc3c>] warn_slowpath_fmt+0x5c/0x80 Jan 23 20:11:31 hydra kernel: [<ffffffff810158b0>] ? __switch_to+0x420/0x5a0 Jan 23 20:11:31 hydra kernel: [<ffffffffc01f3ffe>] intel_mmio_flip_work_func+0x38e/0x3d0 [i915] Jan 23 20:11:31 hydra kernel: [<ffffffff8109688a>] process_one_work+0x1aa/0x440 Jan 23 20:11:31 hydra kernel: [<ffffffff81096b6b>] worker_thread+0x4b/0x4c0 Jan 23 20:11:31 hydra kernel: [<ffffffff81096b20>] ? process_one_work+0x440/0x440 Jan 23 20:11:31 hydra kernel: [<ffffffff81096b20>] ? process_one_work+0x440/0x440 Jan 23 20:11:31 hydra kernel: [<ffffffff8109cce8>] kthread+0xd8/0xf0 Jan 23 20:11:31 hydra kernel: [<ffffffff8109cc10>] ? kthread_create_on_node+0x1a0/0x1a0 Jan 23 20:11:31 hydra kernel: [<ffffffff817fdd4f>] ret_from_fork+0x3f/0x70 Jan 23 20:11:31 hydra kernel: [<ffffffff8109cc10>] ? kthread_create_on_node+0x1a0/0x1a0 Jan 23 20:11:31 hydra kernel: ---[ end trace 115e149ce7262a36 ]--- Jan 23 20:11:31 hydra kernel: drm/i915: Resetting chip after gpu hang

xorg.log (EE) [mi] EQ overflowing. Additional events will be discarded until existing events are processed. (EE) (EE) Backtrace: (EE) 0: /usr/bin/X (xorg_backtrace+0x4e) [0x5587fb36268e] (EE) 1: /usr/bin/X (mieqEnqueue+0x253) [0x5587fb344373] (EE) 2: /usr/bin/X (QueuePointerEvents+0x52) [0x5587fb21e152] (EE) 3: /usr/lib/xorg/modules/input/evdev_drv.so (0x7fbe56075000+0x60a7) [0x7fbe5607b0a7] (EE) 4: /usr/lib/xorg/modules/input/evdev_drv.so (0x7fbe56075000+0x687d) [0x7fbe5607b87d] (EE) 5: /usr/bin/X (0x5587fb1ae000+0x96ac8) [0x5587fb244ac8] (EE) 6: /usr/bin/X (0x5587fb1ae000+0xbfc92) [0x5587fb26dc92] (EE) 7: /lib/x86_64-linux-gnu/libc.so.6 (0x7fbe5a975000+0x352f0) [0x7fbe5a9aa2f0] (EE) 8: /lib/x86_64-linux-gnu/libc.so.6 (ioctl+0x7) [0x7fbe5aa720b7] (EE) 9: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7fbe56d74000+0x2348d) [0x7fbe56d9748d] (EE) 10: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7fbe56d74000+0x26e54) [0x7fbe56d9ae54] (EE) 11: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7fbe56d74000+0x5a50d) [0x7fbe56dce50d] (EE) 12: /usr/bin/X (BlockHandler+0x4a) [0x5587fb20ac8a] (EE) 13: /usr/bin/X (WaitForSomething+0x163) [0x5587fb35f3f3] (EE) 14: /usr/bin/X (0x5587fb1ae000+0x57fa1) [0x5587fb205fa1] (EE) 15: /usr/bin/X (0x5587fb1ae000+0x5c34b) [0x5587fb20a34b] (EE) 16: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf0) [0x7fbe5a995a40] (EE) 17: /usr/bin/X (_start+0x29) [0x5587fb1f46c9] (EE) (EE) [mi] These backtraces from mieqEnqueue may point to a culprit higher up the stack. (EE) [mi] mieq is NOT the cause. It is a victim. (EE) [mi] EQ overflow continuing. 100 events have been dropped. (EE) (EE) Backtrace: (EE) 0: /usr/bin/X (xorg_backtrace+0x4e) [0x5587fb36268e] (EE) 1: /usr/bin/X (QueuePointerEvents+0x52) [0x5587fb21e152] (EE) 2: /usr/lib/xorg/modules/input/evdev_drv.so (0x7fbe56075000+0x60a7) [0x7fbe5607b0a7] (EE) 3: /usr/lib/xorg/modules/input/evdev_drv.so (0x7fbe56075000+0x687d) [0x7fbe5607b87d] (EE) 4: /usr/bin/X (0x5587fb1ae000+0x96ac8) [0x5587fb244ac8] (EE) 5: /usr/bin/X (0x5587fb1ae000+0xbfc92) [0x5587fb26dc92] (EE) 6: /lib/x86_64-linux-gnu/libc.so.6 (0x7fbe5a975000+0x352f0) [0x7fbe5a9aa2f0] (EE) 7: /lib/x86_64-linux-gnu/libc.so.6 (ioctl+0x7) [0x7fbe5aa720b7] (EE) 8: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7fbe56d74000+0x2348d) [0x7fbe56d9748d] (EE) 9: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7fbe56d74000+0x26e54) [0x7fbe56d9ae54] (EE) 10: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7fbe56d74000+0x5a50d) [0x7fbe56dce50d] (EE) 11: /usr/bin/X (BlockHandler+0x4a) [0x5587fb20ac8a] (EE) 12: /usr/bin/X (WaitForSomething+0x163) [0x5587fb35f3f3] (EE) 13: /usr/bin/X (0x5587fb1ae000+0x57fa1) [0x5587fb205fa1] (EE) 14: /usr/bin/X (0x5587fb1ae000+0x5c34b) [0x5587fb20a34b] (EE) 15: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf0) [0x7fbe5a995a40] (EE) 16: /usr/bin/X (_start+0x29) [0x5587fb1f46c9] (EE) [ 666.781] [mi] Increasing EQ size to 1024 to prevent dropped events.

latest intel git: 26cc364d2eb078085ff4a6dd2968b426bf333b4f latest mesa git: d76bd85c kernel 4.4 final xorg 1.17.2

haswell/radeon

lspci: 00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09) Subsystem: Dell Device 0609 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx- Latency: 0 Capabilities: <access denied> Kernel driver in use: hsw_uncore

00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller]) Subsystem: Dell Device 0609 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 46 Region 0: Memory at f0000000 (64-bit, non-prefetchable) [size=4M] Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M] Region 4: I/O ports at 5000 [size=64] Expansion ROM at <unassigned> [disabled] Capabilities: <access denied> Kernel driver in use: i915

00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04) (prog-if 30 [XHCI]) Subsystem: Dell Device 0609 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 43 Region 0: Memory at f0800000 (64-bit, non-prefetchable) [size=64K] Capabilities: <access denied> Kernel driver in use: xhci_hcd

00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04) Subsystem: Dell Device 0609 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 48 Region 0: Memory at f0814000 (64-bit, non-prefetchable) [size=32] Capabilities: <access denied> Kernel driver in use: mei_me

00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04) Subsystem: Dell Device 0609 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 49 Region 0: Memory at f0810000 (64-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin C routed to IRQ 40 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 00004000-00004fff Memory behind bridge: f0700000-f07fffff Prefetchable memory behind bridge: 00000000f0400000-00000000f04fffff Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: <access denied> Kernel driver in use: pcieport

00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin D routed to IRQ 41 Bus: primary=00, secondary=02, subordinate=02, sec-latency=0 Memory behind bridge: f0600000-f06fffff Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: <access denied> Kernel driver in use: pcieport

00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 42 Bus: primary=00, secondary=03, subordinate=03, sec-latency=0 I/O behind bridge: 00003000-00003fff Memory behind bridge: f0500000-f05fffff Prefetchable memory behind bridge: 00000000d0000000-00000000dfffffff Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: <access denied> Kernel driver in use: pcieport

00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (closed) (rev 04) (prog-if 20 [EHCI]) Subsystem: Dell Device 0609 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 23 Region 0: Memory at f0818000 (32-bit, non-prefetchable) [size=1K] Capabilities: <access denied> Kernel driver in use: ehci-pci

00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04) Subsystem: Dell Device 0609 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Capabilities: <access denied> Kernel driver in use: lpc_ich

00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04) (prog-if 01 [AHCI 1.0]) Subsystem: Dell Device 0609 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin B routed to IRQ 44 Region 0: I/O ports at 5088 [size=8] Region 1: I/O ports at 5094 [size=4] Region 2: I/O ports at 5080 [size=8] Region 3: I/O ports at 5090 [size=4] Region 4: I/O ports at 5060 [size=32] Region 5: Memory at f0817000 (32-bit, non-prefetchable) [size=2K] Capabilities: <access denied> Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04) Subsystem: Dell Device 0609 Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Interrupt: pin C routed to IRQ 0 Region 0: Memory at f0815000 (64-bit, non-prefetchable) [size=256] Region 4: I/O ports at 5040 [size=32]

01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c) Subsystem: Dell Device 0609 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 45 Region 0: I/O ports at 4000 [size=256] Region 2: Memory at f0700000 (64-bit, non-prefetchable) [size=4K] Region 4: Memory at f0400000 (64-bit, prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: r8169

02:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01) Subsystem: Dell Device 020c Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 19 Region 0: Memory at f0600000 (64-bit, non-prefetchable) [size=512K] Expansion ROM at f0680000 [disabled] [size=64K] Capabilities: <access denied> Kernel driver in use: ath9k

03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Venus PRO [Radeon HD 8850M / R9 M265X] (rev ff) (prog-if ff) !!! Unknown header type 7f Kernel driver in use: radeon

Version: git

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None