Date: Tue, 29 Dec 2020 15:55:37 +0300 From: Oskar Sharipov <oskarsh@riseup.net> To: freebsd-questions@freebsd.org Subject: graphics on amd radeon vega Message-ID: <X%2BsnT05Xed2y8QP%2B@piggy>
next in thread | raw e-mail | index | archive | help
--6GGv+tyRjgQ7ppYp Content-Type: multipart/mixed; protected-headers=v1; boundary="8qgHJvmCwkOXuh0w" Content-Disposition: inline Date: Tue, 29 Dec 2020 15:55:37 +0300 From: Oskar Sharipov <oskarsh@riseup.net> To: freebsd-questions@freebsd.org Subject: graphics on amd radeon vega --8qgHJvmCwkOXuh0w Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello! I'm using FreeBSD 12.1-RELEASE-p10 (amd64) on Lenovo S340. There is an AMD Ryzen CPU with Radeon Vega Mobile Gfx as it's printed in dmesg. The problem is I cannot use amdgpu drivers. I built them from ports, I wrote kld_list=3D"/boot/modules/amdgpu.ko" in /etc/rc.conf, I added myself in "video" group. When I boot the laptop I can notice interface is laggy. Video in mpv is lagging, switching windows in wm is lagging and so on. I checked glxheads information, it prints GL_RENDERER is "llvmpipe". As I understand it means X11 uses default llvm drivers. I checked Xorg.0.logs, there are these lines: ... [ 9.738] (EE) open /dev/dri/card0: No such file or directory [ 9.738] (WW) Falling back to old probe method for modesetting [ 9.738] (EE) open /dev/dri/card0: No such file or directory [ 9.738] (WW) Falling back to old probe method for scfb ... which also shows something is wrong with loading drivers, as I understand. Experimenting I ended up with radeonkms module in rc.conf but I see no difference, everything is the same with radeon and amdgpu drivers. I attached graphics_on_vega.tar.gz archive which contains: graphics_on_vega/devinfo that's `devinfo -vr` output graphics_on_vega/dmesg that's `dmesg` output graphics_on_vega/hw.model that's `sysctl hw.model` output graphics_on_vega/pciconf that's `pciconf -lvbce` output graphics_on_vega/pkg_info that's `pkg info` output graphics_on_vega/Xorg.0.log that's `cat /var/log/Xorg.0.log` output Is it a problem with my understandings how to set up drivers, with Radeon Vega GPUs or with drivers themselves? Should I file a bug report to freebsd-x11@freebsd.org? --=20 Oskar Sharipov site (might be unpaid and cancelled): oskarsh.ru e-mail (replace asterisk with dot): oskarsh at riseup * net secondary e-mail (same): oskar * sharipov at tutanota * org gpg fingerprint: BAC3 F049 748A D098 A144 BA89 0DC4 EA75 714C 75B5 --8qgHJvmCwkOXuh0w-- --6GGv+tyRjgQ7ppYp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRJJMXN6/nibGTfWk0+WR6AK2efSAUCX+snSQAKCRA+WR6AK2ef SOZHAQD6CgSHM5xg5vQ1ZqrnlQ4wqF9QXMRWQY7pBTbZbxUS+AD+JkxtldY6YaZU 10iPiiVvioyDx2fXWrL5WYLOIFuiqA0= =F+QJ -----END PGP SIGNATURE----- --6GGv+tyRjgQ7ppYp--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?X%2BsnT05Xed2y8QP%2B>