I know this is a commonly asked question, but I am having trouble with this..
I am running Ubuntu 18.04. I have had to use nomodeset
parameters in grub on boot to have boot correctly.
uname -mrs
Linux 4.15.0-23-generic x86_64
lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Vega [Radeon RX Vega M] (rev c0)
Running ubuntu drivers devices
gives no results
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)
I tried adding amdgpu.dc=1
to boot params but doesn't change anything.
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
— EDIT —
Upgraded to kernel 4.16 and no changes, although running glmark2 is less intensive on the CPU
Best Answer
Update: I posted a writeup at https://ubuntuforums.org/showthread.php?t=2400400 with the instructions updated for 4.19-rc2.
Here's my original answer:
Here's what I did to get it working today on ubuntu 18.04 (from memory, probably with typos):
a) Install latest mesa from https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers
b) Followed https://wiki.ubuntu.com/Kernel/MainlineBuilds using http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/2018-06-08/
i.e.:
c) Rebooted and noticed error in /var/log/kern.log about no firmware, so installed that:
and rebooted.
And it worked. Having a working ssh connection to the machine made recovering from mistakes and black screens a lot easier.
A couple of odd glitches (fishgl.com's fish stopped moving once, and I got a crazy high result for furmark once), but it's been up and relatively snappy for at least half an hour now :-)
glxinfo reports
glmark2 reports a score of 10698 (vs. 2571 on i7-6700 with HD Graphics 530, and 2770 on Skull Canyon live ubuntu 18.04)
furmark 0.7 from pts8 reports 1718 at 1920x1080.
Your mileage may vary. Your machine may explode. Good luck!