You are not logged in.

#1 2023-05-16 14:44:22

A_Arch_Linux_User999
Member
Registered: 2023-05-16
Posts: 21

Force every app to use iGPU instead of dGPU on laptop.

Hello, I've been having an issue with GNOME Shell and NVIDIA drivers.

I have a laptop with an Intel iGPU, NVIDIA dGPU with the display attached to the Intel iGPU. However despite my best efforts, gnome-shell continues to run on my NVIDIA GPU eating up all of my battery life. I would like to have my machine run everything on the Intel iGPU unless I specifically use prime-run or "Launch with Discrete Graphics Card". Steam also seems to run with NVIDIA GPU.

My Intel iGPU is card0
My NVIDIA dGPU is card1

My information comes from NVIDIA-smi and intel_gpu_top

I have tried:
-Removing kernel nvidia_drm.modeset=1
-Adding a udev rule with 'ENV{DEVNAME}=="/dev/dri/card0", TAG+="mutter-device-preferred-primary"'
-Adding Intel Xorg config (note, I am on wayland, this was just to be sure **and it does seem like Xwayland DOES run on Intel iGPU**)
-Installing all Intel drivers (i.e. mesa, intel-vulkan and their lib32 versions)

Having NVIDIA GPU do all of this unnecessary work is really killing my battery life. I'd mostly like to have the GPU off unless I'm specifically choosing to use it for a specific app.

Offline

#2 2023-05-16 14:45:56

A_Arch_Linux_User999
Member
Registered: 2023-05-16
Posts: 21

Re: Force every app to use iGPU instead of dGPU on laptop.

Neofetch:
                                         OS: Arch Linux x86_64
                `+oooo:                  Host: ...
               `+oooooo:                 Kernel: 6.3.2-arch1-1
               -+oooooo+:                Uptime: ...
             `/:-:++oooo+:               Packages: ...
            `/++++/+++++++:              Shell: bash ...
           `/++++++++++++++:             Resolution: ...
          `/+++ooooooooooooo/`           DE: GNOME 44.1
         ./ooosssso++osssssso+`          WM: Mutter
        .oossssso-````/ossssss+`         WM Theme: Adwaita
       -osssssso.      :ssssssso.        Theme: Adwaita [GTK2/3]
      :osssssss/        osssso+++.       Icons: Adwaita [GTK2/3]
     /ossssssss/        +ssssooo/-       Terminal: kgx
   `/ossssso+/:-        -:/+osssso+-     CPU: 11th Gen Intel i7-11800H (16) @ 4.600GHz
  `+sso+:-`                 `.-/+oso:    GPU: Intel TigerLake-H GT1 [UHD Graphics]
`++:.                           `-/+/   GPU: NVIDIA GeForce RTX 3070 Mobile / Max-Q
.`                                 `/   Memory: ...

Offline

#3 2023-05-17 11:27:04

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,893

Re: Force every app to use iGPU instead of dGPU on laptop.

This has all the signs of an Optimus/PRIME system . have you checked https://wiki.archlinux.org/title/NVIDIA_Optimus ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#4 2023-05-17 11:32:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,104

Re: Force every app to use iGPU instead of dGPU on laptop.

While mentioned as not having helped for GNOME in particular, see this thread and respons for another avenue to try: https://bbs.archlinux.org/viewtopic.php … 7#p2094847

Offline

#5 2023-05-17 15:16:33

A_Arch_Linux_User999
Member
Registered: 2023-05-16
Posts: 21

Re: Force every app to use iGPU instead of dGPU on laptop.

Lone_Wolf wrote:

This has all the signs of an Optimus/PRIME system . have you checked https://wiki.archlinux.org/title/NVIDIA_Optimus ?

To be clear: my multi-gpu setup works fine.

Prime-run works as expected, many applications like Firefox run under the iGPU unless launched with prime-run or the dedicated graphics option in gnome, and my system is stable under Wayland (however X support is actually **BROKEN** and won't launch anyone which sucks as I actually need native xorg in order to run a specific app as Xwayland has an issue where it'll only update the window surface if I go into the activities menu where you can see all applications).

My problem is that gnome-shell runs under the NVIDIA dGPU and has turned the battery life of my system into less than an hour in some cases. I want gnome-shell to run under the Intel iGPU and for the GPU to be powered off unless I launch an app with it.
Step 1 is, of course, to get gnome-shell running under my Intel iGPU which I haven't been able to successfully do yet.

Offline

#6 2023-05-17 15:20:21

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: Force every app to use iGPU instead of dGPU on laptop.

Offline

#7 2023-05-17 15:31:50

A_Arch_Linux_User999
Member
Registered: 2023-05-16
Posts: 21

Re: Force every app to use iGPU instead of dGPU on laptop.

About the Xorg issue, after making that post I went into the Xorg log and found that it was complaining about No Screens and the lack of an Intel module. I installed the xorg-drivers and got Xorg to work and run only under Intel. Great!



Now my USB mouse doesn't work even in the Wayland-based GDM... (although my touchpad does)
and I want Wayland and not just Xorg to run on the iGPU...

Here is my Xorg log:

[    18.751] Current Operating System: Linux [REDACTED] 6.3.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 11 May 2023 16:40:42 +0000 x86_64
[    18.751] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=[REDACTED] rw loglevel=3 nvidia-drm.modeset=1
[    18.751]  
[    18.751] Current version of pixman: 0.42.2
[    18.751] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    18.751] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    18.751] (==) Log file: "/var/log/Xorg.0.log", Time: Wed May 17 11:23:57 2023
[    18.752] (==) Using config file: "/etc/X11/xorg.conf"
[    18.752] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    18.752] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    18.753] (==) No Layout section.  Using the first Screen section.
[    18.753] (==) No screen section available. Using defaults.
[    18.753] (**) |-->Screen "Default Screen Section" (0)
[    18.753] (**) |   |-->Monitor "<default monitor>"
[    18.753] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    18.753] (**) |   |-->Device "Intel Graphics"
[    18.753] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    18.753] (==) Automatically adding devices
[    18.753] (==) Automatically enabling devices
[    18.753] (==) Automatically adding GPU devices
[    18.753] (==) Automatically binding GPU devices
[    18.753] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    18.753] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    18.753] 	Entry deleted from font path.
[    18.753] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[    18.753] 	Entry deleted from font path.
[    18.753] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    18.753] 	Entry deleted from font path.
[    18.753] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    18.753] 	Entry deleted from font path.
[    18.753] (==) FontPath set to:
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[    18.753] (==) ModulePath set to "/usr/lib/xorg/modules"
[    18.753] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    18.753] (II) Module ABI versions:
[    18.753] 	X.Org ANSI C Emulation: 0.4
[    18.753] 	X.Org Video Driver: 25.2
[    18.753] 	X.Org XInput driver : 24.4
[    18.753] 	X.Org Server Extension : 10.0
[    18.753] (++) using VT number 2

[    18.755] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_33
[    18.755] (II) xfree86: Adding drm device (/dev/dri/card1)
[    18.755] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
[    18.756] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 14 paused 0
[    18.756] (II) xfree86: Adding drm device (/dev/dri/card0)
[    18.756] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[    18.756] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 15 paused 0
[    18.758] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[    18.758] (--) PCI:*(0@0:2:0) 8086:9a60:103c:88fd rev 1, Mem @ 0x622e000000/16777216, 0x4000000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[    18.759] (--) PCI: (1@0:0:0) 10de:24dd:103c:88fd rev 161, Mem @ 0x79000000/16777216, 0x6000000000/8589934592, 0x6200000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[    18.759] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    18.759] (II) LoadModule: "glx"
[    18.759] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    18.761] (II) Module glx: vendor="X.Org Foundation"
[    18.761] 	compiled for 1.21.1.8, module version = 1.0.0
[    18.761] 	ABI class: X.Org Server Extension, version 10.0
[    18.761] (II) LoadModule: "intel"
[    18.761] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    18.762] (II) Module intel: vendor="X.Org Foundation"
[    18.762] 	compiled for 1.21.1.6, module version = 2.99.917
[    18.762] 	Module class: X.Org Video Driver
[    18.762] 	ABI class: X.Org Video Driver, version 25.2
[    18.762] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[    18.762] (II) intel: Driver for Intel(R) HD Graphics
[    18.762] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[    18.762] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[    18.762] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20201103
[    18.762] (II) intel(0): SNA compiled from 2.99.917-923-gb74b67f0
[    18.763] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics
[    18.763] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 8 threads
[    18.763] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    18.763] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    18.763] (==) intel(0): RGB weight 888
[    18.763] (==) intel(0): Default visual is TrueColor
[    18.764] (II) intel(0): Output eDP1 has no monitor section
[    18.765] (--) intel(0): Found backlight control interface nvidia_wmi_ec_backlight (type 'firmware') for output eDP1
[    18.765] (II) intel(0): Enabled output eDP1
[    18.765] (II) intel(0): Output DP1 has no monitor section
[    18.765] (II) intel(0): Enabled output DP1
[    18.765] (II) intel(0): Output HDMI1 has no monitor section
[    18.765] (II) intel(0): Enabled output HDMI1
[    18.765] (II) intel(0): Output DP2 has no monitor section
[    18.765] (II) intel(0): Enabled output DP2
[    18.765] (II) intel(0): Output DP3 has no monitor section
[    18.765] (II) intel(0): Enabled output DP3
[    18.765] (II) intel(0): Output DP4 has no monitor section
[    18.765] (II) intel(0): Enabled output DP4
[    18.765] (II) intel(0): Output DP5 has no monitor section
[    18.765] (II) intel(0): Enabled output DP5
[    18.765] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[    18.765] (II) intel(0): Output VIRTUAL1 has no monitor section
[    18.765] (II) intel(0): Enabled output VIRTUAL1
[    18.765] (--) intel(0): Output eDP1 using initial mode 2560x1440 on pipe 0
[    18.765] (==) intel(0): TearFree enabled
[    18.765] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[    18.765] (==) intel(0): DPI set to (96, 96)
[    18.765] (II) Loading sub module "dri3"
[    18.765] (II) LoadModule: "dri3"
[    18.765] (II) Module "dri3" already built-in
[    18.765] (II) Loading sub module "dri2"
[    18.765] (II) LoadModule: "dri2"
[    18.765] (II) Module "dri2" already built-in
[    18.765] (II) Loading sub module "present"
[    18.765] (II) LoadModule: "present"
[    18.765] (II) Module "present" already built-in
[    18.766] (II) intel(0): SNA initialized with generic backend
[    18.766] (==) intel(0): Backing store enabled
[    18.766] (==) intel(0): Silken mouse enabled
[    18.766] (II) intel(0): HW Cursor enabled
[    18.766] (==) intel(0): DPMS enabled
[    18.766] (==) intel(0): Display hotplug detection enabled
[    18.766] (II) intel(0): Textured video not supported on this hardware or backend
[    18.767] (II) intel(0): [DRI2] Setup complete
[    18.767] (II) intel(0): [DRI2]   DRI driver: i965
[    18.767] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[    18.767] (II) intel(0): direct rendering: DRI2 DRI3 enabled
[    18.767] (II) intel(0): hardware support for Present enabled
[    18.767] (II) Initializing extension Generic Event Extension
[    18.767] (II) Initializing extension SHAPE
[    18.767] (II) Initializing extension MIT-SHM
[    18.767] (II) Initializing extension XInputExtension
[    18.767] (II) Initializing extension XTEST
[    18.767] (II) Initializing extension BIG-REQUESTS
[    18.767] (II) Initializing extension SYNC
[    18.767] (II) Initializing extension XKEYBOARD
[    18.767] (II) Initializing extension XC-MISC
[    18.767] (II) Initializing extension SECURITY
[    18.767] (II) Initializing extension XFIXES
[    18.768] (II) Initializing extension RENDER
[    18.768] (II) Initializing extension RANDR
[    18.768] (II) Initializing extension COMPOSITE
[    18.768] (II) Initializing extension DAMAGE
[    18.768] (II) Initializing extension MIT-SCREEN-SAVER
[    18.768] (II) Initializing extension DOUBLE-BUFFER
[    18.768] (II) Initializing extension RECORD
[    18.768] (II) Initializing extension DPMS
[    18.768] (II) Initializing extension Present
[    18.768] (II) Initializing extension DRI3
[    18.768] (II) Initializing extension X-Resource
[    18.768] (II) Initializing extension XVideo
[    18.768] (II) Initializing extension XVideo-MotionCompensation
[    18.768] (II) Initializing extension GLX
[    18.768] (EE) AIGLX error: dlopen of /usr/lib/dri/i965_dri.so failed (/usr/lib/dri/i965_dri.so: cannot open shared object file: No such file or directory)
[    18.768] (EE) AIGLX error: unable to load driver i965
[    18.790] (II) IGLX: Loaded and initialized swrast
[    18.790] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    18.790] (II) Initializing extension XFree86-VidModeExtension
[    18.790] (II) Initializing extension XFree86-DGA
[    18.790] (II) Initializing extension XFree86-DRI
[    18.790] (II) Initializing extension DRI2
[    18.793] (II) intel(0): switch to mode 2560x1440@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[    18.806] (II) intel(0): Setting screen physical size to 677 x 381
[    18.846] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[    18.846] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    18.846] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    18.846] (II) LoadModule: "libinput"
[    18.846] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    18.848] (II) Module libinput: vendor="X.Org Foundation"
[    18.848] 	compiled for 1.21.1.8, module version = 1.3.0
[    18.848] 	Module class: X.Org XInput Driver
[    18.848] 	ABI class: X.Org XInput driver, version 24.4
[    18.848] (II) Using input driver 'libinput' for 'Power Button'
[    18.849] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 28 paused 0
[    18.849] (**) Power Button: always reports core events
[    18.849] (**) Option "Device" "/dev/input/event2"
[    18.850] (II) event2  - Power Button: is tagged by udev as: Keyboard
[    18.850] (II) event2  - Power Button: device is a keyboard
[    18.850] (II) event2  - Power Button: device removed
[    18.850] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[    18.850] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    18.851] (II) event2  - Power Button: is tagged by udev as: Keyboard
[    18.851] (II) event2  - Power Button: device is a keyboard
[    18.851] (II) config/udev: Adding input device Video Bus (/dev/input/event7)
[    18.851] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    18.851] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    18.851] (II) Using input driver 'libinput' for 'Video Bus'
[    18.852] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 31 paused 0
[    18.852] (**) Video Bus: always reports core events
[    18.852] (**) Option "Device" "/dev/input/event7"
[    18.852] (II) event7  - Video Bus: is tagged by udev as: Keyboard
[    18.852] (II) event7  - Video Bus: device is a keyboard
[    18.852] (II) event7  - Video Bus: device removed
[    18.852] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input32/event7"
[    18.852] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    18.853] (II) event7  - Video Bus: is tagged by udev as: Keyboard
[    18.853] (II) event7  - Video Bus: device is a keyboard
[    18.853] (II) config/udev: Adding input device Video Bus (/dev/input/event6)
[    18.853] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    18.853] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    18.853] (II) Using input driver 'libinput' for 'Video Bus'
[    18.854] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 32 paused 0
[    18.854] (**) Video Bus: always reports core events
[    18.854] (**) Option "Device" "/dev/input/event6"
[    18.854] (II) event6  - Video Bus: is tagged by udev as: Keyboard
[    18.854] (II) event6  - Video Bus: device is a keyboard
[    18.854] (II) event6  - Video Bus: device removed
[    18.854] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/LNXVIDEO:00/input/input31/event6"
[    18.854] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[    18.855] (II) event6  - Video Bus: is tagged by udev as: Keyboard
[    18.855] (II) event6  - Video Bus: device is a keyboard
[    18.855] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    18.855] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    18.855] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    18.855] (II) Using input driver 'libinput' for 'Power Button'
[    18.856] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 33 paused 0
[    18.856] (**) Power Button: always reports core events
[    18.856] (**) Option "Device" "/dev/input/event1"
[    18.857] (II) event1  - Power Button: is tagged by udev as: Keyboard
[    18.857] (II) event1  - Power Button: device is a keyboard
[    18.857] (II) event1  - Power Button: device removed
[    18.857] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1"
[    18.857] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 9)
[    18.858] (II) event1  - Power Button: is tagged by udev as: Keyboard
[    18.858] (II) event1  - Power Button: device is a keyboard
[    18.858] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[    18.858] (II) No input driver specified, ignoring this device.
[    18.858] (II) This device may have been added with another device file.
[    18.858] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event5)
[    18.858] (II) No input driver specified, ignoring this device.
[    18.858] (II) This device may have been added with another device file.
[    18.859] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event17)
[    18.859] (II) No input driver specified, ignoring this device.
[    18.859] (II) This device may have been added with another device file.
[    18.859] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event18)
[    18.859] (II) No input driver specified, ignoring this device.
[    18.859] (II) This device may have been added with another device file.
[    18.859] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event19)
[    18.859] (II) No input driver specified, ignoring this device.
[    18.859] (II) This device may have been added with another device file.
[    18.860] (II) config/udev: Adding input device PRiMAX HP OMEN 16 KBM Keyboard (/dev/input/event10)
[    18.860] (**) PRiMAX HP OMEN 16 KBM Keyboard: Applying InputClass "evdev keyboard catchall"
[    18.860] (**) PRiMAX HP OMEN 16 KBM Keyboard: Applying InputClass "libinput keyboard catchall"
[    18.860] (II) Using input driver 'libinput' for 'PRiMAX HP OMEN 16 KBM Keyboard'
[    18.861] (II) systemd-logind: got fd for /dev/input/event10 13:74 fd 34 paused 0
[    18.861] (**) PRiMAX HP OMEN 16 KBM Keyboard: always reports core events
[    18.861] (**) Option "Device" "/dev/input/event10"
[    18.862] (II) event10 - PRiMAX HP OMEN 16 KBM Keyboard: is tagged by udev as: Keyboard
[    18.862] (II) event10 - PRiMAX HP OMEN 16 KBM Keyboard: device is a keyboard
[    18.862] (II) event10 - PRiMAX HP OMEN 16 KBM Keyboard: device removed
[    18.862] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.0/0003:0461:4E9B.0003/input/input12/event10"
[    18.862] (II) XINPUT: Adding extended input device "PRiMAX HP OMEN 16 KBM Keyboard" (type: KEYBOARD, id 10)
[    18.863] (II) event10 - PRiMAX HP OMEN 16 KBM Keyboard: is tagged by udev as: Keyboard
[    18.863] (II) event10 - PRiMAX HP OMEN 16 KBM Keyboard: device is a keyboard
[    18.863] (II) config/udev: Adding input device PRiMAX HP OMEN 16 KBM Mouse (/dev/input/event13)
[    18.863] (**) PRiMAX HP OMEN 16 KBM Mouse: Applying InputClass "evdev pointer catchall"
[    18.863] (**) PRiMAX HP OMEN 16 KBM Mouse: Applying InputClass "libinput pointer catchall"
[    18.863] (II) Using input driver 'libinput' for 'PRiMAX HP OMEN 16 KBM Mouse'
[    18.865] (II) systemd-logind: got fd for /dev/input/event13 13:77 fd 35 paused 0
[    18.865] (**) PRiMAX HP OMEN 16 KBM Mouse: always reports core events
[    18.865] (**) Option "Device" "/dev/input/event13"
[    18.865] (II) event13 - PRiMAX HP OMEN 16 KBM Mouse: is tagged by udev as: Mouse
[    18.866] (II) event13 - PRiMAX HP OMEN 16 KBM Mouse: device is a pointer
[    18.866] (II) event13 - PRiMAX HP OMEN 16 KBM Mouse: device removed
[    18.866] (II) libinput: PRiMAX HP OMEN 16 KBM Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[    18.866] (II) libinput: PRiMAX HP OMEN 16 KBM Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[    18.866] (II) libinput: PRiMAX HP OMEN 16 KBM Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[    18.866] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.0/0003:0461:4E9B.0003/input/input13/event13"
[    18.866] (II) XINPUT: Adding extended input device "PRiMAX HP OMEN 16 KBM Mouse" (type: MOUSE, id 11)
[    18.866] (**) Option "AccelerationScheme" "none"
[    18.866] (**) PRiMAX HP OMEN 16 KBM Mouse: (accel) selected scheme none/0
[    18.866] (**) PRiMAX HP OMEN 16 KBM Mouse: (accel) acceleration factor: 2.000
[    18.866] (**) PRiMAX HP OMEN 16 KBM Mouse: (accel) acceleration threshold: 4
[    18.867] (II) event13 - PRiMAX HP OMEN 16 KBM Mouse: is tagged by udev as: Mouse
[    18.867] (II) event13 - PRiMAX HP OMEN 16 KBM Mouse: device is a pointer
[    18.867] (II) config/udev: Adding input device PRiMAX HP OMEN 16 KBM Mouse (/dev/input/mouse1)
[    18.867] (II) No input driver specified, ignoring this device.
[    18.867] (II) This device may have been added with another device file.
[    18.867] (II) config/udev: Adding input device PRiMAX HP OMEN 16 KBM Keypad (/dev/input/event14)
[    18.867] (**) PRiMAX HP OMEN 16 KBM Keypad: Applying InputClass "evdev keyboard catchall"
[    18.867] (**) PRiMAX HP OMEN 16 KBM Keypad: Applying InputClass "libinput keyboard catchall"
[    18.867] (II) Using input driver 'libinput' for 'PRiMAX HP OMEN 16 KBM Keypad'
[    18.868] (II) systemd-logind: got fd for /dev/input/event14 13:78 fd 36 paused 0
[    18.868] (**) PRiMAX HP OMEN 16 KBM Keypad: always reports core events
[    18.868] (**) Option "Device" "/dev/input/event14"
[    18.869] (II) event14 - PRiMAX HP OMEN 16 KBM Keypad: is tagged by udev as: Keyboard
[    18.869] (II) event14 - PRiMAX HP OMEN 16 KBM Keypad: device is a keyboard
[    18.869] (II) event14 - PRiMAX HP OMEN 16 KBM Keypad: device removed
[    18.869] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.1/0003:0461:4E9B.0005/input/input17/event14"
[    18.869] (II) XINPUT: Adding extended input device "PRiMAX HP OMEN 16 KBM Keypad" (type: KEYBOARD, id 12)
[    18.870] (II) event14 - PRiMAX HP OMEN 16 KBM Keypad: is tagged by udev as: Keyboard
[    18.870] (II) event14 - PRiMAX HP OMEN 16 KBM Keypad: device is a keyboard
[    18.871] (II) config/udev: Adding input device PRiMAX HP OMEN 16 KBM Wireless Radio Control (/dev/input/event11)
[    18.871] (**) PRiMAX HP OMEN 16 KBM Wireless Radio Control: Applying InputClass "evdev keyboard catchall"
[    18.871] (**) PRiMAX HP OMEN 16 KBM Wireless Radio Control: Applying InputClass "libinput keyboard catchall"
[    18.871] (II) Using input driver 'libinput' for 'PRiMAX HP OMEN 16 KBM Wireless Radio Control'
[    18.871] (II) systemd-logind: got fd for /dev/input/event11 13:75 fd 37 paused 0
[    18.871] (**) PRiMAX HP OMEN 16 KBM Wireless Radio Control: always reports core events
[    18.871] (**) Option "Device" "/dev/input/event11"
[    18.872] (II) event11 - PRiMAX HP OMEN 16 KBM Wireless Radio Control: is tagged by udev as: Keyboard
[    18.872] (II) event11 - PRiMAX HP OMEN 16 KBM Wireless Radio Control: device is a keyboard
[    18.872] (II) event11 - PRiMAX HP OMEN 16 KBM Wireless Radio Control: device removed
[    18.872] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.1/0003:0461:4E9B.0005/input/input18/event11"
[    18.872] (II) XINPUT: Adding extended input device "PRiMAX HP OMEN 16 KBM Wireless Radio Control" (type: KEYBOARD, id 13)
[    18.874] (II) event11 - PRiMAX HP OMEN 16 KBM Wireless Radio Control: is tagged by udev as: Keyboard
[    18.875] (II) event11 - PRiMAX HP OMEN 16 KBM Wireless Radio Control: device is a keyboard
[    18.875] (II) config/udev: Adding input device PRiMAX HP OMEN 16 KBM Consumer Control (/dev/input/event12)
[    18.875] (**) PRiMAX HP OMEN 16 KBM Consumer Control: Applying InputClass "evdev keyboard catchall"
[    18.875] (**) PRiMAX HP OMEN 16 KBM Consumer Control: Applying InputClass "libinput keyboard catchall"
[    18.875] (II) Using input driver 'libinput' for 'PRiMAX HP OMEN 16 KBM Consumer Control'
[    18.876] (II) systemd-logind: got fd for /dev/input/event12 13:76 fd 38 paused 0
[    18.876] (**) PRiMAX HP OMEN 16 KBM Consumer Control: always reports core events
[    18.876] (**) Option "Device" "/dev/input/event12"
[    18.876] (II) event12 - PRiMAX HP OMEN 16 KBM Consumer Control: is tagged by udev as: Keyboard
[    18.876] (II) event12 - PRiMAX HP OMEN 16 KBM Consumer Control: device is a keyboard
[    18.877] (II) event12 - PRiMAX HP OMEN 16 KBM Consumer Control: device removed
[    18.877] (II) libinput: PRiMAX HP OMEN 16 KBM Consumer Control: needs a virtual subdevice
[    18.877] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.1/0003:0461:4E9B.0005/input/input19/event12"
[    18.877] (II) XINPUT: Adding extended input device "PRiMAX HP OMEN 16 KBM Consumer Control" (type: MOUSE, id 14)
[    18.877] (**) Option "AccelerationScheme" "none"
[    18.877] (**) PRiMAX HP OMEN 16 KBM Consumer Control: (accel) selected scheme none/0
[    18.877] (**) PRiMAX HP OMEN 16 KBM Consumer Control: (accel) acceleration factor: 2.000
[    18.877] (**) PRiMAX HP OMEN 16 KBM Consumer Control: (accel) acceleration threshold: 4
[    18.877] (II) event12 - PRiMAX HP OMEN 16 KBM Consumer Control: is tagged by udev as: Keyboard
[    18.877] (II) event12 - PRiMAX HP OMEN 16 KBM Consumer Control: device is a keyboard
[    18.878] (II) config/udev: Adding input device ELAN0751:00 04F3:31C2 Mouse (/dev/input/event15)
[    18.878] (**) ELAN0751:00 04F3:31C2 Mouse: Applying InputClass "evdev pointer catchall"
[    18.878] (**) ELAN0751:00 04F3:31C2 Mouse: Applying InputClass "libinput pointer catchall"
[    18.878] (II) Using input driver 'libinput' for 'ELAN0751:00 04F3:31C2 Mouse'
[    18.879] (II) systemd-logind: got fd for /dev/input/event15 13:79 fd 39 paused 0
[    18.879] (**) ELAN0751:00 04F3:31C2 Mouse: always reports core events
[    18.879] (**) Option "Device" "/dev/input/event15"
[    18.880] (II) event15 - ELAN0751:00 04F3:31C2 Mouse: is tagged by udev as: Mouse Pointingstick
[    18.880] (II) event15 - ELAN0751:00 04F3:31C2 Mouse: device is a pointer
[    18.881] (II) event15 - ELAN0751:00 04F3:31C2 Mouse: device removed
[    18.881] (II) libinput: ELAN0751:00 04F3:31C2 Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[    18.881] (II) libinput: ELAN0751:00 04F3:31C2 Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[    18.881] (II) libinput: ELAN0751:00 04F3:31C2 Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[    18.881] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN0751:00/0018:04F3:31C2.0004/input/input20/event15"
[    18.881] (II) XINPUT: Adding extended input device "ELAN0751:00 04F3:31C2 Mouse" (type: MOUSE, id 15)
[    18.881] (**) Option "AccelerationScheme" "none"
[    18.881] (**) ELAN0751:00 04F3:31C2 Mouse: (accel) selected scheme none/0
[    18.881] (**) ELAN0751:00 04F3:31C2 Mouse: (accel) acceleration factor: 2.000
[    18.881] (**) ELAN0751:00 04F3:31C2 Mouse: (accel) acceleration threshold: 4
[    18.881] (II) event15 - ELAN0751:00 04F3:31C2 Mouse: is tagged by udev as: Mouse Pointingstick
[    18.881] (II) event15 - ELAN0751:00 04F3:31C2 Mouse: device is a pointer
[    18.882] (II) config/udev: Adding input device ELAN0751:00 04F3:31C2 Mouse (/dev/input/mouse2)
[    18.882] (II) No input driver specified, ignoring this device.
[    18.882] (II) This device may have been added with another device file.
[    18.882] (II) config/udev: Adding input device ELAN0751:00 04F3:31C2 Touchpad (/dev/input/event16)
[    18.882] (**) ELAN0751:00 04F3:31C2 Touchpad: Applying InputClass "evdev touchpad catchall"
[    18.882] (**) ELAN0751:00 04F3:31C2 Touchpad: Applying InputClass "libinput touchpad catchall"
[    18.882] (**) ELAN0751:00 04F3:31C2 Touchpad: Applying InputClass "touchpad catchall"
[    18.882] (**) ELAN0751:00 04F3:31C2 Touchpad: Applying InputClass "Default clickpad buttons"
[    18.882] (II) LoadModule: "synaptics"
[    18.882] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[    18.883] (II) Module synaptics: vendor="X.Org Foundation"
[    18.883] 	compiled for 1.21.1.3, module version = 1.9.2
[    18.883] 	Module class: X.Org XInput Driver
[    18.883] 	ABI class: X.Org XInput driver, version 24.4
[    18.883] (II) Using input driver 'synaptics' for 'ELAN0751:00 04F3:31C2 Touchpad'
[    18.884] (II) systemd-logind: got fd for /dev/input/event16 13:80 fd 40 paused 0
[    18.884] (**) ELAN0751:00 04F3:31C2 Touchpad: always reports core events
[    18.884] (**) Option "Device" "/dev/input/event16"
[    18.884] (II) synaptics: ELAN0751:00 04F3:31C2 Touchpad: found clickpad property
[    18.884] (--) synaptics: ELAN0751:00 04F3:31C2 Touchpad: x-axis range 0 - 3806 (res 31)
[    18.884] (--) synaptics: ELAN0751:00 04F3:31C2 Touchpad: y-axis range 0 - 2386 (res 31)
[    18.884] (II) synaptics: ELAN0751:00 04F3:31C2 Touchpad: device does not report pressure, will use touch data.
[    18.884] (II) synaptics: ELAN0751:00 04F3:31C2 Touchpad: device does not report finger width.
[    18.884] (--) synaptics: ELAN0751:00 04F3:31C2 Touchpad: buttons: left double triple
[    18.884] (--) synaptics: ELAN0751:00 04F3:31C2 Touchpad: Vendor 0x4f3 Product 0x31c2
[    18.884] (--) synaptics: ELAN0751:00 04F3:31C2 Touchpad: invalid pressure range.  defaulting to 0 - 255
[    18.884] (--) synaptics: ELAN0751:00 04F3:31C2 Touchpad: invalid finger width range.  defaulting to 0 - 15
[    18.884] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
[    18.884] (--) synaptics: ELAN0751:00 04F3:31C2 Touchpad: touchpad found
[    18.884] (**) ELAN0751:00 04F3:31C2 Touchpad: always reports core events
[    18.884] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN0751:00/0018:04F3:31C2.0004/input/input22/event16"
[    18.884] (II) XINPUT: Adding extended input device "ELAN0751:00 04F3:31C2 Touchpad" (type: TOUCHPAD, id 16)
[    18.884] (**) synaptics: ELAN0751:00 04F3:31C2 Touchpad: (accel) MinSpeed is now constant deceleration 2.5
[    18.884] (**) synaptics: ELAN0751:00 04F3:31C2 Touchpad: (accel) MaxSpeed is now 1.75
[    18.884] (**) synaptics: ELAN0751:00 04F3:31C2 Touchpad: (accel) AccelFactor is now 0.045
[    18.884] (**) ELAN0751:00 04F3:31C2 Touchpad: (accel) keeping acceleration scheme 1
[    18.884] (**) ELAN0751:00 04F3:31C2 Touchpad: (accel) acceleration profile 1
[    18.884] (**) ELAN0751:00 04F3:31C2 Touchpad: (accel) acceleration factor: 2.000
[    18.884] (**) ELAN0751:00 04F3:31C2 Touchpad: (accel) acceleration threshold: 4
[    18.884] (--) synaptics: ELAN0751:00 04F3:31C2 Touchpad: touchpad found
[    18.885] (II) config/udev: Adding input device ELAN0751:00 04F3:31C2 Touchpad (/dev/input/mouse3)
[    18.885] (**) ELAN0751:00 04F3:31C2 Touchpad: Ignoring device from InputClass "touchpad ignore duplicates"
[    18.885] (II) config/udev: Adding input device sof-hda-dsp Mic (/dev/input/event9)
[    18.885] (II) No input driver specified, ignoring this device.
[    18.885] (II) This device may have been added with another device file.
[    18.885] (II) config/udev: Adding input device sof-hda-dsp Headphone (/dev/input/event20)
[    18.885] (II) No input driver specified, ignoring this device.
[    18.885] (II) This device may have been added with another device file.
[    18.885] (II) config/udev: Adding input device sof-hda-dsp HDMI/DP,pcm=3 (/dev/input/event21)
[    18.885] (II) No input driver specified, ignoring this device.
[    18.885] (II) This device may have been added with another device file.
[    18.886] (II) config/udev: Adding input device sof-hda-dsp HDMI/DP,pcm=4 (/dev/input/event22)
[    18.886] (II) No input driver specified, ignoring this device.
[    18.886] (II) This device may have been added with another device file.
[    18.886] (II) config/udev: Adding input device sof-hda-dsp HDMI/DP,pcm=5 (/dev/input/event23)
[    18.886] (II) No input driver specified, ignoring this device.
[    18.886] (II) This device may have been added with another device file.
[    18.886] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
[    18.886] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    18.886] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[    18.886] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[    18.887] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 41 paused 0
[    18.887] (**) AT Translated Set 2 keyboard: always reports core events
[    18.887] (**) Option "Device" "/dev/input/event3"
[    18.888] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    18.888] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[    18.889] (II) event3  - AT Translated Set 2 keyboard: device removed
[    18.889] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input3/event3"
[    18.889] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 17)
[    18.889] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    18.889] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[    18.890] (II) config/udev: Adding input device PC Speaker (/dev/input/event4)
[    18.890] (II) No input driver specified, ignoring this device.
[    18.890] (II) This device may have been added with another device file.
[    18.892] (II) config/udev: Adding input device HP WMI hotkeys (/dev/input/event8)
[    18.892] (**) HP WMI hotkeys: Applying InputClass "evdev keyboard catchall"
[    18.892] (**) HP WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[    18.892] (II) Using input driver 'libinput' for 'HP WMI hotkeys'
[    18.893] (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 42 paused 0
[    18.893] (**) HP WMI hotkeys: always reports core events
[    18.893] (**) Option "Device" "/dev/input/event8"
[    18.893] (II) event8  - HP WMI hotkeys: is tagged by udev as: Keyboard Switch
[    18.893] (II) event8  - HP WMI hotkeys: device is a keyboard
[    18.893] (II) event8  - HP WMI hotkeys: device removed
[    18.893] (**) Option "config_info" "udev:/sys/devices/virtual/input/input11/event8"
[    18.893] (II) XINPUT: Adding extended input device "HP WMI hotkeys" (type: KEYBOARD, id 18)
[    18.893] (II) event8  - HP WMI hotkeys: is tagged by udev as: Keyboard Switch
[    18.893] (II) event8  - HP WMI hotkeys: device is a keyboard
[    18.907] (**) PRiMAX HP OMEN 16 KBM Consumer Control: Applying InputClass "evdev keyboard catchall"
[    18.907] (**) PRiMAX HP OMEN 16 KBM Consumer Control: Applying InputClass "libinput keyboard catchall"
[    18.907] (II) Using input driver 'libinput' for 'PRiMAX HP OMEN 16 KBM Consumer Control'
[    18.907] (II) systemd-logind: returning pre-existing fd for /dev/input/event12 13:76
[    18.907] (**) PRiMAX HP OMEN 16 KBM Consumer Control: always reports core events
[    18.907] (**) Option "Device" "/dev/input/event12"
[    18.907] (II) libinput: PRiMAX HP OMEN 16 KBM Consumer Control: is a virtual subdevice
[    18.907] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.1/0003:0461:4E9B.0005/input/input19/event12"
[    18.907] (II) XINPUT: Adding extended input device "PRiMAX HP OMEN 16 KBM Consumer Control" (type: KEYBOARD, id 19)
[    19.291] (II) intel(0): EDID vendor "BOE", prod id 2533
[    19.291] (II) intel(0): DDCModeFromDetailedTiming: 2560x1440 Warning: We only handle separate sync.
[    19.291] (II) intel(0): Using EDID range info for horizontal sync
[    19.291] (II) intel(0): Using EDID range info for vertical refresh
[    19.291] (II) intel(0): Printing DDC gathered Modelines:
[    19.291] (II) intel(0): Modeline "2560x1440"x0.0  256.09  2560 2608 2640 2736  1440 1443 1449 1560 -hsync -vsync (93.6 kHz eP)
[    19.470] (II) intel(0): switch to mode 2560x1440@165.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[   217.549] (II) config/udev: Adding input device Logitech Wireless Mouse PID:4054 (/dev/input/mouse0)
[   217.549] (II) No input driver specified, ignoring this device.
[   217.549] (II) This device may have been added with another device file.
[   217.640] (II) config/udev: Adding input device Logitech Wireless Mouse PID:4054 (/dev/input/event24)
[   217.640] (**) Logitech Wireless Mouse PID:4054: Applying InputClass "evdev pointer catchall"
[   217.640] (**) Logitech Wireless Mouse PID:4054: Applying InputClass "libinput pointer catchall"
[   217.640] (II) Using input driver 'libinput' for 'Logitech Wireless Mouse PID:4054'
[   217.641] (II) systemd-logind: got fd for /dev/input/event24 13:88 fd 66 paused 0
[   217.641] (**) Logitech Wireless Mouse PID:4054: always reports core events
[   217.641] (**) Option "Device" "/dev/input/event24"
[   217.643] (II) event24 - Logitech Wireless Mouse PID:4054: is tagged by udev as: Mouse
[   217.644] (II) event24 - Logitech Wireless Mouse PID:4054: device is a pointer
[   217.644] (II) event24 - Logitech Wireless Mouse PID:4054: device removed
[   217.644] (II) libinput: Logitech Wireless Mouse PID:4054: Step value 0 was provided, libinput Fallback acceleration function is used.
[   217.644] (II) libinput: Logitech Wireless Mouse PID:4054: Step value 0 was provided, libinput Fallback acceleration function is used.
[   217.644] (II) libinput: Logitech Wireless Mouse PID:4054: Step value 0 was provided, libinput Fallback acceleration function is used.
[   217.644] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.1/0003:046D:C534.0009/0003:046D:4054.000A/input/input38/event24"
[   217.644] (II) XINPUT: Adding extended input device "Logitech Wireless Mouse PID:4054" (type: MOUSE, id 20)
[   217.645] (**) Option "AccelerationScheme" "none"
[   217.645] (**) Logitech Wireless Mouse PID:4054: (accel) selected scheme none/0
[   217.645] (**) Logitech Wireless Mouse PID:4054: (accel) acceleration factor: 2.000
[   217.645] (**) Logitech Wireless Mouse PID:4054: (accel) acceleration threshold: 4
[   217.647] (II) event24 - Logitech Wireless Mouse PID:4054: is tagged by udev as: Mouse
[   217.647] (II) event24 - Logitech Wireless Mouse PID:4054: device is a pointer

Offline

#8 2023-05-17 15:32:37

A_Arch_Linux_User999
Member
Registered: 2023-05-16
Posts: 21

Re: Force every app to use iGPU instead of dGPU on laptop.

And after posting this reply my mouse works......?

This is why I don't like Xorg.

Offline

#9 2023-05-17 15:34:54

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: Force every app to use iGPU instead of dGPU on laptop.

This has nothing to do with Xorg.

[    18.752] (==) Using config file: "/etc/X11/xorg.conf"
[    18.752] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    18.752] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    18.753] (==) No Layout section.  Using the first Screen section.
[    18.753] (==) No screen section available. Using defaults.
[    18.753] (**) |-->Screen "Default Screen Section" (0)
[    18.753] (**) |   |-->Monitor "<default monitor>"
[    18.753] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    18.753] (**) |   |-->Device "Intel Graphics"
[    18.753] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.

Are you using optimus manager?
What are the contents of /etc/X11/xorg.conf ?

grep -ri intel /{etc,usr/share}/X11/xorg.conf*

Offline

#10 2023-05-17 15:37:49

A_Arch_Linux_User999
Member
Registered: 2023-05-16
Posts: 21

Re: Force every app to use iGPU instead of dGPU on laptop.

seth wrote:

This has nothing to do with Xorg.

[    18.752] (==) Using config file: "/etc/X11/xorg.conf"
[    18.752] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    18.752] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    18.753] (==) No Layout section.  Using the first Screen section.
[    18.753] (==) No screen section available. Using defaults.
[    18.753] (**) |-->Screen "Default Screen Section" (0)
[    18.753] (**) |   |-->Monitor "<default monitor>"
[    18.753] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    18.753] (**) |   |-->Device "Intel Graphics"
[    18.753] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.

Are you using optimus manager?
What are the contents of /etc/X11/xorg.conf ?

grep -ri intel /{etc,usr/share}/X11/xorg.conf*
$ grep -ri intel /{etc,usr/share}/X11/xorg.conf*
/etc/X11/xorg.conf.d/20-intel.conf:  Identifier "Intel Graphics"
/etc/X11/xorg.conf.d/20-intel.conf:  Driver "intel"
$ ...

There is literally nothing in xorg.conf

$ cat xorg.conf
$ ...

Prime-run only, no optimus manager

Last edited by A_Arch_Linux_User999 (2023-05-17 15:38:58)

Offline

#11 2023-05-17 15:42:05

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: Force every app to use iGPU instead of dGPU on laptop.

Then remove the file
What's in /etc/X11/xorg.conf.d/20-intel.conf?

pacman -Qo /etc/X11/xorg.conf.d/20-intel.conf

Offline

#12 2023-05-17 15:49:03

A_Arch_Linux_User999
Member
Registered: 2023-05-16
Posts: 21

Re: Force every app to use iGPU instead of dGPU on laptop.

seth wrote:

Then remove the file
What's in /etc/X11/xorg.conf.d/20-intel.conf?

pacman -Qo /etc/X11/xorg.conf.d/20-intel.conf
Section "Device"
  Identifier "Intel Graphics"
  Driver "intel"
EndSection

It is not from any package.

Offline

#13 2023-05-17 15:50:09

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: Force every app to use iGPU instead of dGPU on laptop.

Is that all?
Remove it, remove xf86-video-intel again and post an updated xorg log.

Offline

#14 2023-05-17 15:52:20

A_Arch_Linux_User999
Member
Registered: 2023-05-16
Posts: 21

Re: Force every app to use iGPU instead of dGPU on laptop.

seth wrote:

Is that all?
Remove it, remove xf86-video-intel again and post an updated xorg log.

Why?
We know that'll only result in Xorg being unable to boot!

Offline

#15 2023-05-17 15:52:52

tekstryder
Member
Registered: 2013-02-14
Posts: 508

Re: Force every app to use iGPU instead of dGPU on laptop.

A_Arch_Linux_User999 wrote:

To be clear: my multi-gpu setup works fine....

...My problem is that gnome-shell runs under the NVIDIA dGPU and has turned the battery life of my system into less than an hour in some cases. I want gnome-shell to run under the Intel iGPU and for the GPU to be powered off unless I launch an app with it.

Step 1 is, of course, to get gnome-shell running under my Intel iGPU which I haven't been able to successfully do yet.

A_Arch_Linux_User999 wrote:

...and I want Wayland and not just Xorg to run on the iGPU...

Sounds a lot like this gnome-shell issue, which doesn't appear to be Wayland-specific despite title:

https://gitlab.gnome.org/GNOME/gnome-sh … ssues/6146

Offline

#16 2023-05-17 15:53:23

A_Arch_Linux_User999
Member
Registered: 2023-05-16
Posts: 21

Re: Force every app to use iGPU instead of dGPU on laptop.

Xorg isn't an issue right now, the issue is that:
1: NVIDIA GPU is always active and in D0 power mode even if I don't launch anything that uses it.
2: Wayland will only run on NVIDIA GPU

Offline

#17 2023-05-17 16:07:55

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: Force every app to use iGPU instead of dGPU on laptop.

A_Arch_Linux_User999 wrote:
seth wrote:

Is that all?
Remove it, remove xf86-video-intel again and post an updated xorg log.

Why?
We know that'll only result in Xorg being unable to boot!

No. You *know* nothing.

Xorg used to fail because you explicitly told it to use the intel driver which was not installed.
You stop tellign it that, it won't try to use it and - most likely - succeed to use the modesetting driver.

As for the nvidia D3, see https://wiki.archlinux.org/title/PRIME# … Management

"Wayland" will run on nothing, you're looking for mutter and it'll run on whatever GPU you direct to to run.
If it indeed runs on the nvidia chip, that's because you globally export DRI_PRIME - or at least to the session.
https://wiki.archlinux.org/title/PRIME# … figuration

Offline

#18 2023-05-17 16:14:24

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,104

Re: Force every app to use iGPU instead of dGPU on laptop.

Technically that gnome-shell leaves a process active should not generally lead to the GPU being left in the higher power states, just from a mechanism perspective that's the same thing that happens on Xorg. If anything else other than gnome shell runs on the nvidia GPU that would be problematic. To be frank I'm not entirely sure how this will be handled on a wayland case going forward and whether compositors can mark themselves as "idle" processes so that nvidia does not consider them to be important enough to not go to sleep.

Offline

#19 2023-05-17 16:20:29

A_Arch_Linux_User999
Member
Registered: 2023-05-16
Posts: 21

Re: Force every app to use iGPU instead of dGPU on laptop.

seth wrote:
A_Arch_Linux_User999 wrote:
seth wrote:

Is that all?
Remove it, remove xf86-video-intel again and post an updated xorg log.

Why?
We know that'll only result in Xorg being unable to boot!

No. You *know* nothing.

Xorg used to fail because you explicitly told it to use the intel driver which was not installed.
You stop tellign it that, it won't try to use it and - most likely - succeed to use the modesetting driver.

As for the nvidia D3, see https://wiki.archlinux.org/title/PRIME# … Management

"Wayland" will run on nothing, you're looking for mutter and it'll run on whatever GPU you direct to to run.
If it indeed runs on the nvidia chip, that's because you globally export DRI_PRIME - or at least to the session.
https://wiki.archlinux.org/title/PRIME# … figuration

As I type this, my battery approaches 0% thanks to the derailment of the point of the conversation and the NVIDIA GPU eating up all my power doing LITERALLY nothing (atleast according to nvidia-smi).
Removing this Xorg config results in Xorg also running on my NVIDIA GPU.
Do you think I haven't tried this?
Modprobe and udev rules didn't work.
Setting DRI_PRIME in /etc/environment did not result in anything not running on the NVIDIA GPU.

Offline

#20 2023-05-17 16:24:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,104

Re: Force every app to use iGPU instead of dGPU on laptop.

All of this is normal, that you see a Xorg process running on xorg is normal and that you see a gnome-shell process running is normal. As mentioned above not sure how the deal is on GNOME, but in the Xorg case, despite the Xorg running on the nvidia card it should enter the lower power state. You probably want to look at it without nvidia-smi though, since that will wake up the device. Use

cat /sys/class/drm/card*/device/power_state

to check which state the card is actually in and monitor your actual power draw with powertop or so.

Offline

#21 2023-05-17 16:31:58

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: Force every app to use iGPU instead of dGPU on laptop.

There's possibly confusion about what "running on" means.
There's no confusion that the OP is a running Dunning-Kruger effect and hopefully msanaged to boot parts of their brain when we continue this tomorrow.

Offline

#22 2023-05-17 17:05:45

A_Arch_Linux_User999
Member
Registered: 2023-05-16
Posts: 21

Re: Force every app to use iGPU instead of dGPU on laptop.

seth wrote:

There's possibly confusion about what "running on" means.
There's no confusion that the OP is a running Dunning-Kruger effect and hopefully msanaged to boot parts of their brain when we continue this tomorrow.

Seth, please do not continue to reply to this conversation. You have failed to contribute in any meaningful way or tell me something that I already didn't know.
To answer your question: running on my NVIDIA GPU = rendering using it and being reported via nvidia-smi
Not sure why that wasn't abundantly clear.

Offline

#23 2023-05-17 17:39:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,104

Re: Force every app to use iGPU instead of dGPU on laptop.

It isn't really clear, as stated that you will see a process is generally normal and expected. A 1MiB process of gnome-shell will definitely not be the rendering process that's too little VRAM to do any significant rendering. And the logistic behind the PRIME implementation are that the nvidia device should stay in a low power state if VRAM doesn't exceed a certain threshhold which should be 20MiB by default. The question is whether your GPU actually wakes up which mandates you check the power state in the sys directory directly or check whether power draw is wildly too high even when it should be off.

Offline

#24 2023-05-17 17:41:28

A_Arch_Linux_User999
Member
Registered: 2023-05-16
Posts: 21

Re: Force every app to use iGPU instead of dGPU on laptop.

After further troubleshooting, I somehow swapped the card numbers for my iGPU and dGPU (i.e. NVIDIA dGPU is card0 and Intel iGPU is card1) so now NVIDIA is eating up more power than ever (probably nvidia-open).

This is all too hard. Maybe I'll just complete kill the GPU on my host system and passthru to a Windows VM.
Thank you to the users who attempted to help.

Offline

#25 2023-05-17 17:42:24

A_Arch_Linux_User999
Member
Registered: 2023-05-16
Posts: 21

Re: Force every app to use iGPU instead of dGPU on laptop.

V1del wrote:

It isn't really clear, as stated that you will see a process is generally normal and expected. A 1MiB process of gnome-shell will definitely not be the rendering process that's too little VRAM to do any significant rendering. And the logistic behind the PRIME implementation are that the nvidia device should stay in a low power state if VRAM doesn't exceed a certain threshhold which should be 20MiB by default. The question is whether your GPU actually wakes up which mandates you check the power state in the sys directory directly or check whether power draw is wildly too high even when it should be off.

On boot, when idle, my dGPU eats up 10 watts.
Is that a lot?

Last edited by A_Arch_Linux_User999 (2023-05-17 17:42:33)

Offline

Board footer

Powered by FluxBB