Date: Wed, 1 Aug 2018 16:12:07 +0200 From: Piotr Kubaj <pkubaj@anongoth.pl> To: CL Moonriver <clmoonriver@equinedreams.art> Cc: freebsd-stable@freebsd.org, freebsd-x11@freebsd.org Subject: Re: X11 not working on 11-STABLE with AMDGPU Message-ID: <20180801141207.GA5202@smtp.iq.pl> In-Reply-To: <95b8cfa0-0908-3321-5155-ef49b1bb0a64@equinedreams.art> References: <20180801092849.GA75303@KGPE-D16> <95b8cfa0-0908-3321-5155-ef49b1bb0a64@equinedreams.art>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hm, ok, I may have not been clear with my problem.
Xorg DID work before. It certainly won't accept radeon driver - it's RX560. I certainly had working Xorg about two weeks ago. Then after a reboot, boom, no more graphics.
So my configuration is right.
Even though I don't need the whole xorg.conf, I need xorg.conf.d directory with a snippet that forces GPU to use to use amdgpu X11 driver - otherwise it tries to use modesetting.
On 18-08-01 08:46:05, CL Moonriver wrote:
>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?
>>
>>
>
>--
>This message has been scanned for viruses and
>dangerous content by MailScanner, and is
>believed to be clean.
>
--
_______________________
< You do not have mail. >
-----------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
iQJkBAABCgBOFiEEycyIeNkkgohzsoorelmbhSCDnJ0FAlthv7cwFIAAAAAAFQAS
cGthLWFkZHJlc3NAZ251cGcub3JncGt1YmFqQGFub25nb3RoLnBsAAoJEHpZm4Ug
g5ydDtkQAKJu1Uh3AfWJuOmTAY4OtWfQ2aOQ1egY/gW+0O64iIsSUyqCtuSJRc+E
8KnThjjh9m2X93q0vrlywvJajjGJVf6wd9FhzIG3gm5tXkKtVPHmOQkMNIRG186p
4ljJd1xzzip52HiSHCt9pj4VhLDMFiGrt8fb+0btDRdLIfBo2mMN9iM0/n72fsWC
S7rRBdapQWWmmCmWe9u5budbZxz4Y5FFFbrO44nm6IkozTKQchHIUjLL3s+FWldq
3FsJt9fk0A1onB880TvsFCP5RwmzDLC6PEElSrSESY/VKOP62zGRJTYeSWDu0rKh
DmZe1z0MmbWwYLy+s70nzaxioNZ7rja9K1hrcWiBCOSWflzxHpoY5az1CIeDl8/P
gvfa8uzBQh8a9Ae0BSo8ssShMaqpdyDEiJkpYCSFW1PY0flpMoL8WwKo5phTfvz3
duAeI2jYIWrPAFWrB/D0Zme7ZKUc5n2+6Fm+Hu2Wu07QX8t1n35pApBxVTattdfK
v1LNOxeaMs3jRcsXtxDbFn3OLzNc7dfAfIg5q9npwRcErvB4KrePNSZ6ciFXapzf
r6cPii17TScXQKDqY/S5khLK5H84uDKBcMshT6QU9Fv2JEAxrsbfO5loS+WzohM9
EhnMxdTlcCroaWM50gJnA7JExO+jODoLRWxU0KWmhnjxooBgCfUO
=CV3p
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180801141207.GA5202>
