---------- Forwarded message ---------
From: __- -__ <isapgswell at gmail.com>
Date: Thu, Aug 19, 2021 at 7:09 PM
Subject: Re: env NVIDIA ModulePath
To: <linux-bugs at nvidia.com>
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
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 at gmail.com> wrote:
> Hi,
>
> PRELOAD
> 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 glxgears
>
> aTT,
>
> LF
>
> On Wed, Aug 18, 2021 at 2:14 AM __- -__ <isapgswell at gmail.com>
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 glxgears
>>
>> my 10-nvidia.conf
>>
>> Section "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"
>> EndSection
>>
>> and my 11-nvidia-offload
>>
>> Section "ServerLayout"
>> Identifier "layout"
>> Option "Xinerama" "0"
>> Option "AllowNVIDIAGPUScreens"
>> EndSection
>>
>>
>> please look at my prints attached
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.freedesktop.org/archives/nouveau/attachments/20210820/af33f6b7/attachment.htm>