Hi I am using KDE and the problem is early their was optimus manager in garuda linux but now it has be switched with prime run, i want to play minecraft, I use tlauncher when their was optimus manager i just have to click nvidia to run minecraft on my gpu but after primerun i am unable to use gpu on my minecraft, i can run software with prime-run but why my minecraft not working with it??
When I do prime-run glxinfo | grep "OpenGL renderer"
it used my gpu
OpenGL renderer string: NVIDIA GeForce MX130/PCIe/SSE2
But when i do sudo prime-run java -jar........
then my minecraft opens but it used integreated gpu, how can i fix this?
garuda-inxi
output
System:
Kernel: 6.3.1-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=52844d12-10d3-46aa-a5d2-c75a856b4389 rw rootflags=subvol=@
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=27932d79-84a1-43f3-96f2-6a03f8f8e7db loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.27.4 tk: Qt v: 5.15.9 wm: kwin_x11 vt: 1 dm: SDDM
Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: ASUSTeK product: VivoBook 15_ASUS Laptop X507UF v: 1.0
serial: <superuser required>
Mobo: ASUSTeK model: X507UF v: 1.0 serial: <superuser required>
UEFI: American Megatrends v: X507UF.306 date: 04/21/2020
Battery:
ID-1: BAT0 charge: 6.2 Wh (30.4%) condition: 20.4/24.4 Wh (83.5%)
volts: 11.1 min: 11.1 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A
status: discharging cycles: 46
CPU:
Info: model: Intel Core i5-8250U bits: 64 type: MT MCP arch: Coffee Lake
gen: core 8 level: v3 note: check built: 2017 process: Intel 14nm family: 6
model-id: 0x8E (142) stepping: 0xA (10) microcode: 0xF0
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 2 MiB desc: 8x256 KiB
L3: 48 MiB desc: 8x6 MiB
Speed (MHz): avg: 3121 high: 3400 min/max: 400/3400 scaling:
driver: intel_pstate governor: powersave cores: 1: 3400 2: 1800 3: 3054
4: 3321 5: 3400 6: 3400 7: 3390 8: 3209 bogomips: 28800
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel UHD Graphics 620 vendor: ASUSTeK driver: i915 v: kernel
arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports: active: eDP-1
empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:5917 class-ID: 0300
Device-2: NVIDIA GM108M [GeForce MX130] vendor: ASUSTeK driver: nvidia
v: 530.41.03 alternate: nouveau,nvidia_drm non-free: 530.xx+
status: current (as of 2023-03) arch: Maxwell code: GMxxx
process: TSMC 28nm built: 2014-19 pcie: gen: 1 speed: 2.5 GT/s lanes: 4
link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.0 chip-ID: 10de:174d
class-ID: 0302
Device-3: IMC Networks USB2.0 VGA UVC WebCam type: USB driver: uvcvideo
bus-ID: 1-6:4 chip-ID: 13d3:5a11 class-ID: 0e02
Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.1
compositor: kwin_x11 driver: X: loaded: modesetting,nvidia unloaded: nouveau
alternate: fbdev,intel,nv,vesa dri: iris gpu: i915 display-ID: :0
screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: eDP-1 model: ChiMei InnoLux 0x15f5 built: 2017 res: 1920x1080
hz: 60 dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
ratio: 16:9 modes: 1920x1080
API: OpenGL v: 4.6 Mesa 23.0.3 renderer: Mesa Intel UHD Graphics 620 (KBL
GT2) direct-render: Yes
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel bus-ID: 1-2:12 chip-ID: 0d8c:0012
alternate: snd_soc_skl,snd_soc_avs class-ID: 0300 bus-ID: 00:1f.3
chip-ID: 8086:9d71 class-ID: 0403
Device-2: C-Media USB Audio Device type: USB
driver: hid-generic,snd-usb-audio,usbhid
API: ALSA v: k6.3.1-zen1-1-zen status: kernel-api tools: N/A
Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
Server-2: PipeWire v: 0.3.70 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:24fd class-ID: 0280
IF: wlp2s0 state: up mac: <filter>
Device-2: Lite-On Dell Wireless Device type: USB
driver: hid-generic,usbhid bus-ID: 1-4.4:11 chip-ID: 04ca:00ac
class-ID: 0301
IF-ID-1: ipv6leakintrf0 state: unknown speed: N/A duplex: N/A
mac: <filter>
IF-ID-2: proton0 state: unknown speed: 10000 Mbps duplex: full mac: N/A
Bluetooth:
Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
bus-ID: 1-8:5 chip-ID: 8087:0a2b class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 2 state: up address: <filter>
RAID:
Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
v: 3.0 port: f060 bus-ID: 00:17.0 chip-ID: 8086:282a rev: N/A class-ID: 0104
Drives:
Local Storage: total: 931.51 GiB used: 61.18 GiB (6.6%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000LM035-1RK172
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
type: HDD rpm: 5400 serial: <filter> rev: SDM4 scheme: GPT
Partition:
ID-1: / raw-size: 922.42 GiB size: 922.42 GiB (100.00%)
used: 61.18 GiB (6.6%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 576 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 922.42 GiB size: 922.42 GiB (100.00%)
used: 61.18 GiB (6.6%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-4: /var/log raw-size: 922.42 GiB size: 922.42 GiB (100.00%)
used: 61.18 GiB (6.6%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-5: /var/tmp raw-size: 922.42 GiB size: 922.42 GiB (100.00%)
used: 61.18 GiB (6.6%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 7.64 GiB used: 18.5 MiB (0.2%) priority: 100
dev: /dev/zram0
ID-2: swap-2 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/sda3 maj-min: 8:3
Sensors:
System Temperatures: cpu: 80.0 C pch: 66.0 C mobo: N/A
Fan Speeds (RPM): cpu: 3600
Info:
Processes: 244 Uptime: 6h 2m wakeups: 6 Memory: 7.64 GiB
used: 2.66 GiB (34.8%) Init: systemd v: 253 default: graphical
tool: systemctl Compilers: gcc: 13.1.1 clang: 15.0.7 Packages: pm: pacman
pkgs: 1609 libs: 451 tools: octopi,paru Shell: fish v: 3.6.1
running-in: konsole inxi: 3.3.26
Garuda (2.6.16-1):
System install date: 2023-05-03
Last full system update: 2023-05-07 ↻
Is partially upgraded: No
Relevant software: snapper NetworkManager dracut nvidia-dkms
Windows dual boot: No/Undetected
Failed units: