AMD discrete mobile graphics

This is what is reported in the Info Center (Note the Graphics Processor)

Operating System: Manjaro Linux
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.13.19-2-MANJARO (64-bit)
Graphics Platform: X11
Processors: 8 × AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx
Memory: 60.8 GiB of RAM
Graphics Processor: AMD Radeon™ Vega 10 Graphics

In the Manjaro Settings Manager

Display controller
Navi 14 [Radeon RX 5500/5500M/Pro 5500M] (ATI Technologies Inc)
video-linux Open-Source (Checked) Installed (Checked)
Picasso (ATI Technologies Inc)
video-linux Open-Source (Checked) Installed (Checked)
video-modesetting Open-source (Checked) Installed (Checked)
video-vesa Open-source (Checked) Installed (Checked)

The problem is the computer is refusing to use the discreet graphics even though it exists in the system.

Is there a setting somewhere, a file that can be modified, or something somewhere that will allow me to use the discreet graphics?

That’s an APU, not a discrete AMD card… It’s written into the kernel, you don’t have to do anything.

Please provide inxi -Fza.

Also please put ``` before and after your output. Or highlight your output and click on </>

Do I just do the Graphics part or the whole thing?

The whole thing please. Better to have more info upfront, than having to constantly ask you to provide more :slight_smile:

   ~  inxi -Fza                                                                                             ✔ 
System:    Kernel: 5.13.19-2-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
           parameters: BOOT_IMAGE=/@/boot/vmlinuz-5.13-x86_64 root=UUID=8cd3ff68-f6cf-4712-92f7-d4e8fec2b915 rw
           rootflags=subvol=@ quiet apparmor=1 security=apparmor resume=UUID=9928d568-7711-4050-b561-2bac7bf20ba6
           udev.log_priority=3
           Desktop: KDE Plasma 5.22.5 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM Distro: Manjaro Linux
           base: Arch Linux
Machine:   Type: Laptop System: Micro-Star product: Alpha 15 A3DD v: REV:1.0 serial: <filter> Chassis: type: 10
           serial: <filter>
           Mobo: Micro-Star model: MS-16U6 v: REV:1.0 serial: <filter> UEFI: American Megatrends v: E16U6AMS.112
           date: 07/23/2020
Battery:   ID-1: BAT1 charge: 41.4 Wh (94.3%) condition: 43.9/53.4 Wh (82.2%) volts: 12.0 min: 10.9
           model: MSI BIF0_9 type: Li-ion serial: N/A status: Unknown
CPU:       Info: Quad Core model: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx bits: 64 type: MT MCP arch: Zen
           family: 17 (23) model-id: 18 (24) stepping: 1 microcode: 8108109 cache: L2: 2 MiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 36749
           Speed: 1224 MHz min/max: 1400/2300 MHz boost: enabled Core speeds (MHz): 1: 1224 2: 1260 3: 1242
           4: 1263 5: 1335 6: 1234 7: 1224 8: 1223
           Vulnerabilities: Type: itlb_multihit status: Not affected
           Type: l1tf status: Not affected
           Type: mds status: Not affected
           Type: meltdown status: Not affected
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
           Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: disabled, RSB filling
           Type: srbds status: Not affected
           Type: tsx_async_abort status: Not affected
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Navi 14 [Radeon RX 5500/5500M / Pro 5500M]
           vendor: Micro-Star MSI driver: N/A alternate: amdgpu bus-ID: 03:00.0 chip-ID: 1002:7340 class-ID: 0380
           Device-2: Advanced Micro Devices [AMD/ATI] Picasso vendor: Micro-Star MSI driver: amdgpu v: kernel
           bus-ID: 07:00.0 chip-ID: 1002:15d8 class-ID: 0300
           Device-3: Acer HD Webcam type: USB driver: uvcvideo bus-ID: 3-1:2 chip-ID: 5986:211c class-ID: 0e02
           Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: loaded: amdgpu,ati
           unloaded: modesetting,radeon alternate: fbdev,vesa display-ID: :0 screens: 1
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9")
           Monitor-1: eDP res: 1920x1080 hz: 120 dpi: 142 size: 344x193mm (13.5x7.6") diag: 394mm (15.5")
           OpenGL: renderer: AMD Radeon Vega 10 Graphics (RAVEN DRM 3.41.0 5.13.19-2-MANJARO LLVM 12.0.1)
           v: 4.6 Mesa 21.2.3 direct render: Yes
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Navi 10 HDMI Audio vendor: Micro-Star MSI
           driver: snd_hda_intel v: kernel bus-ID: 03:00.1 chip-ID: 1002:ab38 class-ID: 0403
           Device-2: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor
           driver: snd_pci_acp3x v: kernel alternate: snd_rn_pci_acp3x bus-ID: 07:00.5 chip-ID: 1022:15e2
           class-ID: 0480
           Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Micro-Star MSI
           driver: snd_hda_intel v: kernel bus-ID: 07:00.6 chip-ID: 1022:15e3 class-ID: 0403
           Sound Server-1: ALSA v: k5.13.19-2-MANJARO running: yes
           Sound Server-2: JACK v: 1.9.19 running: no
           Sound Server-3: PulseAudio v: 15.0 running: yes
           Sound Server-4: PipeWire v: 0.3.38 running: yes
Network:   Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter vendor: AzureWave
           driver: rtw_8822ce v: N/A modules: rtw88_8822ce port: f000 bus-ID: 05:00.0 chip-ID: 10ec:c822
           class-ID: 0280
           IF: wlo1 state: down mac: <filter>
           Device-2: Realtek vendor: Micro-Star MSI driver: r8169 v: kernel port: e000 bus-ID: 06:00.0
           chip-ID: 10ec:2600 class-ID: 0200
           IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth: Device-1: IMC Networks Bluetooth Radio type: USB driver: btusb v: 0.8 bus-ID: 3-2.4:5
           chip-ID: 13d3:3549 class-ID: e001 serial: <filter>
           Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Drives:    Local Storage: total: 3.19 TiB used: 153.51 GiB (4.7%)
           SMART Message: Unable to run smartctl. Root privileges required.
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZVLB512HAJQ-00000 size: 476.94 GiB
           block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
           rev: EXA7301Q temp: 34.9 C scheme: GPT
           ID-2: /dev/sda maj-min: 8:0 type: USB vendor: Seagate model: ST33000651AS size: 2.73 TiB block-size:
           physical: 4096 B logical: 4096 B type: HDD rpm: 7200 serial: <filter> rev: 0D0B scheme: MBR
Partition: ID-1: / raw-size: 450.57 GiB size: 450.57 GiB (100.00%) used: 153.5 GiB (34.1%) fs: btrfs
           dev: /dev/nvme0n1p1 maj-min: 259:1
           ID-2: /boot/efi raw-size: 10.25 GiB size: 10.24 GiB (99.90%) used: 592 KiB (0.0%) fs: vfat
           dev: /dev/nvme0n1p3 maj-min: 259:3
           ID-3: /home raw-size: 450.57 GiB size: 450.57 GiB (100.00%) used: 153.5 GiB (34.1%) fs: btrfs
           dev: /dev/nvme0n1p1 maj-min: 259:1
           ID-4: /var/log raw-size: 450.57 GiB size: 450.57 GiB (100.00%) used: 153.5 GiB (34.1%) fs: btrfs
           dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:      Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
           ID-1: swap-1 type: partition size: 16.11 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p2
           maj-min: 259:2
Sensors:   System Temperatures: cpu: 50.5 C mobo: N/A gpu: amdgpu temp: 50.0 C
           Fan Speeds (RPM): N/A
Info:      Processes: 308 Uptime: 1h 10m wakeups: 1 Memory: 60.76 GiB used: 2.27 GiB (3.7%) Init: systemd v: 249
           tool: systemctl Compilers: gcc: 11.1.0 Packages: pacman: 1264 lib: 354 flatpak: 0 Shell: Zsh v: 5.8
           default: Bash v: 5.1.8 running-in: konsole inxi: 3.3.08

First off, you have an EOL (end of life) kernel. You should try to use kernel 5.10 LTS or 5.14. I’d recommend having both installed and using 5.14, as the newer kernels have more updates for your GPU & CPU.

It looks like you have a hybrid system with an APU & a discreet GPU:

Can you please also provide mhwd -l? Want to see if you have the hybrid drivers installed or not.

So I left the vesa driver installed; now my computer won’t boot into my SSD. I am typing this from the live boot usb.

Ugh

Sooo, How to I get chroot (manjaro-chroot) to work. It refuses to let me use it. It will only look on /dev/sdb but my system is on /dev/nvme0n1

or can I undo the vesa driver from the live usb directly?

This is what it says from mhwd -l; but isn’t that for intel/nvidia setup? Also, this is from the live usb, so wouldn’t they be wrong from here anyways on full AMD system?

mhwd -l
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/catalyst/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-340xx-bumblebee/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-418xx-bumblebee/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-430xx-bumblebee/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-435xx-prime/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-440xx-prime/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/nvidia-340xx/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/nvidia-418xx/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/nvidia-430xx/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/nvidia-435xx/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/nvidia-440xx/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/virtualbox/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/network_drivers/r8168/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/network_drivers/rt3562sta/MHWDCONFIG' is invalid!
> 0000:03:00.0 (0380:1002:7340) Display controller ATI Technologies Inc:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI


> 0000:07:00.0 (0300:1002:15d8) Display controller ATI Technologies Inc:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

Also, when it comes to the kernel being used.
I just installed this. It is Manjaro 21.1.6 which is the latest stable build. Calling the kernel EoL is pretty extreme.

It’s not extreme when it’s literally true that kernel 5.13 is actually EOL as of September. The Manjaro team needs to rebuild the ISO with 5.14.

https://www.kernel.org/

I do not know why those NVIDIA ones popped up.

I am personally not experienced in hybrid graphics (iGPU + dGPU) as all of my computers only have a dGPU or an iGPU. So someone else will have to chime in and help here.

I know some people just turn off their iGPU in their BIOS/UEFI, so that it only boots up the dGPU.

As the AMD drivers are built into the kernel, it should just work out of the box. It is only the issue currently because you are running 2 different GPUs, which I don’t know how to deal with. If you disable the iGPU, then you don’t have to deal with it anymore.

Thread tidied. @damase In the future, please edit your previous post rather than adding a reply right after your own post. This is a support forum, not an instant messenger.

I do not know if it is an AMD thing or an MSI thing, but they do not include the ability to turn off the iGPU on this laptop. I wanted to do that the very first thing I turned this laptop on. Grrrrr to who-ever came up that anti-feature.

Also, I used timeshift and I am back in to my regular setup.
The kernel is done in September? 2021 which is past already or 2022?

Also, thank you for tidying the thread. I just learned about editing the message after I did that. I apologize for the mess.

One more thing-- Now that I am in my regular system should I redo the mhwd thing?

Yes. Install kernel 5.14 (stable) and 5.10 (LTS), reboot and remove 5.13 (EOL).

https://wiki.manjaro.org/index.php/Manjaro_Kernels

If you ever have an issue booting with the latest stable kernel, you’ll have the current LTS kernel to fall back on.

How do you know that, anyway?

If you clicked on the kernel website link above, you’d notice that 5.13 no longer is shown, because it is EOL. It has been EOL shortly after the release of kernel 5.14 in September, as it is a mainline kernel, not an LTS kernel. Once Kernel 5.15 gets released, kernel 5.14 will become EOL shortly after.

If you don’t know the difference between Mainline and LTS kernels, you can read about them here! :slight_smile:

https://www.kernel.org/category/releases.html

For newer hardware (such as your dGPU), it’s best to stay on mainline to get more support, but always have an LTS one also installed just in case something happens.

1 Like

How do you know that, anyway?

Performance of GW2 and missing RAM from the iGPU being used.
When I was in Windows I could tell when the the dGPU would kick in. My performance levels would go up. Also, it is not being listed in the Manjaro Info Center at all. Shouldn’t it at least be listed?

Operating System: Manjaro Linux
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.13.19-2-MANJARO (64-bit)
Graphics Platform: X11
Processors: 8 × AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx
Memory: 60.8 GiB of RAM
Graphics Processor: AMD Radeon™ Vega 10 Graphics

Also here is mhwd -l

    ~  mhwd -l                                                                                               ✔ 
> 0000:03:00.0 (0380:1002:7340) Display controller ATI Technologies Inc:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI


> 0000:07:00.0 (0300:1002:15d8) Display controller ATI Technologies Inc:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

Ah GW2, I love it so much. I made mine look better using vkBasalt to use Reshade shaders as seen here.


So on Linux, most people use PRIME or the like. For PRIME, you have to use prime-run to offload the application to the dGPU. Once again, I am bad with hybrid drivers as I avoid them. I have no idea how it works 100% for AMD iGPU + AMD dGPU though :frowning:

It is not showing up there because your desktop is running the iGPU, you have to offload specific applications to the dGPU as I said above.

1 Like

Install it with Lutris and enable Use discrete graphics under Global options. This will launch your games using DRI_PRIME=1.

That’s only for NVIDIA. :wink:

2 Likes

That was the command I was looking for! Which was in the PRIME link I linked and totally missed it…

You can also launch programs via terminal to use your dGPU by typing DRI_PRIME=1 <program>, such as DRI_PRIME=1 steam. I believe you can also throw DRI_PRIME=1 into specific steam game launch options, i.e. DRI_PRIME=1 %command%

Today I learn!

2 Likes

Do I uninstall it first?
I have it installed directly with wine. (works better than Play On Linux, which gives a we do not support winXP error/warning message)

Where do I put DRI_PRIME=1?
Is there someplace I can put that command so it is on all the time as a default condition of my laptop?

Yes. I mean you can point Lutris to it as well, but I’d recommend uninstalling it so that it gets all configured correctly from the script.

Oh no! Don’t do that!

The Lutris script has the best way to install and play GW2 from my experience with great dxvk support within it too. Install Lutris from our repo, then click install on the Lutris website.

You’ll also need to install of the drivers and packages too to make sure it runs smoothly.

sudo pacman -S --needed lib32-mesa vulkan-radeon lib32-vulkan-radeon vulkan-icd-loader lib32-vulkan-icd-loader

First backup your install folder, then uninstall it. Install with Lutris, then close the game launcher after logging in. Copy the backup to the new installation directory overwriting the files, then open the game again and the launcher will fill in what it needs to. This way you don’t have to download 20 GB or whatever all over again.

Each game or program installed via WINE should have it’s own prefix (aka bottle). Lutris and Steam (via Proton) does this automatically.

…or just search for Guild Wars 2 in Lutris itself (make sure Installed Games Only is turned off).

1 Like