[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#896979: xserver-xorg-video-nouveau: Crash when undocking Lenovo P50



Followup-For: Bug #896979
Control: tag -1 + patch

This patch (taken from
<https://koji.fedoraproject.org/koji/buildinfo?buildID=895060>) fixes
the problem for me.

(Note, I modified the patch to end the log message with a newline
character).

    From 5533658dd1afa31557d4ec4b469181f1d592d8c8 Mon Sep 17 00:00:00 2001
    From: Ben Skeggs <bskeggs@redhat.com>
    Date: Sat, 20 May 2017 00:29:27 +1000
    Subject: [PATCH] remove support for maxwell and higher

    xf86-video-modesetting does a way better job.

    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
    ---
     src/nv_driver.c | 6 ++----
     1 file changed, 2 insertions(+), 4 deletions(-)

    diff --git a/src/nv_driver.c b/src/nv_driver.c
    index 32062eb..f9d47eb 100644
    --- a/src/nv_driver.c
    +++ b/src/nv_driver.c
    @@ -389,12 +389,10 @@ NVHasKMS(struct pci_device *pci_dev, struct xf86_platform_device *platform_dev)
            case 0xe0:
            case 0xf0:
            case 0x100:
    -	case 0x110:
    -	case 0x120:
    -	case 0x130:
                    break;
            default:
    -		xf86DrvMsg(-1, X_ERROR, "Unknown chipset: NV%02X\n", chipset);
    +		xf86DrvMsg(-1, X_INFO, "Using xf86-video-modesetting for "
    +				       "Maxwell and newer GPUs.\n");
                    return FALSE;
            }
            return TRUE;
    -- 
    2.13.0

-- System Information:
Debian Release: 9.4
  APT prefers stable-updates
  APT policy: (540, 'stable-updates'), (540, 'stable'), (520, 'testing'), (510, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 4.9.0-6-686-pae (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


Reply to: