Re: [gentoo-user] AMDGPU KMS Problems

2017-07-14 Thread P Levine
On Fri, Jul 14, 2017 at 12:52 AM, jdm  wrote:
> On Thu, 13 Jul 2017 23:29:39 +0100
> jdm  wrote:
>
>> On Thu, 13 Jul 2017 03:12:49 -0400
>> P Levine  wrote:
>>
>> > On Wed, Jul 12, 2017 at 5:34 PM, jdm  wrote:
>> > > Any thouhgts much appreciated.
>> >
>> > I tried helping to diagnose a similar problem for a user on Reddit
>> > recently, blackscreen/freeze with AMDGPU on boot. After trying
>> > everything else he switched the PCI slot the card was in and it
>> > booted up fine.  He then switched the card back to the original PCI
>> > slot and it still booted up fine.  It seemed to be some weird kind
>> > of hardware/bios hiccup.  If you've tried everything else, it
>> > wouldn't hurt to fumble around with the graphics card just to see
>> > if it makes a difference.
>> >
>>
>> Well, well, well.
>>
>> Bizarre. took out my old radeon r9 280 card and put the RX480 amdgpu
>> back in and rebooted to a kernel which I had configured for amdgpu
>> and booted with no issues, not needing modeset and xorg working fine
>> and dandy.
>>
>> Never seen anything like this before. Bring back the days when you had
>> a primary and secondary hard drives on a serial bus. Far easier when
>> you have to configure your own IRQs.
>>
>> Thanks for the advice.
>>
>> John.
>>
>>
> To prove that reseating the graphics has sorted the issue I have tried
> a few other distros and had no problems.
>
> John
>

Not sure what it is with AMDGPU that makes it so quirky.  Similar problem as
​ ​
https://www.reddit.com/r/Gentoo/comments/6gd4xh/having_kernel_and_xorg_issues_on_new_install_can/dj07pyl/


Re: [gentoo-user] AMDGPU KMS Problems

2017-07-13 Thread jdm
On Thu, 13 Jul 2017 23:29:39 +0100
jdm  wrote:

> On Thu, 13 Jul 2017 03:12:49 -0400
> P Levine  wrote:
> 
> > On Wed, Jul 12, 2017 at 5:34 PM, jdm  wrote:  
> > > Any thouhgts much appreciated.
> > 
> > I tried helping to diagnose a similar problem for a user on Reddit
> > recently, blackscreen/freeze with AMDGPU on boot. After trying
> > everything else he switched the PCI slot the card was in and it
> > booted up fine.  He then switched the card back to the original PCI
> > slot and it still booted up fine.  It seemed to be some weird kind
> > of hardware/bios hiccup.  If you've tried everything else, it
> > wouldn't hurt to fumble around with the graphics card just to see
> > if it makes a difference.
> >   
> 
> Well, well, well.
> 
> Bizarre. took out my old radeon r9 280 card and put the RX480 amdgpu 
> back in and rebooted to a kernel which I had configured for amdgpu 
> and booted with no issues, not needing modeset and xorg working fine
> and dandy.
> 
> Never seen anything like this before. Bring back the days when you had
> a primary and secondary hard drives on a serial bus. Far easier when
> you have to configure your own IRQs.
> 
> Thanks for the advice.
> 
> John. 
> 
> 
To prove that reseating the graphics has sorted the issue I have tried
a few other distros and had no problems. 

John



Re: [gentoo-user] AMDGPU KMS Problems

2017-07-13 Thread jdm
On Thu, 13 Jul 2017 03:12:49 -0400
P Levine  wrote:

> On Wed, Jul 12, 2017 at 5:34 PM, jdm  wrote:
> > Any thouhgts much appreciated.  
> 
> I tried helping to diagnose a similar problem for a user on Reddit
> recently, blackscreen/freeze with AMDGPU on boot. After trying
> everything else he switched the PCI slot the card was in and it booted
> up fine.  He then switched the card back to the original PCI slot and
> it still booted up fine.  It seemed to be some weird kind of
> hardware/bios hiccup.  If you've tried everything else, it wouldn't
> hurt to fumble around with the graphics card just to see if it makes a
> difference.
> 

Well, well, well.

Bizarre. took out my old radeon r9 280 card and put the RX480 amdgpu 
back in and rebooted to a kernel which I had configured for amdgpu 
and booted with no issues, not needing modeset and xorg working fine
and dandy.

Never seen anything like this before. Bring back the days when you had
a primary and secondary hard drives on a serial bus. Far easier when
you have to configure your own IRQs.

Thanks for the advice.

John. 




Re: [gentoo-user] AMDGPU KMS Problems

2017-07-13 Thread Peter Humphrey
On Wednesday 12 Jul 2017 22:34:09 jdm wrote:

> A few months ago I bought a AMD RX 480 GPU and followed the Gentoo
> amdgpu guide and everything ran just fine with excellent graphics
> performance.

I have a Radeon R9 380X (tonga), which may perhaps be similar to your card, 
though with an i7 motherboard. I had to include VIDEO_CARDS="amdgpu 
radeonsi" in make.conf.

--->8

> Any thouhgts much appreciated.

My motherboard can only accept this graphics card in one specific slot 
(actually, a pair of them).

That's all I can come up with. Good luck!

-- 
Regards
Peter




Re: [gentoo-user] AMDGPU KMS Problems

2017-07-13 Thread P Levine
On Wed, Jul 12, 2017 at 5:34 PM, jdm  wrote:
> Any thouhgts much appreciated.

I tried helping to diagnose a similar problem for a user on Reddit
recently, blackscreen/freeze with AMDGPU on boot. After trying
everything else he switched the PCI slot the card was in and it booted
up fine.  He then switched the card back to the original PCI slot and
it still booted up fine.  It seemed to be some weird kind of
hardware/bios hiccup.  If you've tried everything else, it wouldn't
hurt to fumble around with the graphics card just to see if it makes a
difference.



Re: [gentoo-user] AMDGPU KMS Problems

2017-07-12 Thread Rich Freeman
On Wed, Jul 12, 2017 at 5:34 PM, jdm  wrote:
>
> I checked the config of the kernel (inc firmware) and could not find
> an issue. I then tried arch/fedora/ubuntu and all froze at boot and then
> worked with nomodeset.

Ok, this is pointing to a likely hardware issue IMO - I gotta imagine
that one of those distros would have noticed the RX 480 not working -
it is hardly an obscure card.

>
> 1) Is this likely to be a kernel issue (amdgpu drm)?

Probably not, imo.  However, I would try booting using a mainline
kernel (4.12 right now) just to confirm.  Any distro would be fine -
but try it on the bleeding edge kernel on one of them.

> 2) Could this be a firmware issue (amd)?

Maybe, but probably not.  You might want to check if your motherboard
has any published issues.  I'd think that amd would be pushing their
motherboard partners to support their cards.

> 3) Could this be a motherboard/processor issue?
> 4) Can you think of any ways round this so I can use the RX 480 gpu

I suspect it is some kind of motherboard-GPU issue.  Maybe it is
firmware - I'd search for that.  Some kind of power issue could also
be the problem.  Maybe your board has issues supplying enough power (I
understand the RX 480 draws quite a bit through the PCI slot), or
maybe the new motherboard+CPU+RX480 combo is stressing your power
supply (either overall, or on one of the rails).  Granted, if your old
card was also a radeon it probably was also a power hog.

Those are just the things I'd probably poke at - somebody else might
have other ideas.  Hopefully you'll get it working - I doubt I'll need
an RX 480 but I probably will move to Ryzen sometime soon now that it
is starting to mature on linux (though I wouldn't mind seeing it
supported in a longterm kernel first, especially since I'm using btrfs
and zfs on this box).

-- 
Rich