All of lore.kernel.org
 help / color / mirror / Atom feed
* [Nouveau] Fwd: env NVIDIA ModulePath
       [not found]   ` <CAN9WMdPt1TOSE4265bn+u3sRDqC4DyJFTZdOVP9FdRzjHJHUkg@mail.gmail.com>
@ 2021-08-20 14:56     ` __- -__
  0 siblings, 0 replies; only message in thread
From: __- -__ @ 2021-08-20 14:56 UTC (permalink / raw)
  To: nouveau

[-- Attachment #1: Type: text/plain, Size: 2384 bytes --]

---------- Forwarded message ---------
From: __- -__ <isapgswell@gmail.com>
Date: Thu, Aug 19, 2021 at 7:09 PM
Subject: Re: env NVIDIA ModulePath
To: <linux-bugs@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@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@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
>>
>

[-- Attachment #2: Type: text/html, Size: 6741 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-21 22:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAN9WMdPCE5xV+0OSt_tBS1gEU0u=Q23sceZ6brYrDUG2hQYVXQ@mail.gmail.com>
     [not found] ` <CAN9WMdP9zetk3HGRBSuAjovBn9P4xrgya8Zy01te+To6G1aNGg@mail.gmail.com>
     [not found]   ` <CAN9WMdPt1TOSE4265bn+u3sRDqC4DyJFTZdOVP9FdRzjHJHUkg@mail.gmail.com>
2021-08-20 14:56     ` [Nouveau] Fwd: env NVIDIA ModulePath __- -__

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.