Lutris does not use discrete graphics

PC (ideapad gaming 3 RTX 3050 ryzen 5 5600H laptop with integrated graphics) I run epic games via lutris, the control game automatically turns on at the average value of the graphics, when increasing to the maximum, some lags are observed, I placed different values of dxvk and much more in the lutris settings, but this does not help, I also suspect that discrete graphics does not work, because rtx and dlss technologies cannot be enabled in the control game settings, I simply cannot turn them on, all applications of the latest updates, what to do?

Anyway, run inxi -Fazy and check if you use NVDIA proprietary driver or not by mhwd -l -d --pci.

You need to install NVDIA proprietary driver by sudo mhwd -a pci nonfree 0300.

Reference:
https://wiki.manjaro.org/index.php/Configure_Graphics_Cards

I entered something to check

mhwd -l -d --pci.                                                                                                                                                                                                            ✔ 
Error: invalid option: --pci.

Usage: mhwd [OPTIONS] <config(s)>

  --pci                                 list only pci devices and driver configs
  --usb                                 list only usb devices and driver configs
  -h/--help                             show help
  -v/--version                          show version of mhwd
  -f/--force                            force reinstallation
  -d/--detail                           show detailed info for -l/-li/-lh
  -l/--list                             list available configs for devices
  -la/--listall                         list all driver configs
  -li/--listinstalled                   list installed driver configs
  -lh/--listhardware                    list hardware information
  -i/--install <usb/pci> <config(s)>    install driver config(s)
  -ic/--installcustom <usb/pci> <path>  install custom config(s)
  -r/--remove <usb/pci> <config(s)>     remove driver config(s)
  -a/--auto <usb/pci> <free/nonfree> <classid>  auto install configs for classid
  --pmcachedir <path>                   set package manager cache path
  --pmconfig <path>                     set package manager config
  --pmroot <path>                       set package manager root
Error: invalid option: --pci.

There’s an extra “.”

You can post the output of inxi and mhwd here.

mhwd -l -d --pci                                                                                                                                                                                                             ✔ 
--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:01.2/0000:02:00.0 (0200:10ec:8168)
  Network controller Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
--------------------------------------------------------------------------------
  > AVAILABLE:

   NAME:        network-r8168
   ATTACHED:    PCI
   VERSION:     2016.04.20
   INFO:        RealTek RTL-8168 Gigabit Ethernet driver
   PRIORITY:    0
   FREEDRIVER:  true
   DEPENDS:     -
   CONFLICTS:   -
   CLASSIDS:    0200 
   VENDORIDS:   1186 10ec 


--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:01.1/0000:01:00.0 (0302:10de:25a2)
  Display controller nVidia Corporation GA107M [GeForce RTX 3050 Mobile]
--------------------------------------------------------------------------------
  > INSTALLED:

   NAME:        video-hybrid-amd-nvidia-prime
   ATTACHED:    PCI
   VERSION:     2021.12.18
   INFO:        Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source amd driver.
   PRIORITY:    8
   FREEDRIVER:  false
   DEPENDS:     video-linux 
   CONFLICTS:   video*nvidia* 
   CLASSIDS:    0300 0302 0300 
   VENDORIDS:   10de 1002 

   NAME:        video-linux
   ATTACHED:    PCI
   VERSION:     2018.05.04
   INFO:        Standard open source drivers.
   PRIORITY:    2
   FREEDRIVER:  true
   DEPENDS:     -
   CONFLICTS:   -
   CLASSIDS:    0300 0380 0302 
   VENDORIDS:   1002 8086 10de 



  > AVAILABLE:

   NAME:        video-hybrid-amd-nvidia-prime
   ATTACHED:    PCI
   VERSION:     2021.12.18
   INFO:        Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source amd driver.
   PRIORITY:    8
   FREEDRIVER:  false
   DEPENDS:     video-linux 
   CONFLICTS:   video*nvidia* 
   CLASSIDS:    0300 0302 0300 
   VENDORIDS:   10de 1002 

   NAME:        video-hybrid-amd-nvidia-470xx-prime
   ATTACHED:    PCI
   VERSION:     2021.12.18
   INFO:        Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source amd driver.
   PRIORITY:    7
   FREEDRIVER:  false
   DEPENDS:     video-linux 
   CONFLICTS:   video*nvidia* 
   CLASSIDS:    0300 0302 0300 
   VENDORIDS:   10de 1002 

   NAME:        video-nvidia
   ATTACHED:    PCI
   VERSION:     2021.12.18
   INFO:        Closed source NVIDIA drivers for linux.
   PRIORITY:    5
   FREEDRIVER:  false
   DEPENDS:     -
   CONFLICTS:   video*nvidia* 
   CLASSIDS:    0300 0302 
   VENDORIDS:   10de 

   NAME:        video-nvidia-470xx
   ATTACHED:    PCI
   VERSION:     2021.12.18
   INFO:        Closed source NVIDIA drivers for linux.
   PRIORITY:    4
   FREEDRIVER:  false
   DEPENDS:     -
   CONFLICTS:   video*nvidia* 
   CLASSIDS:    0300 0302 
   VENDORIDS:   10de 

   NAME:        video-linux
   ATTACHED:    PCI
   VERSION:     2018.05.04
   INFO:        Standard open source drivers.
   PRIORITY:    2
   FREEDRIVER:  true
   DEPENDS:     -
   CONFLICTS:   -
   CLASSIDS:    0300 0380 0302 
   VENDORIDS:   1002 8086 10de 


--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:08.1/0000:05:00.0 (0300:1002:1638)
  Display controller ATI Technologies Inc Cezanne
--------------------------------------------------------------------------------
  > INSTALLED:

   NAME:        video-hybrid-amd-nvidia-prime
   ATTACHED:    PCI
   VERSION:     2021.12.18
   INFO:        Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source amd driver.
   PRIORITY:    8
   FREEDRIVER:  false
   DEPENDS:     video-linux 
   CONFLICTS:   video*nvidia* 
   CLASSIDS:    0300 0302 0300 
   VENDORIDS:   10de 1002 

   NAME:        video-linux
   ATTACHED:    PCI
   VERSION:     2018.05.04
   INFO:        Standard open source drivers.
   PRIORITY:    2
   FREEDRIVER:  true
   DEPENDS:     -
   CONFLICTS:   -
   CLASSIDS:    0300 0380 0302 
   VENDORIDS:   1002 8086 10de 



  > AVAILABLE:

   NAME:        video-hybrid-amd-nvidia-prime
   ATTACHED:    PCI
   VERSION:     2021.12.18
   INFO:        Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source amd driver.
   PRIORITY:    8
   FREEDRIVER:  false
   DEPENDS:     video-linux 
   CONFLICTS:   video*nvidia* 
   CLASSIDS:    0300 0302 0300 
   VENDORIDS:   10de 1002 

   NAME:        video-hybrid-amd-nvidia-470xx-prime
   ATTACHED:    PCI
   VERSION:     2021.12.18
   INFO:        Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source amd driver.
   PRIORITY:    7
   FREEDRIVER:  false
   DEPENDS:     video-linux 
   CONFLICTS:   video*nvidia* 
   CLASSIDS:    0300 0302 0300 
   VENDORIDS:   10de 1002 

   NAME:        video-linux
   ATTACHED:    PCI
   VERSION:     2018.05.04
   INFO:        Standard open source drivers.
   PRIORITY:    2
   FREEDRIVER:  true
   DEPENDS:     -
   CONFLICTS:   -
   CLASSIDS:    0300 0380 0302 
   VENDORIDS:   1002 8086 10de 

   NAME:        video-modesetting
   ATTACHED:    PCI
   VERSION:     2020.01.13
   INFO:         modesetting video driver.
   PRIORITY:    1
   FREEDRIVER:  true
   DEPENDS:     -
   CONFLICTS:   -
   CLASSIDS:    0300 
   VENDORIDS:   * 

   NAME:        video-vesa
   ATTACHED:    PCI
   VERSION:     2017.03.12
   INFO:   vesa video driver.
   PRIORITY:    0
   FREEDRIVER:  true
   DEPENDS:     -
   CONFLICTS:   -
   CLASSIDS:    0300 
   VENDORIDS:   *

I removed the links to some website

I’m trying to enter the necessary information here , but the forum forbids entering links , and there are a lot of them there and not all are clear to me, I tried to send screenshots, but it 's also blocked , can we continue communicating elsewhere ?

Welcome to the forum! :wave:

Tip: When pasting terminal output on Discourse forums, one can either…

  • Use the Preformatted text </> toolbar button.

  • Add three backticks ` above and below the text (Markdown):

    ```
    type or paste code here
    ```

  • Use HTML:

    <pre><code>
    type or paste code here
    </pre></code>

I’ve done it for you this time. :wink:

Also please edit your previous post rather than posting multiple times in a row.

To what is ‘Optimus launcher’ set in your launcher-settings?

Right-click on a launcher in Lutris:

→ Configure → activate “Show advanced options” (left bottom) → click to tab “System options”

and scroll down to “Optimus launcher” option. “Optimus launcher” is set to off by default.

There is also an option in the same tab which is called “Enable NVIDIA Prime Render Offload”

… please try to play around with these setting if not set by now. :smiley:

thanks to everyone the problem is solved

@Magaalaev. If other people have the same issue and read this it would be kind of you to share your solution. So you can help others. :smiley: