Bug 194591

Summary: No support for AMD Radeon R7 M265 in hybrid Lenovo ThinkPad e550
Product: Drivers Reporter: yousifjkadom
Component: Video(Other)Assignee: drivers_video-other
Status: RESOLVED INVALID    
Severity: normal CC: fin4478
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 4.9.9 Subsystem:
Regression: No Bisected commit-id:

Description yousifjkadom 2017-02-14 19:09:38 UTC
Hi. I'm on Fedora 24 x64 bit Cinnamon edition on Lenovo ThinkPad e550 which is a hybrid system with 2 VGA: Intel Corporation HD Graphic 5500 + AMD Radeon R7 M265 2GB

Intel Corporation HD Graphic 5500 has no problem. It is recognized & work O.K

The problem with AMD Radeon R7 M265 2GB dedicated VGA. It is not recognized by system. Even after installing xorg-x11-drv-amdgpu It is also not supported on Fedora 25. I test it on Fedora 25 x64 as live USB OS & installed amdgpu with same result.

Is there a hope that Linux kernel will give support for AMD Radeon R7 M265 on my hybrid system ? & for how long I have to wait if this will be achieved in feature?

Best
Comment 1 fin4478 2017-02-15 16:34:48 UTC
M265 pci id data:
http://developer.amd.com/resources/ati-catalyst-pc-vendor-id-1002-li/
amdgpu_drv.c:
{0x1002, 0x6604, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_OLAND|AMD_IS_MOBILITY}

It is supported, but stock kernels have not enabled SI and CIK support. To use amdgpu driver, make a custom kernel and and disable radeon and other unneeded drivers from kernel config.

Creating a custom kernel in Debian:
Use the command: 
git clone -b drm-next-4.11-wip git://people.freedesktop.org/~agd5f/linux

The kernel configuration file of Debian Official kernel are available in /boot, named after the kernel release. Copy the .config file to the linux directory. Connect all your devices and run the command: make localmodconfig. You can use the command make defconfig too for creating initial .config file. 

Use the command: make xconfig and check that you have enabled: Reroute Broken IRQ, Virtualization KVM and 300Hz CPU timer, I also disabled Swap, Kernel Debug, CPU Freq scaling , Cpu handling in Acpi, Used Bios to control CPU and devices. In the drivers->graphics->amdgpu enable cik support for a gcn 1.1 gpu and si support for a gcn 1.0 gpu.

Create debian kernel package:
export CONCURRENCY_LEVEL=4
fakeroot make-kpkg --initrd kernel_image

Install the kernel package with Gdebi. To make a custom kernel to boot, add a line to /etc/initramfs-tools/modules:
unix
And run: sudo update-initramfs
Reboot.

With fedore you must some other commands, google equivalent commands.
Comment 2 yousifjkadom 2017-02-15 19:57:58 UTC
To "fin4478@hotmail.com"

Thany you for your kind response. 

You confirmed information I heard from member in Fedora forum that support for AMD Radeon R7 M265 is existing BUT DISABLED BY DEFAULT DUE TO ISSUE (BUG) that kernel developers team work hardly to fix it before enable such support by default.

But please, your method & what you suggest on me are far beyond of my abilities. I'm just beginner in Linux. My experiment with Linux is just 7 months of real installation of Fedora preceded by 7 months SELF LEARNING by Internet without any help. I kearn myself how to use system as a replacement for Windows on personal laptop for personal purposes only. I'm not familiar with building packages from source codes nor with using Linux for servers. I'm not programmer ..... Moreover, I'm Iraqi & live in Iraq & here it is very deficult to get institutional teaching about Linux ........ . 

So, all what I would like, from your kind, to know is: at which approximate time & version, developers' team of Linux kernel will fix issue (bug) & enable support for my AMD dedicated VGA by default ?

Best.
Comment 3 yousifjkadom 2017-02-15 20:03:09 UTC
Regarding my previous replay I mean "I learned myself ....." not "I kearn myself ....."
Comment 4 yousifjkadom 2017-11-06 05:19:30 UTC
Hi.

Can you inform me, kindly, whether support for my AMD Radeon R7 M265 VGA will enabled by default in kernel version 4.15.x or not ?

I read in many posts in Internet that kernel 4.15.x will include huge improvements in support AMD VGA cards .....

Best.
Comment 5 yousifjkadom 2017-11-08 05:24:10 UTC
Hi. Issue is resolved ! I was in fetal mistake all this time ! AMD Radeon R7 M265 VGA is already supported by open source ATI Radeon driver & no any need for amdgpu driver ! I discovered this few days ago !

Please look to these bugs created by me:

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

https://www.forums.fedoraforum.org/showthread.php?t=316014