You are not logged in.

#1 2023-07-29 02:23:17

AdamJ3nsen_
Member
Registered: 2020-10-08
Posts: 38

Issues with wine due to nvidia OPTIMUS (probably)

while trying to run anything on wine (including winecfg or winemine) I get the error

err:system:update_display_cache Failed to read display config

This is most likely due to me incorrectly configuring optimus . What I've done so far is to "use Nvidia graphics only", thus adding the

 10-nvidia-drm-outputclass.conf 

to /etc/X11/xorg.conf.d and adding the 2 lines in my .xinitrc as per the wiki.
However, running

 xrandr --setprovideroutputsource modesetting NVIDIA-0 

I get the error

 Could not find provider with name NVIDIA-0 

and sure enough, running

 xrandr --listproviders 

I only get

 Providers: number : 1
Provider 0: id: 0x44 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 3 associated providers: 0 name:modesetting 

What am I doing wrong? what am I missing? Thanks in advance for your time and help
-------------------------------------------
extras:
laptop: HP pavillion 15-cx0017nl
CPU: Intel i7 8750H

 lspci | grep -i nvidia
01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev a1)
 s dmesg | grep -i nvidia
[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=753f509e-2f96-42f4-8332-b05a224e74cf rw loglevel=3 quiet nvidia_drm.modeset=1
[    0.022303] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=753f509e-2f96-42f4-8332-b05a224e74cf rw loglevel=3 quiet nvidia_drm.modeset=1
[    5.085136] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input22
[    5.086878] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input23
[    5.086948] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input24
[    5.087046] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input25
[    6.053218] nvidia: module license 'NVIDIA' taints kernel.
[    6.053224] nvidia: module license taints kernel.
[    6.485152] nvidia-nvlink: Nvlink Core is being initialized, major device number 510
[    6.486055] nvidia 0000:01:00.0: enabling device (0006 -> 0007)
[    6.486292] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[    6.602579] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  535.86.05  Fri Jul 14 20:46:33 UTC 2023
[    7.559600] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  535.86.05  Fri Jul 14 20:20:58 UTC 2023

Last edited by AdamJ3nsen_ (2023-07-29 02:27:31)

Offline

Board footer

Powered by FluxBB