Ubuntu 18.04 still uses llvmpipe driver #2

I have an asus a15 laptop with an RTX2060 graphics card, and I am running Ubuntu 18.04. Despite following all the instructions here:

ubuntu 18.04 still uses llvmpipe driver

The llvmpipe driver is still being used.

(base) ian@ian-a15:~$ nvidia-smi
Thu Jun 25 08:27:02 2020
±----------------------------------------------------------------------------+
| NVIDIA-SMI 440.82 Driver Version: 440.82 CUDA Version: 10.2 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 166… Off | 00000000:01:00.0 Off | N/A |
| N/A 48C P0 6W / N/A | 0MiB / 5944MiB | 0% Default |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
±----------------------------------------------------------------------------+
(base) ian@ian-a15:~$ glxinfo |grep render
direct rendering: Yes
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, GLX_MESA_query_renderer,
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: llvmpipe (LLVM 9.0, 128 bits)
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
GL_MESA_ycbcr_texture, GL_NV_conditional_render, GL_NV_depth_clamp,
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_fog_distance,
GL_MESA_shader_integer_functions, GL_NV_conditional_render,
GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,

(base) ian@ian-a15:~$ sudo lshw -c video
*-display
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 bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:74 memory:fb000000-fbffffff memory:b0000000-bfffffff memory:c0000000-c1ffffff 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:05:00.0
version: c6
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix vga_controller bus_master cap_list
configuration: latency=0
resources: memory:d0000000-dfffffff memory:e0000000-e01fffff ioport:c000(size=256) memory:fc500000-fc57ffff

Here are the only uncommented lines in grub:
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=lsb_release -i -s 2> /dev/null || echo Debian
GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash acpi_backlight=video”
GRUB_CMDLINE_LINUX=“”

Any help would be much appreciated.

You have a hybrid amd/nvidia graphics combo and the amd is primary and running llvm, so it’s missing the driver.
I guess it’s this:
https://forums.developer.nvidia.com/t/ubuntu-18-04-second-monitor-couldnt-be-detected-using-nvidia-430-form-ppa/125606/3
For non-guessed info, please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post. You will have to rename the file ending to something else since the forum software doesn’t accept .gz files (nifty!).

Thank you, an upgrade to 20.04 fixed it.

I still only get 105 in glmark2 though, which is not what I expect.

Like said, you would have to provide a nvidia-bug-report.log for non-guessed info.

Here is a link to the log: https://drive.google.com/file/d/113SXZE459C0evUcMu_ou-3fsRjjSuxaG/view?usp=sharing

I’m not seeing a brightness control and the performance is definitely integrated graphics rather than the card I have.

(I am now running on ubuntu 20.04)

Hello, any chance you can help?