Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Aug 2018 08:46:05 -0500
From:      CL Moonriver <clmoonriver@equinedreams.art>
To:        freebsd-stable@freebsd.org, pkubaj@anongoth.pl
Subject:   Re: X11 not working on 11-STABLE with AMDGPU
Message-ID:  <95b8cfa0-0908-3321-5155-ef49b1bb0a64@equinedreams.art>
In-Reply-To: <20180801092849.GA75303@KGPE-D16>
References:  <20180801092849.GA75303@KGPE-D16>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I had some trouble getting X to work with my AMD GPU, but I finally did 
get it working. Here is what ultimately worked for me:

* Make sure you are loading the driver in /etc/rc.conf, not in 
/boot/loader.conf. The driver won't work if loaded from loader.conf

* Depending on how old your AMD GPU is, you might need the radeon driver 
instead of the amdgpu driver. When the amdgpu driver didn't work for me, 
I tried radeonkms.ko and it does work.

* You shouldn't need an xorg.conf fileĀ  or anything in xorg.conf.d at 
all. Everything should just work if you load the correct kernel module. 
In fact, if you have xorg configuration files that are trying to load 
display drivers or screens, that might be causing problems. I'm not 
using any xorg.conf or xorg.conf.d files at all. When I was using them, 
X would not start.

Hopefully, these tips help with your problem.


On 8/1/18 4:28 AM, Piotr Kubaj via freebsd-stable wrote:
> Hi,
>
> I use FreeBSD 11.2-STABLE (from 23.07). After recent updates, I am unable to start X11 (Xorg.0.log is attached). I have rebuilt drm-next-kmod and Xorg-related ports. Xorg fails to start both with amdgpu kernel driver with amdgpu Xorg driver and without amdgpu kerner driver (vesa is then used).
>
> When using amdgpu, the X process starts (even though there's no display), but it looks like zombie - only reboot is able to kill it.
>
> Was there some regression recently?
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?95b8cfa0-0908-3321-5155-ef49b1bb0a64>