All of lore.kernel.org
 help / color / mirror / Atom feed
* [Nouveau] Nvidia OFFLOAD (nvidia-prime)
@ 2021-09-18 21:21 __- -__
  2021-09-19  3:50 ` __- -__
  0 siblings, 1 reply; 3+ messages in thread
From: __- -__ @ 2021-09-18 21:21 UTC (permalink / raw)
  To: linux-bugs, nouveau, debian-boot, Dell Tech Support,
	Dell Tech Support, ubuntu-users, System76

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

Hi,

I would like to share my 3 files at /usr/share/X11/xorg.conf.d/

xorg.conf
10-nvidia.conf
11-nvidia-offload.conf

a) xorg
Section "Files"
   ModulePath "/usr/lib/xorg"
EndSection

Section "Device"
   Identifier "intel"
   Driver "i915"
   Option "DRI2" "on"
   BusID "PCI:0:2:0"
#   Option "AccelMethod" "uxa"
EndSection

Section "Screen"
   Identifier "intel"
   Device "intel"
EndSection

Section "Device"
   Identifier "nvidia-drm"
   Driver "nvidia-drm"
EndSection

Section "Device"
   Identifier "nvidia-modeset"
   Driver "nvidia-modeset"
EndSection

Section "Device"
   Identifier "nvidia"
   Driver "nvidia"
   BusID "PCI:1:0:0"
EndSection

Section "ServerFlags"
   Option "DefaultServerLayout" "layout"
   Option "DisableVidModeExtension"  "on"
   Option "AIGLX" "off"
   Option "IndirectGLX" "off"
   Option "GlxVisuals" "minimal"
   Option "Log" "flush"
   Option "DontVTSwitch"  "on"
   Option "DontZap"  "on"
   Option "DontZoom"  "on"
   Option "AutoAddDevices" "on"
   Option "AutoEnableDevices" "off"
   Option "AutoAddGPU" "on"
   Option "AutoBindGPU"  "off"
EndSection

Section "Extensions"
   Option "RENDER" "Enable"
   Option "Composite" "Enable"
   Option "GLX" "Enable"
   Option "MIT-SHM" "Disable"
EndSection

b) 10-nvidia.conf (same as default)
Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/xorg"
EndSection

c) 11-nvidia-offload.conf
Section "ServerLayout"
    Identifier "layout"
    Screen 0 "intel" 0 0
    Inactive "nvidia-drm"
    Inactive "nvidia-modeset"
    Inactive "nvidia"
    Option "AllowNVIDIAGPUScreens"
EndSection

My dGPU is a 940mx (nvidia) playing at 2560x1080, ubuntu 20.04 LTS

aTI,

L. F

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Nouveau] Nvidia OFFLOAD (nvidia-prime)
  2021-09-18 21:21 [Nouveau] Nvidia OFFLOAD (nvidia-prime) __- -__
@ 2021-09-19  3:50 ` __- -__
  2021-09-19  5:48   ` __- -__
  0 siblings, 1 reply; 3+ messages in thread
From: __- -__ @ 2021-09-19  3:50 UTC (permalink / raw)
  To: linux-bugs, nouveau, debian-boot, Dell Tech Support,
	Dell Tech Support, ubuntu-users, System76

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

Hi,

One observation related into 10-nvidia.conf file

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia-modeset"
    Option "AllowEmptyInitialConfiguration"
    ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/xorg"
EndSection

aTI,

L. F

On Sat, Sep 18, 2021 at 6:21 PM __- -__ <isapgswell@gmail.com> wrote:

> Hi,
>
> I would like to share my 3 files at /usr/share/X11/xorg.conf.d/
>
> xorg.conf
> 10-nvidia.conf
> 11-nvidia-offload.conf
>
> a) xorg
> Section "Files"
>    ModulePath "/usr/lib/xorg"
> EndSection
>
> Section "Device"
>    Identifier "intel"
>    Driver "i915"
>    Option "DRI2" "on"
>    BusID "PCI:0:2:0"
> #   Option "AccelMethod" "uxa"
> EndSection
>
> Section "Screen"
>    Identifier "intel"
>    Device "intel"
> EndSection
>
> Section "Device"
>    Identifier "nvidia-drm"
>    Driver "nvidia-drm"
> EndSection
>
> Section "Device"
>    Identifier "nvidia-modeset"
>    Driver "nvidia-modeset"
> EndSection
>
> Section "Device"
>    Identifier "nvidia"
>    Driver "nvidia"
>    BusID "PCI:1:0:0"
> EndSection
>
> Section "ServerFlags"
>    Option "DefaultServerLayout" "layout"
>    Option "DisableVidModeExtension"  "on"
>    Option "AIGLX" "off"
>    Option "IndirectGLX" "off"
>    Option "GlxVisuals" "minimal"
>    Option "Log" "flush"
>    Option "DontVTSwitch"  "on"
>    Option "DontZap"  "on"
>    Option "DontZoom"  "on"
>    Option "AutoAddDevices" "on"
>    Option "AutoEnableDevices" "off"
>    Option "AutoAddGPU" "on"
>    Option "AutoBindGPU"  "off"
> EndSection
>
> Section "Extensions"
>    Option "RENDER" "Enable"
>    Option "Composite" "Enable"
>    Option "GLX" "Enable"
>    Option "MIT-SHM" "Disable"
> EndSection
>
> b) 10-nvidia.conf (same as default)
> Section "OutputClass"
>     Identifier "nvidia"
>     MatchDriver "nvidia-drm"
>     Driver "nvidia"
>     Option "AllowEmptyInitialConfiguration"
>     ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/xorg"
> EndSection
>
> c) 11-nvidia-offload.conf
> Section "ServerLayout"
>     Identifier "layout"
>     Screen 0 "intel" 0 0
>     Inactive "nvidia-drm"
>     Inactive "nvidia-modeset"
>     Inactive "nvidia"
>     Option "AllowNVIDIAGPUScreens"
> EndSection
>
> My dGPU is a 940mx (nvidia) playing at 2560x1080, ubuntu 20.04 LTS
>
> aTI,
>
> L. F
>

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Nouveau] Nvidia OFFLOAD (nvidia-prime)
  2021-09-19  3:50 ` __- -__
@ 2021-09-19  5:48   ` __- -__
  0 siblings, 0 replies; 3+ messages in thread
From: __- -__ @ 2021-09-19  5:48 UTC (permalink / raw)
  To: linux-bugs, nouveau, debian-boot, Dell Tech Support,
	Dell Tech Support, ubuntu-users, System76

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

Hi,

Follow Modinfo relational

Look at this (10-nvidia.conf)

Section "Files"
    ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/xorg"
EndSection

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia"
    Driver "drm"
    Option "AllowEmptyInitialConfiguration"
EndSection

Section "OutputClass"
    Identifier "nvidia-uvm"
    MatchDriver "nvidia-uvm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
EndSection

Section "OutputClass"
    Identifier "nvidia-drm"
    MatchDriver "nvidia-drm"
    Driver "nvidia-modeset"
    Option "AllowEmptyInitialConfiguration"
EndSection

Section "OutputClass"
    Identifier "nvidia-drm2"
    MatchDriver "nvidia-drm"
    Driver "drm_kms_helper"
    Option "AllowEmptyInitialConfiguration"
EndSection

Section "OutputClass"
    Identifier "nvidia-drm3"
    MatchDriver "nvidia-drm"
    Driver "drm"
    Option "AllowEmptyInitialConfiguration"
EndSection

Section "OutputClass"
    Identifier "nvidia-modeset"
    MatchDriver "nvidia-modeset"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
EndSection

Anymore? autorelational?

aTI,

L. F


On Sun, Sep 19, 2021 at 12:50 AM __- -__ <isapgswell@gmail.com> wrote:

> Hi,
>
> One observation related into 10-nvidia.conf file
>
> Section "OutputClass"
>     Identifier "nvidia"
>     MatchDriver "nvidia-drm"
>     Driver "nvidia-modeset"
>     Option "AllowEmptyInitialConfiguration"
>     ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/xorg"
> EndSection
>
> aTI,
>
> L. F
>
> On Sat, Sep 18, 2021 at 6:21 PM __- -__ <isapgswell@gmail.com> wrote:
>
>> Hi,
>>
>> I would like to share my 3 files at /usr/share/X11/xorg.conf.d/
>>
>> xorg.conf
>> 10-nvidia.conf
>> 11-nvidia-offload.conf
>>
>> a) xorg
>> Section "Files"
>>    ModulePath "/usr/lib/xorg"
>> EndSection
>>
>> Section "Device"
>>    Identifier "intel"
>>    Driver "i915"
>>    Option "DRI2" "on"
>>    BusID "PCI:0:2:0"
>> #   Option "AccelMethod" "uxa"
>> EndSection
>>
>> Section "Screen"
>>    Identifier "intel"
>>    Device "intel"
>> EndSection
>>
>> Section "Device"
>>    Identifier "nvidia-drm"
>>    Driver "nvidia-drm"
>> EndSection
>>
>> Section "Device"
>>    Identifier "nvidia-modeset"
>>    Driver "nvidia-modeset"
>> EndSection
>>
>> Section "Device"
>>    Identifier "nvidia"
>>    Driver "nvidia"
>>    BusID "PCI:1:0:0"
>> EndSection
>>
>> Section "ServerFlags"
>>    Option "DefaultServerLayout" "layout"
>>    Option "DisableVidModeExtension"  "on"
>>    Option "AIGLX" "off"
>>    Option "IndirectGLX" "off"
>>    Option "GlxVisuals" "minimal"
>>    Option "Log" "flush"
>>    Option "DontVTSwitch"  "on"
>>    Option "DontZap"  "on"
>>    Option "DontZoom"  "on"
>>    Option "AutoAddDevices" "on"
>>    Option "AutoEnableDevices" "off"
>>    Option "AutoAddGPU" "on"
>>    Option "AutoBindGPU"  "off"
>> EndSection
>>
>> Section "Extensions"
>>    Option "RENDER" "Enable"
>>    Option "Composite" "Enable"
>>    Option "GLX" "Enable"
>>    Option "MIT-SHM" "Disable"
>> EndSection
>>
>> b) 10-nvidia.conf (same as default)
>> Section "OutputClass"
>>     Identifier "nvidia"
>>     MatchDriver "nvidia-drm"
>>     Driver "nvidia"
>>     Option "AllowEmptyInitialConfiguration"
>>     ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/xorg"
>> EndSection
>>
>> c) 11-nvidia-offload.conf
>> Section "ServerLayout"
>>     Identifier "layout"
>>     Screen 0 "intel" 0 0
>>     Inactive "nvidia-drm"
>>     Inactive "nvidia-modeset"
>>     Inactive "nvidia"
>>     Option "AllowNVIDIAGPUScreens"
>> EndSection
>>
>> My dGPU is a 940mx (nvidia) playing at 2560x1080, ubuntu 20.04 LTS
>>
>> aTI,
>>
>> L. F
>>
>

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-20  0:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-18 21:21 [Nouveau] Nvidia OFFLOAD (nvidia-prime) __- -__
2021-09-19  3:50 ` __- -__
2021-09-19  5:48   ` __- -__

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.