All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 199139] New: System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state
@ 2018-03-19  9:04 bugzilla-daemon
  2018-03-19  9:05 ` [Bug 199139] " bugzilla-daemon
                   ` (23 more replies)
  0 siblings, 24 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-03-19  9:04 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199139

            Bug ID: 199139
           Summary: System freezes (kernel, amdgpu NULL pointer
                    dereference) when video enters powersafe state
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.15.10
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: wirch.eduard@gmail.com
        Regression: No

Created attachment 274807
  --> https://bugzilla.kernel.org/attachment.cgi?id=274807&action=edit
kernel-4.15.config

[1.] Summary: System freezes (kernel, amdgpu NULL pointer dereference) when
video enters powersafe state
[2.] Detailed: When using lightdm/xfwm: locking the screen makes lightdm to
switch video to power safe mode. The system does not recover from this state
any more.
[3.] Keywords: amdgpu 4.15 power management
[4.] Kernel information
[4.1.] Kernel version (from /proc/version):
                Linux version 4.15.10-1-MANJARO (builduser@development) (gcc
version 7.3.0 (GCC)) #1 SMP PREEMPT Thu Mar 15 19:50:50 UTC 2018
[4.2.] kernel-4.15.config file attached
[5.] Most recent kernel version which did not have the bug: 4.14.27-1-MANJARO
[6.] Kernel output:
                kernel: BUG: unable to handle kernel NULL pointer dereference
at 0000000000000000
                kernel: IP: dce110_vblank_set+0x4f/0xb0 [amdgpu]
                kernel: PGD e70545067 P4D e70545067 PUD fd2b24067 PMD 0 
                kernel: Oops: 0000 [#1] PREEMPT SMP NOPTI
                kernel: Modules linked in: cmac rfcomm fuse ipt_MASQUERADE
nf_nat_masquerade_ipv4 nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo
iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 xt_addrtype
iptable_filter xt_conntrack nf_nat nf_conntrack libcrc32c crc32c_generic
br_netfilter bridge stp llc overlay bnep amdkfd amd_iommu_v2 arc4 amdgpu iwlmvm
nls_>
                kernel:  snd agpgart syscopyarea sysfillrect sysimgblt
soundcore fb_sys_fops aesni_intel sp5100_tco aes_x86_64 crypto_simd glue_helper
cryptd pcspkr i2c_piix4 k10temp shpchp rtc_cmos evdev wmi mac_hid gpio_amdpt
pinctrl_amd acpi_cpufreq crypto_user ip_tables x_tables ext4 crc16 mbcache jbd2
fscrypto sr_mod cdrom hid_generic usbhid hid ahci xhci_pci crc32c_i>
                kernel: CPU: 10 PID: 1113 Comm: xfwm4 Not tainted
4.15.10-1-MANJARO #1
                kernel: Hardware name: To Be Filled By O.E.M. To Be Filled By
O.E.M./X370 Taichi, BIOS P3.30 01/15/2018
                kernel: RIP: 0010:dce110_vblank_set+0x4f/0xb0 [amdgpu]
                kernel: RSP: 0018:ffffb37007f87bc0 EFLAGS: 00010002
                kernel: RAX: ffffa22c4ffbc000 RBX: 0000000000000001 RCX:
0000000000000000
                kernel: RDX: 0000000000000000 RSI: 000000000000000c RDI:
0000000000000000
                kernel: RBP: ffffa22dd38e37c0 R08: 0000000000000000 R09:
0000000000000000
                kernel: R10: 0000000000000000 R11: 0000000000000000 R12:
ffffa22c92d2aa00
                kernel: R13: ffffffffc0ebcc40 R14: ffffa22c86c68000 R15:
ffffb37007f87d90
                kernel: FS:  00007f9f5aa9d980(0000) GS:ffffa22e1ee80000(0000)
knlGS:0000000000000000
                kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
                kernel: CR2: 0000000000000000 CR3: 0000000e7ab7e000 CR4:
00000000003406e0
                kernel: Call Trace:
                kernel:  amdgpu_dm_set_crtc_irq_state+0x31/0x60 [amdgpu]
                kernel:  amdgpu_irq_update+0x55/0x90 [amdgpu]
                kernel:  drm_vblank_enable+0x84/0x100 [drm]
                kernel:  drm_vblank_get+0x8d/0xb0 [drm]
                kernel:  drm_wait_vblank_ioctl+0x12a/0x660 [drm]
                kernel:  ? unix_stream_recvmsg+0x53/0x70
                kernel:  ? drm_legacy_modeset_ctl_ioctl+0x100/0x100 [drm]
                kernel:  drm_ioctl_kernel+0x5b/0xb0 [drm]
                kernel:  drm_ioctl+0x2d5/0x370 [drm]
                kernel:  ? drm_legacy_modeset_ctl_ioctl+0x100/0x100 [drm]
                kernel:  ? do_iter_write+0xdc/0x190
                kernel:  ? vfs_writev+0xb9/0x110
                kernel:  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
                kernel:  do_vfs_ioctl+0xa4/0x630
                kernel:  ? __sys_recvmsg+0x4e/0x90
                kernel:  ? __sys_recvmsg+0x7d/0x90
                kernel:  SyS_ioctl+0x74/0x80
                kernel:  do_syscall_64+0x74/0x190
                kernel:  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
                kernel: RIP: 0033:0x7f9f570f2d87
                kernel: RSP: 002b:00007fff29a4ed78 EFLAGS: 00000246 ORIG_RAX:
0000000000000010
                kernel: RAX: ffffffffffffffda RBX: 00007fff29a4eda0 RCX:
00007f9f570f2d87
                kernel: RDX: 00007fff29a4eda0 RSI: 00000000c018643a RDI:
000000000000000c
                kernel: RBP: 00000000010a9590 R08: 0000000000800105 R09:
0000000000000000
                kernel: R10: 0000000000000000 R11: 0000000000000246 R12:
00000000c018643a
                kernel: R13: 0000000000801290 R14: 0000000001194810 R15:
0000000000000000
                kernel: Code: e8 a7 1f 04 00 83 e8 4e 0f b6 d0 48 89 d0 48 c1
e0 05 48 01 d0 48 c1 e0 05 49 03 86 60 01 00 00 84 db 48 8b b8 78 02 00 00 74
18 <48> 8b 07 be 02 00 00 00 48 8b 80 d8 00 00 00 e8 5d 34 be fd 84 
                kernel: RIP: dce110_vblank_set+0x4f/0xb0 [amdgpu] RSP:
ffffb37007f87bc0
                kernel: CR2: 0000000000000000
                kernel: ---[ end trace 53fc1155564badc6 ]---
                kernel: note: xfwm4[1113] exited with preempt_count 3
                blueman-mechanism[1683]: Exiting
                kernel: [drm] {3840x2160, 4000x2222@533250Khz}
[8.] Environment
[8.1.] Software. Output of the ver_linux script:
                Linux anton 4.15.10-1-MANJARO #1 SMP PREEMPT Thu Mar 15
19:50:50 UTC 2018 x86_64 GNU/Linux

                GNU C                   7.3.0
                GNU Make                4.2.1
                Binutils                2.29.1
                Util-linux              2.31.1
                Mount                   2.31.1
                Module-init-tools       24
                E2fsprogs               1.44.0
                Jfsutils                1.1.15
                Reiserfsprogs           3.6.27
                Xfsprogs                4.15.1
                Pcmciautils             018
                PPP                     2.4.7
                Nfs-utils               3.1.1
                Linux C Library         2.26
                Dynamic linker (ldd)    2.26
                Linux C++ Library       6.0.24
                Procps                  3.3.12
                Net-tools               2.10
                Kbd                     2.0.4
                Console-tools           2.0.4
                Sh-utils                8.29
                Udev                    238
                Wireless-tools          30
                Modules Loaded          acpi_cpufreq aesni_intel aes_x86_64
agpgart ahci amdgpu amd_iommu_v2 amdkfd arc4 bluetooth bnep bridge br_netfilter
btbcm btintel btrtl btusb ccp cdrom cfg80211 chash cmac crc16 crc32c_generic
crc32c_intel crc32_pclmul crct10dif_pclmul cryptd crypto_simd crypto_user dca
drm drm_kms_helper ecdh_generic edac_mce_amd evdev ext4 fat fb_sys_fops
fscrypto fuse ghash_clmulni_intel glue_helper gpio_amdpt hid hid_generic
i2c_algo_bit i2c_piix4 igb input_leds iptable_filter iptable_nat ip_tables
ipt_MASQUERADE irqbypass iwlmvm iwlwifi jbd2 k10temp kvm led_class libahci
libata libcrc32c llc mac80211 mac_hid mbcache mousedev mxm_wmi nf_conntrack
nf_conntrack_ipv4 nf_conntrack_netlink nf_defrag_ipv4 nf_nat nf_nat_ipv4
nf_nat_masquerade_ipv4 nfnetlink nls_cp437 nls_iso8859_1 overlay pcbc pcspkr
pinctrl_amd pps_core ptp rfcomm rfkill rng_core rtc_cmos scsi_mod shpchp snd
snd_hda_codec snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_codec_realtek
snd_hda_core snd_hda_intel snd_hwdep snd_pcm snd_timer soundcore sp5100_tco
sr_mod stp syscopyarea sysfillrect sysimgblt ttm usb_common usbcore usbhid vfat
wmi wmi_bmof xfrm_algo xfrm_user xhci_hcd xhci_pci x_tables xt_addrtype
xt_conntrack

[8.2.] Processor information
                vendor_id       : AuthenticAMD
                cpu family      : 23
                model           : 1
                model name      : AMD Ryzen 7 1800X Eight-Core Processor
                stepping        : 1
                microcode       : 0x8001129
                cpu MHz         : 1844.566
                cache size      : 512 KB
                physical id     : 0
                siblings        : 16
                core id         : 7
                cpu cores       : 8
                apicid          : 15
                initial apicid  : 15
                fpu             : yes
                fpu_exception   : yes
                cpuid level     : 13
                wp              : yes
                flags           : fpu vme de pse tsc msr pae mce cx8 apic sep
mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext
fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid
extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe
popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm
sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core
perfctr_nb bpext perfctr_llc mwaitx cpb hw_pstate sme vmmcall fsgsbase bmi1
avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves
clzero irperf xsaveerptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean
flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif
overflow_recov succor smca
                bugs            : sysret_ss_attrs null_seg spectre_v1
spectre_v2
                bogomips        : 7202.78
                TLB size        : 2560 4K pages
                clflush size    : 64
                cache_alignment : 64
                address sizes   : 43 bits physical, 48 bits virtual
                power management: ts ttp tm hwpstate eff_freq_ro [13] [14]

[8.3.] Module information (from /proc/modules):
                cmac 16384 1 - Live 0x0000000000000000
                rfcomm 86016 16 - Live 0x0000000000000000
                fuse 118784 5 - Live 0x0000000000000000
                ipt_MASQUERADE 16384 1 - Live 0x0000000000000000
                nf_nat_masquerade_ipv4 16384 1 ipt_MASQUERADE, Live
0x0000000000000000
                nf_conntrack_netlink 49152 0 - Live 0x0000000000000000
                nfnetlink 16384 2 nf_conntrack_netlink, Live 0x0000000000000000
                xfrm_user 45056 1 - Live 0x0000000000000000
                xfrm_algo 16384 1 xfrm_user, Live 0x0000000000000000
                iptable_nat 16384 1 - Live 0x0000000000000000
                nf_conntrack_ipv4 16384 3 - Live 0x0000000000000000
                nf_defrag_ipv4 16384 1 nf_conntrack_ipv4, Live
0x0000000000000000
                nf_nat_ipv4 16384 1 iptable_nat, Live 0x0000000000000000
                xt_addrtype 16384 2 - Live 0x0000000000000000
                iptable_filter 16384 1 - Live 0x0000000000000000
                xt_conntrack 16384 1 - Live 0x0000000000000000
                nf_nat 36864 2 nf_nat_masquerade_ipv4,nf_nat_ipv4, Live
0x0000000000000000
                nf_conntrack 155648 7
ipt_MASQUERADE,nf_nat_masquerade_ipv4,nf_conntrack_netlink,nf_conntrack_ipv4,nf_nat_ipv4,xt_conntrack,nf_nat,
Live 0x0000000000000000
                libcrc32c 16384 2 nf_nat,nf_conntrack, Live 0x0000000000000000
                crc32c_generic 16384 0 - Live 0x0000000000000000
                br_netfilter 24576 0 - Live 0x0000000000000000
                bridge 188416 1 br_netfilter, Live 0x0000000000000000
                stp 16384 1 bridge, Live 0x0000000000000000
                llc 16384 2 bridge,stp, Live 0x0000000000000000
                overlay 86016 0 - Live 0x0000000000000000
                bnep 24576 2 - Live 0x0000000000000000
                arc4 16384 2 - Live 0x0000000000000000
                amdkfd 151552 1 - Live 0x0000000000000000
                amd_iommu_v2 20480 1 amdkfd, Live 0x0000000000000000
                amdgpu 3104768 7 - Live 0x0000000000000000
                nls_iso8859_1 16384 1 - Live 0x0000000000000000
                nls_cp437 20480 1 - Live 0x0000000000000000
                vfat 20480 1 - Live 0x0000000000000000
                iwlmvm 425984 0 - Live 0x0000000000000000
                fat 77824 1 vfat, Live 0x0000000000000000
                snd_hda_codec_realtek 110592 1 - Live 0x0000000000000000
                mac80211 909312 1 iwlmvm, Live 0x0000000000000000
                snd_hda_codec_generic 86016 1 snd_hda_codec_realtek, Live
0x0000000000000000
                edac_mce_amd 28672 0 - Live 0x0000000000000000
                chash 16384 1 amdgpu, Live 0x0000000000000000
                snd_hda_codec_hdmi 57344 1 - Live 0x0000000000000000
                btusb 53248 0 - Live 0x0000000000000000
                input_leds 16384 0 - Live 0x0000000000000000
                ttm 118784 1 amdgpu, Live 0x0000000000000000
                iwlwifi 315392 1 iwlmvm, Live 0x0000000000000000
                btrtl 16384 1 btusb, Live 0x0000000000000000
                snd_hda_intel 45056 5 - Live 0x0000000000000000
                btbcm 16384 1 btusb, Live 0x0000000000000000
                btintel 16384 1 btusb, Live 0x0000000000000000
                kvm 704512 0 - Live 0x0000000000000000
                mousedev 24576 0 - Live 0x0000000000000000
                led_class 16384 2 iwlmvm,input_leds, Live 0x0000000000000000
                drm_kms_helper 200704 1 amdgpu, Live 0x0000000000000000
                bluetooth 634880 41 rfcomm,bnep,btusb,btrtl,btbcm,btintel, Live
0x0000000000000000
                snd_hda_codec 151552 4
snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,
Live 0x0000000000000000
                irqbypass 16384 1 kvm, Live 0x0000000000000000
                crct10dif_pclmul 16384 0 - Live 0x0000000000000000
                crc32_pclmul 16384 0 - Live 0x0000000000000000
                ecdh_generic 24576 2 bluetooth, Live 0x0000000000000000
                cfg80211 741376 3 iwlmvm,mac80211,iwlwifi, Live
0x0000000000000000
                drm 466944 7 amdgpu,ttm,drm_kms_helper, Live 0x0000000000000000
                igb 245760 0 - Live 0x0000000000000000
                snd_hda_core 94208 5
snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,
Live 0x0000000000000000
                mxm_wmi 16384 0 - Live 0x0000000000000000
                wmi_bmof 16384 0 - Live 0x0000000000000000
                snd_hwdep 20480 1 snd_hda_codec, Live 0x0000000000000000
                ghash_clmulni_intel 16384 0 - Live 0x0000000000000000
                ptp 20480 1 igb, Live 0x0000000000000000
                snd_pcm 135168 4
snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core, Live
0x0000000000000000
                pcbc 16384 0 - Live 0x0000000000000000
                pps_core 20480 1 ptp, Live 0x0000000000000000
                i2c_algo_bit 16384 2 amdgpu,igb, Live 0x0000000000000000
                agpgart 49152 2 ttm,drm, Live 0x0000000000000000
                dca 16384 1 igb, Live 0x0000000000000000
                syscopyarea 16384 1 drm_kms_helper, Live 0x0000000000000000
                snd_timer 36864 1 snd_pcm, Live 0x0000000000000000
                rfkill 28672 5 bluetooth,cfg80211, Live 0x0000000000000000
                sysfillrect 16384 1 drm_kms_helper, Live 0x0000000000000000
                ccp 81920 0 - Live 0x0000000000000000
                sysimgblt 16384 1 drm_kms_helper, Live 0x0000000000000000
                aesni_intel 188416 2 - Live 0x0000000000000000
                snd 98304 18
snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer,
Live 0x0000000000000000
                aes_x86_64 20480 1 aesni_intel, Live 0x0000000000000000
                fb_sys_fops 16384 1 drm_kms_helper, Live 0x0000000000000000
                rng_core 16384 1 ccp, Live 0x0000000000000000
                soundcore 16384 1 snd, Live 0x0000000000000000
                crypto_simd 16384 1 aesni_intel, Live 0x0000000000000000
                glue_helper 16384 1 aesni_intel, Live 0x0000000000000000
                cryptd 28672 3 ghash_clmulni_intel,aesni_intel,crypto_simd,
Live 0x0000000000000000
                shpchp 40960 0 - Live 0x0000000000000000
                sp5100_tco 16384 0 - Live 0x0000000000000000
                i2c_piix4 24576 0 - Live 0x0000000000000000
                k10temp 16384 0 - Live 0x0000000000000000
                pcspkr 16384 0 - Live 0x0000000000000000
                rtc_cmos 24576 1 - Live 0x0000000000000000
                evdev 20480 9 - Live 0x0000000000000000
                wmi 28672 2 mxm_wmi,wmi_bmof, Live 0x0000000000000000
                mac_hid 16384 0 - Live 0x0000000000000000
                pinctrl_amd 28672 0 - Live 0x0000000000000000
                gpio_amdpt 16384 0 - Live 0x0000000000000000
                acpi_cpufreq 24576 0 - Live 0x0000000000000000
                crypto_user 16384 0 - Live 0x0000000000000000
                ip_tables 28672 2 iptable_nat,iptable_filter, Live
0x0000000000000000
                x_tables 45056 5
ipt_MASQUERADE,xt_addrtype,iptable_filter,xt_conntrack,ip_tables, Live
0x0000000000000000
                ext4 712704 1 - Live 0x0000000000000000
                crc16 16384 2 bluetooth,ext4, Live 0x0000000000000000
                mbcache 16384 1 ext4, Live 0x0000000000000000
                jbd2 122880 1 ext4, Live 0x0000000000000000
                fscrypto 32768 1 ext4, Live 0x0000000000000000
                sr_mod 28672 0 - Live 0x0000000000000000
                cdrom 69632 1 sr_mod, Live 0x0000000000000000
                hid_generic 16384 0 - Live 0x0000000000000000
                usbhid 57344 0 - Live 0x0000000000000000
                hid 131072 2 hid_generic,usbhid, Live 0x0000000000000000
                ahci 40960 0 - Live 0x0000000000000000
                xhci_pci 16384 0 - Live 0x0000000000000000
                crc32c_intel 24576 1 - Live 0x0000000000000000
                libahci 40960 1 ahci, Live 0x0000000000000000
                xhci_hcd 258048 1 xhci_pci, Live 0x0000000000000000
                libata 278528 2 ahci,libahci, Live 0x0000000000000000
                usbcore 286720 4 btusb,usbhid,xhci_pci,xhci_hcd, Live
0x0000000000000000
                scsi_mod 258048 2 sr_mod,libata, Live 0x0000000000000000
                usb_common 16384 1 usbcore, Live 0x0000000000000000

[8.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem)
        /proc/ioports:
                0000-0000 : PCI Bus 0000:00
                  0000-0000 : dma1
                  0000-0000 : pic1
                  0000-0000 : timer0
                  0000-0000 : timer1
                  0000-0000 : keyboard
                  0000-0000 : PNP0800:00
                  0000-0000 : keyboard
                  0000-0000 : rtc0
                  0000-0000 : dma page reg
                  0000-0000 : pic2
                  0000-0000 : dma2
                  0000-0000 : fpu
                  0000-0000 : pnp 00:03
                  0000-0000 : pnp 00:03
                  0000-0000 : pnp 00:03
                  0000-0000 : pnp 00:03
                0000-0000 : PCI Bus 0000:00
                0000-0000 : PCI Bus 0000:00
                  0000-0000 : pnp 00:04
                  0000-0000 : pnp 00:04
                  0000-0000 : pnp 00:04
                  0000-0000 : pnp 00:04
                    0000-0000 : ACPI PM1a_EVT_BLK
                    0000-0000 : ACPI PM1a_CNT_BLK
                    0000-0000 : ACPI PM_TMR
                    0000-0000 : ACPI CPU throttle
                    0000-0000 : ACPI GPE0_BLK
                  0000-0000 : pnp 00:04
                  0000-0000 : pnp 00:04
                  0000-0000 : pnp 00:04
                    0000-0000 : piix4_smbus
                  0000-0000 : pnp 00:04
                  0000-0000 : pnp 00:04
                  0000-0000 : pnp 00:04
                  0000-0000 : pnp 00:04
                  0000-0000 : pnp 00:04
                  0000-0000 : pnp 00:04
                  0000-0000 : pnp 00:04
                  0000-0000 : pnp 00:04
                  0000-0000 : pnp 00:04
                  0000-0000 : pnp 00:04
                  0000-0000 : pnp 00:04
                    0000-0000 : smba_idx
                  0000-0000 : pnp 00:04
                0000-0000 : PCI conf1
                0000-0000 : PCI Bus 0000:00
                  0000-0000 : PCI Bus 0000:03
                    0000-0000 : PCI Bus 0000:04
                      0000-0000 : PCI Bus 0000:07
                        0000-0000 : PCI Bus 0000:08
                          0000-0000 : PCI Bus 0000:0b
                          0000-0000 : 0000:0b:00.0
                      0000-0000 : PCI Bus 0000:06
                        0000-0000 : 0000:06:00.0
                          0000-0000 : ahci
                        0000-0000 : 0000:06:00.0
                          0000-0000 : ahci
                        0000-0000 : 0000:06:00.0
                          0000-0000 : ahci
                        0000-0000 : 0000:06:00.0
                          0000-0000 : ahci
                        0000-0000 : 0000:06:00.0
                          0000-0000 : ahci
                  0000-0000 : PCI Bus 0000:0e
                    0000-0000 : 0000:0e:00.0

        /proc/iomem:
                0000000-00000000 : Reserved
                00000000-00000000 : System RAM
                00000000-00000000 : Reserved
                  00000000-00000000 : PCI Bus 0000:00
                  00000000-00000000 : PCI Bus 0000:00
                    00000000-00000000 : Video ROM
                  00000000-00000000 : System ROM
                00000000-00000000 : System RAM
                00000000-00000000 : Reserved
                00000000-00000000 : System RAM
                00000000-00000000 : Reserved
                00000000-00000000 : System RAM
                00000000-00000000 : ACPI Non-volatile Storage
                00000000-00000000 : Reserved
                00000000-00000000 : Unknown E820 type
                00000000-00000000 : System RAM
                00000000-00000000 : Reserved
                00000000-00000000 : PCI Bus 0000:00
                  00000000-00000000 : PCI Bus 0000:0e
                    00000000-00000000 : 0000:0e:00.0
                    00000000-00000000 : 0000:0e:00.0
                  00000000-00000000 : PCI MMCONFIG 0000 [bus 00-3f]
                    00000000-00000000 : Reserved
                      00000000-00000000 : pnp 00:00
                  00000000-00000000 : Reserved
                  00000000-00000000 : PCI Bus 0000:03
                    00000000-00000000 : PCI Bus 0000:04
                      00000000-00000000 : PCI Bus 0000:07
                        00000000-00000000 : PCI Bus 0000:08
                          00000000-00000000 : PCI Bus 0000:0b
                          00000000-00000000 : 0000:0b:00.0
                          00000000-00000000 : igb
                          00000000-00000000 : 0000:0b:00.0
                          00000000-00000000 : igb
                          00000000-00000000 : PCI Bus 0000:09
                          00000000-00000000 : 0000:09:00.0
                          00000000-00000000 : iwlwifi
                      00000000-00000000 : PCI Bus 0000:06
                        00000000-00000000 : 0000:06:00.0
                          00000000-00000000 : ahci
                    00000000-00000000 : 0000:03:00.1
                    00000000-00000000 : 0000:03:00.1
                      00000000-00000000 : ahci
                    00000000-00000000 : 0000:03:00.0
                      00000000-00000000 : xhci-hcd
                  00000000-00000000 : PCI Bus 0000:11
                    00000000-00000000 : 0000:11:00.3
                      00000000-00000000 : xhci-hcd
                    00000000-00000000 : 0000:11:00.2
                      00000000-00000000 : ccp
                    00000000-00000000 : 0000:11:00.2
                      00000000-00000000 : ccp
                  00000000-00000000 : PCI Bus 0000:12
                    00000000-00000000 : 0000:12:00.3
                      00000000-00000000 : ICH HD audio
                    00000000-00000000 : 0000:12:00.2
                      00000000-00000000 : ahci
                  00000000-00000000 : PCI Bus 0000:0e
                    00000000-00000000 : 0000:0e:00.0
                    00000000-00000000 : 0000:0e:00.1
                      00000000-00000000 : ICH HD audio
                  00000000-00000000 : PCI Bus 0000:01
                    00000000-00000000 : 0000:01:00.0
                      00000000-00000000 : nvme
                  00000000-00000000 : Reserved
                  00000000-00000000 : Reserved
                    00000000-00000000 : amd_iommu
                    00000000-00000000 : IOAPIC 0
                    00000000-00000000 : IOAPIC 1
                  00000000-00000000 : Reserved
                    00000000-00000000 : pnp 00:04
                00000000-00000000 : Reserved
                  00000000-00000000 : AMDIF030:00
                    00000000-00000000 : AMDIF030:00
                00000000-00000000 : Reserved
                  00000000-00000000 : HPET 0
                    00000000-00000000 : PNP0103:00
                00000000-00000000 : Reserved
                00000000-00000000 : Reserved
                  00000000-00000000 : AMDI0030:00
                00000000-00000000 : pnp 00:04
                00000000-00000000 : Reserved
                00000000-00000000 : Reserved
                00000000-00000000 : PCI Bus 0000:00
                  00000000-00000000 : Reserved
                    00000000-00000000 : Local APIC
                      00000000-00000000 : pnp 00:04
                  00000000-00000000 : Reserved
                    00000000-00000000 : pnp 00:04
                00000000-00000000 : System RAM
                  00000000-00000000 : Kernel code
                  00000000-00000000 : Kernel data
                  00000000-00000000 : Kernel bss
                00000000-00000000 : RAM buffer

[8.5.] PCI information ('lspci -vvv' as root): attached 'pci.info'
[8.6.] SCSI information (from /proc/scsi/scsi):
                Attached devices:
                Host: scsi5 Channel: 00 Id: 00 Lun: 00
                  Vendor: HL-DT-ST Model: DVDRAM GH24NSD1  Rev: LG00
                  Type:   CD-ROM                           ANSI  SCSI revision:
05

[8.7.] Output of dmidecode: attached as dmidecode.info

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 199139] System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state
  2018-03-19  9:04 [Bug 199139] New: System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state bugzilla-daemon
@ 2018-03-19  9:05 ` bugzilla-daemon
  2018-03-19  9:05 ` bugzilla-daemon
                   ` (22 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-03-19  9:05 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199139

--- Comment #1 from Eduard (wirch.eduard@gmail.com) ---
Created attachment 274809
  --> https://bugzilla.kernel.org/attachment.cgi?id=274809&action=edit
dmidecode.info

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 199139] System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state
  2018-03-19  9:04 [Bug 199139] New: System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state bugzilla-daemon
  2018-03-19  9:05 ` [Bug 199139] " bugzilla-daemon
@ 2018-03-19  9:05 ` bugzilla-daemon
  2018-03-19  9:11 ` bugzilla-daemon
                   ` (21 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-03-19  9:05 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199139

--- Comment #2 from Eduard (wirch.eduard@gmail.com) ---
Created attachment 274811
  --> https://bugzilla.kernel.org/attachment.cgi?id=274811&action=edit
pci.info

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 199139] System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state
  2018-03-19  9:04 [Bug 199139] New: System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state bugzilla-daemon
  2018-03-19  9:05 ` [Bug 199139] " bugzilla-daemon
  2018-03-19  9:05 ` bugzilla-daemon
@ 2018-03-19  9:11 ` bugzilla-daemon
  2018-03-19 14:49 ` bugzilla-daemon
                   ` (20 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-03-19  9:11 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199139

Eduard (wirch.eduard@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Regression|No                          |Yes

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 199139] System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state
  2018-03-19  9:04 [Bug 199139] New: System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-03-19  9:11 ` bugzilla-daemon
@ 2018-03-19 14:49 ` bugzilla-daemon
  2018-03-20  7:36 ` bugzilla-daemon
                   ` (19 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-03-19 14:49 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199139

Harry Wentland (harry.wentland@amd.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |harry.wentland@amd.com

--- Comment #3 from Harry Wentland (harry.wentland@amd.com) ---
Created attachment 274819
  --> https://bugzilla.kernel.org/attachment.cgi?id=274819&action=edit
0001-drm-amd-display-Don-t-blow-up-if-TG-is-NULL-in-dce11.patch

Does this patch help?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 199139] System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state
  2018-03-19  9:04 [Bug 199139] New: System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state bugzilla-daemon
                   ` (3 preceding siblings ...)
  2018-03-19 14:49 ` bugzilla-daemon
@ 2018-03-20  7:36 ` bugzilla-daemon
  2018-03-20  7:41 ` bugzilla-daemon
                   ` (18 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-03-20  7:36 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199139

--- Comment #4 from Eduard (wirch.eduard@gmail.com) ---
Indeed, it does.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 199139] System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state
  2018-03-19  9:04 [Bug 199139] New: System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state bugzilla-daemon
                   ` (4 preceding siblings ...)
  2018-03-20  7:36 ` bugzilla-daemon
@ 2018-03-20  7:41 ` bugzilla-daemon
  2018-03-20  7:41 ` bugzilla-daemon
                   ` (17 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-03-20  7:41 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199139

--- Comment #5 from Eduard (wirch.eduard@gmail.com) ---
But it causes follow up problems:

kernel: [drm:dm_logger_write [amdgpu]] *ERROR* Failed to get VBLANK!
kernel: [drm:dm_vblank_get_counter [amdgpu]] *ERROR* dc_stream_state is NULL
for crtc '1'!
kernel: [drm:dm_crtc_get_scanoutpos [amdgpu]] *ERROR* dc_stream_state is NULL
for crtc '1'!
kernel: [drm:dm_vblank_get_counter [amdgpu]] *ERROR* dc_stream_state is NULL
for crtc '1'!
kernel: WARNING: CPU: 10 PID: 1119 at drivers/gpu/drm/drm_vblank.c:612
drm_calc_vbltimestamp_from_scanoutpos+0x2c5/0x340 [drm]
kernel: Modules linked in: cmac rfcomm fuse ipt_MASQUERADE
nf_nat_masquerade_ipv4 nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo
iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 xt_addrtype
iptable_filter xt_conntrack nf_nat nf_conntrack libcr>
kernel:  wmi_bmof mxm_wmi fb_sys_fops soundcore dca rng_core pcbc rfkill
aesni_intel aes_x86_64 crypto_simd glue_helper sp5100_tco cryptd pcspkr
i2c_piix4 k10temp shpchp rtc_cmos wmi pinctrl_amd gpio_amdpt evdev mac_hid
acpi_cpufreq crypto_user ip_tables >
kernel: CPU: 10 PID: 1119 Comm: xfwm4 Not tainted 4.15.10-1.1-MANJARO #1
kernel: Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./X370
Taichi, BIOS P3.30 01/15/2018
kernel: RIP: 0010:drm_calc_vbltimestamp_from_scanoutpos+0x2c5/0x340 [drm]
kernel: RSP: 0018:ffffb128c747fb30 EFLAGS: 00010086
kernel: RAX: ffffffffc143c540 RBX: ffffa30e940cf000 RCX: 0000000000000001
kernel: RDX: ffffffffc12303c8 RSI: 0000000000000001 RDI: ffffffffc122e26e
kernel: RBP: ffffb128c747fb98 R08: 0000000000000000 R09: ffffffffc120f8b0
kernel: R10: ffffffffc1262320 R11: ffffffffb55ccf2d R12: 0000000000000001
kernel: R13: ffffb128c747fbac R14: ffffb128c747fbe0 R15: ffffa30d496af800
kernel: FS:  00007fa8a541a980(0000) GS:ffffa30edee80000(0000)
knlGS:0000000000000000
kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: 00007fbf500135b8 CR3: 0000000e7e82a000 CR4: 00000000003406e0
kernel: Call Trace:
kernel:  ? set_cursor+0x80/0x80
kernel:  ? set_cursor+0x80/0x80
kernel:  drm_get_last_vbltimestamp+0x54/0x90 [drm]
kernel:  drm_update_vblank_count+0x77/0x250 [drm]
kernel:  drm_vblank_enable+0xbd/0x100 [drm]
kernel:  drm_vblank_get+0x8d/0xb0 [drm]
kernel:  drm_wait_vblank_ioctl+0x12a/0x660 [drm]
kernel:  ? unix_stream_recvmsg+0x53/0x70
kernel:  ? drm_legacy_modeset_ctl_ioctl+0x100/0x100 [drm]
kernel:  drm_ioctl_kernel+0x5b/0xb0 [drm]
kernel:  drm_ioctl+0x2d5/0x370 [drm]
kernel:  ? drm_legacy_modeset_ctl_ioctl+0x100/0x100 [drm]
kernel:  ? do_iter_write+0xdc/0x190
kernel:  ? vfs_writev+0xb9/0x110
kernel:  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
kernel:  do_vfs_ioctl+0xa4/0x630
kernel:  ? __sys_recvmsg+0x4e/0x90
kernel:  ? __sys_recvmsg+0x7d/0x90
kernel:  SyS_ioctl+0x74/0x80
kernel:  do_syscall_64+0x74/0x190
kernel:  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
kernel: RIP: 0033:0x7fa8a1a6fd87
kernel: RSP: 002b:00007fff3c9e7a48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
kernel: RAX: ffffffffffffffda RBX: 00007fff3c9e7a70 RCX: 00007fa8a1a6fd87
kernel: RDX: 00007fff3c9e7a70 RSI: 00000000c018643a RDI: 000000000000000c
kernel: RBP: 0000000002251590 R08: 0000000000800105 R09: 0000000000000000
kernel: R10: 0000000000000000 R11: 0000000000000246 R12: 00000000c018643a
kernel: R13: 0000000000801813 R14: 000000000233d510 R15: 0000000000000000
kernel: Code: e1 48 c7 c2 c8 03 23 c1 be 01 00 00 00 48 c7 c7 6e e2 22 c1 e8 5d
62 fe ff 48 8b 83 98 03 00 00 48 83 78 20 00 0f 84 6f fd ff ff <0f> 0b e9 68 fd
ff ff 48 c7 c2 90 03 23 c1 31 f6 48 c7 c7 6b e2 
kernel: ---[ end trace d9312f249097de3a ]---



And the system freezes every 7s for 3s.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 199139] System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state
  2018-03-19  9:04 [Bug 199139] New: System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state bugzilla-daemon
                   ` (5 preceding siblings ...)
  2018-03-20  7:41 ` bugzilla-daemon
@ 2018-03-20  7:41 ` bugzilla-daemon
  2018-03-20 13:23 ` bugzilla-daemon
                   ` (16 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-03-20  7:41 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199139

--- Comment #6 from Eduard (wirch.eduard@gmail.com) ---
Do you want me to create a new bug report?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 199139] System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state
  2018-03-19  9:04 [Bug 199139] New: System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state bugzilla-daemon
                   ` (6 preceding siblings ...)
  2018-03-20  7:41 ` bugzilla-daemon
@ 2018-03-20 13:23 ` bugzilla-daemon
  2018-09-04  9:37 ` bugzilla-daemon
                   ` (15 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-03-20 13:23 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199139

--- Comment #7 from Harry Wentland (harry.wentland@amd.com) ---
Thanks for testing. No need for a new bug report. It seems like it's still the
same problem at the core. The patch I sent doesn't address the root cause, but
tries to alleviate the symptom (i.e. don't crash the kernel).

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 199139] System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state
  2018-03-19  9:04 [Bug 199139] New: System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state bugzilla-daemon
                   ` (7 preceding siblings ...)
  2018-03-20 13:23 ` bugzilla-daemon
@ 2018-09-04  9:37 ` bugzilla-daemon
  2018-09-14  6:21 ` bugzilla-daemon
                   ` (14 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-09-04  9:37 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199139

--- Comment #8 from Eduard (wirch.eduard@gmail.com) ---
Is there anything I could do to work around the problem?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 199139] System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state
  2018-03-19  9:04 [Bug 199139] New: System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state bugzilla-daemon
                   ` (8 preceding siblings ...)
  2018-09-04  9:37 ` bugzilla-daemon
@ 2018-09-14  6:21 ` bugzilla-daemon
  2018-09-14 13:00 ` bugzilla-daemon
                   ` (13 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-09-14  6:21 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199139

mistarzy@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mistarzy@gmail.com

--- Comment #9 from mistarzy@gmail.com ---
I would like to confirm this issue is also present on 4.18.6

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 199139] System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state
  2018-03-19  9:04 [Bug 199139] New: System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state bugzilla-daemon
                   ` (9 preceding siblings ...)
  2018-09-14  6:21 ` bugzilla-daemon
@ 2018-09-14 13:00 ` bugzilla-daemon
  2018-09-17  7:09 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-09-14 13:00 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199139

Nicholas Kazlauskas (nicholas.kazlauskas@amd.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nicholas.kazlauskas@amd.com

--- Comment #10 from Nicholas Kazlauskas (nicholas.kazlauskas@amd.com) ---
Please post a full dmesg log and Xorg log from your 4.18 kernel.

If your setup differs from the original poster then it would likely help if you
noted your distro/desktop environment as well.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 199139] System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state
  2018-03-19  9:04 [Bug 199139] New: System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state bugzilla-daemon
                   ` (10 preceding siblings ...)
  2018-09-14 13:00 ` bugzilla-daemon
@ 2018-09-17  7:09 ` bugzilla-daemon
  2018-09-17  7:11 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-09-17  7:09 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199139

--- Comment #11 from Eduard (wirch.eduard@gmail.com) ---
Created attachment 278577
  --> https://bugzilla.kernel.org/attachment.cgi?id=278577&action=edit
boot log 4.18

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 199139] System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state
  2018-03-19  9:04 [Bug 199139] New: System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state bugzilla-daemon
                   ` (11 preceding siblings ...)
  2018-09-17  7:09 ` bugzilla-daemon
@ 2018-09-17  7:11 ` bugzilla-daemon
  2018-09-17  7:11 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-09-17  7:11 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199139

--- Comment #12 from Eduard (wirch.eduard@gmail.com) ---
Created attachment 278579
  --> https://bugzilla.kernel.org/attachment.cgi?id=278579&action=edit
fail log 4.18

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 199139] System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state
  2018-03-19  9:04 [Bug 199139] New: System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state bugzilla-daemon
                   ` (12 preceding siblings ...)
  2018-09-17  7:11 ` bugzilla-daemon
@ 2018-09-17  7:11 ` bugzilla-daemon
  2018-09-17  7:13 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-09-17  7:11 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199139

--- Comment #13 from Eduard (wirch.eduard@gmail.com) ---
Created attachment 278581
  --> https://bugzilla.kernel.org/attachment.cgi?id=278581&action=edit
Xorg 4.18

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 199139] System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state
  2018-03-19  9:04 [Bug 199139] New: System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state bugzilla-daemon
                   ` (13 preceding siblings ...)
  2018-09-17  7:11 ` bugzilla-daemon
@ 2018-09-17  7:13 ` bugzilla-daemon
  2018-09-24  6:50 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-09-17  7:13 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199139

--- Comment #14 from Eduard (wirch.eduard@gmail.com) ---
Attached dmesg output right after boot (boot log 4.18) and the additional
failure lines after display woke up from power save (fail log 4.18). As well as
Xorg log (Xorg 4.18).

The problem behavior is the same as with 4.15. After waking up the display from
power save, the system freezes every 10s for a couple of seconds.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 199139] System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state
  2018-03-19  9:04 [Bug 199139] New: System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state bugzilla-daemon
                   ` (14 preceding siblings ...)
  2018-09-17  7:13 ` bugzilla-daemon
@ 2018-09-24  6:50 ` bugzilla-daemon
  2018-09-24 13:10 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-09-24  6:50 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199139

--- Comment #15 from Eduard (wirch.eduard@gmail.com) ---
@Nicholas: you got some insights from the logs?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 199139] System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state
  2018-03-19  9:04 [Bug 199139] New: System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state bugzilla-daemon
                   ` (15 preceding siblings ...)
  2018-09-24  6:50 ` bugzilla-daemon
@ 2018-09-24 13:10 ` bugzilla-daemon
  2018-10-01 13:26 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-09-24 13:10 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199139

--- Comment #16 from Nicholas Kazlauskas (nicholas.kazlauskas@amd.com) ---
The logs are sufficient in case to understand what issue you're experiencing.

However, I'm surprised that this is occurring with xf86-video-amdgpu. Another
user with a similar setup was reporting this problem only occurring with the
modesetting driver - but they were using GNOME instead of xfce.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 199139] System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state
  2018-03-19  9:04 [Bug 199139] New: System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state bugzilla-daemon
                   ` (16 preceding siblings ...)
  2018-09-24 13:10 ` bugzilla-daemon
@ 2018-10-01 13:26 ` bugzilla-daemon
  2018-10-26  8:18 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-10-01 13:26 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199139

juliolokooo@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |juliolokooo@gmail.com

--- Comment #17 from juliolokooo@gmail.com ---
It can be reproduced on 4.19.0-rc6 too, same dmesg and Xorg output as with
4.18.
I tested on XFCE with xf86-video-amdgpu and modesetting, this bug happens with
both.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 199139] System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state
  2018-03-19  9:04 [Bug 199139] New: System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state bugzilla-daemon
                   ` (17 preceding siblings ...)
  2018-10-01 13:26 ` bugzilla-daemon
@ 2018-10-26  8:18 ` bugzilla-daemon
  2018-10-26 14:58 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-10-26  8:18 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199139

--- Comment #18 from Eduard (wirch.eduard@gmail.com) ---
Even after updating to 4.19 release did not solve the problem.

I was able to work around it by disabling monitor power management in Xorg
settings:

Section "Monitor"
        Identifier      "Monitor0"
        Option "DPMS" "false"
EndSection


I sill get this error:

kernel: [drm:dce110_vblank_set [amdgpu]] *ERROR* Failed to get VBLANK!

But it does not repeat every 10s any more, and also my system does not freeze.
So I can finally upgrade from 4.14.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 199139] System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state
  2018-03-19  9:04 [Bug 199139] New: System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state bugzilla-daemon
                   ` (18 preceding siblings ...)
  2018-10-26  8:18 ` bugzilla-daemon
@ 2018-10-26 14:58 ` bugzilla-daemon
  2018-10-30  9:11 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-10-26 14:58 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199139

--- Comment #19 from Eduard (wirch.eduard@gmail.com) ---
I figured out it is not true. After a longer period of turned off screen
(lightDM automatically turns it off if you lock the station), the hangs
appeared again. So I'm back again on 4.14. :(

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 199139] System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state
  2018-03-19  9:04 [Bug 199139] New: System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state bugzilla-daemon
                   ` (19 preceding siblings ...)
  2018-10-26 14:58 ` bugzilla-daemon
@ 2018-10-30  9:11 ` bugzilla-daemon
  2019-01-04  7:53 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2018-10-30  9:11 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199139

--- Comment #20 from Eduard (wirch.eduard@gmail.com) ---
@Nicholas: If you understand the root cause, can you suggest a work around for
this problem?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 199139] System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state
  2018-03-19  9:04 [Bug 199139] New: System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state bugzilla-daemon
                   ` (20 preceding siblings ...)
  2018-10-30  9:11 ` bugzilla-daemon
@ 2019-01-04  7:53 ` bugzilla-daemon
  2019-01-04  9:18 ` bugzilla-daemon
  2019-01-07 15:22 ` bugzilla-daemon
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2019-01-04  7:53 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199139

--- Comment #21 from Eduard (wirch.eduard@gmail.com) ---
I was able to work around the problem after a hint by Michel Dänzer by
disabling new amdgpu display code:
https://bugs.freedesktop.org/show_bug.cgi?id=109001#c11

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 199139] System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state
  2018-03-19  9:04 [Bug 199139] New: System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state bugzilla-daemon
                   ` (21 preceding siblings ...)
  2019-01-04  7:53 ` bugzilla-daemon
@ 2019-01-04  9:18 ` bugzilla-daemon
  2019-01-07 15:22 ` bugzilla-daemon
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2019-01-04  9:18 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199139

--- Comment #22 from mistarzy@gmail.com ---
I got rid of the issue by clean installation of Xubuntu 18.04.1 with 4.15. Same
kernel on old installation (xubuntu being upgraded over the years from 15.04 to
18.04.1) that I mentioned on 2018-09-14 still has issues. I was trying to find
source of the issue but I do not believe that was kernel related. Since on
fresh installation everything works fine. Also when switched to mainline
https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20/ no issues found. My
skills are limited but would guess is how system is handling amdgpu driver. If
you would like me to test something I have both installations available - with
and without drm issue.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 199139] System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state
  2018-03-19  9:04 [Bug 199139] New: System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state bugzilla-daemon
                   ` (22 preceding siblings ...)
  2019-01-04  9:18 ` bugzilla-daemon
@ 2019-01-07 15:22 ` bugzilla-daemon
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2019-01-07 15:22 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=199139

--- Comment #23 from Nicholas Kazlauskas (nicholas.kazlauskas@amd.com) ---
Does this still occur on kernels for 4.21 and higher?

It isn't directly related to power management, but there are many of these
classes of edge cases with atomic commit flow that get fixed with the following
patches:

https://patchwork.freedesktop.org/patch/263411/
https://patchwork.freedesktop.org/series/53324/

So I would be interested in knowing whether this is a separate issue.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2019-01-07 15:22 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-19  9:04 [Bug 199139] New: System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state bugzilla-daemon
2018-03-19  9:05 ` [Bug 199139] " bugzilla-daemon
2018-03-19  9:05 ` bugzilla-daemon
2018-03-19  9:11 ` bugzilla-daemon
2018-03-19 14:49 ` bugzilla-daemon
2018-03-20  7:36 ` bugzilla-daemon
2018-03-20  7:41 ` bugzilla-daemon
2018-03-20  7:41 ` bugzilla-daemon
2018-03-20 13:23 ` bugzilla-daemon
2018-09-04  9:37 ` bugzilla-daemon
2018-09-14  6:21 ` bugzilla-daemon
2018-09-14 13:00 ` bugzilla-daemon
2018-09-17  7:09 ` bugzilla-daemon
2018-09-17  7:11 ` bugzilla-daemon
2018-09-17  7:11 ` bugzilla-daemon
2018-09-17  7:13 ` bugzilla-daemon
2018-09-24  6:50 ` bugzilla-daemon
2018-09-24 13:10 ` bugzilla-daemon
2018-10-01 13:26 ` bugzilla-daemon
2018-10-26  8:18 ` bugzilla-daemon
2018-10-26 14:58 ` bugzilla-daemon
2018-10-30  9:11 ` bugzilla-daemon
2019-01-04  7:53 ` bugzilla-daemon
2019-01-04  9:18 ` bugzilla-daemon
2019-01-07 15:22 ` 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.