Bug 19043 - Enable CONFIG_DRM_AMDGPU_CIK=Y
Summary: Enable CONFIG_DRM_AMDGPU_CIK=Y
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Thomas Backlund
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-24 13:06 CEST by Peter Wallace
Modified: 2016-08-01 22:17 CEST (History)
1 user (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
Xorg.0.log (6.44 KB, text/plain)
2016-08-01 00:18 CEST, Charles Edwards
Details

Description Peter Wallace 2016-07-24 13:06:06 CEST
Not sure in what to file this as being a request rather than bug, However.

Is there any chance of the kernel config option been changed to enable non GCN 1.2 users to use the AMDGPU driver in cauldron.


Specifically 

CONFIG_DRM_AMDGPU_CIK=N

to

CONFIG_DRM_AMDGPU_CIK=Y
David Walser 2016-07-24 16:46:59 CEST

Assignee: bugsquad => tmb

Comment 1 Thomas Backlund 2016-07-30 21:01:18 CEST
It's still considered experimental code, but I will enable it to give people an option to try it out..
Comment 2 Charles Edwards 2016-07-30 22:05:49 CEST
Good.

I've got an RX 480 on pre-order.

If|when it gets delivered I'll test it with amdgpu and report back with how well it does or doesn't work.

CC: (none) => cae

Comment 3 Thomas Backlund 2016-07-30 22:55:20 CEST
enabled in kernel-4.7.0-2.mga6

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 4 Peter Wallace 2016-07-31 01:11:11 CEST
(In reply to Thomas Backlund from comment #3)
> enabled in kernel-4.7.0-2.mga6

Awesome !

I can get testing with a 290x I have over next week . 

Cheers Thomas.
Comment 5 Charles Edwards 2016-07-31 23:17:21 CEST
My 290x on this system runs great with the xorg ati driver.

Just-for-the-hell-of-it after updating kernel last night I tried the amdgpu driver.
It did not work.

It was late and I did not feel like trying to trackdown the cause of the failure.
I'll leave that for Peter if he still plans to test on his 290x.
Comment 6 Thomas Backlund 2016-07-31 23:38:54 CEST
did you ensure amdgpu kernel driver was loaded and xorg was configured to use the matching amdgpu driver ?
Comment 7 Charles Edwards 2016-08-01 00:18:50 CEST
Created attachment 8295 [details]
Xorg.0.log

Log for failed amdgpu driver.
Comment 8 Charles Edwards 2016-08-01 00:22:28 CEST
I checked everything and it still fails, attached log 
https://bugs.mageia.org/attachment.cgi?id=8295

I think outpt from startx gave me the main issue
"DRM is 2.45.0 but this driver is only compatible with 3.x.x"
Comment 9 Peter Wallace 2016-08-01 21:06:23 CEST
Well it works here on my 290x, You do need to blacklist the radeon driver though.


Only thing is, I can't get it to load the amdgpu driver at boot time. X server fails to start obviously needing to do modprobe amdgpu followed by systemctl restart dm.
Comment 10 Charles Edwards 2016-08-01 22:17:09 CEST
Ok, I now have it working on this system.

I added 'blacklist radeon' to both /etc/modprobe.d/ and to etc/modprobe.conf
and the radeon driver was still being loaded.

Ended up adding to kernel cmdline at boot 
'radeon.modeset=0 rd.driver.blacklist=radeon'
And that worked.


You can force the amdgpu to load automatically by adding it to
/etc/modeprobe.preload

Note You need to log in before you can comment on or make changes to this bug.