Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2018 18:56:48 +0300
From:      Greg V <greg@unrelenting.technology>
To:        Yuri <yuri@rawbw.com>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: Radeon R2/R3/R4/R5 Graphics card fails: open /dev/dri/card0: No such file or directory
Message-ID:  <1527263808.69839.0@hraggstad.unrelenting.technology>
In-Reply-To: <4fe27b64-9837-8ca6-1678-d140388db8a8@rawbw.com>
References:  <4fe27b64-9837-8ca6-1678-d140388db8a8@rawbw.com>

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


On Fri, May 25, 2018 at 6:42 PM, Yuri <yuri@rawbw.com> wrote:
> xf86-video-ati-7.9.0_1,1 is installed.
> 
> Wiki also doesn't mention if this card is supported or not: 
> https://wiki.freebsd.org/Graphics
> 
> 
> This card identifies as:
> 
> # pciconf -lv | grep -A 4 vga
> vgapci0@pci0:0:1:0:    class=0x030000 card=0x39f917aa chip=0x98e41002 
> rev=0xda hdr=0x00
>     vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
>     device     = 'Stoney [Radeon R2/R3/R4/R5 Graphics]'

Hi, you need to install the drm-next-kmod package and load either the 
"radeonkms" or the "amdgpu" kernel module. (Stoney is GCN 1.2, should 
be supported by both I think.) The installation message will tell you 
how to set up loading the module at boot.

Forget about xf86-video-ati, that's ancient stuff. You don't have to 
configure anything in xorg, it should use modesetting/glamor 
automatically.

Note that if you use UEFI boot, you need to disable the EFI framebuffer 
(hw.syscons.disable=1) for now:
https://github.com/FreeBSDDesktop/freebsd-base-graphics/issues/170
With that, you won't see the console before the module is loaded.
You can use SSH to test loading the kernel module if it doesn't auto 
load.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1527263808.69839.0>