FS#50367 - [linux] Artefacts with discrete graphics (Radeon) running Lenovo ThikPand T500

Attached to Project: Arch Linux
Opened by Janusz Pruszewicz (jasiu) - Friday, 12 August 2016, 08:20 GMT
Last edited by Tobias Powalowski (tpowa) - Thursday, 17 November 2016, 20:09 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

Since upgrading to 4.7.1-ARCH there are many artefacts with discrete graphics (Radeon) running Lenovo ThikPand T500
Running integrated graphics - everything is displayed OK

On LTS kernel (Linux t500 4.4.16-1-lts #1 SMP Thu Jul 28 16:21:18 CEST 2016 x86_64 GNU/Linux
) discrete graphics has no artefacts.

Kernel package:
Name : linux
Version : 4.7-1

# lshw -c video
*-display
description: VGA compatible controller
product: RV635/M86 [Mobility Radeon HD 3650]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:01:00.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
configuration: driver=radeon latency=0
resources: irq:29 memory:d0000000-dfffffff ioport:2000(size=256) memory:cfff0000-cfffffff memory:cff00000-cff1ffff



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


Steps to reproduce:
Install the kernel 4.7.1-ARCH on T500 and reboot machine using discrete graphics. After booting initramfs there will appear stripes and artefacts on the display.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Thursday, 17 November 2016, 20:09 GMT
Reason for closing:  Fixed
Comment by Doug Newgard (Scimmia) - Friday, 12 August 2016, 12:49 GMT
There is no 4.7.1, I assume we're talking about 4.7-1?

Also reporting upstream kernel problems here won't accomplish much.
Comment by Martin Brinbaum (ArchUser123) - Tuesday, 16 August 2016, 21:22 GMT
I have the same problem after upgrade to 4.7-1. Whem kms switches resolution the screen is garbled and hardly readable.
Downgraded to 4.6.4-1 and problem is gone.

If "reporting upstream kernel problems here won't accomplish much" how do I proceed form here?

> lspci -v
...
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV620/M82 [Mobility Radeon HD 3450/3470] (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device 19e2
Flags: bus master, fast devsel, latency 0, IRQ 24
Memory at d0000000 (32-bit, prefetchable) [size=256M]
I/O ports at d800 [size=256]
Memory at fdef0000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Kernel driver in use: radeon
Kernel modules: radeon


Comment by Lewis Yuan (Lewis) - Friday, 19 August 2016, 03:05 GMT
4.7.1-1-ARCH, Lenovo ThinkPad T400, the same

lspci -v

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV620/M82 [Mobility Radeon HD 3450/3470] (prog-if 00 [VGA controller])
Subsystem: Lenovo Device 210e
Physical Slot: 1-1
Flags: bus master, fast devsel, latency 0, IRQ 34
Memory at d0000000 (32-bit, prefetchable) [size=256M]
I/O ports at 2000 [size=256]
Memory at cfff0000 (32-bit, non-prefetchable) [size=64K]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Kernel driver in use: radeon
Kernel modules: radeon
Comment by LightDot (lightdot) - Tuesday, 30 August 2016, 00:35 GMT
I have the same issue, using:

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV620/M82 [Mobility Radeon HD 3450/3470] (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device 19d3

with kernel 4.7-1 to 4.7.2-1 (the last 4.6.4-1 and 4.4.xx lts are fine).


Well, as I started to write this, I also did another upstream search to see if this was reported. It is now:
https://bugzilla.kernel.org/show_bug.cgi?id=155141

With a possible fix here, included for the next kernel release:
https://bugs.freedesktop.org/show_bug.cgi?id=97099

Didn't have a chance to test yet.
Comment by Alex Maystrenko (technic93) - Monday, 05 September 2016, 11:56 GMT
Should we patch our kernel with https://bugs.freedesktop.org/show_bug.cgi?id=97099 or wait for upstream fix in next release?
P.S. Provided patch works for my HD3450:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ae5b80d2b68eac945b124227dea34462118a6f01

Loading...