nouveau.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: __- -__ <isapgswell@gmail.com>
To: linux-bugs@nvidia.com, nouveau@lists.freedesktop.org,
	 debian-boot@lists.debian.org,
	Dell Tech Support <technical_support@dell.com>,
	 Dell Tech Support <technical_support@help.dell.com>,
	ubuntu-users@lists.ubuntu.com, System76 <help@system76.com>
Subject: [Nouveau] Nvidia OFFLOAD (nvidia-prime)
Date: Sat, 18 Sep 2021 18:21:18 -0300	[thread overview]
Message-ID: <CAN9WMdPTGBXsvF-4o6MEA8bMUOsGTa7fK=h+RVfJrs67KeVn3w@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2021-09-20  0:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-18 21:21 __- -__ [this message]
2021-09-19  3:50 ` [Nouveau] Nvidia OFFLOAD (nvidia-prime) __- -__
2021-09-19  5:48   ` __- -__

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAN9WMdPTGBXsvF-4o6MEA8bMUOsGTa7fK=h+RVfJrs67KeVn3w@mail.gmail.com' \
    --to=isapgswell@gmail.com \
    --cc=debian-boot@lists.debian.org \
    --cc=help@system76.com \
    --cc=linux-bugs@nvidia.com \
    --cc=nouveau@lists.freedesktop.org \
    --cc=technical_support@dell.com \
    --cc=technical_support@help.dell.com \
    --cc=ubuntu-users@lists.ubuntu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).