Issue

First of all, I know about the current state of the game but, as we wait for a fix, I’m trying to fix my configuration to make it work with my NVIDIA GPU instead of the integrated AMD one.

If I run league with prime-run, in the log I can read many messages like the following:

0284:err:xrandr:xrandr14_get_adapters Failed to get adapters

if I run league without it, the client works but using the integrated AMD GPU.

Distribution Version

EndeavourOS

Linux 6.6.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 20 Nov 2023 23:18:21 +0000 x86_64 GNU/Linux

Installation Method

leagueoflegends-git

Wine Version

aur/wine-lol-bin 2:p8_12-1 (+5 1.63)

Logs

https://pastebin.com/9TcVAJ43

Additional info

I have been playing flawlessly with the NVIDIA GPU until July. I already followed all the basic steps (resetting wine, reinstalling, adding DXVK manualy, etc…).

Here’s the output of xrandr --listproviders:

Providers: number : 2
Provider 0: id: 0x54 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 2 associated providers: 1 name:AMD Radeon Graphics @ pci:0000:04:00.0
Provider 1: id: 0x1fe cap: 0x2, Sink Output crtcs: 4 outputs: 2 associated providers: 1 name:NVIDIA-G0

Thanks!

edit: formatting

  • SSUPII
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Are you sure the card is enabled? Like, have not put your video cable in the integrated IO ports?

    You can also force rendering to be done on the Nvidia driver adding __VK_LAYER_NV_optimus=NVIDIA_only __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia to your environment