You are not logged in.
hello
i use a optimus laptop dell inspirion 7567 run in nvidia driver only mod ,. probs with bumblbee it not support vulkan and xrun needs a logout.
the new driver PRIME offload future sound very interresting when i understand it right. Is there a how to or wiki how it work and install etc. special for arch linux
my system run actual like the wiki:
https://wiki.archlinux.org/index.php/NV … phics_only
https://wiki.archlinux.org/index.php/NV … de_setting
and finaly is someone use it successfully
sorry for my english thanks
Offline
Until xorg-server 1.20.6 you will need to patch xorg-server e.g. https://gitlab.freedesktop.org/aplattne … org-server
then you should be able to follow http://download.nvidia.com/XFree86/Linu … fload.html
placing the suggested contents of nvidia.conf in /etc/X11/xorg.conf.d/20-nvidia.conf or rename it to nvidia.conf
Offline
thanks your answer
i will wait xorg version 1.20.6 comes. i dont know how i patch the xorg and have risk to broke my system a little
but thank you for help
Offline
I tested it with this PKGBUILD for X.Org with the required patches provided by an NVIDIA dev: https://gitlab.freedesktop.org/aplattne … org-server
You may also need to remove the line 12 (PrimaryGPU thing) in:
/usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
And it works pretty well! I'm very happy to have such a feature available right in the driver.
Last edited by Leeo97one (2019-08-31 02:39:29)
Offline
does that feature mean that the need for bumblebee, optimus-manager, nvidia-xrun will be obsolete?
Offline
Bumblebee will be obsolete for sure but optimus-manager can still be useful. See: https://github.com/Askannz/optimus-manager/issues/114
Offline
I wrote a simple script and more or less universal settings for Xorg: Prime
Offline
In the nvidia readme it looks simple how to run, but i understand not right how to patch the xorg need some help best a simple step by step. i read about abs pkgbuild etc. but today i am not so smart to understand. i can then look what the command are do. and how risk is a package patching proces, can i rollback simple too like to reinstall the orginal arch package.
thanks
Offline
@Feresey https://aur.archlinux.org/packages/prime/
places a config file in etc/X11/xorg.conf.d rather than usr/share/X11/xorg.conf.d
uses license custom but does not include the licnses in a file under /usr/share/licenses/prime
requires xorg-server-git rather than for instance https://gitlab.freedesktop.org/aplattne … org-server.
https://github.com/Feresey/xorg-server-git could use server-1.20-branch instead of master and requiring the ABI breakage.
Would it not be simpler to provide instructions on the wiki?
Edit:
@danmachine the following assumes you have installed base-devel
git clone https://gitlab.freedesktop.org/aplattner/arch-xorg-server.git
cd arch-xorg-server/
makepkg -rs
pacman -Qs xorg-server # to find which packages you need to update avoiding adding new ones
# pacman -U list-of-pkg-files
If you want to revert to the official packages
# pacman -S list-of-pkgs #same list of packages you installed with pacman -U
Last edited by loqs (2019-09-01 16:10:53)
Offline
@loqs, thanks for the advice!
by the points:
1. config file moved to /usr
2. no license no problem
3. removed this dependency
4. This is not my repo, it’s just a fork of another person’s repository, in which I made minimal changes to make it work
Offline
@loqs thanks for your help and quick short answer
Offline
i have done all successfully but xrandr list not my HDMI port and multihead did not work.
i do all my settings Offloading Graphics Display with RandR undo.
i had only edit my xorg.conf. output of xrandr --listproviders show how it must. glxinfo | grep OpenGL shows the modsetting and with __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME="nvidia" __VK_LAYER_NV_optimus="NVIDIA_only" it shows the nvidia all right.
but xrandr --listmonitors shows only my intern laptop device
i am back to my old setting and i forgot to undo DRM KMS nvidia. should i remove this settings too before i start a new attempt
thanks
Last edited by damachine (2019-09-01 19:40:51)
Offline
hallo again
can one help how my extern monitor work. must xorg-xrandr also a patch or need i new one program. because it will not work with xrandr? xrandr --listmonitors shows only my eDP-1 device.
Offline
hallo again
can one help how my extern monitor work. must xorg-xrandr also a patch or need i new one program. because it will not work with xrandr? xrandr --listmonitors shows only my eDP-1 device.
From what I could find, it seems it is not possible right now to use monitors that are wired to the Nvidia GPU. You need to run your whole desktop on the Nvidia GPU, you can't use this new offloading feature here.
Offline
I have an issue with screen tearing. Do you experience it too on your laptop screen but not on your external monitors?
Just like in this post: https://forum.kde.org/viewtopic.php?t=151762
Also, is it normal that nvidia-settings is more empty than before? https://i.imgur.com/hj60S9y.png
Maybe solutions can be find in the .conf file, that's why I'm asking here
Thanks!
Offline
I had to add the following patches to get rid of gl version fails
https://gitlab.freedesktop.org/xorg/xse … /292/diffs
https://gitlab.freedesktop.org/xorg/xse … /304/diffs
Xorg did not recognize the nvidia card though, but with the conf file from prime.git it started working
Offline
Xorg-server 1.20.6 is in the testing repo. Anyone tried?
Offline
1.20.6 works for me on XPS 7590 with basic configuration. I also used intel tear-free feature to avoid tearing.
Last edited by danielee0707 (2019-11-26 20:05:38)
Offline
hallo i have it not test again because multihead did not work.
how is the experience now. multihead works?
Offline