dckl
February 18th, 2021, 08:47 AM
Hi, nice people of Linux Forums!
I want to use my laptop's GPU to perform Machine Learning on Linux, so I installed Ubuntu 20.04.2 LTS.
First, I tried checking the available graphics drivers by running "sudo lshw -c video' in terminal. I got the below results:
sudo lshw -c video
[sudo] password for <MyUsername>:
*-display UNCLAIMED
description: VGA compatible controller
product: NVIDIA Corporation
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller cap_list
configuration: latency=0
resources: iomemory:fc0-fbf iomemory:fe0-fdf memory:fb000000-fbffffff memory:fc00000000-fdffffffff memory:fe00000000-fe01ffffff ioport:f000(size=128) memory:fc000000-fc07ffff
*-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:06:00.0
version: c5
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix vga_controller bus_master cap_list
configuration: latency=0
resources: iomemory:fe0-fdf iomemory:fe0-fdf memory:fe10000000-fe1fffffff memory:fe20000000-fe201fffff ioport:d000(size=256) memory:fc500000-fc57ffff
Notice that the 'driver' field doesn't even appear, so no graphics driver is specified for both my GPU and on-board CPU graphics, and 'configuration' only says 'latency=0'.
After that, I tried downloading and installing the latest official NVIDIA driver from this link:
https://www.nvidia.com/Download/driverResults.aspx/170134/en-us
This was done based on nvidia.com's official form for selecting GPU downloads.
However, after installing it, my screen would get stuck at the laptop's boot logo without displaying 'Ubuntu' at all. After many attempts to work around the issue, I ended up having to perform a fresh install of Ubuntu so I could try again.
Further background which might be relevant to resolving my issue:
1. My laptop is an Asus ROG Strix G513Q-RHF104T running a Ryzen 7 5800H CPU and a 115-W RTX3070 GPU.
2. Ubuntu has an entire SSD dedicated to it. I have an installation of Windows, but it is running on a separate SSD.
3. No additional drivers are displayed in the 'Additional Drivers' tool. All that is displayed is 'No additional drivers available.'
4. My Ubuntu installation is running in secure boot (I was told by the installation prompt that this was necessary to install third-party drivers and software).
Thanks in advance for helping me out with this issue. :)
I want to use my laptop's GPU to perform Machine Learning on Linux, so I installed Ubuntu 20.04.2 LTS.
First, I tried checking the available graphics drivers by running "sudo lshw -c video' in terminal. I got the below results:
sudo lshw -c video
[sudo] password for <MyUsername>:
*-display UNCLAIMED
description: VGA compatible controller
product: NVIDIA Corporation
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller cap_list
configuration: latency=0
resources: iomemory:fc0-fbf iomemory:fe0-fdf memory:fb000000-fbffffff memory:fc00000000-fdffffffff memory:fe00000000-fe01ffffff ioport:f000(size=128) memory:fc000000-fc07ffff
*-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:06:00.0
version: c5
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix vga_controller bus_master cap_list
configuration: latency=0
resources: iomemory:fe0-fdf iomemory:fe0-fdf memory:fe10000000-fe1fffffff memory:fe20000000-fe201fffff ioport:d000(size=256) memory:fc500000-fc57ffff
Notice that the 'driver' field doesn't even appear, so no graphics driver is specified for both my GPU and on-board CPU graphics, and 'configuration' only says 'latency=0'.
After that, I tried downloading and installing the latest official NVIDIA driver from this link:
https://www.nvidia.com/Download/driverResults.aspx/170134/en-us
This was done based on nvidia.com's official form for selecting GPU downloads.
However, after installing it, my screen would get stuck at the laptop's boot logo without displaying 'Ubuntu' at all. After many attempts to work around the issue, I ended up having to perform a fresh install of Ubuntu so I could try again.
Further background which might be relevant to resolving my issue:
1. My laptop is an Asus ROG Strix G513Q-RHF104T running a Ryzen 7 5800H CPU and a 115-W RTX3070 GPU.
2. Ubuntu has an entire SSD dedicated to it. I have an installation of Windows, but it is running on a separate SSD.
3. No additional drivers are displayed in the 'Additional Drivers' tool. All that is displayed is 'No additional drivers available.'
4. My Ubuntu installation is running in secure boot (I was told by the installation prompt that this was necessary to install third-party drivers and software).
Thanks in advance for helping me out with this issue. :)