---------- Forwarded message ---------
From: __- -__ <isapgswell@xxxxxxxxx>
Date: Thu, Aug 19, 2021 at 7:09 PM
Subject: Re: env NVIDIA ModulePath
To: <linux-bugs@xxxxxxxxxx>
From: __- -__ <isapgswell@xxxxxxxxx>
Date: Thu, Aug 19, 2021 at 7:09 PM
Subject: Re: env NVIDIA ModulePath
To: <linux-bugs@xxxxxxxxxx>
HI,
On nvidia on-demand profile there's noneed, /usr/share/doc/xserver-xorg-video-intel/xorg.conf file; e
you can mv to /usr/share/doc/xserver-xorg-video-intel/xorg.conf.old
I recommend only vulkan and opengl-over-VK from steam lib games cross-platform (top 5 xD)
Lutris|Proton can load dxvk as we know ...
With this "mastigating" we could only setup,
Section "ServerLayout"
Identifier "layout"
Option "AllowNVIDIAGPUScreens"
EndSection
Identifier "layout"
Option "AllowNVIDIAGPUScreens"
EndSection
Only one provider modesetting/intel
In this way we can load opengl games using opengl-over-VK layer or via PRELOAD as described last thread and with nvidia related outputclass exclusive. We need more tests
aTT,
LF
On Wed, Aug 18, 2021 at 5:49 PM __- -__ <isapgswell@xxxxxxxxx> wrote:
Hi,PRELOADModulePath="/usr/lib/x86_64-linux-gnu/nvidia/xorg" __GL_SYNC_TO_VBLANK=0 vblank_mode=0 LIBGL_ALWAYS_INDIRECT=true mesa_glthread=false LIBGL_DRI2_DISABLE=true LIBGL_DRI3_DISABLE=true __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxgearsaTT,LFOn Wed, Aug 18, 2021 at 2:14 AM __- -__ <isapgswell@xxxxxxxxx> wrote:Hi,I think, if we follow the on-demand nvidia prime profile, we should access nvidia xorg modules over env variable like that and nor outputcalsss modulepath option.one line,ModulePath="/usr/lib/x86_64-linux-gnu/nvidia/xorg" __GL_SYNC_TO_VBLANK=0 vblank_mode=0 LIBGL_ALWAYS_INDIRECT=true mesa_glthread=false LIBGL_DRI2_DISABLE=true LIBGL_DRI3_DISABLE=true __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxgearsmy 10-nvidia.confSection "OutputClass"
Identifier "nvidia"
MatchDriver "nvidia-drm"
Driver "nvidia"
Option "AllowEmptyInitialConfiguration"
ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/xorg"
EndSection
Section "OutputClass"
Identifier "intel"
MatchDriver "i915"
Driver "modesetting"
Option "PrimaryGPU" "Yes"
EndSectionand my 11-nvidia-offloadSection "ServerLayout"
Identifier "layout"
Option "Xinerama" "0"
Option "AllowNVIDIAGPUScreens"
EndSectionplease look at my prints attached