You are not logged in.

#1 2023-12-02 22:31:17

Katataf1sh
Member
Registered: 2023-12-02
Posts: 18

MangoHud not working with system running only on dGPU

Hello everybody, lately I've been puzzled by this issue, I'm running the latest version of Arch Linux using the Zen Kernel on the Plasma DE over Xorg. I have a DELL G3 laptop which uses NVIDIA Optimus, I use my laptop exclusively connected to an external monitor, the lid is kept closed, I've even disabled the built-in screen. In order to be able to use the dGPU for games and to be able to access NVIDIA X Server Settings with all of it's options showing I had to resort to EnvyControl, Optimus-Manager works the same and yield the same results.

So, the system is running in NVIDIA mode, exclusively using the dGPU, everything works perfect, that is except for MangoHud. If I try to launch any game using MangoHud it instantly crashes, as well as running glxgears and vkcube, if I run them without MangoHud everything is fine.

This is the output I get when running glxgears with MangoHud:

[2023-12-02 19:19:21.823] [MANGOHUD] [info] [gl_renderer.cpp:422] GL version: 4.6
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  157 (NV-CONTROL)
  Minor opcode of failed request:  27 ()
  Value in failed request:  0x17
  Serial number of failed request:  14
  Current serial number in output stream:  14
[1]    4250 segmentation fault (core dumped)  mangohud glxgears

And this is the output I get when running vkcube with MangoHud:

Selected GPU 0: NVIDIA GeForce GTX 1660 Ti with Max-Q Design, type: DiscreteGpu
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  157 (NV-CONTROL)
  Minor opcode of failed request:  27 ()
  Value in failed request:  0x17
  Serial number of failed request:  14
  Current serial number in output stream:  14
[1]    4323 segmentation fault (core dumped)  mangohud vkcube

When turning Hybrid mode on with EnvyControl both glxgears and vkcube run fine with MangoHud, but I lose full access to NVIDIA X Server Settings. Either getting MangoHud to work on NVIDIA mode or getting full access to NVIDIA X Server Settings when on Hybrid mode would solve my problem, I've been researching everywhere for a solution for the last couple of days but to no avail, any insight will be deeply appreciated.

Offline

#2 2023-12-04 07:01:36

Katataf1sh
Member
Registered: 2023-12-02
Posts: 18

Re: MangoHud not working with system running only on dGPU

Hey there guys, spent many hours again on this, still no solution whatsoever. Now this is a bummer, just reinstalled GZDoom and it would be really nice to have a HUD again while playing. A friend of mine suggested changing to another distro more "gaming oriented" like Nobara or Garuda, but to me this is just nonsense, I'm quite sure I would be getting the same results in any other distro. I'll keep on searching for a solution.

Offline

#3 2023-12-04 17:27:31

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

Re: MangoHud not working with system running only on dGPU

Please post your xorg log and the configuration you used for "nvidia-only" as well as

 nvidia-smi
vulkaninfo --summary #needs vulkan-tools
pacman -Qs vulkan

Offline

#4 2023-12-04 19:56:28

Soultrigger
Member
From: Brazil
Registered: 2021-11-04
Posts: 111

Re: MangoHud not working with system running only on dGPU

I have no input to help here unfortunately, but mangohud ui configuration shows as blackscreen on wayland / KDE 5, does anyone know why and how I can I fix it? (amdgpu, vulkan and everything setup properly, since I play all games trough steam or lutris or wine). Sorry to ask this here, but since it is somehow a similar issue.

Offline

#5 2023-12-05 06:54:13

Katataf1sh
Member
Registered: 2023-12-02
Posts: 18

Re: MangoHud not working with system running only on dGPU

V1del wrote:

Please post your xorg log and the configuration you used for "nvidia-only" as well as

 nvidia-smi
vulkaninfo --summary #needs vulkan-tools
pacman -Qs vulkan
[     5.887] (--) Log file renamed from "/var/log/Xorg.pid-596.log" to "/var/log/Xorg.0.log"
[     5.889] 
X.Org X Server 1.21.1.9
X Protocol Version 11, Revision 0
[     5.889] Current Operating System: Linux CASPER 6.6.3-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Wed, 29 Nov 2023 00:40:39 +0000 x86_64
[     5.889] Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-linux-zen.img root=PARTUUID=4e7fc901-b603-4cdf-b9ee-b2873d530295 rw nvidia_drm.modeset=1
[     5.889]  
[     5.889] Current version of pixman: 0.42.2
[     5.889]     Before reporting problems, check [url]http://wiki.x.org[/url]
    to make sure that you have the latest version.
[     5.889] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     5.889] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Dec  5 03:42:16 2023
[     5.890] (==) Using config file: "/etc/X11/xorg.conf"
[     5.890] (==) Using config directory: "/etc/X11/xorg.conf.d"
[     5.890] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     5.890] (==) ServerLayout "layout"
[     5.890] (**) |-->Screen "nvidia" (0)
[     5.890] (**) |   |-->Monitor "<default monitor>"
[     5.890] (**) |   |-->Device "nvidia"
[     5.890] (**) |   |-->GPUDevice "intel"
[     5.890] (==) No monitor specified for screen "nvidia".
    Using a default monitor configuration.
[     5.890] (**) |-->Inactive Device "intel"
[     5.890] (==) Automatically adding devices
[     5.890] (==) Automatically enabling devices
[     5.890] (==) Automatically adding GPU devices
[     5.890] (==) Automatically binding GPU devices
[     5.890] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     5.893] (==) FontPath set to:
    /usr/share/fonts/misc,
    /usr/share/fonts/TTF,
    /usr/share/fonts/OTF,
    /usr/share/fonts/Type1,
    /usr/share/fonts/100dpi,
    /usr/share/fonts/75dpi
[     5.893] (==) ModulePath set to "/usr/lib/xorg/modules"
[     5.893] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[     5.893] (II) Module ABI versions:
[     5.893]     X.Org ANSI C Emulation: 0.4
[     5.893]     X.Org Video Driver: 25.2
[     5.893]     X.Org XInput driver : 24.4
[     5.893]     X.Org Server Extension : 10.0
[     5.894] (++) using VT number 2

[     5.894] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     5.895] (II) xfree86: Adding drm device (/dev/dri/card0)
[     5.895] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
[     5.922] (II) xfree86: Adding drm device (/dev/dri/card1)
[     5.922] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card1
[     5.928] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[     5.930] (--) PCI:*(0@0:2:0) 8086:3e9b:1028:0949 rev 0, Mem @ 0xa4000000/16777216, 0x80000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[     5.930] (--) PCI: (1@0:0:0) 10de:2191:1028:0949 rev 161, Mem @ 0xa2000000/16777216, 0x90000000/268435456, 0xa0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[     5.930] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     5.930] (II) LoadModule: "glx"
[     5.931] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     5.934] (II) Module glx: vendor="X.Org Foundation"
[     5.934]     compiled for 1.21.1.9, module version = 1.0.0
[     5.934]     ABI class: X.Org Server Extension, version 10.0
[     5.934] (II) LoadModule: "nvidia"
[     5.934] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[     5.936] (II) Module nvidia: vendor="NVIDIA Corporation"
[     5.936]     compiled for 1.6.99.901, module version = 1.0.0
[     5.936]     Module class: X.Org Video Driver
[     5.937] (II) LoadModule: "modesetting"
[     5.937] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     5.938] (II) Module modesetting: vendor="X.Org Foundation"
[     5.938]     compiled for 1.21.1.9, module version = 1.21.1
[     5.938]     Module class: X.Org Video Driver
[     5.938]     ABI class: X.Org Video Driver, version 25.2
[     5.938] (II) NVIDIA dlloader X Driver  545.29.06  Thu Nov 16 01:52:34 UTC 2023
[     5.938] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[     5.939] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     5.946] (II) Loading sub module "fb"
[     5.946] (II) LoadModule: "fb"
[     5.946] (II) Module "fb" already built-in
[     5.946] (II) Loading sub module "wfb"
[     5.946] (II) LoadModule: "wfb"
[     5.946] (II) Loading /usr/lib/xorg/modules/libwfb.so
[     5.946] (II) Module wfb: vendor="X.Org Foundation"
[     5.946]     compiled for 1.21.1.9, module version = 1.0.0
[     5.946]     ABI class: X.Org ANSI C Emulation, version 0.4
[     5.961] (II) modeset(G0): using drv /dev/dri/card1
[     5.961] (II) NVIDIA(0): Creating default Display subsection in Screen section
    "nvidia" for depth/fbbpp 24/32
[     5.961] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[     5.961] (==) NVIDIA(0): RGB weight 888
[     5.961] (==) NVIDIA(0): Default visual is TrueColor
[     5.961] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[     5.961] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[     5.961] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[     5.961] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[     5.961] (**) NVIDIA(0): Option "Coolbits" "28"
[     5.961] (**) NVIDIA(0): Enabling 2D acceleration
[     5.961] (II) Loading sub module "glxserver_nvidia"
[     5.961] (II) LoadModule: "glxserver_nvidia"
[     5.961] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[     6.002] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[     6.002]     compiled for 1.6.99.901, module version = 1.0.0
[     6.002]     Module class: X.Org Server Extension
[     6.002] (II) NVIDIA GLX Module  545.29.06  Thu Nov 16 01:55:23 UTC 2023
[     6.003] (II) NVIDIA: The X server supports PRIME Render Offload.
[     6.003] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[     6.003] (--) NVIDIA(0):     DFP-0 (boot)
[     6.004] (II) NVIDIA(0): NVIDIA GPU NVIDIA GeForce GTX 1660 Ti with Max-Q Design
[     6.004] (II) NVIDIA(0):     (TU116-A) at PCI:1:0:0 (GPU-0)
[     6.004] (--) NVIDIA(0): Memory: 6291456 kBytes
[     6.004] (--) NVIDIA(0): VideoBIOS: 90.16.25.40.ab
[     6.004] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[     6.048] (--) NVIDIA(GPU-0): SONY TV (DFP-0): connected
[     6.048] (--) NVIDIA(GPU-0): SONY TV (DFP-0): Internal TMDS
[     6.048] (--) NVIDIA(GPU-0): SONY TV (DFP-0): 600.0 MHz maximum pixel clock
[     6.048] (--) NVIDIA(GPU-0): 
[     6.075] (==) NVIDIA(0): 
[     6.075] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[     6.075] (==) NVIDIA(0):     will be used as the requested mode.
[     6.075] (==) NVIDIA(0): 
[     6.080] (II) NVIDIA(0): Validated MetaModes:
[     6.080] (II) NVIDIA(0):     "DFP-0:nvidia-auto-select"
[     6.080] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[     6.227] (--) NVIDIA(0): DPI set to (52, 52); computed from "UseEdidDpi" X config
[     6.227] (--) NVIDIA(0):     option
[     6.227] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
[     6.227] (==) modeset(G0): RGB weight 888
[     6.227] (==) modeset(G0): Default visual is TrueColor
[     6.227] (II) Loading sub module "glamoregl"
[     6.227] (II) LoadModule: "glamoregl"
[     6.227] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[     6.238] (II) Module glamoregl: vendor="X.Org Foundation"
[     6.238]     compiled for 1.21.1.9, module version = 1.0.1
[     6.238]     ABI class: X.Org ANSI C Emulation, version 0.4
[     6.383] (II) modeset(G0): glamor X acceleration enabled on Mesa Intel(R) UHD Graphics 630 (CFL GT2)
[     6.383] (II) modeset(G0): glamor initialized
[     6.385] (II) modeset(G0): Output eDP-1-1 has no monitor section
[     6.385] (II) modeset(G0): Output DP-1-1 has no monitor section
[     6.390] (II) modeset(G0): Output HDMI-1-2 has no monitor section
[     6.391] (II) modeset(G0): EDID for output eDP-1-1
[     6.391] (II) modeset(G0): Manufacturer: BOE  Model: 819  Serial#: 0
[     6.391] (II) modeset(G0): Year: 2018  Week: 32
[     6.391] (II) modeset(G0): EDID Version: 1.4
[     6.391] (II) modeset(G0): Digital Display Input
[     6.391] (II) modeset(G0): 6 bits per channel
[     6.391] (II) modeset(G0): Digital interface is DisplayPort
[     6.391] (II) modeset(G0): Max Image Size [cm]: horiz.: 34  vert.: 19
[     6.391] (II) modeset(G0): Gamma: 2.20
[     6.391] (II) modeset(G0): No DPMS capabilities specified
[     6.391] (II) modeset(G0): Supported color encodings: RGB 4:4:4 
[     6.391] (II) modeset(G0): First detailed timing is preferred mode
[     6.391] (II) modeset(G0): Preferred mode is native pixel format and refresh rate
[     6.391] (II) modeset(G0): redX: 0.585 redY: 0.363   greenX: 0.350 greenY: 0.567
[     6.391] (II) modeset(G0): blueX: 0.162 blueY: 0.123   whiteX: 0.312 whiteY: 0.328
[     6.392] (II) modeset(G0): Manufacturer's mask: 0
[     6.392] (II) modeset(G0): Supported detailed timing:
[     6.392] (II) modeset(G0): clock: 151.3 MHz   Image Size:  344 x 194 mm
[     6.392] (II) modeset(G0): h_active: 1920  h_sync: 1968  h_sync_end 2000 h_blank_end 2212 h_border: 0
[     6.392] (II) modeset(G0): v_active: 1080  v_sync: 1083  v_sync_end 1089 v_blanking: 1140 v_border: 0
[     6.392] (II) modeset(G0): Supported detailed timing:
[     6.392] (II) modeset(G0): clock: 121.0 MHz   Image Size:  344 x 194 mm
[     6.392] (II) modeset(G0): h_active: 1920  h_sync: 1968  h_sync_end 2000 h_blank_end 2212 h_border: 0
[     6.392] (II) modeset(G0): v_active: 1080  v_sync: 1083  v_sync_end 1089 v_blanking: 1140 v_border: 0
[     6.392] (II) modeset(G0):  T1WD3€NV15N3D
[     6.392] (II) modeset(G0): Unknown vendor-specific block 0
[     6.392] (II) modeset(G0): EDID (in hex):
[     6.392] (II) modeset(G0):     00ffffffffffff0009e5190800000000
[     6.392] (II) modeset(G0):     201c01049522137802c9a0955d599129
[     6.392] (II) modeset(G0):     1f505400000001010101010101010101
[     6.392] (II) modeset(G0):     0101010101011a3b802471383c403020
[     6.392] (II) modeset(G0):     360058c21000001a482f802471383c40
[     6.392] (II) modeset(G0):     3020360058c21000001a000000fe0054
[     6.392] (II) modeset(G0):     31574433804e5631354e334400000000
[     6.392] (II) modeset(G0):     0000412196001000000a010a20200042
[     6.392] (II) modeset(G0): Printing probed modes for output eDP-1-1
[     6.392] (II) modeset(G0): Modeline "1920x1080"x60.0  151.30  1920 1968 2000 2212  1080 1083 1089 1140 +hsync -vsync (68.4 kHz eP)
[     6.392] (II) modeset(G0): Modeline "1920x1080"x119.9  266.50  1920 1944 1960 2000  1080 1081 1084 1111 doublescan +hsync -vsync (133.2 kHz d)
[     6.392] (II) modeset(G0): Modeline "1920x1080"x60.0  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync (67.2 kHz d)
[     6.392] (II) modeset(G0): Modeline "1920x1080"x59.9  138.50  1920 1968 2000 2080  1080 1083 1088 1111 +hsync -vsync (66.6 kHz d)
[     6.392] (II) modeset(G0): Modeline "1920x1080"x48.0  121.04  1920 1968 2000 2212  1080 1083 1089 1140 +hsync -vsync (54.7 kHz e)
[     6.392] (II) modeset(G0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz d)
[     6.392] (II) modeset(G0): Modeline "1680x1050"x59.9  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz d)
[     6.392] (II) modeset(G0): Modeline "1400x1050"x60.0  122.00  1400 1488 1640 1880  1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)
[     6.392] (II) modeset(G0): Modeline "1600x900"x120.0  246.00  1600 1728 1900 2200  900 901 904 932 doublescan -hsync +vsync (111.8 kHz d)
[     6.392] (II) modeset(G0): Modeline "1600x900"x119.9  186.50  1600 1624 1640 1680  900 901 904 926 doublescan +hsync -vsync (111.0 kHz d)
[     6.392] (II) modeset(G0): Modeline "1600x900"x59.9  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync (56.0 kHz d)
[     6.392] (II) modeset(G0): Modeline "1600x900"x59.8   97.50  1600 1648 1680 1760  900 903 908 926 +hsync -vsync (55.4 kHz d)
[     6.392] (II) modeset(G0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)
[     6.392] (II) modeset(G0): Modeline "1400x900"x60.0  103.50  1400 1480 1624 1848  900 903 913 934 -hsync +vsync (56.0 kHz d)
[     6.392] (II) modeset(G0): Modeline "1400x900"x59.9   86.50  1400 1448 1480 1560  900 903 913 926 +hsync -vsync (55.4 kHz d)
[     6.392] (II) modeset(G0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz d)
[     6.392] (II) modeset(G0): Modeline "1440x810"x120.0  198.12  1440 1548 1704 1968  810 811 814 839 doublescan -hsync +vsync (100.7 kHz d)
[     6.392] (II) modeset(G0): Modeline "1440x810"x119.9  151.88  1440 1464 1480 1520  810 811 814 833 doublescan +hsync -vsync (99.9 kHz d)
[     6.392] (II) modeset(G0): Modeline "1368x768"x59.9   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync (47.8 kHz d)
[     6.392] (II) modeset(G0): Modeline "1368x768"x59.9   72.25  1368 1416 1448 1528  768 771 781 790 +hsync -vsync (47.3 kHz d)
[     6.392] (II) modeset(G0): Modeline "1280x800"x120.0  174.25  1280 1380 1516 1752  800 801 804 829 doublescan -hsync +vsync (99.5 kHz d)
[     6.392] (II) modeset(G0): Modeline "1280x800"x119.9  134.25  1280 1304 1320 1360  800 801 804 823 doublescan +hsync -vsync (98.7 kHz d)
[     6.392] (II) modeset(G0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz d)
[     6.392] (II) modeset(G0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz d)
[     6.392] (II) modeset(G0): Modeline "1280x720"x120.0  156.12  1280 1376 1512 1744  720 721 724 746 doublescan -hsync +vsync (89.5 kHz d)
[     6.392] (II) modeset(G0): Modeline "1280x720"x120.0  120.75  1280 1304 1320 1360  720 721 724 740 doublescan +hsync -vsync (88.8 kHz d)
[     6.392] (II) modeset(G0): Modeline "1280x720"x59.9   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.8 kHz d)
[     6.392] (II) modeset(G0): Modeline "1280x720"x59.7   63.75  1280 1328 1360 1440  720 723 728 741 +hsync -vsync (44.3 kHz d)
[     6.392] (II) modeset(G0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[     6.392] (II) modeset(G0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[     6.392] (II) modeset(G0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[     6.392] (II) modeset(G0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[     6.392] (II) modeset(G0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[     6.392] (II) modeset(G0): Modeline "1024x576"x119.9   98.50  1024 1092 1200 1376  576 577 580 597 doublescan -hsync +vsync (71.6 kHz d)
[     6.392] (II) modeset(G0): Modeline "1024x576"x119.9   78.38  1024 1048 1064 1104  576 577 580 592 doublescan +hsync -vsync (71.0 kHz d)
[     6.392] (II) modeset(G0): Modeline "1024x576"x59.9   46.50  1024 1064 1160 1296  576 579 584 599 -hsync +vsync (35.9 kHz d)
[     6.392] (II) modeset(G0): Modeline "1024x576"x59.8   42.00  1024 1072 1104 1184  576 579 584 593 +hsync -vsync (35.5 kHz d)
[     6.392] (II) modeset(G0): Modeline "960x600"x119.9   96.62  960 1028 1128 1296  600 601 604 622 doublescan -hsync +vsync (74.6 kHz d)
[     6.392] (II) modeset(G0): Modeline "960x600"x120.0   77.00  960 984 1000 1040  600 601 604 617 doublescan +hsync -vsync (74.0 kHz d)
[     6.392] (II) modeset(G0): Modeline "960x540"x119.9   86.50  960 1024 1124 1288  540 541 544 560 doublescan -hsync +vsync (67.2 kHz d)
[     6.392] (II) modeset(G0): Modeline "960x540"x120.0   69.25  960 984 1000 1040  540 541 544 555 doublescan +hsync -vsync (66.6 kHz d)
[     6.392] (II) modeset(G0): Modeline "960x540"x59.6   40.75  960 992 1088 1216  540 543 548 562 -hsync +vsync (33.5 kHz d)
[     6.392] (II) modeset(G0): Modeline "960x540"x59.8   37.25  960 1008 1040 1120  540 543 548 556 +hsync -vsync (33.3 kHz d)
[     6.392] (II) modeset(G0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[     6.392] (II) modeset(G0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[     6.392] (II) modeset(G0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[     6.392] (II) modeset(G0): Modeline "840x525"x120.0   73.12  840 892 980 1120  525 526 529 544 doublescan -hsync +vsync (65.3 kHz d)
[     6.392] (II) modeset(G0): Modeline "840x525"x119.8   59.50  840 864 880 920  525 526 529 540 doublescan +hsync -vsync (64.7 kHz d)
[     6.392] (II) modeset(G0): Modeline "864x486"x59.9   32.50  864 888 968 1072  486 489 494 506 -hsync +vsync (30.3 kHz d)
[     6.392] (II) modeset(G0): Modeline "864x486"x59.6   30.50  864 912 944 1024  486 489 494 500 +hsync -vsync (29.8 kHz d)
[     6.392] (II) modeset(G0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[     6.392] (II) modeset(G0): Modeline "800x450"x119.9   59.12  800 848 928 1056  450 451 454 467 doublescan -hsync +vsync (56.0 kHz d)
[     6.392] (II) modeset(G0): Modeline "800x450"x119.6   48.75  800 824 840 880  450 451 454 463 doublescan +hsync -vsync (55.4 kHz d)
[     6.392] (II) modeset(G0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[     6.392] (II) modeset(G0): Modeline "700x450"x119.9   51.75  700 740 812 924  450 451 456 467 doublescan -hsync +vsync (56.0 kHz d)
[     6.392] (II) modeset(G0): Modeline "700x450"x119.8   43.25  700 724 740 780  450 451 456 463 doublescan +hsync -vsync (55.4 kHz d)
[     6.392] (II) modeset(G0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[     6.392] (II) modeset(G0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[     6.392] (II) modeset(G0): Modeline "720x405"x59.5   22.50  720 744 808 896  405 408 413 422 -hsync +vsync (25.1 kHz d)
[     6.392] (II) modeset(G0): Modeline "720x405"x59.0   21.75  720 768 800 880  405 408 413 419 +hsync -vsync (24.7 kHz d)
[     6.392] (II) modeset(G0): Modeline "684x384"x119.8   42.62  684 720 788 892  384 385 390 399 doublescan -hsync +vsync (47.8 kHz d)
[     6.392] (II) modeset(G0): Modeline "684x384"x119.7   36.12  684 708 724 764  384 385 390 395 doublescan +hsync -vsync (47.3 kHz d)
[     6.392] (II) modeset(G0): Modeline "640x400"x119.8   41.75  640 676 740 840  400 401 404 415 doublescan -hsync +vsync (49.7 kHz d)
[     6.392] (II) modeset(G0): Modeline "640x400"x120.0   35.50  640 664 680 720  400 401 404 411 doublescan +hsync -vsync (49.3 kHz d)
[     6.392] (II) modeset(G0): Modeline "640x360"x119.7   37.25  640 672 736 832  360 361 364 374 doublescan -hsync +vsync (44.8 kHz d)
[     6.392] (II) modeset(G0): Modeline "640x360"x119.7   31.88  640 664 680 720  360 361 364 370 doublescan +hsync -vsync (44.3 kHz d)
[     6.392] (II) modeset(G0): Modeline "640x360"x59.8   18.00  640 664 720 800  360 363 368 376 -hsync +vsync (22.5 kHz d)
[     6.392] (II) modeset(G0): Modeline "640x360"x59.3   17.75  640 688 720 800  360 363 368 374 +hsync -vsync (22.2 kHz d)
[     6.392] (II) modeset(G0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[     6.392] (II) modeset(G0): Modeline "512x288"x120.0   23.25  512 532 580 648  288 289 292 299 doublescan -hsync +vsync (35.9 kHz d)
[     6.392] (II) modeset(G0): Modeline "512x288"x119.8   21.00  512 536 552 592  288 289 292 296 doublescan +hsync -vsync (35.5 kHz d)
[     6.392] (II) modeset(G0): Modeline "480x270"x119.3   20.38  480 496 544 608  270 271 274 281 doublescan -hsync +vsync (33.5 kHz d)
[     6.392] (II) modeset(G0): Modeline "480x270"x119.6   18.62  480 504 520 560  270 271 274 278 doublescan +hsync -vsync (33.3 kHz d)
[     6.392] (II) modeset(G0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[     6.392] (II) modeset(G0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[     6.392] (II) modeset(G0): Modeline "432x243"x119.8   16.25  432 444 484 536  243 244 247 253 doublescan -hsync +vsync (30.3 kHz d)
[     6.392] (II) modeset(G0): Modeline "432x243"x119.1   15.25  432 456 472 512  243 244 247 250 doublescan +hsync -vsync (29.8 kHz d)
[     6.392] (II) modeset(G0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[     6.392] (II) modeset(G0): Modeline "360x202"x119.0   11.25  360 372 404 448  202 204 206 211 doublescan -hsync +vsync (25.1 kHz d)
[     6.392] (II) modeset(G0): Modeline "360x202"x118.3   10.88  360 384 400 440  202 204 206 209 doublescan +hsync -vsync (24.7 kHz d)
[     6.392] (II) modeset(G0): Modeline "320x180"x119.7    9.00  320 332 360 400  180 181 184 188 doublescan -hsync +vsync (22.5 kHz d)
[     6.392] (II) modeset(G0): Modeline "320x180"x118.6    8.88  320 344 360 400  180 181 184 187 doublescan +hsync -vsync (22.2 kHz d)
[     6.392] (II) modeset(G0): EDID for output DP-1-1
[     6.397] (II) modeset(G0): EDID for output HDMI-1-2
[     6.397] (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
[     6.397] (==) modeset(G0): DPI set to (96, 96)
[     6.397] (II) Loading sub module "fb"
[     6.397] (II) LoadModule: "fb"
[     6.397] (II) Module "fb" already built-in
[     6.397] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[     6.397] (II) NVIDIA:     access.
[     6.408] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[     6.408] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[     6.408] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[     6.408] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[     6.408] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[     6.408] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[     6.408] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[     6.408] (II) NVIDIA(0):     Config Options in the README.
[     6.424] (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select"
[     6.455] (WW) NVIDIA(0): Failed to request fliplock.
[     6.475] (==) NVIDIA(0): Disabling shared memory pixmaps
[     6.475] (==) NVIDIA(0): Backing store enabled
[     6.475] (==) NVIDIA(0): Silken mouse enabled
[     6.475] (==) NVIDIA(0): DPMS enabled
[     6.475] (II) Loading sub module "dri2"
[     6.475] (II) LoadModule: "dri2"
[     6.475] (II) Module "dri2" already built-in
[     6.475] (II) NVIDIA(0): [DRI2] Setup complete
[     6.475] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[     6.489] (==) modeset(G0): Backing store enabled
[     6.489] (==) modeset(G0): Silken mouse enabled
[     6.562] (II) modeset(G0): Initializing kms color map for depth 24, 8 bpc.
[     6.562] (==) modeset(G0): DPMS enabled
[     6.562] (WW) modeset(G0): Option "AllowEmptyInitialConfiguration" is not used
[     6.562] (II) modeset(G0): [DRI2] Setup complete
[     6.562] (II) modeset(G0): [DRI2]   DRI driver: iris
[     6.562] (II) modeset(G0): [DRI2]   VDPAU driver: va_gl
[     6.562] (II) modeset(G0): Disable reverse prime offload mode for i915.
[     6.562] (II) Initializing extension Generic Event Extension
[     6.562] (II) Initializing extension SHAPE
[     6.562] (II) Initializing extension MIT-SHM
[     6.562] (II) Initializing extension XInputExtension
[     6.562] (II) Initializing extension XTEST
[     6.562] (II) Initializing extension BIG-REQUESTS
[     6.562] (II) Initializing extension SYNC
[     6.562] (II) Initializing extension XKEYBOARD
[     6.562] (II) Initializing extension XC-MISC
[     6.562] (II) Initializing extension SECURITY
[     6.562] (II) Initializing extension XFIXES
[     6.562] (II) Initializing extension RENDER
[     6.562] (II) Initializing extension RANDR
[     6.563] (II) Initializing extension COMPOSITE
[     6.563] (II) Initializing extension DAMAGE
[     6.563] (II) Initializing extension MIT-SCREEN-SAVER
[     6.563] (II) Initializing extension DOUBLE-BUFFER
[     6.563] (II) Initializing extension RECORD
[     6.563] (II) Initializing extension DPMS
[     6.563] (II) Initializing extension Present
[     6.563] (II) Initializing extension DRI3
[     6.563] (II) Initializing extension X-Resource
[     6.563] (II) Initializing extension XVideo
[     6.564] (II) Initializing extension XVideo-MotionCompensation
[     6.564] (II) Initializing extension GLX
[     6.564] (II) Initializing extension GLX
[     6.564] (II) Indirect GLX disabled.
[     6.564] (II) GLX: Another vendor is already registered for screen 0
[     6.564] (II) Initializing extension XFree86-VidModeExtension
[     6.564] (II) Initializing extension XFree86-DGA
[     6.564] (II) Initializing extension XFree86-DRI
[     6.564] (II) Initializing extension DRI2
[     6.564] (II) Initializing extension NV-GLX
[     6.564] (II) Initializing extension NV-CONTROL
[     6.565] (II) Initializing extension XINERAMA
[     6.832] (II) modeset(G0): Damage tracking initialized
[     6.943] (II) config/udev: Adding input device Video Bus (/dev/input/event7)
[     6.943] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[     6.943] (II) LoadModule: "libinput"
[     6.943] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[     6.945] (II) Module libinput: vendor="X.Org Foundation"
[     6.945]     compiled for 1.21.1.8, module version = 1.4.0
[     6.945]     Module class: X.Org XInput Driver
[     6.945]     ABI class: X.Org XInput driver, version 24.4
[     6.945] (II) Using input driver 'libinput' for 'Video Bus'
[     6.945] (**) Video Bus: always reports core events
[     6.945] (**) Option "Device" "/dev/input/event7"
[     6.949] (II) event7  - Video Bus: is tagged by udev as: Keyboard
[     6.949] (II) event7  - Video Bus: device is a keyboard
[     6.949] (II) event7  - Video Bus: device removed
[     6.965] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input10/event7"
[     6.965] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 6)
[     6.965] (II) event7  - Video Bus: is tagged by udev as: Keyboard
[     6.965] (II) event7  - Video Bus: device is a keyboard
[     6.965] (II) config/udev: Adding input device Video Bus (/dev/input/event9)
[     6.965] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[     6.965] (II) Using input driver 'libinput' for 'Video Bus'
[     6.965] (**) Video Bus: always reports core events
[     6.965] (**) Option "Device" "/dev/input/event9"
[     6.966] (II) event9  - Video Bus: is tagged by udev as: Keyboard
[     6.966] (II) event9  - Video Bus: device is a keyboard
[     6.966] (II) event9  - Video Bus: device removed
[     6.975] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:1b/LNXVIDEO:01/input/input11/event9"
[     6.975] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[     6.975] (II) event9  - Video Bus: is tagged by udev as: Keyboard
[     6.975] (II) event9  - Video Bus: device is a keyboard
[     6.975] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[     6.975] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[     6.975] (II) Using input driver 'libinput' for 'Power Button'
[     6.975] (**) Power Button: always reports core events
[     6.975] (**) Option "Device" "/dev/input/event1"
[     6.976] (II) event1  - Power Button: is tagged by udev as: Keyboard
[     6.976] (II) event1  - Power Button: device is a keyboard
[     6.976] (II) event1  - Power Button: device removed
[     6.976] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1"
[     6.976] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[     6.976] (II) event1  - Power Button: is tagged by udev as: Keyboard
[     6.976] (II) event1  - Power Button: device is a keyboard
[     6.977] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[     6.977] (II) No input driver specified, ignoring this device.
[     6.977] (II) This device may have been added with another device file.
[     6.977] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[     6.977] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[     6.977] (II) Using input driver 'libinput' for 'Sleep Button'
[     6.977] (**) Sleep Button: always reports core events
[     6.977] (**) Option "Device" "/dev/input/event2"
[     6.978] (II) event2  - Sleep Button: is tagged by udev as: Keyboard
[     6.978] (II) event2  - Sleep Button: device is a keyboard
[     6.978] (II) event2  - Sleep Button: device removed
[     6.978] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2/event2"
[     6.978] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[     6.978] (II) event2  - Sleep Button: is tagged by udev as: Keyboard
[     6.978] (II) event2  - Sleep Button: device is a keyboard
[     6.979] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event12)
[     6.979] (II) No input driver specified, ignoring this device.
[     6.979] (II) This device may have been added with another device file.
[     6.979] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event13)
[     6.979] (II) No input driver specified, ignoring this device.
[     6.979] (II) This device may have been added with another device file.
[     6.980] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event15)
[     6.980] (II) No input driver specified, ignoring this device.
[     6.980] (II) This device may have been added with another device file.
[     6.980] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event16)
[     6.980] (II) No input driver specified, ignoring this device.
[     6.980] (II) This device may have been added with another device file.
[     6.981] (II) config/udev: Adding input device Logitech K360 (/dev/input/event4)
[     6.981] (**) Logitech K360: Applying InputClass "libinput keyboard catchall"
[     6.981] (II) Using input driver 'libinput' for 'Logitech K360'
[     6.981] (**) Logitech K360: always reports core events
[     6.981] (**) Option "Device" "/dev/input/event4"
[     6.982] (II) event4  - Logitech K360: is tagged by udev as: Keyboard
[     6.982] (II) event4  - Logitech K360: device is a keyboard
[     6.982] (II) event4  - Logitech K360: device removed
[     6.982] (II) libinput: Logitech K360: needs a virtual subdevice
[     6.982] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.2/0003:046D:C52B.0003/0003:046D:4004.0004/input/input26/event4"
[     6.982] (II) XINPUT: Adding extended input device "Logitech K360" (type: MOUSE, id 10)
[     6.982] (**) Option "AccelerationScheme" "none"
[     6.982] (**) Logitech K360: (accel) selected scheme none/0
[     6.982] (**) Logitech K360: (accel) acceleration factor: 2.000
[     6.982] (**) Logitech K360: (accel) acceleration threshold: 4
[     6.983] (II) event4  - Logitech K360: is tagged by udev as: Keyboard
[     6.983] (II) event4  - Logitech K360: device is a keyboard
[     6.984] (II) config/udev: Adding input device Logitech MX Anywhere 2S (/dev/input/event5)
[     6.984] (**) Logitech MX Anywhere 2S: Applying InputClass "libinput pointer catchall"
[     6.984] (**) Logitech MX Anywhere 2S: Applying InputClass "libinput keyboard catchall"
[     6.984] (II) Using input driver 'libinput' for 'Logitech MX Anywhere 2S'
[     6.984] (**) Logitech MX Anywhere 2S: always reports core events
[     6.984] (**) Option "Device" "/dev/input/event5"
[     6.985] (II) event5  - Logitech MX Anywhere 2S: is tagged by udev as: Keyboard Mouse
[     6.985] (II) event5  - Logitech MX Anywhere 2S: device is a pointer
[     6.985] (II) event5  - Logitech MX Anywhere 2S: device is a keyboard
[     6.985] (II) event5  - Logitech MX Anywhere 2S: device removed
[     6.985] (II) libinput: Logitech MX Anywhere 2S: Step value 0 was provided, libinput Fallback acceleration function is used.
[     6.985] (II) libinput: Logitech MX Anywhere 2S: Step value 0 was provided, libinput Fallback acceleration function is used.
[     6.985] (II) libinput: Logitech MX Anywhere 2S: Step value 0 was provided, libinput Fallback acceleration function is used.
[     6.985] (II) libinput: Logitech MX Anywhere 2S: needs a virtual subdevice
[     6.985] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.2/0003:046D:C52B.0003/0003:046D:406A.0005/input/input27/event5"
[     6.985] (II) XINPUT: Adding extended input device "Logitech MX Anywhere 2S" (type: MOUSE, id 11)
[     6.985] (**) Option "AccelerationScheme" "none"
[     6.985] (**) Logitech MX Anywhere 2S: (accel) selected scheme none/0
[     6.985] (**) Logitech MX Anywhere 2S: (accel) acceleration factor: 2.000
[     6.985] (**) Logitech MX Anywhere 2S: (accel) acceleration threshold: 4
[     6.986] (II) event5  - Logitech MX Anywhere 2S: is tagged by udev as: Keyboard Mouse
[     6.987] (II) event5  - Logitech MX Anywhere 2S: device is a pointer
[     6.987] (II) event5  - Logitech MX Anywhere 2S: device is a keyboard
[     6.987] (II) config/udev: Adding input device Logitech MX Anywhere 2S (/dev/input/mouse0)
[     6.987] (II) No input driver specified, ignoring this device.
[     6.987] (II) This device may have been added with another device file.
[     6.988] (II) config/udev: Adding input device Logitech MX Anywhere 2S (/dev/input/event6)
[     6.988] (**) Logitech MX Anywhere 2S: Applying InputClass "libinput pointer catchall"
[     6.988] (**) Logitech MX Anywhere 2S: Applying InputClass "libinput keyboard catchall"
[     6.988] (II) Using input driver 'libinput' for 'Logitech MX Anywhere 2S'
[     6.988] (**) Logitech MX Anywhere 2S: always reports core events
[     6.988] (**) Option "Device" "/dev/input/event6"
[     6.989] (II) event6  - Logitech MX Anywhere 2S: is tagged by udev as: Keyboard Mouse
[     6.989] (II) event6  - Logitech MX Anywhere 2S: device is a pointer
[     6.989] (II) event6  - Logitech MX Anywhere 2S: device is a keyboard
[     6.989] (II) event6  - Logitech MX Anywhere 2S: device removed
[     6.989] (II) libinput: Logitech MX Anywhere 2S: Step value 0 was provided, libinput Fallback acceleration function is used.
[     6.989] (II) libinput: Logitech MX Anywhere 2S: Step value 0 was provided, libinput Fallback acceleration function is used.
[     6.989] (II) libinput: Logitech MX Anywhere 2S: Step value 0 was provided, libinput Fallback acceleration function is used.
[     6.989] (II) libinput: Logitech MX Anywhere 2S: needs a virtual subdevice
[     6.989] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.2/0003:046D:C52B.0003/0003:046D:406A.0006/input/input28/event6"
[     6.989] (II) XINPUT: Adding extended input device "Logitech MX Anywhere 2S" (type: MOUSE, id 12)
[     6.989] (**) Option "AccelerationScheme" "none"
[     6.989] (**) Logitech MX Anywhere 2S: (accel) selected scheme none/0
[     6.989] (**) Logitech MX Anywhere 2S: (accel) acceleration factor: 2.000
[     6.989] (**) Logitech MX Anywhere 2S: (accel) acceleration threshold: 4
[     6.990] (II) event6  - Logitech MX Anywhere 2S: is tagged by udev as: Keyboard Mouse
[     6.991] (II) event6  - Logitech MX Anywhere 2S: device is a pointer
[     6.991] (II) event6  - Logitech MX Anywhere 2S: device is a keyboard
[     6.991] (II) config/udev: Adding input device Logitech MX Anywhere 2S (/dev/input/mouse1)
[     6.991] (II) No input driver specified, ignoring this device.
[     6.991] (II) This device may have been added with another device file.
[     6.992] (II) config/udev: Adding input device DELL0949:00 04F3:30CB Mouse (/dev/input/event17)
[     6.992] (**) DELL0949:00 04F3:30CB Mouse: Applying InputClass "libinput pointer catchall"
[     6.992] (II) Using input driver 'libinput' for 'DELL0949:00 04F3:30CB Mouse'
[     6.992] (**) DELL0949:00 04F3:30CB Mouse: always reports core events
[     6.992] (**) Option "Device" "/dev/input/event17"
[     6.993] (II) event17 - DELL0949:00 04F3:30CB Mouse: is tagged by udev as: Mouse Pointingstick
[     6.993] (II) event17 - DELL0949:00 04F3:30CB Mouse: device is a pointer
[     6.993] (II) event17 - DELL0949:00 04F3:30CB Mouse: device removed
[     7.005] (II) libinput: DELL0949:00 04F3:30CB Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[     7.005] (II) libinput: DELL0949:00 04F3:30CB Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[     7.005] (II) libinput: DELL0949:00 04F3:30CB Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[     7.005] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-11/i2c-DELL0949:00/0018:04F3:30CB.0007/input/input41/event17"
[     7.005] (II) XINPUT: Adding extended input device "DELL0949:00 04F3:30CB Mouse" (type: MOUSE, id 13)
[     7.005] (**) Option "AccelerationScheme" "none"
[     7.005] (**) DELL0949:00 04F3:30CB Mouse: (accel) selected scheme none/0
[     7.005] (**) DELL0949:00 04F3:30CB Mouse: (accel) acceleration factor: 2.000
[     7.005] (**) DELL0949:00 04F3:30CB Mouse: (accel) acceleration threshold: 4
[     7.005] (II) event17 - DELL0949:00 04F3:30CB Mouse: is tagged by udev as: Mouse Pointingstick
[     7.005] (II) event17 - DELL0949:00 04F3:30CB Mouse: device is a pointer
[     7.006] (II) config/udev: Adding input device DELL0949:00 04F3:30CB Mouse (/dev/input/mouse2)
[     7.006] (II) No input driver specified, ignoring this device.
[     7.006] (II) This device may have been added with another device file.
[     7.006] (II) config/udev: Adding input device DELL0949:00 04F3:30CB Touchpad (/dev/input/event18)
[     7.006] (**) DELL0949:00 04F3:30CB Touchpad: Applying InputClass "libinput touchpad catchall"
[     7.006] (II) Using input driver 'libinput' for 'DELL0949:00 04F3:30CB Touchpad'
[     7.006] (**) DELL0949:00 04F3:30CB Touchpad: always reports core events
[     7.006] (**) Option "Device" "/dev/input/event18"
[     7.007] (II) event18 - DELL0949:00 04F3:30CB Touchpad: is tagged by udev as: Touchpad
[     7.008] (II) event18 - DELL0949:00 04F3:30CB Touchpad: device is a touchpad
[     7.009] (II) event18 - DELL0949:00 04F3:30CB Touchpad: device removed
[     7.019] (II) libinput: DELL0949:00 04F3:30CB Touchpad: Step value 0 was provided, libinput Fallback acceleration function is used.
[     7.019] (II) libinput: DELL0949:00 04F3:30CB Touchpad: Step value 0 was provided, libinput Fallback acceleration function is used.
[     7.019] (II) libinput: DELL0949:00 04F3:30CB Touchpad: Step value 0 was provided, libinput Fallback acceleration function is used.
[     7.019] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-11/i2c-DELL0949:00/0018:04F3:30CB.0007/input/input42/event18"
[     7.019] (II) XINPUT: Adding extended input device "DELL0949:00 04F3:30CB Touchpad" (type: TOUCHPAD, id 14)
[     7.019] (**) Option "AccelerationScheme" "none"
[     7.019] (**) DELL0949:00 04F3:30CB Touchpad: (accel) selected scheme none/0
[     7.019] (**) DELL0949:00 04F3:30CB Touchpad: (accel) acceleration factor: 2.000
[     7.019] (**) DELL0949:00 04F3:30CB Touchpad: (accel) acceleration threshold: 4
[     7.020] (II) event18 - DELL0949:00 04F3:30CB Touchpad: is tagged by udev as: Touchpad
[     7.021] (II) event18 - DELL0949:00 04F3:30CB Touchpad: device is a touchpad
[     7.022] (II) config/udev: Adding input device DELL0949:00 04F3:30CB Touchpad (/dev/input/mouse3)
[     7.022] (II) No input driver specified, ignoring this device.
[     7.022] (II) This device may have been added with another device file.
[     7.022] (II) config/udev: Adding input device Intel HID events (/dev/input/event8)
[     7.022] (**) Intel HID events: Applying InputClass "libinput keyboard catchall"
[     7.022] (II) Using input driver 'libinput' for 'Intel HID events'
[     7.022] (**) Intel HID events: always reports core events
[     7.022] (**) Option "Device" "/dev/input/event8"
[     7.023] (II) event8  - Intel HID events: is tagged by udev as: Keyboard
[     7.023] (II) event8  - Intel HID events: device is a keyboard
[     7.023] (II) event8  - Intel HID events: device removed
[     7.023] (**) Option "config_info" "udev:/sys/devices/platform/INT33D5:00/input/input29/event8"
[     7.023] (II) XINPUT: Adding extended input device "Intel HID events" (type: KEYBOARD, id 15)
[     7.023] (II) event8  - Intel HID events: is tagged by udev as: Keyboard
[     7.024] (II) event8  - Intel HID events: device is a keyboard
[     7.024] (II) config/udev: Adding input device Intel HID 5 button array (/dev/input/event10)
[     7.024] (**) Intel HID 5 button array: Applying InputClass "libinput keyboard catchall"
[     7.024] (II) Using input driver 'libinput' for 'Intel HID 5 button array'
[     7.024] (**) Intel HID 5 button array: always reports core events
[     7.024] (**) Option "Device" "/dev/input/event10"
[     7.024] (II) event10 - Intel HID 5 button array: is tagged by udev as: Keyboard
[     7.024] (II) event10 - Intel HID 5 button array: device is a keyboard
[     7.025] (II) event10 - Intel HID 5 button array: device removed
[     7.025] (**) Option "config_info" "udev:/sys/devices/platform/INT33D5:00/input/input30/event10"
[     7.025] (II) XINPUT: Adding extended input device "Intel HID 5 button array" (type: KEYBOARD, id 16)
[     7.025] (II) event10 - Intel HID 5 button array: is tagged by udev as: Keyboard
[     7.025] (II) event10 - Intel HID 5 button array: device is a keyboard
[     7.026] (II) config/udev: Adding input device Dell WMI hotkeys (/dev/input/event14)
[     7.026] (**) Dell WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[     7.026] (II) Using input driver 'libinput' for 'Dell WMI hotkeys'
[     7.026] (**) Dell WMI hotkeys: always reports core events
[     7.026] (**) Option "Device" "/dev/input/event14"
[     7.026] (II) event14 - Dell WMI hotkeys: is tagged by udev as: Keyboard
[     7.027] (II) event14 - Dell WMI hotkeys: device is a keyboard
[     7.027] (II) event14 - Dell WMI hotkeys: device removed
[     7.037] (**) Option "config_info" "udev:/sys/devices/platform/PNP0C14:04/wmi_bus/wmi_bus-PNP0C14:04/9DBB5994-A997-11DA-B012-B622A1EF5492/input/input36/event14"
[     7.037] (II) XINPUT: Adding extended input device "Dell WMI hotkeys" (type: KEYBOARD, id 17)
[     7.037] (II) event14 - Dell WMI hotkeys: is tagged by udev as: Keyboard
[     7.037] (II) event14 - Dell WMI hotkeys: device is a keyboard
[     7.037] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
[     7.037] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[     7.037] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[     7.037] (**) AT Translated Set 2 keyboard: always reports core events
[     7.037] (**) Option "Device" "/dev/input/event3"
[     7.038] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[     7.038] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[     7.039] (II) event3  - AT Translated Set 2 keyboard: device removed
[     7.039] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input3/event3"
[     7.039] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 18)
[     7.039] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[     7.039] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[     7.040] (II) config/udev: Adding input device PS/2 Generic Mouse (/dev/input/event19)
[     7.040] (**) PS/2 Generic Mouse: Applying InputClass "libinput pointer catchall"
[     7.040] (II) Using input driver 'libinput' for 'PS/2 Generic Mouse'
[     7.040] (**) PS/2 Generic Mouse: always reports core events
[     7.040] (**) Option "Device" "/dev/input/event19"
[     7.041] (II) event19 - PS/2 Generic Mouse: is tagged by udev as: Mouse
[     7.041] (II) event19 - PS/2 Generic Mouse: device is a pointer
[     7.041] (II) event19 - PS/2 Generic Mouse: device removed
[     7.051] (II) libinput: PS/2 Generic Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[     7.051] (II) libinput: PS/2 Generic Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[     7.051] (II) libinput: PS/2 Generic Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[     7.051] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input32/event19"
[     7.051] (II) XINPUT: Adding extended input device "PS/2 Generic Mouse" (type: MOUSE, id 19)
[     7.051] (**) Option "AccelerationScheme" "none"
[     7.051] (**) PS/2 Generic Mouse: (accel) selected scheme none/0
[     7.051] (**) PS/2 Generic Mouse: (accel) acceleration factor: 2.000
[     7.051] (**) PS/2 Generic Mouse: (accel) acceleration threshold: 4
[     7.051] (II) event19 - PS/2 Generic Mouse: is tagged by udev as: Mouse
[     7.051] (II) event19 - PS/2 Generic Mouse: device is a pointer
[     7.051] (II) config/udev: Adding input device PS/2 Generic Mouse (/dev/input/mouse4)
[     7.051] (II) No input driver specified, ignoring this device.
[     7.051] (II) This device may have been added with another device file.
[     7.052] (II) config/udev: Adding input device PC Speaker (/dev/input/event11)
[     7.052] (II) No input driver specified, ignoring this device.
[     7.052] (II) This device may have been added with another device file.
[     7.057] (**) Logitech K360: Applying InputClass "libinput keyboard catchall"
[     7.057] (II) Using input driver 'libinput' for 'Logitech K360'
[     7.057] (**) Logitech K360: always reports core events
[     7.057] (**) Option "Device" "/dev/input/event4"
[     7.057] (II) libinput: Logitech K360: is a virtual subdevice
[     7.057] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.2/0003:046D:C52B.0003/0003:046D:4004.0004/input/input26/event4"
[     7.057] (II) XINPUT: Adding extended input device "Logitech K360" (type: KEYBOARD, id 20)
[     7.057] (**) Logitech MX Anywhere 2S: Applying InputClass "libinput pointer catchall"
[     7.057] (**) Logitech MX Anywhere 2S: Applying InputClass "libinput keyboard catchall"
[     7.057] (II) Using input driver 'libinput' for 'Logitech MX Anywhere 2S'
[     7.057] (**) Logitech MX Anywhere 2S: always reports core events
[     7.057] (**) Option "Device" "/dev/input/event5"
[     7.057] (II) libinput: Logitech MX Anywhere 2S: is a virtual subdevice
[     7.057] (II) libinput: Logitech MX Anywhere 2S: Step value 0 was provided, libinput Fallback acceleration function is used.
[     7.057] (II) libinput: Logitech MX Anywhere 2S: Step value 0 was provided, libinput Fallback acceleration function is used.
[     7.057] (II) libinput: Logitech MX Anywhere 2S: Step value 0 was provided, libinput Fallback acceleration function is used.
[     7.057] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.2/0003:046D:C52B.0003/0003:046D:406A.0005/input/input27/event5"
[     7.057] (II) XINPUT: Adding extended input device "Logitech MX Anywhere 2S" (type: KEYBOARD, id 21)
[     7.057] (**) Logitech MX Anywhere 2S: Applying InputClass "libinput pointer catchall"
[     7.057] (**) Logitech MX Anywhere 2S: Applying InputClass "libinput keyboard catchall"
[     7.057] (II) Using input driver 'libinput' for 'Logitech MX Anywhere 2S'
[     7.057] (**) Logitech MX Anywhere 2S: always reports core events
[     7.057] (**) Option "Device" "/dev/input/event6"
[     7.057] (II) libinput: Logitech MX Anywhere 2S: is a virtual subdevice
[     7.057] (II) libinput: Logitech MX Anywhere 2S: Step value 0 was provided, libinput Fallback acceleration function is used.
[     7.057] (II) libinput: Logitech MX Anywhere 2S: Step value 0 was provided, libinput Fallback acceleration function is used.
[     7.057] (II) libinput: Logitech MX Anywhere 2S: Step value 0 was provided, libinput Fallback acceleration function is used.
[     7.057] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.2/0003:046D:C52B.0003/0003:046D:406A.0006/input/input28/event6"
[     7.057] (II) XINPUT: Adding extended input device "Logitech MX Anywhere 2S" (type: KEYBOARD, id 22)
[     7.116] (--) NVIDIA(GPU-0): SONY TV (DFP-0): connected
[     7.116] (--) NVIDIA(GPU-0): SONY TV (DFP-0): Internal TMDS
[     7.116] (--) NVIDIA(GPU-0): SONY TV (DFP-0): 600.0 MHz maximum pixel clock
[     7.116] (--) NVIDIA(GPU-0): 
[     9.045] (--) NVIDIA(GPU-0): SONY TV (DFP-0): connected
[     9.045] (--) NVIDIA(GPU-0): SONY TV (DFP-0): Internal TMDS
[     9.045] (--) NVIDIA(GPU-0): SONY TV (DFP-0): 600.0 MHz maximum pixel clock
[     9.045] (--) NVIDIA(GPU-0): 
[     9.089] (--) NVIDIA(GPU-0): SONY TV (DFP-0): connected
[     9.089] (--) NVIDIA(GPU-0): SONY TV (DFP-0): Internal TMDS
[     9.089] (--) NVIDIA(GPU-0): SONY TV (DFP-0): 600.0 MHz maximum pixel clock
[     9.089] (--) NVIDIA(GPU-0): 
[     9.356] (--) NVIDIA(GPU-0): SONY TV (DFP-0): connected
[     9.356] (--) NVIDIA(GPU-0): SONY TV (DFP-0): Internal TMDS
[     9.356] (--) NVIDIA(GPU-0): SONY TV (DFP-0): 600.0 MHz maximum pixel clock
[     9.356] (--) NVIDIA(GPU-0): 
[     9.399] (--) NVIDIA(GPU-0): SONY TV (DFP-0): connected
[     9.399] (--) NVIDIA(GPU-0): SONY TV (DFP-0): Internal TMDS
[     9.399] (--) NVIDIA(GPU-0): SONY TV (DFP-0): 600.0 MHz maximum pixel clock
[     9.399] (--) NVIDIA(GPU-0): 
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.29.06              Driver Version: 545.29.06    CUDA Version: 12.3     |
|-----------------------------------------+----------------------+----------------------+
| 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 1660 ...    On  | 00000000:01:00.0  On |                  N/A |
| N/A   45C    P8               3W /  60W |    448MiB /  6144MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A       596      G   /usr/lib/Xorg                               157MiB |
|    0   N/A  N/A       704      G   /usr/bin/ksmserver                            2MiB |
|    0   N/A  N/A       706      G   /usr/bin/kded5                                2MiB |
|    0   N/A  N/A       707      G   /usr/bin/kwin_x11                            60MiB |
|    0   N/A  N/A       740      G   /usr/bin/plasmashell                         62MiB |
|    0   N/A  N/A       785      G   ...b/polkit-kde-authentication-agent-1        2MiB |
|    0   N/A  N/A       787      G   /usr/lib/xdg-desktop-portal-kde               2MiB |
|    0   N/A  N/A       916      G   /usr/bin/kaccess                              2MiB |
|    0   N/A  N/A       918      G   /usr/lib/DiscoverNotifier                     2MiB |
|    0   N/A  N/A      1019      G   /usr/lib/firefox/firefox                    133MiB |
|    0   N/A  N/A      1513      G   /usr/bin/kate                                 2MiB |
|    0   N/A  N/A      1539      G   alacritty                                     8MiB |
|    0   N/A  N/A      1649      G   /usr/bin/wezterm-gui                          2MiB |
+---------------------------------------------------------------------------------------+
==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.269


Instance Extensions: count = 23
-------------------------------
VK_EXT_acquire_drm_display             : extension revision 1
VK_EXT_acquire_xlib_display            : extension revision 1
VK_EXT_debug_report                    : extension revision 10
VK_EXT_debug_utils                     : extension revision 2
VK_EXT_direct_mode_display             : extension revision 1
VK_EXT_display_surface_counter         : extension revision 1
VK_EXT_surface_maintenance1            : extension revision 1
VK_EXT_swapchain_colorspace            : extension revision 4
VK_KHR_device_group_creation           : extension revision 1
VK_KHR_display                         : extension revision 23
VK_KHR_external_fence_capabilities     : extension revision 1
VK_KHR_external_memory_capabilities    : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2         : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2       : extension revision 1
VK_KHR_portability_enumeration         : extension revision 1
VK_KHR_surface                         : extension revision 25
VK_KHR_surface_protected_capabilities  : extension revision 1
VK_KHR_wayland_surface                 : extension revision 6
VK_KHR_xcb_surface                     : extension revision 6
VK_KHR_xlib_surface                    : extension revision 6
VK_LUNARG_direct_driver_loading        : extension revision 1

Instance Layers: count = 8
--------------------------
VK_LAYER_MANGOAPP_overlay         Mangoapp Layer               1.3.0    version 1
VK_LAYER_MANGOHUD_overlay_x86     Vulkan Hud Overlay           1.3.0    version 1
VK_LAYER_MANGOHUD_overlay_x86_64  Vulkan Hud Overlay           1.3.0    version 1
VK_LAYER_NV_optimus               NVIDIA Optimus layer         1.3.260  version 1
VK_LAYER_VALVE_steam_fossilize_32 Steam Pipeline Caching Layer 1.3.207  version 1
VK_LAYER_VALVE_steam_fossilize_64 Steam Pipeline Caching Layer 1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_32   Steam Overlay Layer          1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_64   Steam Overlay Layer          1.3.207  version 1

Devices:
========
GPU0:
        apiVersion         = 1.3.260
        driverVersion      = 545.29.6.0
        vendorID           = 0x10de
        deviceID           = 0x2191
        deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
        deviceName         = NVIDIA GeForce GTX 1660 Ti with Max-Q Design
        driverID           = DRIVER_ID_NVIDIA_PROPRIETARY
        driverName         = NVIDIA
        driverInfo         = 545.29.06
        conformanceVersion = 1.3.6.0
        deviceUUID         = a2a143a3-c48f-e0ba-507e-e2c0c5ea1e85
        driverUUID         = 468717c2-5245-5d6d-9401-72b8a4ff98e5
local/lib32-nvidia-utils 545.29.06-1
    NVIDIA drivers utilities (32-bit)
local/lib32-vulkan-icd-loader 1.3.269-1
    Vulkan Installable Client Driver (ICD) Loader (32-bit)
local/mangohud 0.7.0-2
    A Vulkan overlay layer for monitoring FPS, temperatures, CPU/GPU load and more.
local/nvidia-utils 545.29.06-1
    NVIDIA drivers utilities
local/spirv-tools 2023.5-1 (vulkan-devel)
    API and commands for processing SPIR-V modules
local/vulkan-icd-loader 1.3.269-1
    Vulkan Installable Client Driver (ICD) Loader
local/vulkan-tools 1.3.269-1 (vulkan-devel)
    Vulkan Utilities and Tools

I've followed the wiki and chose to use EnvyControl amongst the options of programs for switching between integrated, nvidia and hybrid mode, I've used the following command:

sudo envycontrol -s nvidia --coolbits 28

Last edited by Katataf1sh (2023-12-05 19:03:34)

Offline

#6 2023-12-05 18:36:52

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

Re: MangoHud not working with system running only on dGPU

And what config did that result in?

grep -r nvidia /{etc,usr/share}/X11/xorg.conf*

post the files and their contents, though the outputs we have look correct.

Also please use code instead of quote to post outputs and adjust your previous post accordingly

Offline

#7 2023-12-05 19:09:03

Katataf1sh
Member
Registered: 2023-12-02
Posts: 18

Re: MangoHud not working with system running only on dGPU

V1del wrote:

And what config did that result in?

grep -r nvidia /{etc,usr/share}/X11/xorg.conf*

post the files and their contents, though the outputs we have look correct.

Also please use code instead of quote to post outputs and adjust your previous post accordingly

/etc/X11/xorg.conf:    Screen 0 "nvidia"
/etc/X11/xorg.conf:    Identifier "nvidia"
/etc/X11/xorg.conf:    Driver "nvidia"
/etc/X11/xorg.conf:    Identifier "nvidia"
/etc/X11/xorg.conf:    Device "nvidia"
/etc/X11/xorg.conf.backup:# nvidia-xconfig: X configuration file generated by nvidia-xconfig
/etc/X11/xorg.conf.backup:# nvidia-xconfig:  version 545.29.06
/etc/X11/xorg.conf.backup:    Screen      0  "nvidia" 0 0
/etc/X11/xorg.conf.backup:    Identifier     "nvidia"
/etc/X11/xorg.conf.backup:    Driver         "nvidia"
/etc/X11/xorg.conf.backup:    Identifier     "nvidia"
/etc/X11/xorg.conf.backup:    Identifier     "nvidia"
/etc/X11/xorg.conf.backup:    Device         "nvidia"
/etc/X11/xorg.conf.backup:        Modes      "nvidia-auto-select"
/etc/X11/xorg.conf.backup:    Identifier     "nvidia"
/etc/X11/xorg.conf.backup:    Device         "nvidia"
/etc/X11/xorg.conf.d/10-nvidia.conf:    Identifier "nvidia"
/etc/X11/xorg.conf.d/10-nvidia.conf:    MatchDriver "nvidia-drm"
/etc/X11/xorg.conf.d/10-nvidia.conf:    Driver "nvidia"
/etc/X11/xorg.conf.nvidia-xconfig-original:# nvidia-xconfig: X configuration file generated by nvidia-xconfig
/etc/X11/xorg.conf.nvidia-xconfig-original:# nvidia-xconfig:  version 545.29.06
/etc/X11/xorg.conf.nvidia-xconfig-original:    Screen      0  "nvidia" 0 0
/etc/X11/xorg.conf.nvidia-xconfig-original:    Identifier     "nvidia"
/etc/X11/xorg.conf.nvidia-xconfig-original:    Driver         "nvidia"
/etc/X11/xorg.conf.nvidia-xconfig-original:    Identifier     "nvidia"
/etc/X11/xorg.conf.nvidia-xconfig-original:    Identifier     "nvidia"
/etc/X11/xorg.conf.nvidia-xconfig-original:    Device         "nvidia"
/etc/X11/xorg.conf.nvidia-xconfig-original:        Modes      "nvidia-auto-select"
/etc/X11/xorg.conf.nvidia-xconfig-original:    Identifier     "nvidia"
/etc/X11/xorg.conf.nvidia-xconfig-original:    Device         "nvidia"
/usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf:    Identifier "nvidia"
/usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf:    MatchDriver "nvidia-drm"
/usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf:    Driver "nvidia"
/usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf:    ModulePath "/usr/lib/nvidia/xorg"

Hey, thank you for the help, I really appreciate it. What files am I supposed to post? And how do I post them? Should I use pastebin and put the link here?

Offline

#8 2023-12-06 11:58:21

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,062

Re: MangoHud not working with system running only on dGPU

For large files (say above 100 lines) pastebin services are useful.

/etc/X11/xorg.conf is the most important one.

Run pacman -Qkk nvidia-utils, if it doesn't report "0 altered files" also post /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf .

/etc/X11/xorg.conf.backup & /etc/X11/xorg.conf.nvidia-xconfig-original are less important but can be uploaded for completeness.

Last edited by Lone_Wolf (2023-12-06 11:58:56)


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

#9 2023-12-06 13:59:00

Katataf1sh
Member
Registered: 2023-12-02
Posts: 18

Re: MangoHud not working with system running only on dGPU

Lone_Wolf wrote:

For large files (say above 100 lines) pastebin services are useful.

/etc/X11/xorg.conf is the most important one.

Run pacman -Qkk nvidia-utils, if it doesn't report "0 altered files" also post /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf .

/etc/X11/xorg.conf.backup & /etc/X11/xorg.conf.nvidia-xconfig-original are less important but can be uploaded for completeness.

OK, but am I supposed to upload the file or the code? Cause wouldn't it be the same if I just posted the code here? Isn't pastebin used to post code? Or am I missing something here?

Offline

#10 2023-12-06 14:02:07

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

Re: MangoHud not working with system running only on dGPU

You can post it here as well but we want the full content and context of those files. the grep only includes snippets to identify the files we need to see.

FWIW maybe also post the backtrace of the coredump: https://wiki.archlinux.org/title/Core_d … _core_dump

Have you done any custom config of/for mangohud and might be using some options that assume a particular implementations?

Last edited by V1del (2023-12-06 14:05:08)

Offline

#11 2023-12-06 16:11:56

Katataf1sh
Member
Registered: 2023-12-02
Posts: 18

Re: MangoHud not working with system running only on dGPU

V1del wrote:

You can post it here as well but we want the full content and context of those files. the grep only includes snippets to identify the files we need to see.

FWIW maybe also post the backtrace of the coredump: https://wiki.archlinux.org/title/Core_d … _core_dump

Have you done any custom config of/for mangohud and might be using some options that assume a particular implementations?

OK, so 0 altered files after running "pacman -Qkk nvidia-utils".

xorg.conf

# Automatically generated by EnvyControl

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
    Inactive "intel"
EndSection

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

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Option "AllowEmptyInitialConfiguration"
EndSection

Section "Device"
    Identifier "intel"
    Driver "modesetting"
EndSection

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

xorg.conf.backup

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 545.29.06

# Automatically generated by EnvyControl

Section "ServerLayout"
    Identifier     "layout"
    Screen      0  "nvidia" 0 0
    Inactive       "intel"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

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

Section "Device"
    Identifier     "nvidia"
    Driver         "modesetting"
EndSection

Section "Screen"
    Identifier     "nvidia"
    Device         "nvidia"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AllowEmptyInitialConfiguration"
    SubSection     "Display"
        Depth       24
        Modes      "nvidia-auto-select"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "nvidia"
    Device         "nvidia"
    Monitor        "Monitor0"
EndSection

xorg.conf.nvidia-xconfig-original

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 545.29.06

# Automatically generated by EnvyControl

Section "ServerLayout"
    Identifier     "layout"
    Screen      0  "nvidia" 0 0
    Inactive       "intel"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

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

Section "Device"
    Identifier     "nvidia"
    Driver         "modesetting"
EndSection

Section "Screen"
    Identifier     "nvidia"
    Device         "nvidia"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AllowEmptyInitialConfiguration"
    SubSection     "Display"
        Depth       24
        Modes      "nvidia-auto-select"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "nvidia"
    Device         "nvidia"
    Monitor        "Monitor0"
EndSection

OK, I've read the wiki, but for what process should I generate a coredump? Also, my MangoHud install remains with everything at default, I've just ran "sudo pacman -S mangohud" and nothing else.

Offline

#12 2023-12-06 19:54:52

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

Re: MangoHud not working with system running only on dGPU

For mangohud, which is the thing that's dumping.

While the config is generally sane, as a test, can you replace that xorg.conf with

Section "OutputClass"
    Identifier "intel"
    MatchDriver "i915"
    Driver "modesetting"
EndSection

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    Option "PrimaryGPU" "yes"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib/xorg/modules"
EndSection

and reboot/restart xorg?

Offline

#13 2023-12-06 20:37:06

Katataf1sh
Member
Registered: 2023-12-02
Posts: 18

Re: MangoHud not working with system running only on dGPU

V1del wrote:

For mangohud, which is the thing that's dumping.

While the config is generally sane, as a test, can you replace that xorg.conf with

Section "OutputClass"
    Identifier "intel"
    MatchDriver "i915"
    Driver "modesetting"
EndSection

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    Option "PrimaryGPU" "yes"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib/xorg/modules"
EndSection

and reboot/restart xorg?

I've changed xorg.conf with your settings but both glxgears and vkcube still crash with mangohud. I have a problem to generate the coredump, the process must be running in order to generate a coredump, but since it crashes right after being launched, I'm receiving the following message on gdb: "You can't do that without a process to debug.". Should I go into Hybrid mode and generate the coredump? As I see it, it would be pointless cause I know for a fact that it works in Hybrid mode and I actually want to use it in Nvidia mode, I believe the coredump from Hybrid mode wouldn't be of any use to debug Nvidia mode, right?

Offline

#14 2023-12-06 21:31:42

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

Re: MangoHud not working with system running only on dGPU

systemd-coredump will generally store the dumps and you can get a list of the current dump files with coredcumpctl list and you pass a PID of a core file that's present.

Alternatively, run the command you intend to debug directly with GDB: https://wiki.archlinux.org/title/Debugg … ing_traces

Offline

#15 2023-12-06 23:00:15

Katataf1sh
Member
Registered: 2023-12-02
Posts: 18

Re: MangoHud not working with system running only on dGPU

V1del wrote:

systemd-coredump will generally store the dumps and you can get a list of the current dump files with coredcumpctl list and you pass a PID of a core file that's present.

Alternatively, run the command you intend to debug directly with GDB: https://wiki.archlinux.org/title/Debugg … ing_traces

OK, I've accessed the folder where all coredumps are stored and  there's none for MangoHud, but there are coredumps for both glxgears and vkcube, would that suffice? Also, how am I supposed to post them? They are in .zst format.

Offline

#16 2023-12-06 23:05:02

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

Re: MangoHud not working with system running only on dGPU

I posted a link (check the "Analyzing a coredump" subheader), you can do

coredumpctl list #Find a coredump corresponding to a crashing PID, yes it will be one of the glxinfo commands
coredumctl gdb $PID #Replace the $PID with an identified pid
bt full

post the result of the last command

Offline

#17 2023-12-07 01:07:40

Katataf1sh
Member
Registered: 2023-12-02
Posts: 18

Re: MangoHud not working with system running only on dGPU

V1del wrote:

I posted a link (check the "Analyzing a coredump" subheader), you can do

coredumpctl list #Find a coredump corresponding to a crashing PID, yes it will be one of the glxinfo commands
coredumctl gdb $PID #Replace the $PID with an identified pid
bt full

post the result of the last command

OK, I hope I got it right.

#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
        tid = <optimized out>
        ret = 0
        pd = <optimized out>
        old_mask = {__val = {140631674751418}}
        ret = <optimized out>
#1  0x00007fe75c9f68a3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
No locals.
#2  0x00007fe75c9a6668 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
        ret = <optimized out>
#3  0x00007fe75c98e4b8 in __GI_abort () at abort.c:79
        save_stage = 1
        act = {__sigaction_handler = {sa_handler = 0x20, sa_sigaction = 0x20}, sa_mask = {__val = {140631669478624, 140631669469296, 140631669478755, 1, 140631668076564, 1, 0, 140631564875456, 140631675167560,
              140631564870144, 94349623326672, 140631564870528, 140631675658368, 4, 140631675912940, 94349622996552}}, sa_flags = 1561750908, sa_restorer = 0x7fe75cb416a0 <stderr>}
#4  0x00007fe75ce2f2f6 in __gnu_cxx::__verbose_terminate_handler() [clone .cold] () from /usr/lib/mangohud/libMangoHud_opengl.so
No symbol table info available.
#5  0x00007fe75cf16afc in __cxxabiv1::__terminate(void (*)()) () from /usr/lib/mangohud/libMangoHud_opengl.so
No symbol table info available.
#6  0x00007fe75cfc646a in __cxa_call_terminate () from /usr/lib/mangohud/libMangoHud_opengl.so
No symbol table info available.
#7  0x00007fe75cf1652a in __gxx_personality_v0 () from /usr/lib/mangohud/libMangoHud_opengl.so
No symbol table info available.
#8  0x00007fe75d11c52a in _Unwind_RaiseException_Phase2 (exc=exc@entry=0x55cf7c1a2800, context=context@entry=0x7fe75677e5b0, frames_p=frames_p@entry=0x7fe75677e6a0) at /usr/src/debug/gcc/gcc/libgcc/unwind.inc:64
        fs = {regs = {reg = {{loc = {reg = 18446744073709551600, offset = -16, exp = 0xfffffffffffffff0 <error: Cannot access memory at address 0xfffffffffffffff0>}}, {loc = {reg = 140631564871264,
                  offset = 140631564871264, exp = 0x7fe75677e660 ""}}, {loc = {reg = 0, offset = 0, exp = 0x0}}, {loc = {reg = 18446744073709551592, offset = -24,
                  exp = 0xffffffffffffffe8 <error: Cannot access memory at address 0xffffffffffffffe8>}}, {loc = {reg = 0, offset = 0, exp = 0x0}}, {loc = {reg = 140631564871088, offset = 140631564871088,
                  exp = 0x7fe75677e5b0 "\250\347wV\347\177"}}, {loc = {reg = 18446744073709551600, offset = -16, exp = 0xfffffffffffffff0 <error: Cannot access memory at address 0xfffffffffffffff0>}}, {loc = {
                  reg = 140631564871328, offset = 140631564871328, exp = 0x7fe75677e6a0 ""}}, {loc = {reg = 94349628680192, offset = 94349628680192, exp = 0x55cf7c1a2800 ""}}, {loc = {reg = 140631673497025,
                  offset = 140631673497025, exp = 0x7fe75cf165c1 <__gxx_personality_v0+305> "\203|$L\001L\213\f$H\213\224$\220"}}, {loc = {reg = 94349628680192, offset = 94349628680192,
                  exp = 0x55cf7c1a2800 ""}}, {loc = {reg = 0, offset = 0, exp = 0x0}}, {loc = {reg = 18446744073709551592, offset = -24,
                  exp = 0xffffffffffffffe8 <error: Cannot access memory at address 0xffffffffffffffe8>}}, {loc = {reg = 18446744073709551600, offset = -16,
                  exp = 0xfffffffffffffff0 <error: Cannot access memory at address 0xfffffffffffffff0>}}, {loc = {reg = 281474976710657, offset = 281474976710657,
                  exp = 0x1000000000001 <error: Cannot access memory at address 0x1000000000001>}}, {loc = {reg = 0, offset = 0, exp = 0x0}}, {loc = {reg = 18446744073709551608, offset = -8,
                  exp = 0xfffffffffffffff8 <error: Cannot access memory at address 0xfffffffffffffff8>}}, {loc = {reg = 140631564870720, offset = 140631564870720, exp = 0x7fe75677e440 ""}}},
            how = "\000\000\000\001\000\000\001\000\000\000\000\000\000\000\000\000\001", cfa_how = CFA_REG_OFFSET, prev = 0x0, cfa_offset = 32, cfa_reg = 7, cfa_exp = 0x0},
          pc = 0x7fe75ce4a350 <std::unique_ptr<hw_info_updater, std::default_delete<hw_info_updater> >::~unique_ptr()+96>, personality = 0x7fe75cf16490 <__gxx_personality_v0>, data_align = -8, code_align = 1,
          retaddr_column = 16, fde_encoding = 27 '\033', lsda_encoding = 27 '\033', saw_z = 1 '\001', signal_frame = 0 '\000', eh_ptr = 0x0}
        match_handler = <optimized out>
        code = <optimized out>
        frames = 4
#9  0x00007fe75d11cc52 in _Unwind_RaiseException (exc=0x55cf7c1a2800) at /usr/src/debug/gcc/gcc/libgcc/unwind.inc:136
        this_context = {reg = {0x7fe75677e7a8, 0x7fe75677e7b0, 0x0, 0x7fe75677e7b8, 0x0, 0x0, 0x7fe75677e7e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7fe75677e7c0, 0x7fe75677e7c8, 0x7fe75677e7d0, 0x7fe75677e7d8,
            0x7fe75677e7e8, 0x0}, cfa = 0x7fe75677e7f0, ra = 0x7fe75cf16cbe <__cxa_throw+62>, lsda = 0x0, bases = {tbase = 0x0, dbase = 0x0, func = 0x7fe75d11c940 <_Unwind_RaiseException>},
          flags = 4611686018427387904, version = 0, args_size = 0, by_value = '\000' <repeats 17 times>}
        cur_context = {reg = {0x7fe75677e7a8, 0x7fe75677e7b0, 0x0, 0x7fe75677e870, 0x0, 0x0, 0x7fe75677e850, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7fe75677e858, 0x7fe75677e860, 0x7fe75677e7d0, 0x7fe75677e7d8,
            0x7fe75677e878, 0x0}, cfa = 0x7fe75677e880, ra = 0x7fe75ce4a35a <std::unique_ptr<hw_info_updater, std::default_delete<hw_info_updater> >::~unique_ptr()+106>, lsda = 0x7fe75d096928, bases = {
            tbase = 0x0, dbase = 0x0, func = 0x7fe75ce4a2f0 <std::unique_ptr<hw_info_updater, std::default_delete<hw_info_updater> >::~unique_ptr()>}, flags = 4611686018427387904, version = 0, args_size = 0,
          by_value = '\000' <repeats 17 times>}
--Type <RET> for more, q to quit, c to continue without paging--
        code = <optimized out>
        frames = 0
#10 0x00007fe75cf16cbe in __cxa_throw () from /usr/lib/mangohud/libMangoHud_opengl.so
No symbol table info available.
#11 0x00007fe75ce322ce in std::__throw_system_error(int) () from /usr/lib/mangohud/libMangoHud_opengl.so
No symbol table info available.
#12 0x00007fe75cfa21f2 in std::thread::join() () from /usr/lib/mangohud/libMangoHud_opengl.so
No symbol table info available.
#13 0x00007fe75ce4a35a in hw_info_updater::~hw_info_updater (this=<optimized out>, this=<optimized out>) at ../MangoHud-v0.7.0/src/overlay.cpp:196
No locals.
#14 std::default_delete<hw_info_updater>::operator() (this=<optimized out>, __ptr=0x55cf7c210f90) at /usr/include/c++/13.2.1/bits/unique_ptr.h:99
No locals.
#15 std::default_delete<hw_info_updater>::operator() (__ptr=0x55cf7c210f90, this=<optimized out>) at /usr/include/c++/13.2.1/bits/unique_ptr.h:93
No locals.
#16 std::unique_ptr<hw_info_updater, std::default_delete<hw_info_updater> >::~unique_ptr (this=<optimized out>, this=<optimized out>) at /usr/include/c++/13.2.1/bits/unique_ptr.h:404
        __ptr = <optimized out>
        __ptr = <optimized out>
#17 0x00007fe75c9a8731 in __cxa_finalize (d=0x7fe75d0af000) at cxa_finalize.c:82
        check = 1065
        cxafn = <optimized out>
        cxaarg = <optimized out>
        f = 0x55cf7bbf0940
        funcs = 0x55cf7bbf08d0
        restart = <optimized out>
#18 0x00007fe75ce351f8 in ?? () from /usr/lib/mangohud/libMangoHud_opengl.so
No symbol table info available.
#19 0x00007fe75d150000 in ?? ()
No symbol table info available.
#20 0x00007fe75d1530e2 in _dl_call_fini (closure_map=0x7fe75677e8f0, closure_map@entry=0x7fe75d150000) at dl-call_fini.c:43
        array = 0x7fe75d0a3cf8
        sz = <optimized out>
        map = 0x7fe75677e8f0
        fini_array = <optimized out>
        fini = <optimized out>
#21 0x00007fe75d156d9c in _dl_fini () at dl-fini.c:78
        l = 0x7fe75d150000
        do_audit = <optimized out>
        local_init_called_list = 0x7fe750000db0
        last_pass = 0
        last_ns = 0
#22 0x00007fe75c9a8cc6 in __run_exit_handlers (status=status@entry=1, listp=0x7fe75cb40680 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:111
        atfct = <optimized out>
        onfct = <optimized out>
        cxafct = <optimized out>
        arg = <optimized out>
        f = <optimized out>
        new_exitfn_called = 1065
        cur = 0x55cf7bbf08d0
--Type <RET> for more, q to quit, c to continue without paging--
        restart = <optimized out>
#23 0x00007fe75c9a8e10 in __GI_exit (status=status@entry=1) at exit.c:141
No locals.
#24 0x00007fe75cc7b62c in _XDefaultError (event=<optimized out>, dpy=0x7fe750001310) at /usr/src/debug/libx11/libX11-1.8.7/src/XlibInt.c:1449
No locals.
#25 _XDefaultError (dpy=0x7fe750001310, event=<optimized out>) at /usr/src/debug/libx11/libX11-1.8.7/src/XlibInt.c:1434
No locals.
#26 0x00007fe75cc7b74c in _XError (dpy=dpy@entry=0x7fe750001310, rep=rep@entry=0x7fe75000ef80) at /usr/src/debug/libx11/libX11-1.8.7/src/XlibInt.c:1503
        rtn_val = <optimized out>
        thread_info = {next = 0x0, error_thread = 140631564875456}
        prev = <optimized out>
        event = {type = 0, xany = {type = 0, serial = 140631456355088, send_event = 23, display = 0xe, window = 1809666}, xkey = {type = 0, serial = 140631456355088, send_event = 23, display = 0xe,
            window = 1809666, root = 140631564872512, subwindow = 140631564872288, time = 140631666660994, x = 1450699392, y = 32743, x_root = 1552492880, y_root = 32743, state = 1450699440, keycode = 32743,
            same_screen = 1342191656}, xbutton = {type = 0, serial = 140631456355088, send_event = 23, display = 0xe, window = 1809666, root = 140631564872512, subwindow = 140631564872288,
            time = 140631666660994, x = 1450699392, y = 32743, x_root = 1552492880, y_root = 32743, state = 1450699440, button = 32743, same_screen = 1342191656}, xmotion = {type = 0, serial = 140631456355088,
            send_event = 23, display = 0xe, window = 1809666, root = 140631564872512, subwindow = 140631564872288, time = 140631666660994, x = 1450699392, y = 32743, x_root = 1552492880, y_root = 32743,
            state = 1450699440, is_hint = -25 '\347', same_screen = 1342191656}, xcrossing = {type = 0, serial = 140631456355088, send_event = 23, display = 0xe, window = 1809666, root = 140631564872512,
            subwindow = 140631564872288, time = 140631666660994, x = 1450699392, y = 32743, x_root = 1552492880, y_root = 32743, mode = 1450699440, detail = 32743, same_screen = 1342191656, focus = 32743,
            state = 4294967144}, xfocus = {type = 0, serial = 140631456355088, send_event = 23, display = 0xe, window = 1809666, mode = 1450699584, detail = 32743}, xexpose = {type = 0, serial = 140631456355088,
            send_event = 23, display = 0xe, window = 1809666, x = 1450699584, y = 32743, width = 1450699360, height = 32743, count = 1552488066}, xgraphicsexpose = {type = 0, serial = 140631456355088,
            send_event = 23, display = 0xe, drawable = 1809666, x = 1450699584, y = 32743, width = 1450699360, height = 32743, count = 1552488066, major_code = 32743, minor_code = 1450699392}, xnoexpose = {
            type = 0, serial = 140631456355088, send_event = 23, display = 0xe, drawable = 1809666, major_code = 1450699584, minor_code = 32743}, xvisibility = {type = 0, serial = 140631456355088,
            send_event = 23, display = 0xe, window = 1809666, state = 1450699584}, xcreatewindow = {type = 0, serial = 140631456355088, send_event = 23, display = 0xe, parent = 1809666, window = 140631564872512,
            x = 1450699360, y = 32743, width = 1552488066, height = 32743, border_width = 1450699392, override_redirect = 32743}, xdestroywindow = {type = 0, serial = 140631456355088, send_event = 23,
            display = 0xe, event = 1809666, window = 140631564872512}, xunmap = {type = 0, serial = 140631456355088, send_event = 23, display = 0xe, event = 1809666, window = 140631564872512,
            from_configure = 1450699360}, xmap = {type = 0, serial = 140631456355088, send_event = 23, display = 0xe, event = 1809666, window = 140631564872512, override_redirect = 1450699360}, xmaprequest = {
            type = 0, serial = 140631456355088, send_event = 23, display = 0xe, parent = 1809666, window = 140631564872512}, xreparent = {type = 0, serial = 140631456355088, send_event = 23, display = 0xe,
            event = 1809666, window = 140631564872512, parent = 140631564872288, x = 1552488066, y = 32743, override_redirect = 1450699392}, xconfigure = {type = 0, serial = 140631456355088, send_event = 23,
            display = 0xe, event = 1809666, window = 140631564872512, x = 1450699360, y = 32743, width = 1552488066, height = 32743, border_width = 1450699392, above = 140631666665808,
            override_redirect = 1450699440}, xgravity = {type = 0, serial = 140631456355088, send_event = 23, display = 0xe, event = 1809666, window = 140631564872512, x = 1450699360, y = 32743},
          xresizerequest = {type = 0, serial = 140631456355088, send_event = 23, display = 0xe, window = 1809666, width = 1450699584, height = 32743}, xconfigurerequest = {type = 0, serial = 140631456355088,
            send_event = 23, display = 0xe, parent = 1809666, window = 140631564872512, x = 1450699360, y = 32743, width = 1552488066, height = 32743, border_width = 1450699392, above = 140631666665808,
            detail = 1450699440, value_mask = 140631456364584}, xcirculate = {type = 0, serial = 140631456355088, send_event = 23, display = 0xe, event = 1809666, window = 140631564872512, place = 1450699360},
          xcirculaterequest = {type = 0, serial = 140631456355088, send_event = 23, display = 0xe, parent = 1809666, window = 140631564872512, place = 1450699360}, xproperty = {type = 0,
            serial = 140631456355088, send_event = 23, display = 0xe, window = 1809666, atom = 140631564872512, time = 140631564872288, state = 1552488066}, xselectionclear = {type = 0, serial = 140631456355088,
            send_event = 23, display = 0xe, window = 1809666, selection = 140631564872512, time = 140631564872288}, xselectionrequest = {type = 0, serial = 140631456355088, send_event = 23, display = 0xe,
            owner = 1809666, requestor = 140631564872512, selection = 140631564872288, target = 140631666660994, property = 140631564872320, time = 140631666665808}, xselection = {type = 0,
            serial = 140631456355088, send_event = 23, display = 0xe, requestor = 1809666, selection = 140631564872512, target = 140631564872288, property = 140631666660994, time = 140631564872320}, xcolormap = {
            type = 0, serial = 140631456355088, send_event = 23, display = 0xe, window = 1809666, colormap = 140631564872512, new = 1450699360, state = 32743}, xclient = {type = 0, serial = 140631456355088,
            send_event = 23, display = 0xe, window = 1809666, message_type = 140631564872512, format = 1450699360, data = {b = "\202\026\211\\\347\177\000\000\200\352wV\347\177\000\000P)\211\\", s = {5762,
                23689, 32743, 0, -5504, 22135, 32743, 0, 10576, 23689}, l = {140631666660994, 140631564872320, 140631666665808, 140631564872368, 140631456364584}}}, xmapping = {type = 0,
            serial = 140631456355088, send_event = 23, display = 0xe, window = 1809666, request = 1450699584, first_keycode = 32743, count = 1450699360}, xerror = {type = 0, display = 0x7fe750001310,
            resourceid = 23, serial = 14, error_code = 2 '\002', request_code = 157 '\235', minor_code = 27 '\033'}, xkeymap = {type = 0, serial = 140631456355088, send_event = 23, display = 0xe,
            window = 1809666, key_vector = "@\353wV\347\177\000\000`\352wV\347\177\000\000\202\026\211\\\347\177\000\000\200\352wV\347\177\000"}, xgeneric = {type = 0, serial = 140631456355088, send_event = 23,
            display = 0xe, extension = 1809666, evtype = 0}, xcookie = {type = 0, serial = 140631456355088, send_event = 23, display = 0xe, extension = 1809666, evtype = 0, cookie = 1450699584,
            data = 0x7fe75677ea60}, pad = {140630114172928, 140631456355088, 23, 14, 1809666, 140631564872512, 140631564872288, 140631666660994, 140631564872320, 140631666665808, 140631564872368,
            140631456364584, -152, 0, 14, 140631564872320, 0, 0, 0, 0, 0, 0, 17179869184, 5621537823677661440}}
        async = <optimized out>
--Type <RET> for more, q to quit, c to continue without paging--
        next = <optimized out>
#27 0x00007fe75cc7b858 in handle_error (dpy=dpy@entry=0x7fe750001310, err=0x7fe75000ef80, in_XReply=in_XReply@entry=1) at /usr/src/debug/libx11/libX11-1.8.7/src/xcb_io.c:211
        ext = <optimized out>
        ret_code = 32743
#28 0x00007fe75cc7d4e1 in _XReply (dpy=dpy@entry=0x7fe750001310, rep=rep@entry=0x7fe75677eba0, extra=extra@entry=0, discard=discard@entry=1) at /usr/src/debug/libx11/libX11-1.8.7/src/xcb_io.c:798
        ret_code = <optimized out>
        error = 0x7fe75000ef80
        c = 0x7fe750003810
        reply = 0x0
        current = 0x7fe7500036e0
        dpy_request = <optimized out>
        __PRETTY_FUNCTION__ = "_XReply"
#29 0x00007fe75a7b1efb in XNVCTRLQueryTargetAttribute64 (dpy=0x7fe750001310, target_type=5, target_id=0, display_mask=0, attribute=405, value=0x7fe75677ecc0) at ../src/libXNVCtrl/NVCtrl.c:427
        info = 0x7fe75000ec30
        rep = {type = 0 '\000', pad0 = 2 '\002', sequenceNumber = 14, length = 23, flags = 10289179, pad3 = 0, value_64 = 0, pad6 = 0, pad7 = 0}
        req = <optimized out>
        exists = <optimized out>
#30 0x00007fe75ce4e662 in getNvctrlFanSpeed () at /usr/include/c++/13.2.1/bits/unique_ptr.h:199
        nvctrl = <optimized out>
        fan_speed = 0
#31 getNvidiaGpuInfo (params=...) at ../MangoHud-v0.7.0/src/gpu.cpp:59
        nvctrl_available = <optimized out>
#32 update_hw_info (vendorID=<optimized out>, params=...) at ../MangoHud-v0.7.0/src/overlay.cpp:129
No locals.
#33 hw_info_updater::run (this=<optimized out>) at ../MangoHud-v0.7.0/src/overlay.cpp:220
        lk_hw_updating = {_M_device = 0x55cf7c211008, _M_owns = true}
        lk_cv_hwupdate = {_M_device = 0x55cf7c210fe0, _M_owns = true}
#34 0x00007fe75cfa2163 in execute_native_thread_routine () from /usr/lib/mangohud/libMangoHud_opengl.so
No symbol table info available.
#35 0x00007fe75c9f49eb in start_thread (arg=<optimized out>) at pthread_create.c:444
        ret = <optimized out>
        pd = <optimized out>
        out = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140631668115216, -6582162956642856434, -152, 11, 140726425065616, 140631556485120, 6587034824514556430, 6587020868788245006}, mask_was_saved = 0}}, priv = {
            pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#36 0x00007fe75ca787cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
No locals.

Offline

#18 2023-12-10 13:38:27

Katataf1sh
Member
Registered: 2023-12-02
Posts: 18

Re: MangoHud not working with system running only on dGPU

I've tried a few more things, including changing my drivers from nvidia-dkms to nvidia-open-dkms, but still no solution.

Offline

#19 2023-12-13 20:40:31

causing
Member
Registered: 2023-12-13
Posts: 3

Re: MangoHud not working with system running only on dGPU

Katataf1sh wrote:

Hello everybody, lately I've been puzzled by this issue, I'm running the latest version of Arch Linux using the Zen Kernel on the Plasma DE over Xorg. I have a DELL G3 laptop which uses NVIDIA Optimus, I use my laptop exclusively connected to an external monitor, the lid is kept closed, I've even disabled the built-in screen. In order to be able to use the dGPU for games and to be able to access NVIDIA X Server Settings with all of it's options showing I had to resort to EnvyControl, Optimus-Manager works the same and yield the same results.

So, the system is running in NVIDIA mode, exclusively using the dGPU, everything works perfect, that is except for MangoHud. If I try to launch any game using MangoHud it instantly crashes, as well as running glxgears and vkcube, if I run them without MangoHud everything is fine.

This is the output I get when running glxgears with MangoHud:

[2023-12-02 19:19:21.823] [MANGOHUD] [info] [gl_renderer.cpp:422] GL version: 4.6
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  157 (NV-CONTROL)
  Minor opcode of failed request:  27 ()
  Value in failed request:  0x17
  Serial number of failed request:  14
  Current serial number in output stream:  14
[1]    4250 segmentation fault (core dumped)  mangohud glxgears

And this is the output I get when running vkcube with MangoHud:

Selected GPU 0: NVIDIA GeForce GTX 1660 Ti with Max-Q Design, type: DiscreteGpu
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  157 (NV-CONTROL)
  Minor opcode of failed request:  27 ()
  Value in failed request:  0x17
  Serial number of failed request:  14
  Current serial number in output stream:  14
[1]    4323 segmentation fault (core dumped)  mangohud vkcube

When turning Hybrid mode on with EnvyControl both glxgears and vkcube run fine with MangoHud, but I lose full access to NVIDIA X Server Settings. Either getting MangoHud to work on NVIDIA mode or getting full access to NVIDIA X Server Settings when on Hybrid mode would solve my problem, I've been researching everywhere for a solution for the last couple of days but to no avail, any insight will be deeply appreciated.

I get exactly the same output/error on a Asus ROG STRIX G614JV, but only in Steam Proton games. MangoHud works fine on native Linux games.

Offline

#20 2023-12-14 20:16:06

Katataf1sh
Member
Registered: 2023-12-02
Posts: 18

Re: MangoHud not working with system running only on dGPU

causing wrote:
Katataf1sh wrote:

Hello everybody, lately I've been puzzled by this issue, I'm running the latest version of Arch Linux using the Zen Kernel on the Plasma DE over Xorg. I have a DELL G3 laptop which uses NVIDIA Optimus, I use my laptop exclusively connected to an external monitor, the lid is kept closed, I've even disabled the built-in screen. In order to be able to use the dGPU for games and to be able to access NVIDIA X Server Settings with all of it's options showing I had to resort to EnvyControl, Optimus-Manager works the same and yield the same results.

So, the system is running in NVIDIA mode, exclusively using the dGPU, everything works perfect, that is except for MangoHud. If I try to launch any game using MangoHud it instantly crashes, as well as running glxgears and vkcube, if I run them without MangoHud everything is fine.

This is the output I get when running glxgears with MangoHud:

[2023-12-02 19:19:21.823] [MANGOHUD] [info] [gl_renderer.cpp:422] GL version: 4.6
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  157 (NV-CONTROL)
  Minor opcode of failed request:  27 ()
  Value in failed request:  0x17
  Serial number of failed request:  14
  Current serial number in output stream:  14
[1]    4250 segmentation fault (core dumped)  mangohud glxgears

And this is the output I get when running vkcube with MangoHud:

Selected GPU 0: NVIDIA GeForce GTX 1660 Ti with Max-Q Design, type: DiscreteGpu
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  157 (NV-CONTROL)
  Minor opcode of failed request:  27 ()
  Value in failed request:  0x17
  Serial number of failed request:  14
  Current serial number in output stream:  14
[1]    4323 segmentation fault (core dumped)  mangohud vkcube

When turning Hybrid mode on with EnvyControl both glxgears and vkcube run fine with MangoHud, but I lose full access to NVIDIA X Server Settings. Either getting MangoHud to work on NVIDIA mode or getting full access to NVIDIA X Server Settings when on Hybrid mode would solve my problem, I've been researching everywhere for a solution for the last couple of days but to no avail, any insight will be deeply appreciated.

I get exactly the same output/error on a Asus ROG STRIX G614JV, but only in Steam Proton games. MangoHud works fine on native Linux games.

I wanted to be sure before posting, but now I can say that I found a fix for this problem. Three days ago I was reading through the issues page on MangoHud's GitHub when I came across a post from someone with the exact same problem, he actually fixed it by downgrading MangoHud to version 0.6.9-1, and sure enough, it worked.

Offline

#21 2023-12-30 16:13:49

Omrigan
Member
Registered: 2016-07-20
Posts: 1

Re: MangoHud not working with system running only on dGPU

Just to be clear: this issue - https://github.com/flightlessmango/MangoHud/issues/1198

mangohud-git now works.

Offline

Board footer

Powered by FluxBB