我知道这是个常见的问题,但我对此有困难。
我在运行Ubuntu 18.04。为了正确引导,我不得不在grub中使用nomodeset参数。
uname -mrs
Linux 4.15.0-23-generic x86_64lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Vega [Radeon RX Vega M] (rev c0)运行ubuntu drivers devices不会给出结果
lshw -c video
*-display UNCLAIMED
description: VGA compatible controller
product: Advanced Micro Devices, Inc. [AMD/ATI]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:01:00.0
version: c0
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list
configuration: latency=0
resources: memory:90000000-9fffffff memory:a0000000-a01fffff ioport:e000(size=256) memory:db500000-db53ffff memory:c0000-dffff
*-display UNCLAIMED
description: Display controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm cap_list
configuration: latency=0
resources: iomemory:2f0-2ef iomemory:2f0-2ef memory:2ffe000000-2ffeffffff memory:2fa0000000-2fafffffff ioport:f000(size=64)我尝试添加amdgpu.dc=1来引导params,但是没有改变任何东西。
glmark2
=======================================================
glmark2 2014.03+git20150611.fa71af2d
=======================================================
OpenGL Information
GL_VENDOR: VMware, Inc.
GL_RENDERER: llvmpipe (LLVM 6.0, 256 bits)
GL_VERSION: 3.0 Mesa 18.0.0-rc5-编辑--
升级到4.16内核,没有任何更改,尽管运行glmark2在CPU上不太密集
发布于 2018-05-27 17:23:57
对这一问题的答复如下:
( a)您需要Ubuntu18.04中不存在的ucode文件,即:https://people.freedesktop.org/~agd5f/radeon_古柯德/素食/ --它们需要转到/lib/固件/amdgpu
( b)您需要一个包含vega补丁的内核。这些内容目前正在等待纳入drm-next。希望他们能把它变成4.18内核。如果您从源代码构建,下面是:https://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-4.18-wip -您可以使用内核包来构建它(make.)安装内核和更新固件时,请确保运行sudo update-initramfs -u。
( c)我建议使用mesa 18.1或以后。保罗在他的ppa:https://launchpad.net/~paulo-miguel-dias/+archive/ubuntu/pkppa中有这个版本。
在地狱峡谷附近,我们禁用了Bios中的Intel-GPU。经过以上步骤,一切都是工作的-包括hevc-10位解码通过vaapi。
发布于 2018-07-17 21:34:47
这里有一个可能更新的食谱,没有承诺:
sudo add-apt-repository ppa:ubuntu-x-swat/updates
sudo apt dist-upgrade # pulls new mesa from above ppa
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18-rc5/linux-headers-4.18.0-041800rc5_4.18.0-041800rc5.201807152130_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18-rc5/linux-headers-4.18.0-041800rc5-generic_4.18.0-041800rc5.201807152130_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18-rc5/linux-image-unsigned-4.18.0-041800rc5-generic_4.18.0-041800rc5.201807152130_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18-rc5/linux-modules-4.18.0-041800rc5-generic_4.18.0-041800rc5.201807152130_amd64.deb
sudo dpkg -i linux-*.deb
wget -m -np https://people.freedesktop.org/~agd5f/radeon_ucode/vegam/
sudo cp people.freedesktop.org/~agd5f/radeon_ucode/vegam/*.bin /lib/firmware/amdgpu
sudo /usr/sbin/update-initramfs -u -k all黑色屏幕时,启动低功率哈迪斯峡谷(与i7-8705g),但据说与更高功率的哈迪斯峡谷(与i7-8809g)工作。您可以使用grub菜单返回到股票内核。
此外,如果需要将BIOS更新为0044,请参见https://downloadcenter.intel.com/product/126141/Intel-NUC-Kit-NUC8i7HNK和https://www.intel.com/content/www/us/en/support/articles/000005636/mini-pcs.html。
https://askubuntu.com/questions/1040440
复制相似问题