Re: Radeon R2/R3/R4/R5 Graphics card fails: open /dev/dri/card0: No such file or directory

Greg V <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>

On Fri, May 25, 2018 at 6:42 PM, Yuri <[email protected]> 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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.