[Intel-gfx] [regression in linux-next] i915: broken graphics on laptop
On Tue, Feb 03, 2015 at 08:21:52PM +, Chris Wilson wrote: > On Tue, Feb 03, 2015 at 10:15:47PM +0300, Andrey Skvortsov wrote: > > Hi, > > > > tested next-20150202. System boots, but graphic output is broken (empty > > black screen). > > Booted five times the same kernel, always got the same result. The system > > works with 3.19-rc7. > > Those two warnings are more or less symptoms of the black screen (well > the first is just overzealous). More important would be the drm.debug=6 > dmesg from boot along with the gdm.log (or equivalent) aned Xorg.0.log > as my guess is that X (or the display server) is crashing. Requested logs with drm.debug=6 are attached. lightdm was running after WARN_ON, but I couldn't restart it. The command hanged. As I booted next-20150202 system crashed several times with a lot of drm_ calls in the backtrace, but I couldn't catch kernel logs, because I have not serial port on the laptop. If you need to get other information or to test patches, I would be glad to help. -- Best regards, Andrey Skvortsov PGP Key ID: 0x57A3AEAD -- next part -- [0.00] Initializing cgroup subsys cpuset [0.00] Initializing cgroup subsys cpuacct [0.00] Linux version 3.19.0-rc6-next-20150202-150201- (developer at ST-37) (gcc version 4.7.2 (Debian 4.7.2-5) ) #4 SMP PREEMPT Mon Feb 2 17:53:17 MSK 2015 [0.00] Command line: BOOT_IMAGE=/boot/vmlinuz-3.19.0-rc6-next-20150202-150201- root=UUID=b8e95798-f113-470b-b415-323e51da7052 ro drm.debug=6 [0.00] e820: BIOS-provided physical RAM map: [0.00] BIOS-e820: [mem 0x-0x0009efff] usable [0.00] BIOS-e820: [mem 0x0009f000-0x0009] reserved [0.00] BIOS-e820: [mem 0x0010-0xdf66d7ff] usable [0.00] BIOS-e820: [mem 0xdf66d800-0xdfff] reserved [0.00] BIOS-e820: [mem 0xf800-0xfbff] reserved [0.00] BIOS-e820: [mem 0xfec0-0xfec0] reserved [0.00] BIOS-e820: [mem 0xfed18000-0xfed1bfff] reserved [0.00] BIOS-e820: [mem 0xfed2-0xfed8] reserved [0.00] BIOS-e820: [mem 0xfeda-0xfeda5fff] reserved [0.00] BIOS-e820: [mem 0xfee0-0xfee0] reserved [0.00] BIOS-e820: [mem 0xfff0-0x] reserved [0.00] BIOS-e820: [mem 0x0001-0x00019fff] usable [0.00] NX (Execute Disable) protection: active [0.00] SMBIOS 2.4 present. [0.00] DMI: Dell Inc. Vostro 1500 /0NX907, BIOS A06 04/21/2008 [0.00] e820: update [mem 0x-0x0fff] usable ==> reserved [0.00] e820: remove [mem 0x000a-0x000f] usable [0.00] AGP: No AGP bridge found [0.00] e820: last_pfn = 0x1a max_arch_pfn = 0x4 [0.00] MTRR default type: uncachable [0.00] MTRR fixed ranges enabled: [0.00] 0-9 write-back [0.00] A-B uncachable [0.00] C-C write-protect [0.00] D-E uncachable [0.00] F-F write-protect [0.00] MTRR variable ranges enabled: [0.00] 0 base 0 mask F8000 write-back [0.00] 1 base 08000 mask FC000 write-back [0.00] 2 base 0C000 mask FE000 write-back [0.00] 3 base 1 mask F write-back [0.00] 4 base 0DF80 mask FFF80 uncachable [0.00] 5 base 0DF70 mask 0 uncachable [0.00] 6 disabled [0.00] 7 disabled [0.00] PAT configuration [0-7]: WB WC UC- UC WB WC UC- UC [0.00] e820: update [mem 0xdf70-0x] usable ==> reserved [0.00] e820: last_pfn = 0xdf66d max_arch_pfn = 0x4 [0.00] Base memory trampoline at [88099000] 99000 size 24576 [0.00] init_memory_mapping: [mem 0x-0x000f] [0.00] [mem 0x-0x000f] page 4k [0.00] BRK [0x01d0, 0x01d00fff] PGTABLE [0.00] BRK [0x01d01000, 0x01d01fff] PGTABLE [0.00] BRK [0x01d02000, 0x01d02fff] PGTABLE [0.00] init_memory_mapping: [mem 0x19fe0-0x19fff] [0.00] [mem 0x19fe0-0x19fff] page 2M [0.00] BRK [0x01d03000, 0x01d03fff] PGTABLE [0.00] init_memory_mapping: [mem 0x18000-0x19fdf] [0.00] [mem 0x18000-0x19fdf] page 2M [0.00] init_memory_mapping: [mem 0x0010-0xdf66cfff] [0.00] [mem 0x0010-0x001f] page 4k [0.00] [mem 0x0020-0xdf5f] page 2M [0.00] [mem 0xdf60-0xdf66cfff] page 4k [0.00] init_memory_mapping: [mem 0x1-0x17fff] [0.00] [mem 0x1-0x17fff] page 2M [0.00] BRK [0x01d04000, 0x01d04fff] PGTABLE [0.00] BRK [0x01d05000,
[Intel-gfx] [regression in linux-next] i915: broken graphics on laptop
On Wed, Feb 04, 2015 at 09:26:27PM +0300, Andrey Skvortsov wrote: > On Tue, Feb 03, 2015 at 08:21:52PM +, Chris Wilson wrote: > > On Tue, Feb 03, 2015 at 10:15:47PM +0300, Andrey Skvortsov wrote: > > > Hi, > > > > > > tested next-20150202. System boots, but graphic output is broken (empty > > > black screen). > > > Booted five times the same kernel, always got the same result. The system > > > works with 3.19-rc7. > > > > Those two warnings are more or less symptoms of the black screen (well > > the first is just overzealous). More important would be the drm.debug=6 > > dmesg from boot along with the gdm.log (or equivalent) aned Xorg.0.log > > as my guess is that X (or the display server) is crashing. > > Requested logs with drm.debug=6 are attached. lightdm was running after > WARN_ON, but I couldn't restart it. > The command hanged. > > As I booted next-20150202 system crashed several times with a lot of drm_ > calls in the backtrace, but I couldn't catch kernel logs, > because I have not serial port on the laptop. > > If you need to get other information or to test patches, I would be glad to > help. Right, here it looks like it freezing in intel_get_load_detect_pipe() during the initial configuration probe of X. Given the other crashes, we're back to worring about memory corruption. > [ 29.292333] [drm:intel_tv_detect] [CONNECTOR:33:SVIDEO-1] force=1 > [ 29.292336] [drm:intel_get_load_detect_pipe] [CONNECTOR:33:SVIDEO-1], > [ENCODER:34:TV-34] > [ 29.292339] [drm:intel_get_load_detect_pipe] creating tmp fb for > load-detection > [ 29.292396] [drm:intel_modeset_affected_pipes] set mode pipe masks: > modeset: 1, prepare: 1, disable: 0 > [ 29.292408] [drm:connected_sink_compute_bpp] [CONNECTOR:33:SVIDEO-1] > checking for sink bpp constrains > [ 29.292413] [drm:intel_tv_compute_config] forcing bpc to 8 for TV > [ 29.292416] [drm:intel_modeset_pipe_config] plane bpp: 24, pipe bpp: 24, > dithering: 0 > [ 29.292418] [drm:intel_dump_pipe_config] [CRTC:20][modeset] config for > pipe A > [ 29.292419] [drm:intel_dump_pipe_config] cpu_transcoder: A > [ 29.292421] [drm:intel_dump_pipe_config] pipe bpp: 24, dithering: 0 > [ 29.292423] [drm:intel_dump_pipe_config] fdi/pch: 0, lanes: 0, gmch_m: 0, > gmch_n: 0, link_m: 0, link_n: 0, tu: 0 > [ 29.292425] [drm:intel_dump_pipe_config] dp: 0, gmch_m: 0, gmch_n: 0, > link_m: 0, link_n: 0, tu: 0 > [ 29.292428] [drm:intel_dump_pipe_config] dp: 0, gmch_m2: 0, gmch_n2: 0, > link_m2: 0, link_n2: 0, tu2: 0 > [ 29.292429] [drm:intel_dump_pipe_config] audio: 0, infoframes: 0 > [ 29.292431] [drm:intel_dump_pipe_config] requested mode: > [ 29.292433] [drm:drm_mode_debug_printmodeline] Modeline 0:"NTSC 480i" 0 > 107520 1280 1368 1496 1712 1024 1027 1034 1104 0x40 0x0 > [ 29.292435] [drm:intel_dump_pipe_config] adjusted mode: > [ 29.292438] [drm:drm_mode_debug_printmodeline] Modeline 0:"NTSC 480i" 0 > 107520 1280 1368 1496 1712 1024 1027 1034 1104 0x40 0x0 > [ 29.292440] [drm:intel_dump_crtc_timings] crtc timings: 108000 1280 1368 > 1496 1712 1024 1027 1034 1104, type: 0x40 flags: 0x0 > [ 29.292442] [drm:intel_dump_pipe_config] port clock: 108000 > [ 29.292444] [drm:intel_dump_pipe_config] pipe src size: 1280x1024 > [ 29.292446] [drm:intel_dump_pipe_config] gmch pfit: control: 0x, > ratios: 0x, lvds border: 0x > [ 29.292447] [drm:intel_dump_pipe_config] pch pfit: pos: 0x, size: > 0x, disabled > [ 29.292449] [drm:intel_dump_pipe_config] ips: 0 > [ 29.292451] [drm:intel_dump_pipe_config] double wide: 0 > [ 29.292565] [ cut here ] > [ 29.293785] WARNING: CPU: 0 PID: 53 at include/linux/kref.h:47 > drm_framebuffer_reference+0x5b/0x64 [drm]() > [ 29.295032] Modules linked in: bnep(E) cfg80211(E) cpufreq_stats(E) > cpufreq_powersave(E) cpufreq_userspace(E) cpufreq_conservative(E) nfsd(E) > auth_rpcgss(E) nfs_acl(E) lockd(E) grace(E) sunrpc(E) cdc_wdm(E) cdc_acm(E) > cdc_ether(E) usbnet(E) joydev(E) coretemp(E) kvm_intel(E) kvm(E) i8k(E) > btusb(E) psmouse(E) snd_pcsp(E) i915(E) evdev(E) bluetooth(E) i2c_i801(E) > snd_hda_codec_generic(E) lpc_ich(E) mfd_core(E) xhci_pci(E) xhci_hcd(E) > serio_raw(E) rfkill(E) drm_kms_helper(E) drm(E) i2c_algo_bit(E) i2c_core(E) > snd_hda_intel(E) snd_hda_controller(E) snd_hda_codec(E) button(E) > snd_hwdep(E) battery(E) snd_pcm(E) snd_timer(E) snd(E) soundcore(E) video(E) > ac(E) acpi_cpufreq(E) processor(E) fuse(E) parport_pc(E) ppdev(E) lp(E) > parport(E) autofs4(E) ext4(E) crc16(E) jbd2(E) mbcache(E) sd_mod(E) > ata_generic(E) > [ 29.295080] ahci(E) libahci(E) ata_piix(E) libata(E) scsi_mod(E) b44(E) > firewire_ohci(E) sdhci_pci(E) sdhci(E) firewire_core(E) crc_itu_t(E) mii(E) > ssb(E) mmc_core(E) libphy(E) uhci_hcd(E) ehci_pci(E) ehci_hcd(E) thermal(E) > thermal_sys(E) usbcore(E) usb_common(E) > [ 29.296301] CPU: 0 PID: 53 Comm: kworker/0:3 Tainted: GW E >
[regression in linux-next] i915: broken graphics on laptop
Hi, tested next-20150202. System boots, but graphic output is broken (empty black screen). Booted five times the same kernel, always got the same result. The system works with 3.19-rc7. This is the first warning in the log: WARNING: CPU: 0 PID: 855 at drivers/gpu/drm/i915/intel_uncore.c:169 intel_uncore_forcewake_reset+0x188/0x24d [i915]() WARN_ON(dev_priv->uncore.fw_domains == 0) Modules linked in: i915(E+) lpc_ich(E) mfd_core(E) snd_hda_controller(E) snd_hda_codec(E) snd_hwdep(E) snd_pcm(E) snd_timer(E) drm_kms_helper(E) drm(E) battery(E) button(E) video(E) ac(E) snd(E) soundcore(E) i2c_algo_bit(E) i2c_core(E) acpi_cpufreq(E) processor(E) fuse(E) parport_pc(E) ppdev(E) lp(E) parport(E) autofs4(E) ext4(E) crc16(E) jbd2(E) mbcache(E) sd_mod(E) ata_generic(E) ahci(E) libahci(E) ata_piix(E) libata(E) scsi_mod(E) sdhci_pci(E) firewire_ohci(E) sdhci(E) b44(E) firewire_core(E) crc_itu_t(E) mii(E) ssb(E) mmc_core(E) libphy(E) ehci_pci(E) thermal(E) thermal_sys(E) uhci_hcd(E) ehci_hcd(E) usbcore(E) usb_common(E) CPU: 0 PID: 855 Comm: systemd-udevd Tainted: GE 3.19.0-rc6-next-20150202-150201- #4 Hardware name: Dell Inc. Vostro 1500 /0NX907, BIOS A06 04/21/2008 0009 813e790a 8800da083958 8104178e a0601100 a0589bc4 8800da083988 8800da6c00c8 8800da6c00c8 0246 Call Trace: [] ? dump_stack+0x4a/0x74 [] ? warn_slowpath_common+0x9d/0xb5 [] ? intel_uncore_forcewake_reset+0x188/0x24d [i915] [] ? warn_slowpath_fmt+0x4a/0x4f [] ? intel_uncore_forcewake_reset+0x188/0x24d [i915] [] ? intel_uncore_init+0x1e4/0x4a8 [i915] [] ? i915_driver_load+0x58f/0xeda [i915] [] ? kobject_uevent_env+0x581/0x5d8 [] ? kfree+0xa4/0x127 [] ? kobject_uevent_env+0x581/0x5d8 [] ? devtmpfs_create_node+0x102/0x117 [] ? preempt_count_sub+0xab/0xca [] ? preempt_count_sub+0xab/0xca [] ? drm_dev_register+0x79/0xec [drm] [] ? drm_get_pci_dev+0xfc/0x1b7 [drm] [] ? pci_device_probe+0x74/0xd1 [] ? driver_probe_device+0x2ff/0x2ff [] ? driver_probe_device+0x11c/0x2ff [] ? driver_probe_device+0x2ff/0x2ff [] ? __driver_attach+0x58/0x78 [] ? bus_for_each_dev+0x53/0x84 [] ? bus_add_driver+0x113/0x1f8 [] ? driver_register+0x87/0xba [] ? 0xa0627000 [] ? do_one_initcall+0xf7/0x18e [] ? kmem_cache_alloc_trace+0xd6/0xe8 [] ? load_module+0x1c81/0x202e [] ? load_module+0x1cf9/0x202e [] ? mod_kobject_put+0x48/0x48 [] ? copy_module_from_fd+0x8c/0xf5 [] ? SyS_finit_module+0x82/0x9a [] ? system_call_fastpath+0x12/0x17 Other warnings are below: [ 19.253096] WARNING: CPU: 1 PID: 746 at drivers/gpu/drm/i915/i915_gem.c:4525 i915_gem_free_object+0x134/0x272 [i915]() [ 19.253098] WARN_ON(obj->frontbuffer_bits) [ 19.253126] Modules linked in: snd_hda_intel(E+) i2c_i801(E+) i915(E+) lpc_ich(E) mfd_core(E) snd_hda_controller(E) snd_hda_codec(E) snd_hwdep(E) snd_pcm(E) snd_timer(E) drm_kms_helper(E) drm(E) battery(E) button(E) video(E) ac(E) snd(E) soundcore(E) i2c_algo_bit(E) i2c_core(E) acpi_cpufreq(E) processor(E) fuse(E) parport_pc(E) ppdev(E) lp(E) parport(E) autofs4(E) ext4(E) crc16(E) jbd2(E) mbcache(E) sd_mod(E) ata_generic(E) ahci(E) libahci(E) ata_piix(E) libata(E) scsi_mod(E) sdhci_pci(E) firewire_ohci(E) sdhci(E) b44(E) firewire_core(E) crc_itu_t(E) mii(E) ssb(E) mmc_core(E) libphy(E) ehci_pci(E) thermal(E) thermal_sys(E) uhci_hcd(E) ehci_hcd(E) usbcore(E) usb_common(E) [ 19.253129] CPU: 1 PID: 746 Comm: kworker/u4:5 Tainted: GW E 3.19.0-rc6-next-20150202-150201- #4 [ 19.253130] Hardware name: Dell Inc. Vostro 1500 /0NX907, BIOS A06 04/21/2008 [ 19.253135] Workqueue: events_unbound async_run_entry_fn [ 19.253137] 0009 813e790a 880037a9b9e8 [ 19.253139] 8104178e 8800da6c a056e22b 880196dda800 [ 19.253140] 880196e54000 8800da6c 880196e54040 880196e54040 [ 19.253141] Call Trace: [ 19.253144] [] ? dump_stack+0x4a/0x74 [ 19.253147] [] ? warn_slowpath_common+0x9d/0xb5 [ 19.253173] [] ? i915_gem_free_object+0x134/0x272 [i915] [ 19.253176] [] ? warn_slowpath_fmt+0x4a/0x4f [ 19.253202] [] ? i915_vma_unbind+0x18f/0x1cb [i915] [ 19.253228] [] ? i915_gem_free_object+0x134/0x272 [i915] [ 19.253246] [] ? drm_gem_object_release+0x3b/0x3b [drm] [ 19.253277] [] ? kref_sub.constprop.59+0x2f/0x38 [i915] [ 19.253308] [] ? intel_user_framebuffer_destroy+0x62/0x75 [i915] [ 19.253321] [] ? drm_framebuffer_unregister_private+0x37/0x37 [drm] [ 19.25] [] ? kref_sub.constprop.33+0x2f/0x38 [drm] [ 19.253346] [] ? drm_mode_set_config_internal+0xa6/0xd7 [drm] [ 19.253355] [] ? restore_fbdev_mode+0xad/0xc8 [drm_kms_helper] [ 19.253361] [] ? drm_fb_helper_restore_fbdev_mode_unlocked+0x24/0x5a [drm_kms_helper] [ 19.253367] [] ?
[Intel-gfx] [regression in linux-next] i915: broken graphics on laptop
On Tue, Feb 03, 2015 at 10:15:47PM +0300, Andrey Skvortsov wrote: > Hi, > > tested next-20150202. System boots, but graphic output is broken (empty black > screen). > Booted five times the same kernel, always got the same result. The system > works with 3.19-rc7. Those two warnings are more or less symptoms of the black screen (well the first is just overzealous). More important would be the drm.debug=6 dmesg from boot along with the gdm.log (or equivalent) aned Xorg.0.log as my guess is that X (or the display server) is crashing. -Chris -- Chris Wilson, Intel Open Source Technology Centre