Skip to contentSkip to conversation

New: [regression] changing resolution hangs the display on Lenovo Thinkpad p51

Bug 102722 [email protected] 1 participant 8 messages Sep 14, 2017 – Dec 4, 2019 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 102722
Summary: [regression] changing resolution hangs the display on
Lenovo Thinkpad p51
Product: xorg
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: critical
Priority: medium
Component: Driver/nouveau
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

on my brand new, rather expensive, Lenovo Thinkpad p51 (model 20HHCTO1WW) changing the display resolution from 4K to something readable causes the display to go black. the only way to recover is to power cycle the laptop. this is a regression.

with the newer Nouveau driver included in Kubuntu 16.04.3 (Ubuntu 16.04.3), changing the resolution from 4K (3840x2160) to 2K (1920x1080) (and probably any other resolution) causes the screen to go black.

with the older Nouveau driver included in Kubuntu 16.04.2 (Ubuntu 16.04.2) changing the display resolution from 4K to 2K works fine.

Kubuntu 16.04.2 uses the xserver-xorg-video-nouveau-hwe-16.04 package at version 1:1.0.12-2~16.04.1.

Kubuntu 16.04.3 uses the xserver-xorg-video-nouveau-hwe-16.04 package at version
1:1.0.14-0ubuntu1

apparently the change from 1.0.12 --> 1.0.14 broke the ability to change the screen resolution. but on the plus side, the Nouveau driver in 16.04.3 (1:1.0.14-0ubuntu1) fixes an equally dire problem where the screen around the cursor is "corrupted" in a way that makes the 16.04.2 driver pretty much unusable.

more details:

i just bought a Lenovo p51with the intention of running Ubuntu (Kubuntu) Linux on it. so far the new laptop is unusable due to display driver issues (both Nouveau and proprietary Nvidia drivers have issues that make them unusable).

my laptop configuration is tagged as model 20HHCTO1WW and includes a 3840x2160 display, "hybrid" NVIDIA Quadro M2200M 4GB, and Xeon E3-1505M. the driver seems to identify the Nvidai chip as "NVIDIA GM206 (126360a1)". i'll attach the dmesg output later.

the problem is easy to reproduce by booting off a "Live USB" version of Kubuntu 16.04.3 (and the 16.04.2 Live USB if you want to see resolution change working but areas near the cursor corrupted).

i marked this as Critical because its almost impossible to use the 15" screen on the laptop with a display resolution of 3840x2160 on Linux. the default text sizes make things unreadable unless i put my eyes about 3 inches (8 cm) away from the screen. if i change font sizes to be (much) larger, the labels and icons do not scale as well so they are still very difficult to read.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#2 lore raw

[Bug 102722] [regression] changing resolution hangs the display on Lenovo Thinkpad p51

In reply to a message not in the archive

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

--- Comment #1 from craig harmer <[email protected]> --- Created attachment 134213
--> https://bugs.freedesktop.org/attachment.cgi?id=134213&action=edit
Kubuntu 16.04.3 /var/log/syslog including a "warning" with stack trace

interesting excerpt from /var/log/syslog. i don't remember exactly, but i was either trying to change the resolution on the laptop display or connect an external display:

Aug 30 22:15:00 p51 org.kde.KScreen[2281]: kscreen.xrandr: XRandR::setConfig
done!
Aug 30 22:15:00 p51 org.kde.KScreen[2281]: kscreen: Primary output changed from
KScreen::Output(Id: 99 , Name: "eDP-1" ) ( "eDP-1" ) to KScreen::Output(Id: 99
, Name: "eDP-1" ) ( "eDP-1" )
Aug 30 22:15:00 p51 kernel: [  103.994111] nouveau 0000:01:00.0: disp:
0x6219[0]: INIT_GENERIC_CONDITON: unknown 0x07
Aug 30 22:15:00 p51 kernel: [  104.069777] ------------[ cut here ]------------
Aug 30 22:15:00 p51 kernel: [  104.069799] WARNING: CPU: 5 PID: 2205 at
/build/linux-hwe-YA6IuF/linux-hwe-4.10.0/drivers/gpu/drm/nouveau/nouveau_bo.c:137
nouveau_bo_del_ttm+0x7f/0x90 [nouveau]
Aug 30 22:15:00 p51 kernel: [  104.069800] Modules linked in: rfcomm ccm bnep

nls_iso8859_1 arc4 i2c_designware_platform i2c_designware_core iwlmvm snd_hda_codec_realtek intel_rapl snd_hda_codec_generic snd_seq_midi mac80211 snd_seq_midi_event x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_intel snd_hda_codec kvm_intel snd_hda_core snd_hwdep snd_pcm iwlwifi kvm snd_rawmidi cfg80211 irqbypass rtsx_pci_ms memstick uvcvideo joydev thinkpad_acpi videobuf2_vmalloc input_leds videobuf2_memops serio_raw videobuf2_v4l2 videobuf2_core nvram videodev media snd_seq snd_seq_device idma64 snd_timer btusb virt_dma btrtl mei_me shpchp mei ucsi intel_lpss_pci intel_pch_thermal snd hci_uart btbcm btqca btintel bluetooth soundcore intel_lpss_acpi intel_lpss tpm_crb mac_hid acpi_pad parport_pc ppdev lp parport autofs4 algif_skcipher af_alg

Aug 30 22:15:00 p51 kernel: [  104.069822]  dm_crypt hid_generic usbhid nouveau

rtsx_pci_sdmmc crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc mxm_wmi i2c_algo_bit aesni_intel ttm drm_kms_helper aes_x86_64 crypto_simd e1000e syscopyarea glue_helper sysfillrect cryptd sysimgblt uas fb_sys_fops ptp psmouse nvme drm pps_core ahci rtsx_pci usb_storage nvme_core libahci wmi pinctrl_sunrisepoint i2c_hid video pinctrl_intel hid fjes

Aug 30 22:15:00 p51 kernel: [  104.069834] CPU: 5 PID: 2205 Comm: Xorg Not
tainted 4.10.0-33-generic #37~16.04.1-Ubuntu
Aug 30 22:15:00 p51 kernel: [  104.069834] Hardware name: LENOVO
20HHCTO1WW/20HHCTO1WW, BIOS N1UET31W (1.05 ) 02/13/2017
Aug 30 22:15:00 p51 kernel: [  104.069835] Call Trace:
Aug 30 22:15:00 p51 kernel: [  104.069838]  dump_stack+0x63/0x90
Aug 30 22:15:00 p51 kernel: [  104.069839]  __warn+0xcb/0xf0
Aug 30 22:15:00 p51 org.kde.KScreen[2281]: kscreen.xcb.helper:
RRNotify_CrtcChange
Aug 30 22:15:00 p51 kernel: [  104.069840]  warn_slowpath_null+0x1d/0x20
Aug 30 22:15:00 p51 kernel: [  104.069855]  nouveau_bo_del_ttm+0x7f/0x90
[nouveau]
Aug 30 22:15:00 p51 kernel: [  104.069858]  ttm_bo_release_list+0xb5/0x170
[ttm]
Aug 30 22:15:00 p51 kernel: [  104.069860]  ttm_bo_release+0x1ae/0x240 [ttm]
Aug 30 22:15:00 p51 kernel: [  104.069861]  ttm_bo_unref+0x24/0x30 [ttm]
Aug 30 22:15:00 p51 kernel: [  104.069875]  nouveau_gem_object_del+0x9a/0xf0
[nouveau]
Aug 30 22:15:00 p51 kernel: [  104.069881]  drm_gem_object_free+0x29/0x70 [drm]
Aug 30 22:15:00 p51 kernel: [  104.069884] 
drm_gem_object_unreference_unlocked+0x3a/0xa0 [drm]
Aug 30 22:15:00 p51 org.kde.KScreen[2281]: kscreen.xcb.helper: #011CRTC:  95
Aug 30 22:15:00 p51 kernel: [  104.069887] 
drm_gem_object_handle_unreference_unlocked+0x65/0xb0 [drm]
Aug 30 22:15:00 p51 kernel: [  104.069891] 
drm_gem_object_release_handle+0x53/0x90 [drm]
Aug 30 22:15:00 p51 kernel: [  104.069894]  drm_gem_handle_delete+0x5f/0x90
[drm]
Aug 30 22:15:00 p51 kernel: [  104.069897]  drm_gem_close_ioctl+0x20/0x30 [drm]
Aug 30 22:15:00 p51 kernel: [  104.069901]  drm_ioctl+0x21b/0x4d0 [drm]
Aug 30 22:15:00 p51 org.kde.KScreen[2281]: kscreen.xcb.helper: #011Mode:  106
Aug 30 22:15:00 p51 kernel: [  104.069904]  ? drm_gem_handle_create+0x40/0x40
[drm]
Aug 30 22:15:00 p51 kernel: [  104.069906]  ? signal_setup_done+0x6b/0xb0
Aug 30 22:15:00 p51 kernel: [  104.069919]  nouveau_drm_ioctl+0x68/0xc0
[nouveau]
Aug 30 22:15:00 p51 kernel: [  104.069921]  do_vfs_ioctl+0xa1/0x5f0
Aug 30 22:15:00 p51 kernel: [  104.069922]  SyS_ioctl+0x79/0x90
Aug 30 22:15:00 p51 org.kde.KScreen[2281]: kscreen.xcb.helper: #011Rotation: 
"Rotate_0"
Aug 30 22:15:00 p51 kernel: [  104.069924]  entry_SYSCALL_64_fastpath+0x1e/0xad
Aug 30 22:15:00 p51 kernel: [  104.069924] RIP: 0033:0x7ff294fdef07
Aug 30 22:15:00 p51 kernel: [  104.069925] RSP: 002b:00007fff5686def8 EFLAGS:
00003246 ORIG_RAX: 0000000000000010
Aug 30 22:15:00 p51 kernel: [  104.069925] RAX: ffffffffffffffda RBX:
0000000000000018 RCX: 00007ff294fdef07
Aug 30 22:15:00 p51 kernel: [  104.069926] RDX: 00007fff5686df30 RSI:
0000000040086409 RDI: 0000000000000018
Aug 30 22:15:00 p51 kernel: [  104.069926] RBP: 00007fff5686de20 R08:
000055b1781bcd18 R09: 000000000000005b
Aug 30 22:15:00 p51 kernel: [  104.069926] R10: 000055b1781bf3c0 R11:
0000000000003246 R12: 00000000c06864a2
Aug 30 22:15:00 p51 kernel: [  104.069927] R13: 0000000000000018 R14:
000055b17854a7c0 R15: 0000000000000000
Aug 30 22:15:00 p51 kernel: [  104.069928] ---[ end trace 1a268d7d8bb56202 ]---
Aug 30 22:15:00 p51 org.kde.KScreen[2281]: kscreen.xcb.helper: #011Geometry:  0
0 1920 1080
Aug 30 22:15:00 p51 org.kde.KScreen[2281]: kscreen.xcb.helper:

RRScreenChangeNotify

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#3 lore raw

[Bug 102722] [regression] changing resolution hangs the display on Lenovo Thinkpad p51

In reply to a message not in the archive

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

--- Comment #2 from craig harmer <[email protected]> --- Created attachment 134214
--> https://bugs.freedesktop.org/attachment.cgi?id=134214&action=edit
Kubuntu 16.04.3 /var/log/Xorg.0.log

the contents of /var/log/Xorg.0.log

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#4 lore raw

[Bug 102722] [regression] changing resolution hangs the display on Lenovo Thinkpad p51

In reply to a message not in the archive

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

craig harmer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |charmer-freedesktop.org@pun
                   |                            |chdown.org

--- Comment #3 from craig harmer <[email protected]> --- Created attachment 134215
--> https://bugs.freedesktop.org/attachment.cgi?id=134215&action=edit
Kubuntu 16.04.3 dmesg output (probably nothing that's not in /var/log/syslog,
above)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#5 lore raw

[Bug 102722] [regression] changing resolution hangs the display on Lenovo Thinkpad p51

In reply to a message not in the archive

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

--- Comment #4 from craig harmer <[email protected]> --- Created attachment 134216
--> https://bugs.freedesktop.org/attachment.cgi?id=134216&action=edit
output of lspci

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#6 lore raw

[Bug 102722] [regression] changing resolution hangs the display on Lenovo Thinkpad p51

In reply to a message not in the archive

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

--- Comment #5 from craig harmer <[email protected]> --- Created attachment 134217
--> https://bugs.freedesktop.org/attachment.cgi?id=134217&action=edit
output of xrandr --verbose

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#7 lore raw

[Bug 102722] [regression] changing resolution hangs the display on Lenovo Thinkpad p51

In reply to a message not in the archive

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

--- Comment #6 from craig harmer <[email protected]> --- Created attachment 134218
--> https://bugs.freedesktop.org/attachment.cgi?id=134218&action=edit
Kubuntu 16.04.3 contents of /etc/X11

compressed tarball of /etc/X11, consisting of the following files:

craigster0@wideload[xorg-config-16.04.3] tar -tf etc-X11.tgz etc/X11/
etc/X11/xkb/
etc/X11/Xresources/
etc/X11/Xresources/x11-common
etc/X11/xinit/
etc/X11/xinit/xserverrc
etc/X11/xinit/xinitrc
etc/X11/xinit/xinputrc
etc/X11/xinit/xinitrc.d/
etc/X11/Xreset
etc/X11/xsm/
etc/X11/xsm/system.xsm
etc/X11/fonts/
etc/X11/fonts/Type1/ etc/X11/fonts/Type1/xfonts-scalable.scale etc/X11/fonts/misc/ etc/X11/fonts/misc/xfonts-base.alias etc/X11/Xsession.options
etc/X11/Xwrapper.config
etc/X11/rgb.txt
etc/X11/Xsession
etc/X11/cursors/
etc/X11/cursors/Breeze_Snow.theme etc/X11/cursors/breeze_cursors.theme etc/X11/Xreset.d/
etc/X11/Xreset.d/README
etc/X11/app-defaults/ etc/X11/app-defaults/XLogo-color etc/X11/app-defaults/Bitmap-nocase etc/X11/app-defaults/Xditview etc/X11/app-defaults/XMore etc/X11/app-defaults/XCalc etc/X11/app-defaults/XSm etc/X11/app-defaults/Xvidtune etc/X11/app-defaults/XClock-color etc/X11/app-defaults/Xfd etc/X11/app-defaults/XLogo etc/X11/app-defaults/Xmag etc/X11/app-defaults/XLoad etc/X11/app-defaults/Xedit-color etc/X11/app-defaults/Bitmap-color etc/X11/app-defaults/Viewres-color etc/X11/app-defaults/XClock etc/X11/app-defaults/Clock-color etc/X11/app-defaults/Xgc-color etc/X11/app-defaults/Xedit etc/X11/app-defaults/Xgc etc/X11/app-defaults/Editres-color etc/X11/app-defaults/XClipboard etc/X11/app-defaults/Editres etc/X11/app-defaults/XFontSel etc/X11/app-defaults/Xmessage etc/X11/app-defaults/Bitmap etc/X11/app-defaults/Viewres etc/X11/app-defaults/Xditview-chrtr etc/X11/app-defaults/Xmessage-color etc/X11/app-defaults/XConsole etc/X11/app-defaults/Xman etc/X11/app-defaults/XCalc-color etc/X11/Xsession.d/ etc/X11/Xsession.d/70im-config_launch etc/X11/Xsession.d/65snappy etc/X11/Xsession.d/35x11-common_xhost-local etc/X11/Xsession.d/50x11-common_determine-startup etc/X11/Xsession.d/60xdg-user-dirs-update etc/X11/Xsession.d/40x11-common_xsessionrc etc/X11/Xsession.d/75dbus_dbus-launch etc/X11/Xsession.d/60x11-common_localhost etc/X11/Xsession.d/70gconfd_path-on-session etc/X11/Xsession.d/99x11-common_start etc/X11/Xsession.d/95dbus_update-activation-env etc/X11/Xsession.d/60x11-common_xdg_path etc/X11/Xsession.d/30x11-common_xresources etc/X11/Xsession.d/20x11-common_process-args etc/X11/Xsession.d/70xdg-kubuntu-dir etc/X11/Xsession.d/80kubuntu-xmodmap etc/X11/Xsession.d/90x11-common_ssh-agent etc/X11/Xsession.d/90qt-a11y etc/X11/Xsession.d/90gpg-agent etc/X11/default-display-manager craigster0@wideload[xorg-config-16.04.3] tar -tf etc-X11.tgz etc/X11/
etc/X11/xkb/
etc/X11/Xresources/
etc/X11/Xresources/x11-common
etc/X11/xinit/
etc/X11/xinit/xserverrc
etc/X11/xinit/xinitrc
etc/X11/xinit/xinputrc
etc/X11/xinit/xinitrc.d/
etc/X11/Xreset
etc/X11/xsm/
etc/X11/xsm/system.xsm
etc/X11/fonts/
etc/X11/fonts/Type1/ etc/X11/fonts/Type1/xfonts-scalable.scale etc/X11/fonts/misc/ etc/X11/fonts/misc/xfonts-base.alias etc/X11/Xsession.options
etc/X11/Xwrapper.config
etc/X11/rgb.txt
etc/X11/Xsession
etc/X11/cursors/
etc/X11/cursors/Breeze_Snow.theme etc/X11/cursors/breeze_cursors.theme etc/X11/Xreset.d/
etc/X11/Xreset.d/README
etc/X11/app-defaults/ etc/X11/app-defaults/XLogo-color etc/X11/app-defaults/Bitmap-nocase etc/X11/app-defaults/Xditview etc/X11/app-defaults/XMore etc/X11/app-defaults/XCalc etc/X11/app-defaults/XSm etc/X11/app-defaults/Xvidtune etc/X11/app-defaults/XClock-color etc/X11/app-defaults/Xfd etc/X11/app-defaults/XLogo etc/X11/app-defaults/Xmag etc/X11/app-defaults/XLoad etc/X11/app-defaults/Xedit-color etc/X11/app-defaults/Bitmap-color etc/X11/app-defaults/Viewres-color etc/X11/app-defaults/XClock etc/X11/app-defaults/Clock-color etc/X11/app-defaults/Xgc-color etc/X11/app-defaults/Xedit etc/X11/app-defaults/Xgc etc/X11/app-defaults/Editres-color etc/X11/app-defaults/XClipboard etc/X11/app-defaults/Editres etc/X11/app-defaults/XFontSel etc/X11/app-defaults/Xmessage etc/X11/app-defaults/Bitmap etc/X11/app-defaults/Viewres etc/X11/app-defaults/Xditview-chrtr etc/X11/app-defaults/Xmessage-color etc/X11/app-defaults/XConsole etc/X11/app-defaults/Xman etc/X11/app-defaults/XCalc-color etc/X11/Xsession.d/ etc/X11/Xsession.d/70im-config_launch etc/X11/Xsession.d/65snappy etc/X11/Xsession.d/35x11-common_xhost-local etc/X11/Xsession.d/50x11-common_determine-startup etc/X11/Xsession.d/60xdg-user-dirs-update etc/X11/Xsession.d/40x11-common_xsessionrc etc/X11/Xsession.d/75dbus_dbus-launch etc/X11/Xsession.d/60x11-common_localhost etc/X11/Xsession.d/70gconfd_path-on-session etc/X11/Xsession.d/99x11-common_start etc/X11/Xsession.d/95dbus_update-activation-env etc/X11/Xsession.d/60x11-common_xdg_path etc/X11/Xsession.d/30x11-common_xresources etc/X11/Xsession.d/20x11-common_process-args etc/X11/Xsession.d/70xdg-kubuntu-dir etc/X11/Xsession.d/80kubuntu-xmodmap etc/X11/Xsession.d/90x11-common_ssh-agent etc/X11/Xsession.d/90qt-a11y etc/X11/Xsession.d/90gpg-agent etc/X11/default-display-manager

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#8 lore raw

[Bug 102722] [regression] changing resolution hangs the display on Lenovo Thinkpad p51

In reply to a message not in the archive

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

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #7 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/370.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau