LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-23-2020, 06:23 AM   #1
harikumar27399
LQ Newbie
 
Registered: Oct 2020
Posts: 1

Rep: Reputation: Disabled
Default graphics card of Ubuntu 18.04.5 LTS shows llvmpipe (LLVM 10.0.0, 128 bits) instead of dedicated GPU (AMD/Nvidea combo). How to fix?


I recently purchased a ASUS TUF Gaming A15 laptop with AMD-Ryzen 4800H (8-core) CPU. It has the Nvida Geforce GTX 1650TI as the dedicated GPU integrated with AMD Radeon as the default GPU. Upon dual booting the Windows 10 system with Ubuntu 18.04.5 LTS, I found that neither the default AMD GPU nor the dedicated Nvidia GPU were detected by the system. The system info instead showed llvmpipe (LLVM 10.0.0, 128 bits) as the default graphics renderer. Due to this, I'm not able to adjust the screen brightness and the battery seems to be draining fast while using Ubuntu.

My kernel version is 5.4.0-52-generic and I have secure-boot disabled in my BIOS.

Some useful info that I could gather from my terminal are as shown below:

Input:
Code:
inxi -G
Output:
Code:
Graphics:  Card-1: NVIDIA Device 1f95
           Card-2: Advanced Micro Devices [AMD/ATI] Device 1636
           Display Server: x11 (X.Org 1.20.8 )
           drivers: fbdev,ati (unloaded: modesetting,vesa,radeon)
           Resolution: 1920x1080@77.00hz
           OpenGL: renderer: llvmpipe (LLVM 10.0.0, 128 bits) version: 3.3 Mesa 20.0.8
Input:
Code:
lspci -nnk | grep -iA2 VGA
Output:
Code:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1f95] (rev a1)
    Subsystem: ASUSTeK Computer Inc. Device [1043:16df]
    Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
--
05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:1636] (rev c6)
    Subsystem: ASUSTeK Computer Inc. Device [1043:16df]
    Kernel modules: amdgpu
Input:
Code:
dmesg | grep drm
Output:
Code:
[   15.975252] [drm] amdgpu kernel modesetting enabled.
[   15.976121] [drm] This hardware requires experimental hardware support.
I have the nvidea-driver-455 installed but it doesn't get detected/loaded.

Input:
Code:
nvidea-smi
Output:
Code:
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
My /etc/default/grub/ initially had the following line initially.
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nouveau.modeset=0 tpm_tis.interrupts=0 acpi_osi=Linux i915.preliminary_hw_support=1 idle=nomwait acpi_backlight=vendor"
Changing the above line as shown below didn't work either.
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.cik_support=0 radeon.si_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 amdgpu.dc=1 amdgpu.dpm=1"
Any kind of help to fix the issue would be deeply appreciated. Do let me know if I need to provide any further details needed to debug the issue.
 
Old 10-28-2020, 03:15 AM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,809
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
You have hybrid graphics, which takes some extra work to get setup correctly. I don't have such, but it looks like reading these two URLs should get you going in the right direction in refining your setup:
https://forums.developer.nvidia.com/...tings/107883/7
https://bbs.archlinux.org/viewtopic.php?id=257449

Ryzen is too new for your *.*_support=? cmdline options to be relevant. Nouveau.modeset=0 kills KMS, preventing decently performing X drivers from loading, except with some older NVidia GPUs. i915anything is also irrelevant unless an Intel IGP is present.

Your hardware is quite new, newer than 18.04, so almost certainly better supported by 20.04 than 18.04*, likely not supported well enough by 18.04*.
 
Old 06-08-2021, 01:45 AM   #3
Nimsi2613
LQ Newbie
 
Registered: Jun 2021
Posts: 1

Rep: Reputation: Disabled
I find myself facing a very similar issue. How did you finally sort it out?
 
Old 06-08-2021, 02:19 PM   #4
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 22.04
Posts: 549

Rep: Reputation: 84
I don't have such a system but looks like that CPU is an APU.
https://www.amd.com/en/products/apu/amd-ryzen-7-4800h

but what's the point of having an APU if you are going to install a dedicated video card?

Anyway, perhaps, it is possible to disable the graphics part of that APU via the BIOS?
 
Old 06-08-2021, 08:05 PM   #5
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,809
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
Quote:
Originally Posted by vmelkon View Post
perhaps, it is possible to disable the graphics part of that APU via the BIOS?
This is the default behavior of most BIOS. Many provide alternate options.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenGL renderer string: llvmpipe (LLVM 9.0, 256 bits) taralushi Linux Mint 0 04-03-2020 03:45 PM
how can I setup the amd GPU as a default gpu instead of intel graphics? divinefishersmith Linux - Newbie 33 08-22-2015 06:03 PM
LXer: Gallium3D LLVMpipe Driver On LLVM 3.1 LXer Syndicated Linux News 0 04-09-2012 11:10 PM
LXer: Gallium3D's LLVMpipe Under LLVM 2.9 LXer Syndicated Linux News 0 03-27-2011 12:50 AM
Combo,combo box and combo entry box diff santhosh.linux Programming 4 02-27-2006 12:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration