FS#49628 - [linux] 4.6.x Laptop screen flickers nvidia binary driver

Attached to Project: Arch Linux
Opened by Josh Barth (josh.barth) - Wednesday, 08 June 2016, 23:19 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 20 August 2019, 07:41 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
I ran 'pacman -Syu' and got an upgrade from Linux 4.5.4-1 to 4.6.1-2 and from nvidia 364.19-3 to 364.19-5. Here is the complete log:

[2016-06-08 10:09] [PACMAN] Running 'pacman -Syu'
[2016-06-08 10:09] [PACMAN] synchronizing package lists
[2016-06-08 10:09] [PACMAN] starting full system upgrade
[2016-06-08 10:28] [ALPM] transaction started
[2016-06-08 10:28] [ALPM] upgraded ca-certificates-mozilla (3.23-4 -> 3.24-1)
[2016-06-08 10:28] [ALPM] upgraded accerciser (3.14.0-3 -> 3.14.0-4)
[2016-06-08 10:28] [ALPM] upgraded nss (3.23-4 -> 3.24-1)
[2016-06-08 10:28] [ALPM] upgraded firefox (46.0.1-1 -> 47.0-1)
[2016-06-08 10:28] [ALPM] upgraded libanjuta (3.20.0-1 -> 3.20.0-2)
[2016-06-08 10:28] [ALPM] upgraded libgtop (2.34.0-1 -> 2.34.0-2)
[2016-06-08 10:28] [ALPM] upgraded libidl2 (0.8.14-3 -> 0.8.14-4)
[2016-06-08 10:28] [ALPM] upgraded linux-firmware (20160315.deb1d83-1 -> 20160516.80d463b-1)
[2016-06-08 10:28] [ALPM] upgraded linux (4.5.4-1 -> 4.6.1-2)
[2016-06-08 10:28] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
[2016-06-08 10:28] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
[2016-06-08 10:28] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2016-06-08 10:28] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2016-06-08 10:28] [ALPM-SCRIPTLET] ==> Starting build: 4.6.1-2-ARCH
[2016-06-08 10:28] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2016-06-08 10:28] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2016-06-08 10:28] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2016-06-08 10:28] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2016-06-08 10:28] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2016-06-08 10:28] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2016-06-08 10:28] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2016-06-08 10:28] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2016-06-08 10:28] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2016-06-08 10:28] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
[2016-06-08 10:28] [ALPM-SCRIPTLET] ==> Image generation successful
[2016-06-08 10:28] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2016-06-08 10:28] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2016-06-08 10:28] [ALPM-SCRIPTLET] ==> Starting build: 4.6.1-2-ARCH
[2016-06-08 10:28] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2016-06-08 10:28] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2016-06-08 10:28] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2016-06-08 10:28] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2016-06-08 10:28] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2016-06-08 10:28] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2016-06-08 10:28] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2016-06-08 10:28] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2016-06-08 10:28] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2016-06-08 10:28] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2016-06-08 10:28] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
[2016-06-08 10:28] [ALPM-SCRIPTLET] ==> Image generation successful
[2016-06-08 10:28] [ALPM] upgraded nvidia (364.19-3 -> 364.19-5)
[2016-06-08 10:28] [ALPM-SCRIPTLET] In order to use nvidia module, reboot the system.
[2016-06-08 10:28] [ALPM] upgraded openresolv (3.7.2-1 -> 3.8.1-1)
[2016-06-08 10:28] [ALPM] upgraded vinagre (3.20.2-1 -> 3.20.2-2)
[2016-06-08 10:28] [ALPM] transaction completed
[2016-06-08 10:28] [ALPM] running 'glib-compile-schemes.hook'...
[2016-06-08 10:28] [ALPM] running 'gtk-update-icon-cache.hook'...
[2016-06-08 10:28] [ALPM] running 'man-db.hook'...
[2016-06-08 10:28] [ALPM] running 'texinfo-install.hook'...
[2016-06-08 10:28] [ALPM] running 'update-ca-trust.hook'...
[2016-06-08 10:28] [ALPM] running 'update-desktop-database.hook'...
[2016-06-08 10:28] [ALPM] running 'update-mime-database.hook'...

After rebooting my laptop screen started flickering, although my secondary screen was fine. It only did this when in a X11 server, I tested it in lightdm, gnome, and i3, and they all flickered, but when I switched to a terminal (by pressing ctrl-alt-F2 or something) it stopped. I do not have a xorg.conf file however in xorg.conf.d there is a file called 20-nvidia.conf:

Section "Device"
Identifier "Default Nvidia Device"
Option "NoLogo" "True"
EndSection



Additional info:
* package version(s)
* config and/or log files etc.

Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
eDP1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 344mm x 194mm
1920x1080 60.01*+
1400x1050 59.98
1600x900 60.00
1280x1024 60.02
1280x960 60.00
1368x768 60.00
1280x720 60.00
1024x768 60.00
1024x576 60.00
960x540 60.00
800x600 60.32 56.25
864x486 60.00
640x480 59.94
720x405 60.00
640x360 60.00
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm
1920x1080 59.99*+ 60.00 59.94
1920x1080i 60.00 50.00 59.94
1600x1200 60.00
1680x1050 59.88
1280x1024 75.02 60.02
1440x900 59.90
1280x960 60.00
1152x864 75.00
1280x720 60.00 50.00 59.94
1024x768 75.08 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
720x576 50.00
720x480 60.00 59.94
640x480 75.00 72.81 66.67 60.00 59.94
720x400 70.08
HDMI3 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

It was the eDP1 screen that was flickering, and the HDMI2 screen was fine.
I have a feeling this is specific to my hardware so this is the output of lspci:

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 (rev d5)
00:1c.5 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #6 (rev d5)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM87 Express LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
01:00.0 3D controller: NVIDIA Corporation GM204M [GeForce GTX 970M] (rev a1)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5287 (rev 01)
03:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
04:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 20)

After I downgraded both packages I no longer had any problems with flickering, so I know that that is what's causing it. I had to downgrade both packages because nvidia was dependent on the linux package, and the older version was incompatible with 4.6. Here's the log for when I downgraded, in case that is relevant:

[2016-06-08 16:15] [PACMAN] Running 'pacman -U linux-4.5.4-1-x86_64.pkg.tar.xz nvidia-364.19-3-x86_64.pkg.tar.xz'
[2016-06-08 16:15] [ALPM] transaction started
[2016-06-08 16:15] [ALPM] downgraded linux (4.6.1-2 -> 4.5.4-1)
[2016-06-08 16:15] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
[2016-06-08 16:15] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
[2016-06-08 16:15] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2016-06-08 16:15] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2016-06-08 16:15] [ALPM-SCRIPTLET] ==> Starting build: 4.5.4-1-ARCH
[2016-06-08 16:15] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2016-06-08 16:15] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2016-06-08 16:15] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2016-06-08 16:15] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2016-06-08 16:15] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2016-06-08 16:15] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2016-06-08 16:15] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2016-06-08 16:15] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2016-06-08 16:15] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2016-06-08 16:15] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
[2016-06-08 16:15] [ALPM-SCRIPTLET] ==> Image generation successful
[2016-06-08 16:15] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2016-06-08 16:15] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2016-06-08 16:15] [ALPM-SCRIPTLET] ==> Starting build: 4.5.4-1-ARCH
[2016-06-08 16:15] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2016-06-08 16:15] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2016-06-08 16:15] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2016-06-08 16:15] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2016-06-08 16:15] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2016-06-08 16:15] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2016-06-08 16:15] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2016-06-08 16:15] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2016-06-08 16:15] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2016-06-08 16:15] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2016-06-08 16:15] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
[2016-06-08 16:15] [ALPM-SCRIPTLET] ==> Image generation successful
[2016-06-08 16:15] [ALPM] downgraded nvidia (364.19-5 -> 364.19-3)
[2016-06-08 16:15] [ALPM-SCRIPTLET] In order to use nvidia module, reboot the system.
[2016-06-08 16:15] [ALPM] transaction completed

Thanks for reading all that.
Sorry if this isn't enough information, I'll post any logs anybody else needs, and I'm more than happy to help fix this if I can (dunno much about the kernel though).
This task depends upon

Closed by  Jan de Groot (JGC)
Tuesday, 20 August 2019, 07:41 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#49371 
Comment by AnAkkk (AnAkkk) - Thursday, 09 June 2016, 17:07 GMT
I'm having the same issue
Comment by magog (magog) - Thursday, 09 June 2016, 21:37 GMT
Same problem here, fixed in the same way.
Comment by Tobias Powalowski (tpowa) - Friday, 24 June 2016, 09:43 GMT
Please get it in contact with nvidia, on binary blobs we cannot do anything.
Comment by AnAkkk (AnAkkk) - Friday, 24 June 2016, 13:44 GMT
  • Field changed: Percent Complete (100% → 0%)
This is *not* a Nvidia issue, this is an Intel issue !
Comment by Doug Newgard (Scimmia) - Friday, 24 June 2016, 13:44 GMT
It is still an upstream issue, though, not a packaging issue. Little/nothing can be done here.
Comment by AnAkkk (AnAkkk) - Friday, 24 June 2016, 13:45 GMT
Actually there seem to be patches available to solve it:
https://bugs.freedesktop.org/show_bug.cgi?id=95176
Comment by Doug Newgard (Scimmia) - Friday, 24 June 2016, 13:58 GMT
Patches that likely won't be considered until they're merged anyway, then it will end up waiting until the next release.
Comment by Josh Barth (josh.barth) - Saturday, 25 June 2016, 21:04 GMT
This morning I tested this on 4.7.0 (retrieved from linux-git from the AUR). Screen still flickers.

Loading...