I have been using Manjaro KDE on my Laptop. Sorry the post is too long since I can’t tell my problem in short.
Here are the specs:
[nikhil2@nikhil-hpnotebook ~]$ inxi -Fxz
System: Kernel: 5.7.14-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 Desktop: KDE Plasma 5.19.4 Distro: Manjaro Linux
Machine: Type: Laptop System: HP product: HP Notebook v: Type1ProductConfigId serial: <filter>
Mobo: HP model: 81F6 v: 66.26 serial: <filter> UEFI [Legacy]: Insyde v: F.35 date: 05/27/2019
Battery: ID-1: BAT1 charge: 5.7 Wh condition: 34.4/34.4 Wh (100%) model: 131-42-6E HS04041 status: Discharging
CPU: Topology: Quad Core model: AMD A8-7410 APU with AMD Radeon R5 Graphics bits: 64 type: MCP arch: Puma rev: 1
L2 cache: 2048 KiB
flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 17574
Speed: 1076 MHz min/max: 1000/2200 MHz Core speeds (MHz): 1: 1076 2: 1037 3: 1045 4: 1028
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Mullins [Radeon R4/R5 Graphics] vendor: Hewlett-Packard driver: amdgpu
v: kernel bus ID: 00:01.0
Device-2: AMD Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / Radeon 520 Mobile] vendor: Hewlett-Packard
driver: amdgpu v: kernel bus ID: 01:00.0
Device-3: Suyin type: USB driver: uvcvideo bus ID: 3-1.1:3
Display: x11 server: X.Org 1.20.8 driver: amdgpu FAILED: ati unloaded: modesetting resolution: 1366x768~60Hz
OpenGL: renderer: AMD Radeon Graphics v: 4.6.14752 Core Profile Context direct render: Yes
Audio: Device-1: Advanced Micro Devices [AMD/ATI] Kabini HDMI/DP Audio vendor: Hewlett-Packard driver: snd_hda_intel
v: kernel bus ID: 00:01.1
Device-2: Advanced Micro Devices [AMD] FCH Azalia vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
bus ID: 00:14.2
Sound Server: ALSA v: k5.7.14-1-MANJARO
Network: Device-1: Realtek RTL8723BE PCIe Wireless Network Adapter vendor: Hewlett-Packard driver: rtl8723be v: kernel
port: 3000 bus ID: 02:00.0
IF: wlo1 state: up mac: <filter>
Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Hewlett-Packard driver: r8169 v: kernel port: 2000
bus ID: 03:00.0
IF: enp3s0 state: down mac: <filter>
Drives: Local Storage: total: 931.51 GiB used: 72.84 GiB (7.8%)
ID-1: /dev/sda vendor: Western Digital model: WD10JPVX-60JC3T0 size: 931.51 GiB
Partition: ID-1: / size: 392.72 GiB used: 72.84 GiB (18.5%) fs: ext4 dev: /dev/sda3
Swap: ID-1: swap-1 type: file size: 2.00 GiB used: 3.3 MiB (0.2%) file: /swapfile
Sensors: System Temperatures: cpu: 58.1 C mobo: 20.0 C
Fan Speeds (RPM): N/A
GPU: device: amdgpu temp: 52 C device: amdgpu temp: 60 C
Info: Processes: 187 Uptime: 29m Memory: 3.32 GiB used: 1.43 GiB (43.2%) Init: systemd Compilers: gcc: 10.1.0
Packages: 1421 Shell: Bash v: 5.0.18 inxi: 3.1.05
Now initially I was using Radeon driver instead of amdgpu but the driver caused my system to freeze. After reading Archwiki I swapped the radeon driver for amdgpu. Now all the lags are over and the system feels more responsive but when I ran Gfxbench to test the GPU performance ,every time it doesn’t run any of the tests. It ran fine on the Radeon driver. So I installed amdgpu-proopengl (don’t know the actual package name) and vulkan amdgpu-pro package from AUR and now gfxbench ran well but it failed to load when I ran with DRI_PRIME command. It showed some segmentation fault error. Here are GPU details:
[nikhil2@nikhil-hpnotebook ~]$ DRI_PRIME=1 inxi -G
sh: line 1: 55245 Segmentation fault (core dumped) /sbin/glxinfo 2> /dev/null
Graphics:
Device-1: AMD Mullins [Radeon R4/R5 Graphics] driver: amdgpu v: kernel
Device-2: AMD Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / Radeon 520
Mobile]
driver: amdgpu v: kernel
Device-3: Suyin type: USB driver: uvcvideo
Display: x11 server: X.Org 1.20.8 driver: amdgpu FAILED: ati unloaded: modesetting
resolution: 1366x768~60Hz
Message: No advanced graphics data found on this system.
Here is the info for integrated one:
[nikhil2@nikhil-hpnotebook ~]$ inxi -G
Graphics:
Device-1: AMD Mullins [Radeon R4/R5 Graphics] driver: amdgpu v: kernel
Device-2: AMD Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / Radeon 520
Mobile]
driver: amdgpu v: kernel
Device-3: Suyin type: USB driver: uvcvideo
Display: x11 server: X.Org 1.20.8 driver: amdgpu FAILED: ati unloaded: modesetting
resolution: 1366x768~60Hz
I want to stay with the configuration since it benefits me but I also want to play games on it. The benchmarks for the amdgpu on integrated one are better than with radeon on same.
Here’s the /etc/default/grub if it helps:
GRUB_DEFAULT=saved
GRUB_TIMEOUT=10
GRUB_TIMEOUT_STYLE=menu
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="radeon.cik_support=0 amdgpu.cik_support=1 radeon.si_support=0 amdgpu.si_support=1 acpi_backlight=vendor modprobe.blacklist=radeon"
GRUB_CMDLINE_LINUX=""
# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'videoinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
Thanks in advance for any help.