View previous topic :: View next topic |
Author |
Message |
Wadewilson n00b
Joined: 09 Nov 2022 Posts: 46
|
Posted: Sat Feb 17, 2024 2:57 pm Post subject: [SOLVED]Nvidia GPU not used by X server with Dual GPU config |
|
|
I have a Lenovo Legion 5 (Integrated Intel GT2 + Nvidia 1650 mobile) laptop. I want to use intel gpu for xorg but offload intense tasks to nvidia gpu.
I have followed the Hybrid_graphics wiki. But still facing issue.
Code: |
00:00.0 Host bridge [0600]: Intel Corporation 10th Gen Core Processor Host Bridge/DRAM Registers [8086:9b64] (rev 02)
Subsystem: Lenovo 10th Gen Core Processor Host Bridge/DRAM Registers [17aa:3803]
Kernel driver in use: skl_uncore
00:01.0 PCI bridge [0604]: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) [8086:1901] (rev 02)
Subsystem: Lenovo 6th-10th Gen Core Processor PCIe Controller (x16) [17aa:3816]
Kernel driver in use: pcieport
00:02.0 VGA compatible controller [0300]: Intel Corporation CometLake-H GT2 [UHD Graphics] [8086:9bc4] (rev 05)
Subsystem: Lenovo CometLake-H GT2 [UHD Graphics] [17aa:3a42]
Kernel driver in use: i915
Kernel modules: i915
00:04.0 Signal processing controller [1180]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem [8086:1903] (rev 02)
Subsystem: Lenovo Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem [17aa:384b]
Kernel modules: processor_thermal_device_pci_legacy
00:08.0 System peripheral [0880]: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model [8086:1911]
Subsystem: Lenovo Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model [17aa:387d]
00:12.0 Signal processing controller [1180]: Intel Corporation Comet Lake PCH Thermal Controller [8086:06f9]
Subsystem: Lenovo Comet Lake PCH Thermal Controller [17aa:3802]
Kernel driver in use: intel_pch_thermal
Kernel modules: intel_pch_thermal
00:14.0 USB controller [0c03]: Intel Corporation Comet Lake USB 3.1 xHCI Host Controller [8086:06ed]
Subsystem: Lenovo Comet Lake USB 3.1 xHCI Host Controller [17aa:3801]
Kernel driver in use: xhci_hcd
00:14.2 RAM memory [0500]: Intel Corporation Comet Lake PCH Shared SRAM [8086:06ef]
Subsystem: Lenovo Comet Lake PCH Shared SRAM [17aa:3826]
00:14.3 Network controller [0280]: Intel Corporation Comet Lake PCH CNVi WiFi [8086:06f0]
Subsystem: Intel Corporation Wi-Fi 6 AX201 160MHz [8086:0074]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
00:15.0 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH Serial IO I2C Controller #0 [8086:06e8]
Subsystem: Lenovo Comet Lake PCH Serial IO I2C Controller [17aa:3803]
Kernel driver in use: intel-lpss
00:15.1 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH Serial IO I2C Controller #1 [8086:06e9]
Subsystem: Lenovo Comet Lake PCH Serial IO I2C Controller [17aa:3804]
Kernel driver in use: intel-lpss
00:16.0 Communication controller [0780]: Intel Corporation Comet Lake HECI Controller [8086:06e0]
Subsystem: Lenovo Comet Lake HECI Controller [17aa:380b]
00:17.0 SATA controller [0106]: Intel Corporation Device [8086:06d3]
Subsystem: Lenovo Device [17aa:3808]
Kernel driver in use: ahci
00:1d.0 PCI bridge [0604]: Intel Corporation Comet Lake PCI Express Root Port #9 [8086:06b0] (rev f0)
Subsystem: Lenovo Comet Lake PCI Express Root Port [17aa:3819]
Kernel driver in use: pcieport
00:1d.6 PCI bridge [0604]: Intel Corporation Device [8086:06b6] (rev f0)
Subsystem: Lenovo Device [17aa:381f]
Kernel driver in use: pcieport
00:1f.0 ISA bridge [0601]: Intel Corporation Comet Lake LPC Controller [8086:068d]
Subsystem: Lenovo Comet Lake LPC Controller [17aa:380d]
00:1f.3 Audio device [0403]: Intel Corporation Comet Lake PCH cAVS [8086:06c8]
Subsystem: Lenovo Comet Lake PCH cAVS [17aa:380f]
Kernel driver in use: snd_hda_intel
00:1f.4 SMBus [0c05]: Intel Corporation Comet Lake PCH SMBus Controller [8086:06a3]
Subsystem: Lenovo Comet Lake PCH SMBus Controller [17aa:3810]
Kernel driver in use: i801_smbus
00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH SPI Controller [8086:06a4]
Subsystem: Lenovo Comet Lake PCH SPI Controller [17aa:3827]
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] [10de:1f99] (rev a1)
Subsystem: Lenovo TU117M [GeForce GTX 1650 Mobile / Max-Q] [17aa:3a42]
Kernel driver in use: nvidia
Kernel modules: nvidia_drm, nvidia
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:10fa] (rev a1)
Subsystem: Lenovo Device [17aa:3ffb]
Kernel driver in use: snd_hda_intel
06:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983 [144d:a808]
Subsystem: Samsung Electronics Co Ltd SSD 970 EVO [144d:a801]
Kernel driver in use: nvme
07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:38db]
Kernel driver in use: r8169
|
/etc/environment
Code: |
__NV_PRIME_RENDER_OFFLOAD=1
__GLX_VENDOR_LIBRARY_NAME=nvidia
|
/etc/X11/xorg.conf.d/30-monitor.conf
Code: | Section "Monitor"
Identifier "Monitor0"
VendorName "Moniter Vendor"
ModelName "Monitor Model"
Option "DPMS"
EndSection
Section "ServerLayout"
Identifier "layout"
Screen 0 "Screen0"
Option "AllowNVIDIAGPUScreens"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
BusID "PCI:00:02:0"
Option "AccelMethod" "glamor"
Option "DRI" "3"
Option "TearFree" "true"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:01:00.0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "intel"
GPUDevice "intel"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080"
EndSubSection
EndSection
|
Quote: | xrandr --listproviders | output:
Code: | Provider 0: id: 0x42 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 1 associated providers: 0 name:modesetting
|
~/.xinitrc
Code: |
# set default brightness
light -S 85 &
# set session autolock to 10 mins
xautolock -time 10 -locker slock -detectsleep &
# set cursor size
xrdb ~/.Xresources &
# set background wallpaper
feh --randomize --bg-fill /home/greninja/utils/wallpapers &
# configure dwm status bar
conky | while read -r; do xsetroot -name "$REPLY"; done &
# set night light
xrandr --output eDP-1 --gamma 1.0:0.95:0.89 --brightness 0.90 &
# Enable NVIDIA
xrandr --setprovideroutputsource modesetting NVIDIA-0 &
xrandr --auto &
# start pipewire
gentoo-pipewire-launcher restart &
# start dwm
exec dbus-launch --sh-syntax --exit-with-session ~/.dwm/startdwm.sh
|
~/.local/share/xorg/Xorg.0.log : Xorg.0.log
I don't know why nvidia driver is not being loaded by Xorg? What am I doing wrong?
Last edited by Wadewilson on Sat Apr 06, 2024 6:07 am; edited 1 time in total |
|
Back to top |
|
|
ozcircuit n00b
Joined: 03 Sep 2023 Posts: 34
|
Posted: Sat Feb 17, 2024 4:57 pm Post subject: Nvidia GPU not used by X server with Dual GPU config |
|
|
Hi,
You may check if the nvidia modules drivers are loaded :
lsmod | grep nvidia*
nvidia_drm 81920 0
nvidia_modeset 1261568 1 nvidia_drm
nvidia 55943168 10 nvidia_modeset
drm_kms_helper 192512 3 drm_display_helper,nvidia_drm,i915
drm 618496 17 drm_kms_helper,drm_display_helper,nvidia,drm_buddy,nvidia_drm,i915,ttm
video 69632 3 asus_wmi,i915,nvidia_modeset
i2c_core 110592 10 drm_kms_helper,i2c_algo_bit,at24,drm_display_helper,nvidia,i2c_smbus,i2c_i801,i915,regmap_i2c,drm
==> https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers
and then follow https://wiki.gentoo.org/wiki/Hybrid_graphics and https://wiki.gentoo.org/wiki/NVIDIA/Optimus |
|
Back to top |
|
|
Wadewilson n00b
Joined: 09 Nov 2022 Posts: 46
|
Posted: Sat Feb 17, 2024 5:19 pm Post subject: |
|
|
Hello,
Yes, I have followed the wiki's, you have mentioned and in the same order also.
Quote: | lsmod | grep nvidia* | output:
Code: | nvidia_uvm 1564672 0
nvidia_drm 102400 3
nvidia_modeset 1290240 1 nvidia_drm
nvidia 55484416 12 nvidia_uvm,nvidia_modeset
|
I think the modules are loaded. |
|
Back to top |
|
|
ozcircuit n00b
Joined: 03 Sep 2023 Posts: 34
|
Posted: Sat Feb 17, 2024 6:09 pm Post subject: Nvidia GPU not used by X server with Dual GPU config |
|
|
You may backup your /etc/X11/xorg.conf and run nvidia-xconfig -o /etc/X11/xorg.conf, reload Xorg then check :
xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x1b7 cap: 0x1, Source Output crtcs: 0 outputs: 0 associated providers: 1 name:NVIDIA-0
Provider 1: id: 0x1db cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 2 associated providers: 1 name:modesetting |
|
Back to top |
|
|
netfab Veteran
Joined: 03 Mar 2005 Posts: 1956 Location: 127.0.0.1
|
Posted: Sat Feb 17, 2024 8:49 pm Post subject: |
|
|
Hi,
From Xorg.log :
Code: |
[ 22.263] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
|
What is your kernel ?
Please post the output of :
Code: |
$ zgrep VGA_ARB /proc/config.gz
|
Code: |
# emerge -pv xorg-server
|
|
|
Back to top |
|
|
ozcircuit n00b
Joined: 03 Sep 2023 Posts: 34
|
Posted: Sun Feb 18, 2024 11:23 am Post subject: Nvidia GPU not used by X server with Dual GPU config |
|
|
What are you doing wrong ? Check kernel config, Xorg config and make sure the current user is in the right groups : input and video
In that setup (prime offload), the nvidia(0) card won'f show up in Xorg.0.log only the intel(0) card
Following instructions in https://wiki.gentoo.org/wiki/Intel, I removed xorg.conf and tweaked configuration files in /etc/X11/xorg.conf.d/
ls -al /etc/X11/xorg.conf.d/
total 32
drwxr-xr-x 2 root root 4096 Feb 18 11:27 .
drwxr-xr-x 5 root root 4096 Feb 18 07:27 ..
-rw-r--r-- 1 root root 179 Feb 18 08:30 20-intel.conf
-rw-r--r-- 1 root root 186 Feb 18 08:31 20-modesetting.conf
-rw-r--r-- 1 root root 86 Feb 18 08:38 modesetting.conf
-rw-r--r-- 1 root root 166 May 31 2021 xkb-defaults.conf
Here is the new outout of xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x45 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 3 associated providers: 0 name:Intel
Provider 1: id: 0x86 cap: 0x0 crtcs: 0 outputs: 0 associated providers: 0 name:modesetting
.. and the outut of nvidia-smi when I run glxgears, with the card switched off
nvidia-smi
Sun Feb 18 11:46:29 2024
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.154.05 Driver Version: 535.154.05 CUDA Version: 12.2 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA GeForce 840M Off | 00000000:04:00.0 Off | N/A |
| N/A 48C P5 N/A / 19W | 7MiB / 2048MiB | 2% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 10507 G glxgears 2MiB |
+---------------------------------------------------------------------------------------+
nvidia-smi
Sun Feb 18 11:46:29 2024
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.154.05 Driver Version: 535.154.05 CUDA Version: 12.2 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA GeForce 840M Off | 00000000:04:00.0 Off | N/A |
| N/A 48C P5 N/A / 19W | 7MiB / 2048MiB | 2% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 10507 G glxgears 2MiB |
+---------------------------------------------------------------------------------------+
I guess that the way it is supposed to work ! |
|
Back to top |
|
|
Babiz n00b
Joined: 18 Feb 2024 Posts: 27 Location: Dolomiti, Italy
|
Posted: Sun Feb 18, 2024 6:03 pm Post subject: |
|
|
Hi, I post my experience with PRIME offloading setup, hope will be useful for you, my Dell inspirion 7510 plus is like hybird Intel UHD and Nvidia RTX series, so my trials and errors to get this work trought many distro's, many FAQ and README end up in many CONFUSION.
For me, only right way to get prime offload "activation" is, erase all X11 (/etc/X11) and start Desktop Manager without X11 conf files, like section DEVICE, MONITOR etc...
You can take in account for X system, at modern days, is AUTO CONFIGURE capable, and starting with empty configuration just make it's magic.
Some required Nvidia configuration snippet is already loaded when you installing the propietary Nvidia drivers and you need to leave untouched.
Hurry up and try to look at your Xorg0.log after removing all xorg conf under /etc, and make sure you set kernel value ibt=off (this last is essential on newer 11Th gen Intel Core) for avoid issue
My system detail:
Quote: | Graphics:
Device-1: Intel TigerLake-H GT1 [UHD Graphics] driver: i915 v: kernel
Device-2: NVIDIA GA107M [GeForce RTX 3050 Mobile] driver: nvidia
v: 535.154.05
Device-3: Realtek Integrated_Webcam_HD driver: uvcvideo type: USB
Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4 driver: X:
loaded: modesetting,nvidia dri: iris gpu: i915 resolution: 1: N/A
2: 1920x1080~60Hz
API: EGL v: 1.5 drivers: iris,nvidia,swrast
platforms: gbm,x11,surfaceless,device
API: OpenGL v: 4.6 vendor: intel mesa v: 23.3.1 renderer: Mesa Intel UHD
Graphics (TGL GT1)
API: Vulkan v: 1.3.268 drivers: intel,nvidia surfaces: xcb,xlib
|
If you call Code: | prime-run inxi -GAz |
Quote: |
API: OpenGL v: 4.6.0 vendor: nvidia v: 535.154.05 renderer: NVIDIA
GeForce RTX 3050 Laptop GPU/PCIe/SSE2
API: Vulkan v: 1.3.268 drivers: nvidia,intel surfaces: xcb,xlib |
Show drivers provider change to nvidia, so you call your app 3D power needed by run "prime-run" or manual variable set according to NVIDIA README. |
|
Back to top |
|
|
ozcircuit n00b
Joined: 03 Sep 2023 Posts: 34
|
Posted: Mon Feb 19, 2024 12:32 pm Post subject: Nvidia GPU not used by X server with Dual GPU config |
|
|
HI,
Solved by removing xorg.conf file and running nvidia-xconfig --prime from guide.
Both cards are listed as such :
Providers: number : 2
Provider 0: id: 0x1b7 cap: 0x1, Source Output crtcs: 0 outputs: 0 associated providers: 1 name:NVIDIA-0
Provider 1: id: 0x1dd cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 3 associated providers: 1 name:Intel
Prefer sway Wayland compositor now
Bye |
|
Back to top |
|
|
Wadewilson n00b
Joined: 09 Nov 2022 Posts: 46
|
Posted: Sat Feb 24, 2024 7:55 am Post subject: |
|
|
Hello netfab, Thanks for the reply,
netfab wrote: |
Code: |
$ zgrep VGA_ARB /proc/config.gz
|
|
Code: |
CONFIG_VGA_ARB=y
CONFIG_VGA_ARB_MAX_GPUS=2
|
Code: |
wheel cron video usb input users plugdev pipewire greninja
|
netfab wrote: |
Code: |
# emerge -pv xorg-server
|
|
Code: |
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 1.88 s (backtrack: 0/20).
[ebuild R ] x11-base/xorg-server-21.1.11:0/21.1.11::gentoo USE="elogind udev xorg xvfb -debug -minimal (-selinux) -suid -systemd -test -unwind -xcsecurity -xephyr -xnest" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB
* IMPORTANT: 8 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
|
|
|
Back to top |
|
|
netfab Veteran
Joined: 03 Mar 2005 Posts: 1956 Location: 127.0.0.1
|
Posted: Sat Feb 24, 2024 8:08 pm Post subject: |
|
|
Please also post your :
From https://www.linuxfromscratch.org/blfs/view/stable/x/xorg-config.html :
Quote: |
(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
This warning is displayed when a regular user starts Xorg. The library libpciaccess.so issues this warning when it tries to open /dev/vga_arbiter. If there is no more than one legacy PCI (not PCIe) graphic cards on the system, it can safely be ignored. If really necessary, the permissions of this device can be changed by adding a udev rule and adding the local user to the video group. As the root user:
Code: |
cat > /etc/udev/rules.d/99-vga-arbiter.rules << EOF
# /etc/udev/rules.d/99-vga-arbiter.rules: Set vga_arbiter group/mode
ACTION=="add", KERNEL=="vga_arbiter", GROUP="video" MODE="0660"
EOF
|
|
You should try to create this udev rules file (and reboot) to see if this changes anything. |
|
Back to top |
|
|
Wadewilson n00b
Joined: 09 Nov 2022 Posts: 46
|
Posted: Fri Mar 29, 2024 8:34 am Post subject: |
|
|
Hello netfab,
Code: | Portage 3.0.63 (python 3.11.8-final-0, default/linux/amd64/17.1/desktop, gcc-13, glibc-2.39-r2, 6.8.0-gentoo x86_64)
=================================================================
System uname: Linux-6.8.0-gentoo-x86_64-Intel-R-_Core-TM-_i5-10300H_CPU_@_2.50GHz-with-glibc2.39
KiB Mem: 24491392 total, 22563708 free
KiB Swap: 16777212 total, 16777212 free
Timestamp of repository gentoo: Fri, 29 Mar 2024 02:00:00 +0000
Head commit of repository gentoo: 0ff7a9af7dc83572df7a8244a19b86f2b8723a15
Timestamp of repository guru: Thu, 28 Mar 2024 22:48:29 +0000
Head commit of repository guru: c5e79fe81af3fe8b7c90123a482acdd6fe7196ab
Timestamp of repository waffle-builds: Tue, 26 Mar 2024 18:03:36 +0000
Head commit of repository waffle-builds: 16f11fbd5174d4c4c6930ec8f29029dd5473a463
sh bash 5.2_p26
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.2_p26::gentoo
dev-build/autoconf: 2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.29.0::gentoo
dev-build/libtool: 2.4.7-r2::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.4.0-r1::gentoo
dev-lang/perl: 5.38.2-r2::gentoo
dev-lang/python: 3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust-bin: 1.76.0::gentoo
sys-apps/baselayout: 2.15::gentoo
sys-apps/openrc: 0.53::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-devel/binutils: 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang: 17.0.6::gentoo, 18.1.2::gentoo
sys-devel/gcc: 13.2.1_p20240210::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/lld: 17.0.6::gentoo, 18.1.2::gentoo
sys-devel/llvm: 17.0.6::gentoo, 18.1.2::gentoo
sys-kernel/linux-headers: 6.7::gentoo (virtual/os-headers)
sys-libs/glibc: 2.39-r2::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: False
sync-rsync-verify-max-age: 24
sync-rsync-extra-opts:
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-jobs: 1
greninja
location: /var/db/repos/greninja
masters: gentoo
volatile: False
guru
location: /var/db/repos/guru
sync-type: git
sync-uri: https://github.com/gentoo-mirror/guru.git
masters: gentoo
volatile: False
waffle-builds
location: /var/db/repos/waffle-builds
sync-type: git
sync-uri: https://github.com/gentoo-mirror/waffle-builds.git
masters: gentoo
volatile: False
Binary Repositories:
gentoobinhost
priority: 1
sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -mtune=skylake -O2 -pipe -fomit-frame-pointer -flto"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=skylake -mtune=skylake -O2 -pipe -fomit-frame-pointer -flto"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=skylake -mtune=skylake -O2 -pipe -fomit-frame-pointer -flto"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr"
FFLAGS="-march=skylake -mtune=skylake -O2 -pipe -fomit-frame-pointer -flto"
GENTOO_MIRRORS="https://mirrors.nxtgen.com/gentoo-mirror/gentoo-source/ https://ftp.jaist.ac.jp/pub/Linux/Gentoo/ https://mirror.yandex.ru/gentoo-distfiles/ https://gentoo.osuosl.org/ https://mirrors.mit.edu/gentoo-distfiles/"
LANG="en_IN.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j9"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cli crypt dbus dri dts elogind encode exif flac fortran gdbm gif gtk gui iconv icu intel ipv6 jpeg lcms libinput libnotify libtirpc lto mad mng mp3 mp4 mpeg multilib ncurses nvenc ogg opengl openmp pam pango pcre pdf pgo png policykit pulseaudio readline sdl seccomp sound spell split-usr ssl startup-notification svg test-rust truetype udev udisks unicode upower usb vaapi vdpau vorbis vulkan wxwidgets x264 xattr xcb xft xml xv xvid zlib zsh-completion zstd" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="intel nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
|
New Xorg log based the udev rules suggested : Xorg.0.log
Some concerning warnings:
Code: | (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 13.053] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[ 13.053] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 13.053] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 13.053] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 13.119] (WW) Falling back to old probe method for modesetting
[ 13.884] (WW) NVIDIA(G0): Unable to get display device for DPI computation.
[ 14.454] (WW) modeset(0): Option "DRI" is not used
[ 14.454] (WW) modeset(0): Option "TearFree" is not used
[ 14.454] (WW) NVIDIA: Failed to bind sideband socket to
[ 14.454] (WW) NVIDIA: '/var/run/nvidia-xdriver-89106e2a' Permission denied
|
Also, I have disabled Intel Management Engine by disabling the drivers required for it in the kernel config.
Can that be a reason for this not working? |
|
Back to top |
|
|
netfab Veteran
Joined: 03 Mar 2005 Posts: 1956 Location: 127.0.0.1
|
Posted: Fri Mar 29, 2024 12:11 pm Post subject: |
|
|
From your Xorg log :
Quote: |
[ 13.039] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.8.0-gentoo root=PARTUUID=4a5f5d65-81be-e24d-bedc-aeb2f0b24295 ro i8042.nopnp mmio_stale_data=full libata.noacpi=1 resume=PARTUUID=c302ea25-d8e2-064e-8ebd-c79276fad2cc drm.edid_firmware=edid/1920x1080_BOE08E8.bin
|
Please post the output of :
Code: |
# cat /sys/module/nvidia_drm/parameters/modeset
|
Add this to your kernel parameters and reboot :
Code: |
nvidia-drm.modeset=1
|
|
|
Back to top |
|
|
Wadewilson n00b
Joined: 09 Nov 2022 Posts: 46
|
Posted: Sat Mar 30, 2024 7:09 am Post subject: |
|
|
Hello netfab,
After adding Quote: | nvidia_drm.modeset=1 |
Quote: | cat /sys/module/nvidia_drm/parameters/modeset |
New xorg log : https://pastebin.com/bbxzWwqY
No concerning warning in the new logs.
Quote: | glxinfo | grep OpenGL |
Code: | OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 1650/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 550.67
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 550.67
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 550.67
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
|
Here, it says nvidia gpu is used for rendering. And X is loaded on intel. I verified with intel_gpu_top.
intel_gpu_top shows a new process now called GPU_process. I am assuming this is offloading to nvidia gpu. Can you confirm on this, netfab?
Quote: | cat /etc/environment |
Code: | __NV_PRIME_RENDER_OFFLOAD=1
__GLX_VENDOR_LIBRARY_NAME=nvidia
|
But there is still this concern I see on inxi,
Code: | Graphics:
Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: Lenovo driver: i915
v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
active: eDP-1 empty: none bus-ID: 00:02.0 chip-ID: 8086:9bc4
class-ID: 0300
Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Lenovo
driver: nvidia v: 550.67 alternate: nvidia_drm non-free: 545.xx+
status: current (as of 2024-02; EOL~2026-12-xx) arch: Turing code: TUxxx
process: TSMC 12nm FF built: 2018-2022 pcie: gen: 1 speed: 2.5 GT/s
lanes: 16 link-max: gen: 3 speed: 8 GT/s ports: active: none
empty: DP-1,HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:1f99 class-ID: 0300
Device-3: Chicony Integrated Camera driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-6:2 chip-ID: 04f2:b6c2
class-ID: 0e02 serial: <filter>
Display: server: X.org v: 1.21.1.11 driver: X: loaded: modesetting
unloaded: nvidia dri: iris gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-size: <missing: xdpyinfo>
Monitor-1: eDP-1 model: BOE Display 0x08e8 built: 2019 res: 1920x1080
hz: 120 dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64")
diag: 395mm (15.5") ratio: 16:9 modes: 1920x1080
API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
drv: nvidia device: 1 drv: iris device: 3 drv: swrast gbm: drv: iris
surfaceless: drv: nvidia x11: drv: iris inactive: device-2
API: OpenGL v: 4.6.0 vendor: nvidia v: 550.67 glx-v: 1.4
direct-render: yes renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
memory: 3.91 GiB
|
The output shows that nvidia driver is not loaded.
Quote: | xrandr --listproviders |
Code: | Providers: number : 2
Provider 0: id: 0x42 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 1 associated providers: 1 name:modesetting
Provider 1: id: 0xf9 cap: 0x2, Sink Output crtcs: 4 outputs: 2 associated providers: 1 name:modesetting
|
Provider 1 which I think is nvidia gpu is showing name as modesetting instead of NVIDIA-G0
Attaching the xorg config for reference, no changes made to it since this post was made months ago.
Quote: | /etc/X11/xorg.conf.d/30-monitor.conf |
Code: |
Section "Monitor"
Identifier "Monitor0"
VendorName "Moniter Vendor"
ModelName "Monitor Model"
Option "DPMS"
EndSection
Section "ServerLayout"
Identifier "layout"
Screen 0 "Screen0"
Inactive "nvidia"
Option "AllowNVIDIAGPUScreens"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
BusID "PCI:00:02:0"
Option "AccelMethod" "glamor"
Option "DRI" "3"
Option "TearFree" "true"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:01:00.0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "intel"
GPUDevice "intel"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080"
EndSubSection
EndSection
|
|
|
Back to top |
|
|
netfab Veteran
Joined: 03 Mar 2005 Posts: 1956 Location: 127.0.0.1
|
Posted: Sat Mar 30, 2024 9:27 am Post subject: |
|
|
Wadewilson wrote: |
Attaching the xorg config for reference, no changes made to it since this post was made months ago.
|
If you really want to keep your xorg configuration file, you should remove these lines :
Code: |
Inactive "nvidia"
...
GPUDevice "intel"
|
You are saying that the nvidia card is inactive, so xorg is unloading the nvidia driver.
From your xorg log :
Quote: |
[ 23.433] (**) |-->Inactive Device "nvidia"
[ 23.502] (II) LoadModule: "nvidia"
...
[ 23.608] (II) UnloadModule: "nvidia"
[ 23.608] (II) Unloading nvidia
|
I think you should try without it : remove this xorg configuration file and reboot. Xorg will then autodetect everything and the nvidia driver should configure itself like it should.
You should have something like this :
Quote: |
# xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x45 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 2 outputs: 5 associated providers: 1 name:modesetting
Provider 1: id: 0x214 cap: 0x2, Sink Output crtcs: 4 outputs: 9 associated providers: 1 name:NVIDIA-G0
|
Once you'll get that, you can test everything using glxgears (from x11-apps/mesa-progs) and nvidia-smi utilities.
Code: |
$ nvidia-smi
Sat Mar 30 10:10:07 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.67 Driver Version: 550.67 CUDA Version: 12.4 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce GTX 950 Off | 00000000:01:00.0 Off | N/A |
| 0% 41C P8 13W / 110W | 11MiB / 2048MiB | 1% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 2641 G /usr/bin/X 4MiB |
| 0 N/A N/A 6979 G glxgears 1MiB |
+-----------------------------------------------------------------------------------------+
|
|
|
Back to top |
|
|
Wadewilson n00b
Joined: 09 Nov 2022 Posts: 46
|
Posted: Sun Mar 31, 2024 11:00 am Post subject: |
|
|
Hello Netfab,
I have made the changes to Xorg config you have suggested but still facing some the same issue of nvidia module not loading.
Xorg log : https://pastebin.com/0PXt43cF
Code: |
[ 17220.907] (**) |-->Screen "Screen0" (0)
[ 17220.907] (**) | |-->Monitor "Monitor0"
[ 17220.907] (**) | |-->Device "intel"
[ 17220.907] (**) | |-->GPUDevice "nvidia"
..
..
..
..
[ 17220.925] (II) LoadModule: "nvidia"
[ 17220.925] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 17220.926] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 17220.926] (II) NVIDIA dlloader X Driver 550.67 Tue Mar 12 23:32:46 UTC 2024
[ 17220.926] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
..
..
..
..
[ 17220.968] (II) UnloadModule: "nvidia"
[ 17220.968] (II) Unloading nvidia
|
Still shows that nvidia is not loaded.
Code: |
Graphics:
Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: Lenovo driver: i915
v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
active: eDP-1 empty: none bus-ID: 00:02.0 chip-ID: 8086:9bc4
class-ID: 0300
Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Lenovo
driver: nvidia v: 550.67 alternate: nvidia_drm non-free: 545.xx+
status: current (as of 2024-02; EOL~2026-12-xx) arch: Turing code: TUxxx
process: TSMC 12nm FF built: 2018-2022 pcie: gen: 1 speed: 2.5 GT/s
lanes: 16 link-max: gen: 3 speed: 8 GT/s ports: active: none
empty: DP-1,HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:1f99 class-ID: 0300
Device-3: Chicony Integrated Camera driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-6:2 chip-ID: 04f2:b6c2
class-ID: 0e02 serial: <filter>
Display: server: X.org v: 1.21.1.11 driver: X: loaded: modesetting
unloaded: nvidia dri: iris gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-size: <missing: xdpyinfo>
Monitor-1: eDP-1 model: BOE Display 0x08e8 built: 2019 res: 1920x1080
hz: 120 dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64")
diag: 395mm (15.5") ratio: 16:9 modes: 1920x1080
API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
drv: nvidia device: 1 drv: iris device: 3 drv: swrast gbm: drv: iris
surfaceless: drv: nvidia x11: drv: iris inactive: device-2
API: OpenGL v: 4.6.0 vendor: nvidia v: 550.67 glx-v: 1.4
direct-render: yes renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
memory: 3.91 GiB
|
When I run glxgears it runs on nvidia as you have mentioned but Graphics for X does not.
Code: |
Sun Mar 31 16:22:25 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.67 Driver Version: 550.67 CUDA Version: 12.4 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce GTX 1650 Off | 00000000:01:00.0 Off | N/A |
| N/A 51C P8 4W / 35W | 21MiB / 4096MiB | 20% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 25155 G glxgears 14MiB |
+-----------------------------------------------------------------------------------------+
|
Code: |
Section "Monitor"
Identifier "Monitor0"
VendorName "Moniter Vendor"
ModelName "Monitor Model"
Option "DPMS"
EndSection
Section "ServerLayout"
Identifier "layout"
Screen 0 "Screen0"
Option "AllowNVIDIAGPUScreens"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
BusID "PCI:00:02:0"
Option "AccelMethod" "glamor"
Option "DRI" "3"
Option "TearFree" "true"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:01:00.0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "intel"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080"
EndSubSection
EndSection
|
Also, using prime-run to run apps still runs them on intel and not nvidia. I tried for firefox and it was still using intel GPU. |
|
Back to top |
|
|
netfab Veteran
Joined: 03 Mar 2005 Posts: 1956 Location: 127.0.0.1
|
Posted: Sun Mar 31, 2024 5:36 pm Post subject: |
|
|
From your log :
Quote: |
[ 17220.924] (II) LoadModule: "modesetting"
[ 17220.925] (II) LoadModule: "nvidia"
[...]
[ 17220.926] (II) modeset(0): using drv /dev/dri/card0
[ 17220.926] (II) modeset(G0): using drv /dev/dri/card1
[...]
[ 17220.968] (II) UnloadModule: "nvidia"
[ 17220.968] (II) Unloading nvidia
|
The modeset driver is loaded first and is claiming both cards.
So xorg finally unloads the nvidia driver because it is not used.
On my system, where I do not have any xorg configuration file :
Code: |
[ 19.680] (II) Applying OutputClass "nvidia" to /dev/dri/card1
[ 19.680] loading driver: nvidia
[ 19.680] (==) Matched intel as autoconfigured driver 0
[ 19.680] (==) Matched nvidia as autoconfigured driver 1
[ 19.680] (==) Matched nouveau as autoconfigured driver 2
[ 19.680] (==) Matched nv as autoconfigured driver 3
[ 19.680] (==) Matched modesetting as autoconfigured driver 4
[ 19.680] (==) Matched fbdev as autoconfigured driver 5
[ 19.680] (==) Matched vesa as autoconfigured driver 6
[...]
[ 19.680] (II) LoadModule: "nvidia"
[...]
[ 19.686] (II) LoadModule: "modesetting"
[...]
[ 19.722] (II) modeset(0): using drv /dev/dri/card0
|
You can see that the nvidia driver is loaded first, so the modeset driver can claim only the first card.
Instead of :
Code: |
Section "Device"
Identifier "nvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:01:00.0"
EndSection
|
Try this :
Code: |
Section "OutputClass"
Identifier "nvidia"
BusID "PCI:01:00.0"
MatchDriver "nvidia-drm"
Driver "nvidia"
Endsection
|
If that does not work, please try by removing your xorg configuration file, at least to see if xorg autodetection is working. |
|
Back to top |
|
|
Wadewilson n00b
Joined: 09 Nov 2022 Posts: 46
|
Posted: Sat Apr 06, 2024 5:56 am Post subject: |
|
|
Hello netfab, Thanks a lot, tried the modifcation suggested to the xorg config but that didn't work.
Finally, removed the xorg config file and everything is working fine as expected. I just can't believe it. When I first setup gentoo xorg was not working properly, hence configured the xorg config file. |
|
Back to top |
|
|
netfab Veteran
Joined: 03 Mar 2005 Posts: 1956 Location: 127.0.0.1
|
Posted: Sat Apr 06, 2024 7:35 am Post subject: |
|
|
Wadewilson wrote: | Hello netfab, Thanks a lot, tried the modifcation suggested to the xorg config but that didn't work.
Finally, removed the xorg config file and everything is working fine as expected. |
On one of my systems, all the tests I did with a configuration file to setup dual GPU with nvidia prime failed, even by following configuration examples found on wikis and/or nvidia documentation.
The only way I found to get it working is to get rid of any related xorg configuration and let xorg autodetection do its work. That's magic. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|