Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Aug 2018 13:17:30 -0500
From:      CL Moonriver <clmoonriver@equinedreams.art>
To:        Pete Wright <pete@nomadlogic.org>, freebsd-x11@freebsd.org, pkubaj@anongoth.pl
Subject:   Re: X11 not working on 11-STABLE with AMDGPU
Message-ID:  <ef32fed7-da09-e5a5-29a9-709f382687a2@equinedreams.art>
In-Reply-To: <67630578-f418-b435-9bb0-b40f12e9d881@nomadlogic.org>
References:  <20180801092849.GA75303@KGPE-D16> <95b8cfa0-0908-3321-5155-ef49b1bb0a64@equinedreams.art> <20180801141207.GA5202@smtp.iq.pl> <d4f521ba-eaa7-1464-d7b6-b28560781bfc@nomadlogic.org> <4266f156-3a83-a45d-fab0-cde090c139ba@equinedreams.art> <67630578-f418-b435-9bb0-b40f12e9d881@nomadlogic.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Pete, I think you are right. It is using the modesetting driver. But the 
confusing part is that it seems to load the scfb driver too. Again, I'm 
relatively new to this so my understanding of how to read this log is 
limited. I've attached my xorg log file, and hopefully you can let me 
know exactly what it is doing and which driver it is using.

As a side note, I've used both drm-stable-kmod and drm-next-kmod. Both 
work for the most part, although I experience occasional desktop lockups 
shortly after starting X. Going to the console shows messages regarding 
"Attempting to reset the GPU". A few seconds later, the desktop starts 
responding again. And it typically works fine after that until the next 
reboot. I'm assuming this relates to a slightly buggy radeon driver. 
I'll try to help with debugging in anyway I can, including trying to 
post the exact error messages next time it happens.

Thanks,

CLM


On 8/1/18 12:54 PM, Pete Wright wrote:
>
>
> On 8/1/18 10:29 AM, CL Moonriver wrote:
>> The only thing that actually worked for me was the kms module loaded 
>> in rc.conf. Any attempt to configure the display in xorg.conf 
>> resulted in an X server that would not start, but would continue 
>> running for awhile and appear in the process list before it finally 
>> gave up. But again, I must have an older AMD GPU because it uses the 
>> radeonkms driver instead of amdgpu. (It's an AMD A10-7860k with 
>> Radeon R7 graphics)
>>
>> On another note, I'm using UEFI boot. Based on my limited 
>> understanding, I think that means X is actually using the scfb 
>> driver, which is not ideal from what I understand (no accelerated 
>> graphics). But it works fine for what I do, and it's the only 
>> configuration I could get working.
>>
>
> (removing freebsd-stable@ from this thread as this is X specific)
>
> hrm, booting UEFI should not restrict which Xorg driver is used for 
> graphics.  For example, on my intel i915 systems I boot UEFI and use 
> the modesetting driver once Xorg launches.  The scfb driver does all 
> rendering in software and does not make use of the GPU at all.
>
> I'm not super familiar with AMD GPU - do you see any lines in your 
> Xorg.0.log referring to errors attempting to load the modesetting 
> driver?  that might be a good place to start looking.
>
> -pete
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ef32fed7-da09-e5a5-29a9-709f382687a2>