While the first good commit isn't applied downstream (in order to fix previous kernel versions), I currently recommend using stable kernel 4.7.4, available at http://kernel.ubuntu.com/~kernel- ppa/mainline/v4.7.4/
There are newer stable kernel versions available, but I haven't tested them. I can confirm, though, that kernel 4.7.4 solves the "freezing" issue. One running 64-bit Ubuntu Linux and interested in installing kernel 4.7.4 must download these files: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7.4/linux- headers-4.7.4-040704_4.7.4-040704.201609150330_all.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7.4/linux- headers-4.7.4-040704-generic_4.7.4-040704.201609150330_amd64.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7.4/linux- image-4.7.4-040704-generic_4.7.4-040704.201609150330_amd64.deb ...then open a shell terminal window, "cd" into the folder where these 3 DEB packages were downloaded to, and then run the command "sudo dpkg -i linux-*.deb" (without the quotation marks) in order to manually install the three DEBs. Then reboot the system. For a complete list of kernels, visit http://kernel.ubuntu.com/~kernel- ppa/mainline/?C=N;O=D PS: for 32-bit systems, the 3 DEBs to be downloaded and installed are: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7.4/linux- headers-4.7.4-040704_4.7.4-040704.201609150330_all.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7.4/linux- headers-4.7.4-040704-generic_4.7.4-040704.201609150330_i386.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7.4/linux- image-4.7.4-040704-generic_4.7.4-040704.201609150330_i386.deb If your system is hanging/freezing to the point that you can't even login into the GUI, power off your computer, then turn it on again and press the Esc key until you get into the GRUB menu. Afterwards, press the E key in order to edit the grub menu, then go to the first instance of the code "$vt_handoff" and add the "nomodeset" parameter right before it. Example: => Before = quiet splash $vt_handoff => After = quiet splash nomodeset $vt_handoff After adding the "nomodeset" parameter, press the F10 key (or the Ctrl X key combo). Linux will boot with Kernel Mode Setting (KMS) disabled, then you will be able to log into the Graphical User Interface (GUI) and then download and install a stable kernel. Sorry for the long comment that is not a relevant info for those investigating the bug. It just so other users know how to "deal" with the bug while it's not fixed/removed from previous kernel versions. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1608042 Title: 64-bit XUbuntu 16.04 "Xenial" hybrid graphics (Intel + AMD): AMDGPU crashes / freezes / hangs entire system Status in linux package in Ubuntu: Triaged Status in xserver-xorg-video-amdgpu package in Ubuntu: Confirmed Status in linux source package in Xenial: Triaged Status in xserver-xorg-video-amdgpu source package in Xenial: Confirmed Bug description: COMPUTER: Dell Inspiron 5548 laptop CPU: Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz GRAPHICS: Intel-AMD hybrid: - CPU-integrated: Intel Corporation Broadwell-U Integrated Graphics (driver: i915) - GPU: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265] (driver: amdgpu) OPERATING SYSTEM: 64-bit GNU/Linux XUbuntu 16.04 "Xenial" KERNEL: 4.4.0-31-generic PROBLEM: system hangs / freezes very frequently. I have Xscreensaver installed and noticed that when it's running an OpenGL animation (screensaver) and I move the touchpad pointer the screen freezes. I can still turn the keyboard LED backlight on and off (hence: keyboard doesn't stop working) but the pointer won't move (touchpad is locked) and I can't Ctrl-Alt-F[1-6] (switch TTY/terminals). Only solution is to power off my laptop (press and hold the power button). I usually select the "Molecule" screensaver (it uses OpenGL), then I click the "preview" button and wait for about 20 seconds, then I click the touchpad and the computer hangs. When I used XUbuntu 14.04 "Trusty" with AMD's fglrx (proprietary) driver I didn't experience such issue. After upgrading to 16.04 "Xenial" (which doesn't support fglrx module/driver) amdgpu module is loaded by default but very frequently hangs the entire system. Sometimes I'm quick enough to go to TTYS1 and then I get to see some messages such as "HARD LOCKUP on CPU0" and "HARD LOCKUP on CPU1". However, it's not a hardware problem because I've already executed the Dell Hardware Diagnostics straight from the boot (it's an EFI utility), it tested all the hardware components (CPU, GPU, RAM, keyboard, touchpad, hard disk etc.) and didn't detect any faulty component. The attached file "amdgpu-bug.txt" is the reason why I'm pretty convinced that the problem is being caused by the amdgpu driver (although it seems to be related to how it interacts with the kernel, thus maybe the problem is kernel-related). WORKAROUND: Boot from GRUB with the nomodeset parameter. The graphics performance becomes terribly slow. ----- Apport output: ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 BootLog: CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' CompositorRunning: None CurrentDesktop: XFCE DistUpgraded: Fresh install DistroCodename: xenial DistroRelease: Ubuntu 16.04 DistroVariant: ubuntu ExtraDebuggingInterest: Yes GraphicsCard: Intel Corporation Broadwell-U Integrated Graphics [8086:1616] (rev 09) (prog-if 00 [VGA controller]) Subsystem: Dell Broadwell-U Integrated Graphics [1028:0643] Subsystem: Dell Topaz XT [Radeon R7 M260/M265] [1028:0643] InstallationDate: Installed on 2016-07-29 (1 days ago) InstallationMedia: Xubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719) MachineType: Dell Inc. Inspiron 5548 Package: xorg 1:7.7+13ubuntu3 PackageArchitecture: amd64 ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-31-generic.efi.signed root=UUID=24cb3fff-5c01-4674-9c59-58d7d776fd70 ro quiet splash nomodeset vt.handoff=7 ProcVersionSignature: Ubuntu 4.4.0-31.50-generic 4.4.13 Renderer: Software Tags: xenial ubuntu Uname: Linux 4.4.0-31-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm audio cdrom dialout dip fax floppy lpadmin netdev plugdev sambashare scanner sudo tape users video _MarkForUpload: True dmi.bios.date: 10/12/2015 dmi.bios.vendor: Dell Inc. dmi.bios.version: A06 dmi.board.name: 0YDTG3 dmi.board.vendor: Dell Inc. dmi.board.version: A02 dmi.chassis.type: 8 dmi.chassis.vendor: Dell Inc. dmi.chassis.version: A06 dmi.modalias: dmi:bvnDellInc.:bvrA06:bd10/12/2015:svnDellInc.:pnInspiron5548:pvrA06:rvnDellInc.:rn0YDTG3:rvrA02:cvnDellInc.:ct8:cvrA06: dmi.product.name: Inspiron 5548 dmi.product.version: A06 dmi.sys.vendor: Dell Inc. version.compiz: compiz N/A version.ia32-libs: ia32-libs N/A version.libdrm2: libdrm2 2.4.67-1ubuntu0.16.04.1 version.libgl1-mesa-dri: libgl1-mesa-dri 11.2.0-1ubuntu2 version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A version.libgl1-mesa-glx: libgl1-mesa-glx 11.2.0-1ubuntu2 version.xserver-xorg-core: xserver-xorg-core 2:1.18.3-1ubuntu2.2 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.1-1ubuntu2 version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.7.0-1 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.12-1build2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1608042/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp