Switching between amdgpu and nvidia

Hi all, I’m very new to Manjaro, but I’ve been using Sabayon linux for years. I just bought an Asus TUF gaming laptop and installed a Manjaro on it as it was the only distro supporting the touchpad.
The video cards on the laptop are AMD Renoir and a Nvidia Geforce 3060. On my previous laptop, I had Intel and Nvidia and I switched between them with optirun. I tried installing bulblebee on this laptop but bumblebee wouldn’t start.
I installed hybrid-amd-nvidia-prime with mhwd but I have no idea how to switch between the video cards. So my question is is there a howto on switching between amdgpu and nvidia or if not, what is the preferred method to do it on Manjaro?
What I want for my laptop is to run on its amdgpu by default and to be able to switch to nvidia when I game or when I need cuda.
I’m sorry if I sound random, but it’s my first days with Manjaro so I’m still finding my way around. Thanks.

cuda is completely unrelated, you can use that regardless of how the graphics stack is configured, provided that the appropriate kernel module is loaded and the necessary user space libraries are installed.


Then you should be able to run the applications of your choice with the NVIDIA GPU. E.g.:

prime-run glxgears

.

You can run

glxinfo -B | grep renderer
prime-run glxinfo -B | grep renderer

and observe the difference to confirm that it works.

Hi, thanks for replying. I get an error:
prime-run glxgears
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 25
Current serial number in output stream: 26

This is what I get when I use glxinfo
glxinfo -B | grep renderer
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: AMD RENOIR (DRM 3.40.0, 5.10.30-1-MANJARO, LLVM 11.1.0)

But the system seems to know about Nvidia:
lspci|grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1)
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 1638 (rev c5)

That’s unfortunate, can you post the output of inxi -Gazy and xrandr --listproviders?

Yeah, sure.

 inxi -Gazy
Graphics:
  Device-1: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: ASUSTeK 
  driver: nvidia v: 460.67 alternate: nouveau,nvidia_drm bus-ID: 01:00.0 
  chip-ID: 10de:2520 class-ID: 0300 
  Device-2: AMD vendor: ASUSTeK driver: amdgpu v: kernel bus-ID: 05:00.0 
  chip-ID: 1002:1638 class-ID: 0300 
  Device-3: Sonix USB2.0 HD UVC WebCam type: USB driver: uvcvideo 
  bus-ID: 1-4:2 chip-ID: 322e:202c class-ID: 0e02 
  Display: x11 server: X.Org 1.20.11 compositor: kwin_x11 driver: 
  loaded: modesetting display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
  s-diag: 582mm (22.9") 
  Monitor-1: eDP-1 res: 1920x1080 hz: 144 dpi: 142 size: 344x194mm (13.5x7.6") 
  diag: 395mm (15.5") 
  OpenGL: renderer: AMD RENOIR (DRM 3.40.0 5.10.30-1-MANJARO LLVM 11.1.0) 
  v: 4.6 Mesa 21.0.2 direct render: Yes 

and

xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x45 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 2 associated providers: 0 name:modesetting

P.S. Sorry for the formatting.

Please also post the most recent Xorg log file. It’s either in /var/log/ or ~/.local/share/xorg/.

Here it is:

 cat /var/log/Xorg.0.log
[   358.802] (--) Log file renamed from "/var/log/Xorg.pid-7048.log" to "/var/log/Xorg.0.log"
[   358.803] 
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[   358.804] Build Operating System: Linux Manjaro Linux
[   358.804] Current Operating System: Linux denijane 5.10.30-1-MANJARO #1 SMP Wed Apr 14 08:07:27 UTC 2021 x86_64
[   358.804] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 root=UUID=5fae2091-744a-46c3-8daf-e7bb155d1c96 rw quiet apparmor=1 security=apparmor resume=UUID=faed2235-2e05-4af0-92a5-d7a5bcd92eae udev.log_priority=3
[   358.804] Build Date: 13 April 2021  04:11:08PM
[   358.804]  
[   358.804] Current version of pixman: 0.40.0
[   358.804]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   358.804] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   358.804] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Apr 24 20:53:33 2021
[   358.804] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   358.804] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   358.804] (==) ServerLayout "layout"
[   358.804] (==) No screen section available. Using defaults.
[   358.804] (**) |-->Screen "Default Screen Section" (0)
[   358.804] (**) |   |-->Monitor "<default monitor>"
[   358.805] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[   358.805] (**) |   |-->Device "integrated"
[   358.805] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[   358.805] (==) Automatically adding devices
[   358.805] (==) Automatically enabling devices
[   358.805] (==) Automatically adding GPU devices
[   358.805] (==) Automatically binding GPU devices
[   358.805] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   358.805] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   358.805]    Entry deleted from font path.
[   358.805] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   358.805]    Entry deleted from font path.
[   358.805] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[   358.805]    Entry deleted from font path.
[   358.805] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[   358.805]    Entry deleted from font path.
[   358.805] (==) FontPath set to:
        /usr/share/fonts/misc,
        /usr/share/fonts/TTF
[   358.805] (==) ModulePath set to "/usr/lib/xorg/modules"
[   358.805] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[   358.805] (II) Module ABI versions:
[   358.805]    X.Org ANSI C Emulation: 0.4
[   358.805]    X.Org Video Driver: 24.1
[   358.805]    X.Org XInput driver : 24.1
[   358.805]    X.Org Server Extension : 10.0
[   358.807] (++) using VT number 1

[   358.807] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[   358.807] (II) xfree86: Adding drm device (/dev/dri/card0)
[   358.818] (**) OutputClass "AMDgpu" setting /dev/dri/card0 as PrimaryGPU
[   358.821] (--) PCI: (1@0:0:0) 10de:2520:1043:16a2 rev 161, Mem @ 0xfb000000/16777216, 0xfc00000000/8589934592, 0xfe00000000/33554432, I/O @ 0x0000f000/128, BIOS @ 0x????????/524288
[   358.821] (--) PCI:*(5@0:0:0) 1002:1638:1043:16a2 rev 197, Mem @ 0xfe10000000/268435456, 0xfe20000000/2097152, 0xfc500000/524288, I/O @ 0x0000d000/256
[   358.821] (II) Open ACPI successful (/var/run/acpid.socket)
[   358.821] (II) LoadModule: "glx"
[   358.821] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   358.823] (II) Module glx: vendor="X.Org Foundation"
[   358.823]    compiled for 1.20.11, module version = 1.0.0
[   358.823]    ABI class: X.Org Server Extension, version 10.0
[   358.823] (II) LoadModule: "modesetting"
[   358.823] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   358.823] (II) Module modesetting: vendor="X.Org Foundation"
[   358.824]    compiled for 1.20.11, module version = 1.20.11
[   358.824]    Module class: X.Org Video Driver
[   358.824]    ABI class: X.Org Video Driver, version 24.1
[   358.824] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   358.830] (II) modeset(0): using drv /dev/dri/card0
[   358.830] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[   358.830] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[   358.830] (II) Applying OutputClass "AMDgpu" options to /dev/dri/card0
[   358.830] (==) modeset(0): RGB weight 888
[   358.830] (==) modeset(0): Default visual is TrueColor
[   358.830] (II) Loading sub module "glamoregl"
[   358.830] (II) LoadModule: "glamoregl"
[   358.830] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[   358.835] (II) Module glamoregl: vendor="X.Org Foundation"
[   358.835]    compiled for 1.20.11, module version = 1.0.1
[   358.835]    ABI class: X.Org ANSI C Emulation, version 0.4
[   358.901] (II) modeset(0): glamor X acceleration enabled on AMD RENOIR (DRM 3.40.0, 5.10.30-1-MANJARO, LLVM 11.1.0)
[   358.901] (II) modeset(0): glamor initialized
[   358.901] (II) modeset(0): Output eDP-1 has no monitor section
[   358.902] (II) modeset(0): Output HDMI-1 has no monitor section
[   358.902] (II) modeset(0): EDID for output eDP-1
[   358.902] (II) modeset(0): Manufacturer: NCP  Model: 4d  Serial#: 0
[   358.902] (II) modeset(0): Year: 2019  Week: 51
[   358.902] (II) modeset(0): EDID Version: 1.4
[   358.902] (II) modeset(0): Digital Display Input
[   358.902] (II) modeset(0): 8 bits per channel
[   358.902] (II) modeset(0): Digital interface is DisplayPort
[   358.902] (II) modeset(0): Max Image Size [cm]: horiz.: 34  vert.: 19
[   358.902] (II) modeset(0): Gamma: 2.20
[   358.902] (II) modeset(0): No DPMS capabilities specified
[   358.902] (II) modeset(0): Supported color encodings: RGB 4:4:4 
[   358.902] (II) modeset(0): First detailed timing is preferred mode
[   358.902] (II) modeset(0): Preferred mode is native pixel format and refresh rate
[   358.902] (II) modeset(0): Display is continuous-frequency
[   358.902] (II) modeset(0): redX: 0.595 redY: 0.361   greenX: 0.346 greenY: 0.555
[   358.902] (II) modeset(0): blueX: 0.157 blueY: 0.106   whiteX: 0.312 whiteY: 0.328
[   358.902] (II) modeset(0): Manufacturer's mask: 0
[   358.902] (II) modeset(0): Supported detailed timing:
[   358.902] (II) modeset(0): clock: 354.7 MHz   Image Size:  344 x 194 mm
[   358.902] (II) modeset(0): h_active: 1920  h_sync: 1968  h_sync_end 2000 h_blank_end 2180 h_border: 0
[   358.902] (II) modeset(0): v_active: 1080  v_sync: 1083  v_sync_end 1088 v_blanking: 1130 v_border: 0
[   358.902] (II) modeset(0): Supported detailed timing:
[   358.902] (II) modeset(0): clock: 147.8 MHz   Image Size:  344 x 194 mm
[   358.902] (II) modeset(0): h_active: 1920  h_sync: 1968  h_sync_end 2000 h_blank_end 2180 h_border: 0
[   358.902] (II) modeset(0): v_active: 1080  v_sync: 1083  v_sync_end 1088 v_blanking: 1130 v_border: 0
[   358.902] (II) modeset(0): Ranges: V min: 48 V max: 144 Hz, H min: 163 H max: 163 kHz, PixClock max 355 MHz
[   358.902] (II) modeset(0):  LM156LF-2F03
[   358.902] (II) modeset(0): EDID (in hex):
[   358.902] (II) modeset(0):   00ffffffffffff0038704d0000000000
[   358.902] (II) modeset(0):   331d0104a5221378036850985c588e28
[   358.902] (II) modeset(0):   1b505400000001010101010101010101
[   358.902] (II) modeset(0):   010101010101918a8004713832403020
[   358.902] (II) modeset(0):   350058c21000001abd39800471383240
[   358.902] (II) modeset(0):   3020350058c21000001a000000fd0030
[   358.902] (II) modeset(0):   90a3a323010a202020202020000000fe
[   358.902] (II) modeset(0):   004c4d3135364c462d324630330a0035
[   358.902] (II) modeset(0): Printing probed modes for output eDP-1
[   358.902] (II) modeset(0): Modeline "1920x1080"x144.0  354.73  1920 1968 2000 2180  1080 1083 1088 1130 +hsync -vsync (162.7 kHz eP)
[   358.902] (II) modeset(0): Modeline "1920x1080"x60.0  356.38  1920 2080 2288 2656  1080 1081 1084 1118 doublescan -hsync +vsync (134.2 kHz d)
[   358.902] (II) modeset(0): Modeline "1920x1080"x60.0  266.50  1920 1944 1960 2000  1080 1081 1084 1111 doublescan +hsync -vsync (133.2 kHz d)
[   358.902] (II) modeset(0): Modeline "1920x1080"x60.0  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync (67.2 kHz d)
[   358.902] (II) modeset(0): Modeline "1920x1080"x60.0  147.81  1920 1968 2000 2180  1080 1083 1088 1130 +hsync -vsync (67.8 kHz e)
[   358.902] (II) modeset(0): Modeline "1920x1080"x59.9  138.50  1920 1968 2000 2080  1080 1083 1088 1111 +hsync -vsync (66.6 kHz d)
[   358.902] (II) modeset(0): Modeline "1680x1050"x144.0  354.73  1680 1968 2000 2180  1050 1083 1088 1130 +hsync -vsync (162.7 kHz e)
[   358.902] (II) modeset(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz d)
[   358.902] (II) modeset(0): Modeline "1680x1050"x59.9  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz d)
[   358.902] (II) modeset(0): Modeline "1400x1050"x74.8  155.80  1400 1464 1784 1912  1050 1052 1064 1090 +hsync +vsync (81.5 kHz d)
[   358.902] (II) modeset(0): Modeline "1400x1050"x60.0  122.00  1400 1488 1640 1880  1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)
[   358.902] (II) modeset(0): Modeline "1600x900"x60.0  246.00  1600 1728 1900 2200  900 901 904 932 doublescan -hsync +vsync (111.8 kHz d)
[   358.902] (II) modeset(0): Modeline "1600x900"x59.9  186.50  1600 1624 1640 1680  900 901 904 926 doublescan +hsync -vsync (111.0 kHz d)
[   358.902] (II) modeset(0): Modeline "1600x900"x59.9  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync (56.0 kHz d)
[   358.902] (II) modeset(0): Modeline "1600x900"x59.8   97.50  1600 1648 1680 1760  900 903 908 926 +hsync -vsync (55.4 kHz d)
[   358.902] (II) modeset(0): Modeline "1280x1024"x144.0  354.73  1280 1968 2000 2180  1024 1083 1088 1130 +hsync -vsync (162.7 kHz e)
[   358.902] (II) modeset(0): Modeline "1280x1024"x85.0  157.50  1280 1344 1504 1728  1024 1025 1028 1072 +hsync +vsync (91.1 kHz d)
[   358.902] (II) modeset(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz d)
[   358.902] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)
[   358.902] (II) modeset(0): Modeline "1440x900"x144.0  354.73  1440 1968 2000 2180  900 1083 1088 1130 +hsync -vsync (162.7 kHz e)
[   358.902] (II) modeset(0): Modeline "1400x900"x60.0  103.50  1400 1480 1624 1848  900 903 913 934 -hsync +vsync (56.0 kHz d)
[   358.902] (II) modeset(0): Modeline "1400x900"x59.9   86.50  1400 1448 1480 1560  900 903 913 926 +hsync -vsync (55.4 kHz d)
[   358.902] (II) modeset(0): Modeline "1280x960"x85.0  148.50  1280 1344 1504 1728  960 961 964 1011 +hsync +vsync (85.9 kHz d)
[   358.902] (II) modeset(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz d)
[   358.902] (II) modeset(0): Modeline "1440x810"x60.0  198.12  1440 1548 1704 1968  810 811 814 839 doublescan -hsync +vsync (100.7 kHz d)
[   358.902] (II) modeset(0): Modeline "1440x810"x60.0  151.88  1440 1464 1480 1520  810 811 814 833 doublescan +hsync -vsync (99.9 kHz d)
[   358.902] (II) modeset(0): Modeline "1368x768"x59.9   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync (47.8 kHz d)
[   358.902] (II) modeset(0): Modeline "1368x768"x59.9   72.25  1368 1416 1448 1528  768 771 781 790 +hsync -vsync (47.3 kHz d)
[   358.902] (II) modeset(0): Modeline "1280x800"x144.0  354.73  1280 1968 2000 2180  800 1083 1088 1130 +hsync -vsync (162.7 kHz e)
[   358.902] (II) modeset(0): Modeline "1280x800"x60.0  174.25  1280 1380 1516 1752  800 801 804 829 doublescan -hsync +vsync (99.5 kHz d)
[   358.902] (II) modeset(0): Modeline "1280x800"x60.0  134.25  1280 1304 1320 1360  800 801 804 823 doublescan +hsync -vsync (98.7 kHz d)
[   358.902] (II) modeset(0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz d)
[   358.902] (II) modeset(0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz d)
[   358.902] (II) modeset(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz d)
[   358.902] (II) modeset(0): Modeline "1280x720"x144.0  354.73  1280 1968 2000 2180  720 1083 1088 1130 +hsync -vsync (162.7 kHz e)
[   358.902] (II) modeset(0): Modeline "1280x720"x60.0  156.12  1280 1376 1512 1744  720 721 724 746 doublescan -hsync +vsync (89.5 kHz d)
[   358.902] (II) modeset(0): Modeline "1280x720"x60.0  120.75  1280 1304 1320 1360  720 721 724 740 doublescan +hsync -vsync (88.8 kHz d)
[   358.902] (II) modeset(0): Modeline "1280x720"x59.9   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.8 kHz d)
[   358.902] (II) modeset(0): Modeline "1280x720"x59.7   63.75  1280 1328 1360 1440  720 723 728 741 +hsync -vsync (44.3 kHz d)
[   358.902] (II) modeset(0): Modeline "1024x768"x144.0  354.73  1024 1968 2000 2180  768 1083 1088 1130 +hsync -vsync (162.7 kHz e)
[   358.902] (II) modeset(0): Modeline "1024x768"x85.0  194.02  1024 1108 1220 1416  768 768 770 806 doublescan -hsync +vsync (137.0 kHz d)
[   358.902] (II) modeset(0): Modeline "1024x768"x75.0  170.24  1024 1108 1220 1416  768 768 770 801 doublescan -hsync +vsync (120.2 kHz d)
[   358.902] (II) modeset(0): Modeline "1024x768"x60.0  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[   358.902] (II) modeset(0): Modeline "1024x768"x85.0   94.50  1024 1072 1168 1376  768 769 772 808 +hsync +vsync (68.7 kHz d)
[   358.902] (II) modeset(0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz d)
[   358.902] (II) modeset(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz d)
[   358.902] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[   358.902] (II) modeset(0): Modeline "1024x768i"x87.0   44.90  1024 1032 1208 1264  768 768 776 817 interlace +hsync +vsync (35.5 kHz d)
[   358.902] (II) modeset(0): Modeline "960x720"x85.0  170.68  960 1036 1144 1328  720 720 722 756 doublescan -hsync +vsync (128.5 kHz d)
[   358.902] (II) modeset(0): Modeline "960x720"x75.0  148.50  960 1032 1144 1320  720 720 722 750 doublescan -hsync +vsync (112.5 kHz d)
[   358.902] (II) modeset(0): Modeline "960x720"x60.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[   358.902] (II) modeset(0): Modeline "928x696"x75.0  144.00  928 992 1104 1280  696 696 698 750 doublescan -hsync +vsync (112.5 kHz d)
[   358.902] (II) modeset(0): Modeline "928x696"x60.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[   358.902] (II) modeset(0): Modeline "896x672"x75.0  130.50  896 944 1052 1228  672 672 674 708 doublescan -hsync +vsync (106.3 kHz d)
[   358.902] (II) modeset(0): Modeline "896x672"x60.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[   358.902] (II) modeset(0): Modeline "1024x576"x60.0   98.50  1024 1092 1200 1376  576 577 580 597 doublescan -hsync +vsync (71.6 kHz d)
[   358.902] (II) modeset(0): Modeline "1024x576"x60.0   78.38  1024 1048 1064 1104  576 577 580 592 doublescan +hsync -vsync (71.0 kHz d)
[   358.902] (II) modeset(0): Modeline "1024x576"x59.9   46.50  1024 1064 1160 1296  576 579 584 599 -hsync +vsync (35.9 kHz d)
[   358.902] (II) modeset(0): Modeline "1024x576"x59.8   42.00  1024 1072 1104 1184  576 579 584 593 +hsync -vsync (35.5 kHz d)
[   358.902] (II) modeset(0): Modeline "960x600"x59.9   96.62  960 1028 1128 1296  600 601 604 622 doublescan -hsync +vsync (74.6 kHz d)
[   358.902] (II) modeset(0): Modeline "960x600"x60.0   77.00  960 984 1000 1040  600 601 604 617 doublescan +hsync -vsync (74.0 kHz d)
[   358.902] (II) modeset(0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz d)
[   358.902] (II) modeset(0): Modeline "960x540"x60.0   86.50  960 1024 1124 1288  540 541 544 560 doublescan -hsync +vsync (67.2 kHz d)
[   358.902] (II) modeset(0): Modeline "960x540"x60.0   69.25  960 984 1000 1040  540 541 544 555 doublescan +hsync -vsync (66.6 kHz d)
[   358.902] (II) modeset(0): Modeline "960x540"x59.6   40.75  960 992 1088 1216  540 543 548 562 -hsync +vsync (33.5 kHz d)
[   358.902] (II) modeset(0): Modeline "960x540"x59.8   37.25  960 1008 1040 1120  540 543 548 556 +hsync -vsync (33.3 kHz d)
[   358.902] (II) modeset(0): Modeline "800x600"x144.0  354.73  800 1968 2000 2180  600 1083 1088 1130 +hsync -vsync (162.7 kHz e)
[   358.902] (II) modeset(0): Modeline "800x600"x85.0  114.75  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (106.2 kHz d)
[   358.902] (II) modeset(0): Modeline "800x600"x75.0  101.25  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (93.8 kHz d)
[   358.902] (II) modeset(0): Modeline "800x600"x70.0   94.50  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (87.5 kHz d)
[   358.902] (II) modeset(0): Modeline "800x600"x65.0   87.75  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (81.2 kHz d)
[   358.902] (II) modeset(0): Modeline "800x600"x60.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[   358.902] (II) modeset(0): Modeline "800x600"x85.1   56.30  800 832 896 1048  600 601 604 631 +hsync +vsync (53.7 kHz d)
[   358.902] (II) modeset(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz d)
[   358.902] (II) modeset(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz d)
[   358.902] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[   358.902] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[   358.902] (II) modeset(0): Modeline "840x525"x60.0   73.12  840 892 980 1120  525 526 529 544 doublescan -hsync +vsync (65.3 kHz d)
[   358.902] (II) modeset(0): Modeline "840x525"x59.9   59.50  840 864 880 920  525 526 529 540 doublescan +hsync -vsync (64.7 kHz d)
[   358.902] (II) modeset(0): Modeline "864x486"x59.9   32.50  864 888 968 1072  486 489 494 506 -hsync +vsync (30.3 kHz d)
[   358.902] (II) modeset(0): Modeline "864x486"x59.6   30.50  864 912 944 1024  486 489 494 500 +hsync -vsync (29.8 kHz d)
[   358.902] (II) modeset(0): Modeline "700x525"x74.8   77.90  700 732 892 956  525 526 532 545 doublescan +hsync +vsync (81.5 kHz d)
[   358.902] (II) modeset(0): Modeline "700x525"x60.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[   358.902] (II) modeset(0): Modeline "800x450"x59.9   59.12  800 848 928 1056  450 451 454 467 doublescan -hsync +vsync (56.0 kHz d)
[   358.902] (II) modeset(0): Modeline "800x450"x59.8   48.75  800 824 840 880  450 451 454 463 doublescan +hsync -vsync (55.4 kHz d)
[   358.902] (II) modeset(0): Modeline "640x512"x85.0   78.75  640 672 752 864  512 512 514 536 doublescan +hsync +vsync (91.1 kHz d)
[   358.902] (II) modeset(0): Modeline "640x512"x75.0   67.50  640 648 720 844  512 512 514 533 doublescan +hsync +vsync (80.0 kHz d)
[   358.902] (II) modeset(0): Modeline "640x512"x60.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[   358.902] (II) modeset(0): Modeline "700x450"x60.0   51.75  700 740 812 924  450 451 456 467 doublescan -hsync +vsync (56.0 kHz d)
[   358.902] (II) modeset(0): Modeline "700x450"x59.9   43.25  700 724 740 780  450 451 456 463 doublescan +hsync -vsync (55.4 kHz d)
[   358.902] (II) modeset(0): Modeline "640x480"x144.0  354.73  640 1968 2000 2180  480 1083 1088 1130 +hsync -vsync (162.7 kHz e)
[   358.902] (II) modeset(0): Modeline "640x480"x85.1   74.25  640 672 752 864  480 480 482 505 doublescan +hsync +vsync (85.9 kHz d)
[   358.902] (II) modeset(0): Modeline "640x480"x60.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[   358.902] (II) modeset(0): Modeline "640x480"x85.0   36.00  640 696 752 832  480 481 484 509 -hsync -vsync (43.3 kHz d)
[   358.902] (II) modeset(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz d)
[   358.902] (II) modeset(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz d)
[   358.902] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[   358.902] (II) modeset(0): Modeline "720x405"x59.5   22.50  720 744 808 896  405 408 413 422 -hsync +vsync (25.1 kHz d)
[   358.902] (II) modeset(0): Modeline "720x405"x59.0   21.75  720 768 800 880  405 408 413 419 +hsync -vsync (24.7 kHz d)
[   358.902] (II) modeset(0): Modeline "720x400"x85.0   35.50  720 756 828 936  400 401 404 446 -hsync +vsync (37.9 kHz d)
[   358.902] (II) modeset(0): Modeline "684x384"x59.9   42.62  684 720 788 892  384 385 390 399 doublescan -hsync +vsync (47.8 kHz d)
[   358.902] (II) modeset(0): Modeline "684x384"x59.9   36.12  684 708 724 764  384 385 390 395 doublescan +hsync -vsync (47.3 kHz d)
[   358.902] (II) modeset(0): Modeline "640x400"x59.9   41.75  640 676 740 840  400 401 404 415 doublescan -hsync +vsync (49.7 kHz d)
[   358.902] (II) modeset(0): Modeline "640x400"x60.0   35.50  640 664 680 720  400 401 404 411 doublescan +hsync -vsync (49.3 kHz d)
[   358.902] (II) modeset(0): Modeline "640x400"x85.1   31.50  640 672 736 832  400 401 404 445 -hsync +vsync (37.9 kHz d)
[   358.902] (II) modeset(0): Modeline "576x432"x75.0   54.00  576 608 672 800  432 432 434 450 doublescan +hsync +vsync (67.5 kHz d)
[   358.902] (II) modeset(0): Modeline "640x360"x59.9   37.25  640 672 736 832  360 361 364 374 doublescan -hsync +vsync (44.8 kHz d)
[   358.902] (II) modeset(0): Modeline "640x360"x59.8   31.88  640 664 680 720  360 361 364 370 doublescan +hsync -vsync (44.3 kHz d)
[   358.902] (II) modeset(0): Modeline "640x360"x59.8   18.00  640 664 720 800  360 363 368 376 -hsync +vsync (22.5 kHz d)
[   358.902] (II) modeset(0): Modeline "640x360"x59.3   17.75  640 688 720 800  360 363 368 374 +hsync -vsync (22.2 kHz d)
[   358.902] (II) modeset(0): Modeline "640x350"x85.1   31.50  640 672 736 832  350 382 385 445 +hsync -vsync (37.9 kHz d)
[   358.902] (II) modeset(0): Modeline "512x384"x85.0   47.25  512 536 584 688  384 384 386 404 doublescan +hsync +vsync (68.7 kHz d)
[   358.902] (II) modeset(0): Modeline "512x384"x75.0   39.38  512 520 568 656  384 384 386 400 doublescan +hsync +vsync (60.0 kHz d)
[   358.902] (II) modeset(0): Modeline "512x384"x70.1   37.50  512 524 592 664  384 385 388 403 doublescan -hsync -vsync (56.5 kHz d)
[   358.902] (II) modeset(0): Modeline "512x384"x60.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[   358.902] (II) modeset(0): Modeline "512x384i"x87.1   22.45  512 516 604 632  384 384 388 408 interlace doublescan +hsync +vsync (35.5 kHz d)
[   358.902] (II) modeset(0): Modeline "512x288"x60.0   23.25  512 532 580 648  288 289 292 299 doublescan -hsync +vsync (35.9 kHz d)
[   358.902] (II) modeset(0): Modeline "512x288"x59.9   21.00  512 536 552 592  288 289 292 296 doublescan +hsync -vsync (35.5 kHz d)
[   358.902] (II) modeset(0): Modeline "416x312"x74.7   28.64  416 432 464 576  312 312 314 333 doublescan -hsync -vsync (49.7 kHz d)
[   358.902] (II) modeset(0): Modeline "480x270"x59.6   20.38  480 496 544 608  270 271 274 281 doublescan -hsync +vsync (33.5 kHz d)
[   358.902] (II) modeset(0): Modeline "480x270"x59.8   18.62  480 504 520 560  270 271 274 278 doublescan +hsync -vsync (33.3 kHz d)
[   358.902] (II) modeset(0): Modeline "400x300"x85.3   28.15  400 416 448 524  300 300 302 315 doublescan +hsync +vsync (53.7 kHz d)
[   358.902] (II) modeset(0): Modeline "400x300"x72.2   25.00  400 428 488 520  300 318 321 333 doublescan +hsync +vsync (48.1 kHz d)
[   358.902] (II) modeset(0): Modeline "400x300"x75.1   24.75  400 408 448 528  300 300 302 312 doublescan +hsync +vsync (46.9 kHz d)
[   358.902] (II) modeset(0): Modeline "400x300"x60.3   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[   358.902] (II) modeset(0): Modeline "400x300"x56.3   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[   358.902] (II) modeset(0): Modeline "432x243"x59.9   16.25  432 444 484 536  243 244 247 253 doublescan -hsync +vsync (30.3 kHz d)
[   358.902] (II) modeset(0): Modeline "432x243"x59.6   15.25  432 456 472 512  243 244 247 250 doublescan +hsync -vsync (29.8 kHz d)
[   358.902] (II) modeset(0): Modeline "320x240"x85.2   18.00  320 348 376 416  240 240 242 254 doublescan -hsync -vsync (43.3 kHz d)
[   358.902] (II) modeset(0): Modeline "320x240"x72.8   15.75  320 332 352 416  240 244 246 260 doublescan -hsync -vsync (37.9 kHz d)
[   358.902] (II) modeset(0): Modeline "320x240"x75.0   15.75  320 328 360 420  240 240 242 250 doublescan -hsync -vsync (37.5 kHz d)
[   358.902] (II) modeset(0): Modeline "320x240"x60.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[   358.902] (II) modeset(0): Modeline "360x202"x59.5   11.25  360 372 404 448  202 204 206 211 doublescan -hsync +vsync (25.1 kHz d)
[   358.902] (II) modeset(0): Modeline "360x202"x59.1   10.88  360 384 400 440  202 204 206 209 doublescan +hsync -vsync (24.7 kHz d)
[   358.902] (II) modeset(0): Modeline "360x200"x85.0   17.75  360 378 414 468  200 200 202 223 doublescan -hsync +vsync (37.9 kHz d)
[   358.902] (II) modeset(0): Modeline "320x200"x85.3   15.75  320 336 368 416  200 200 202 222 doublescan -hsync +vsync (37.9 kHz d)
[   358.902] (II) modeset(0): Modeline "320x180"x59.8    9.00  320 332 360 400  180 181 184 188 doublescan -hsync +vsync (22.5 kHz d)
[   358.902] (II) modeset(0): Modeline "320x180"x59.3    8.88  320 344 360 400  180 181 184 187 doublescan +hsync -vsync (22.2 kHz d)
[   358.902] (II) modeset(0): Modeline "320x175"x85.3   15.75  320 336 368 416  175 191 192 222 doublescan +hsync -vsync (37.9 kHz d)
[   358.902] (II) modeset(0): EDID for output HDMI-1
[   358.902] (II) modeset(0): Output eDP-1 connected
[   358.902] (II) modeset(0): Output HDMI-1 disconnected
[   358.902] (II) modeset(0): Using exact sizes for initial modes
[   358.902] (II) modeset(0): Output eDP-1 using initial mode 1920x1080 +0+0
[   358.902] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[   358.902] (==) modeset(0): DPI set to (96, 96)
[   358.902] (II) Loading sub module "fb"
[   358.902] (II) LoadModule: "fb"
[   358.902] (II) Loading /usr/lib/xorg/modules/libfb.so
[   358.902] (II) Module fb: vendor="X.Org Foundation"
[   358.902]    compiled for 1.20.11, module version = 1.0.0
[   358.902]    ABI class: X.Org ANSI C Emulation, version 0.4
[   358.913] (==) modeset(0): Backing store enabled
[   358.913] (==) modeset(0): Silken mouse disabled
[   358.913] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[   358.913] (==) modeset(0): DPMS enabled
[   358.913] (WW) modeset(0): Option "PrimaryGPU" is not used
[   358.913] (WW) modeset(0): Option "DRI" is not used
[   358.913] (II) modeset(0): [DRI2] Setup complete
[   358.913] (II) modeset(0): [DRI2]   DRI driver: radeonsi
[   358.913] (II) modeset(0): [DRI2]   VDPAU driver: radeonsi
[   358.913] (II) Initializing extension Generic Event Extension
[   358.913] (II) Initializing extension SHAPE
[   358.913] (II) Initializing extension MIT-SHM
[   358.913] (II) Initializing extension XInputExtension
[   358.913] (II) Initializing extension XTEST
[   358.913] (II) Initializing extension BIG-REQUESTS
[   358.913] (II) Initializing extension SYNC
[   358.913] (II) Initializing extension XKEYBOARD
[   358.913] (II) Initializing extension XC-MISC
[   358.913] (II) Initializing extension SECURITY
[   358.913] (II) Initializing extension XFIXES
[   358.914] (II) Initializing extension RENDER
[   358.914] (II) Initializing extension RANDR
[   358.914] (II) Initializing extension COMPOSITE
[   358.914] (II) Initializing extension DAMAGE
[   358.914] (II) Initializing extension MIT-SCREEN-SAVER
[   358.914] (II) Initializing extension DOUBLE-BUFFER
[   358.914] (II) Initializing extension RECORD
[   358.914] (II) Initializing extension DPMS
[   358.914] (II) Initializing extension Present
[   358.914] (II) Initializing extension DRI3
[   358.914] (II) Initializing extension X-Resource
[   358.914] (II) Initializing extension XVideo
[   358.914] (II) Initializing extension XVideo-MotionCompensation
[   358.914] (II) Initializing extension GLX
[   358.917] (II) AIGLX: Loaded and initialized radeonsi
[   358.917] (II) GLX: Initialized DRI2 GL provider for screen 0
[   358.917] (II) Initializing extension XFree86-VidModeExtension
[   358.917] (II) Initializing extension XFree86-DGA
[   358.917] (II) Initializing extension XFree86-DRI
[   358.917] (II) Initializing extension DRI2
[   358.917] (II) modeset(0): Damage tracking initialized
[   358.917] (II) modeset(0): Setting screen physical size to 508 x 285
[   358.924] (EE) modeset(0): Failed to make import prime FD as pixmap: 22
[   358.941] (II) config/udev: Adding input device Asus Wireless Radio Control (/dev/input/event4)
[   358.941] (**) Asus Wireless Radio Control: Applying InputClass "evdev keyboard catchall"
[   358.941] (**) Asus Wireless Radio Control: Applying InputClass "libinput keyboard catchall"
[   358.941] (**) Asus Wireless Radio Control: Applying InputClass "system-keyboard"
[   358.941] (II) LoadModule: "libinput"
[   358.941] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   358.942] (II) Module libinput: vendor="X.Org Foundation"
[   358.942]    compiled for 1.20.10, module version = 1.0.0
[   358.942]    Module class: X.Org XInput Driver
[   358.942]    ABI class: X.Org XInput driver, version 24.1
[   358.942] (II) Using input driver 'libinput' for 'Asus Wireless Radio Control'
[   358.942] (**) Asus Wireless Radio Control: always reports core events
[   358.942] (**) Option "Device" "/dev/input/event4"
[   358.942] (**) Option "_source" "server/udev"
[   358.943] (II) event4  - Asus Wireless Radio Control: is tagged by udev as: Keyboard
[   358.943] (II) event4  - Asus Wireless Radio Control: device is a keyboard
[   358.943] (II) event4  - Asus Wireless Radio Control: device removed
[   359.068] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/ATK4002:00/input/input4/event4"
[   359.069] (II) XINPUT: Adding extended input device "Asus Wireless Radio Control" (type: KEYBOARD, id 6)
[   359.069] (**) Option "xkb_layout" "us"
[   359.069] (II) event4  - Asus Wireless Radio Control: is tagged by udev as: Keyboard
[   359.069] (II) event4  - Asus Wireless Radio Control: device is a keyboard
[   359.070] (II) config/udev: Adding input device Video Bus (/dev/input/event5)
[   359.070] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[   359.070] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[   359.070] (**) Video Bus: Applying InputClass "system-keyboard"
[   359.070] (II) Using input driver 'libinput' for 'Video Bus'
[   359.070] (**) Video Bus: always reports core events
[   359.070] (**) Option "Device" "/dev/input/event5"
[   359.070] (**) Option "_source" "server/udev"
[   359.070] (II) event5  - Video Bus: is tagged by udev as: Keyboard
[   359.070] (II) event5  - Video Bus: device is a keyboard
[   359.070] (II) event5  - Video Bus: device removed
[   359.109] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/LNXVIDEO:00/input/input5/event5"
[   359.109] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[   359.109] (**) Option "xkb_layout" "us"
[   359.109] (II) event5  - Video Bus: is tagged by udev as: Keyboard
[   359.110] (II) event5  - Video Bus: device is a keyboard
[   359.110] (II) config/udev: Adding input device Video Bus (/dev/input/event6)
[   359.110] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[   359.110] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[   359.110] (**) Video Bus: Applying InputClass "system-keyboard"
[   359.110] (II) Using input driver 'libinput' for 'Video Bus'
[   359.110] (**) Video Bus: always reports core events
[   359.110] (**) Option "Device" "/dev/input/event6"
[   359.110] (**) Option "_source" "server/udev"
[   359.110] (II) event6  - Video Bus: is tagged by udev as: Keyboard
[   359.110] (II) event6  - Video Bus: device is a keyboard
[   359.110] (II) event6  - Video Bus: device removed
[   359.149] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0f/LNXVIDEO:01/input/input6/event6"
[   359.149] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[   359.149] (**) Option "xkb_layout" "us"
[   359.149] (II) event6  - Video Bus: is tagged by udev as: Keyboard
[   359.150] (II) event6  - Video Bus: device is a keyboard
[   359.150] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[   359.150] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   359.150] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   359.150] (**) Power Button: Applying InputClass "system-keyboard"
[   359.150] (II) Using input driver 'libinput' for 'Power Button'
[   359.150] (**) Power Button: always reports core events
[   359.150] (**) Option "Device" "/dev/input/event0"
[   359.150] (**) Option "_source" "server/udev"
[   359.150] (II) event0  - Power Button: is tagged by udev as: Keyboard
[   359.150] (II) event0  - Power Button: device is a keyboard
[   359.150] (II) event0  - Power Button: device removed
[   359.209] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[   359.209] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 9)
[   359.209] (**) Option "xkb_layout" "us"
[   359.209] (II) event0  - Power Button: is tagged by udev as: Keyboard
[   359.209] (II) event0  - Power Button: device is a keyboard
[   359.210] (II) config/udev: Adding input device Lid Switch (/dev/input/event2)
[   359.210] (II) No input driver specified, ignoring this device.
[   359.210] (II) This device may have been added with another device file.
[   359.210] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[   359.210] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[   359.210] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[   359.210] (**) Sleep Button: Applying InputClass "system-keyboard"
[   359.210] (II) Using input driver 'libinput' for 'Sleep Button'
[   359.210] (**) Sleep Button: always reports core events
[   359.210] (**) Option "Device" "/dev/input/event1"
[   359.210] (**) Option "_source" "server/udev"
[   359.210] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[   359.210] (II) event1  - Sleep Button: device is a keyboard
[   359.210] (II) event1  - Sleep Button: device removed
[   359.249] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1/event1"
[   359.249] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 10)
[   359.249] (**) Option "xkb_layout" "us"
[   359.249] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[   359.249] (II) event1  - Sleep Button: device is a keyboard
[   359.250] (II) config/udev: Adding input device HD-Audio Generic HDMI/DP,pcm=3 (/dev/input/event10)
[   359.250] (II) No input driver specified, ignoring this device.
[   359.250] (II) This device may have been added with another device file.
[   359.250] (II) config/udev: Adding input device USB2.0 HD UVC WebCam: USB2.0 HD (/dev/input/event12)
[   359.250] (**) USB2.0 HD UVC WebCam: USB2.0 HD: Applying InputClass "evdev keyboard catchall"
[   359.250] (**) USB2.0 HD UVC WebCam: USB2.0 HD: Applying InputClass "libinput keyboard catchall"
[   359.250] (**) USB2.0 HD UVC WebCam: USB2.0 HD: Applying InputClass "system-keyboard"
[   359.250] (II) Using input driver 'libinput' for 'USB2.0 HD UVC WebCam: USB2.0 HD'
[   359.250] (**) USB2.0 HD UVC WebCam: USB2.0 HD: always reports core events
[   359.250] (**) Option "Device" "/dev/input/event12"
[   359.250] (**) Option "_source" "server/udev"
[   359.250] (II) event12 - USB2.0 HD UVC WebCam: USB2.0 HD: is tagged by udev as: Keyboard
[   359.250] (II) event12 - USB2.0 HD UVC WebCam: USB2.0 HD: device is a keyboard
[   359.250] (II) event12 - USB2.0 HD UVC WebCam: USB2.0 HD: device removed
[   359.328] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-4/1-4:1.0/input/input13/event12"
[   359.329] (II) XINPUT: Adding extended input device "USB2.0 HD UVC WebCam: USB2.0 HD" (type: KEYBOARD, id 11)
[   359.329] (**) Option "xkb_layout" "us"
[   359.330] (II) event12 - USB2.0 HD UVC WebCam: USB2.0 HD: is tagged by udev as: Keyboard
[   359.330] (II) event12 - USB2.0 HD UVC WebCam: USB2.0 HD: device is a keyboard
[   359.330] (II) config/udev: Adding input device HD-Audio Generic Headphone (/dev/input/event11)
[   359.330] (II) No input driver specified, ignoring this device.
[   359.330] (II) This device may have been added with another device file.
[   359.330] (II) config/udev: Adding input device ELAN1203:00 04F3:307A Mouse (/dev/input/event9)
[   359.330] (**) ELAN1203:00 04F3:307A Mouse: Applying InputClass "evdev pointer catchall"
[   359.330] (**) ELAN1203:00 04F3:307A Mouse: Applying InputClass "libinput pointer catchall"
[   359.330] (II) Using input driver 'libinput' for 'ELAN1203:00 04F3:307A Mouse'
[   359.330] (**) ELAN1203:00 04F3:307A Mouse: always reports core events
[   359.330] (**) Option "Device" "/dev/input/event9"
[   359.330] (**) Option "_source" "server/udev"
[   359.331] (II) event9  - ELAN1203:00 04F3:307A Mouse: is tagged by udev as: Mouse Pointingstick
[   359.331] (II) event9  - ELAN1203:00 04F3:307A Mouse: device is a pointer
[   359.331] (II) event9  - ELAN1203:00 04F3:307A Mouse: device removed
[   359.408] (**) Option "config_info" "udev:/sys/devices/platform/AMDI0010:03/i2c-0/i2c-ELAN1203:00/0018:04F3:307A.0001/input/input14/event9"
[   359.408] (II) XINPUT: Adding extended input device "ELAN1203:00 04F3:307A Mouse" (type: MOUSE, id 12)
[   359.409] (**) Option "AccelerationScheme" "none"
[   359.409] (**) ELAN1203:00 04F3:307A Mouse: (accel) selected scheme none/0
[   359.409] (**) ELAN1203:00 04F3:307A Mouse: (accel) acceleration factor: 2.000
[   359.409] (**) ELAN1203:00 04F3:307A Mouse: (accel) acceleration threshold: 4
[   359.409] (II) event9  - ELAN1203:00 04F3:307A Mouse: is tagged by udev as: Mouse Pointingstick
[   359.410] (II) event9  - ELAN1203:00 04F3:307A Mouse: device is a pointer
[   359.410] (II) config/udev: Adding input device ELAN1203:00 04F3:307A Mouse (/dev/input/mouse0)
[   359.410] (II) No input driver specified, ignoring this device.
[   359.410] (II) This device may have been added with another device file.
[   359.410] (II) config/udev: Adding input device ELAN1203:00 04F3:307A Touchpad (/dev/input/event13)
[   359.410] (**) ELAN1203:00 04F3:307A Touchpad: Applying InputClass "evdev touchpad catchall"
[   359.410] (**) ELAN1203:00 04F3:307A Touchpad: Applying InputClass "libinput touchpad catchall"
[   359.410] (**) ELAN1203:00 04F3:307A Touchpad: Applying InputClass "touchpad"
[   359.410] (II) Using input driver 'libinput' for 'ELAN1203:00 04F3:307A Touchpad'
[   359.410] (**) ELAN1203:00 04F3:307A Touchpad: always reports core events
[   359.410] (**) Option "Device" "/dev/input/event13"
[   359.410] (**) Option "_source" "server/udev"
[   359.411] (II) event13 - ELAN1203:00 04F3:307A Touchpad: is tagged by udev as: Touchpad
[   359.411] (II) event13 - ELAN1203:00 04F3:307A Touchpad: device is a touchpad
[   359.411] (II) event13 - ELAN1203:00 04F3:307A Touchpad: device removed
[   359.518] (**) Option "Tapping" "on"
[   359.519] (**) Option "config_info" "udev:/sys/devices/platform/AMDI0010:03/i2c-0/i2c-ELAN1203:00/0018:04F3:307A.0001/input/input15/event13"
[   359.519] (II) XINPUT: Adding extended input device "ELAN1203:00 04F3:307A Touchpad" (type: TOUCHPAD, id 13)
[   359.519] (**) Option "AccelerationScheme" "none"
[   359.519] (**) ELAN1203:00 04F3:307A Touchpad: (accel) selected scheme none/0
[   359.519] (**) ELAN1203:00 04F3:307A Touchpad: (accel) acceleration factor: 2.000
[   359.519] (**) ELAN1203:00 04F3:307A Touchpad: (accel) acceleration threshold: 4
[   359.520] (II) event13 - ELAN1203:00 04F3:307A Touchpad: is tagged by udev as: Touchpad
[   359.520] (II) event13 - ELAN1203:00 04F3:307A Touchpad: device is a touchpad
[   359.521] (II) config/udev: Adding input device ELAN1203:00 04F3:307A Touchpad (/dev/input/mouse1)
[   359.521] (**) ELAN1203:00 04F3:307A Touchpad: Applying InputClass "touchpad"
[   359.521] (II) Using input driver 'libinput' for 'ELAN1203:00 04F3:307A Touchpad'
[   359.521] (**) ELAN1203:00 04F3:307A Touchpad: always reports core events
[   359.521] (**) Option "Device" "/dev/input/mouse1"
[   359.521] (**) Option "_source" "server/udev"
[   359.598] (II) mouse1  - not using input device '/dev/input/mouse1'.
[   359.599] (EE) libinput: ELAN1203:00 04F3:307A Touchpad: Failed to create a device for /dev/input/mouse1
[   359.599] (EE) PreInit returned 2 for "ELAN1203:00 04F3:307A Touchpad"
[   359.599] (II) UnloadModule: "libinput"
[   359.599] (II) config/udev: Adding input device Asus WMI hotkeys (/dev/input/event8)
[   359.599] (**) Asus WMI hotkeys: Applying InputClass "evdev keyboard catchall"
[   359.599] (**) Asus WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[   359.599] (**) Asus WMI hotkeys: Applying InputClass "system-keyboard"
[   359.599] (II) Using input driver 'libinput' for 'Asus WMI hotkeys'
[   359.599] (**) Asus WMI hotkeys: always reports core events
[   359.599] (**) Option "Device" "/dev/input/event8"
[   359.599] (**) Option "_source" "server/udev"
[   359.599] (II) event8  - Asus WMI hotkeys: is tagged by udev as: Keyboard
[   359.600] (II) event8  - Asus WMI hotkeys: device is a keyboard
[   359.600] (II) event8  - Asus WMI hotkeys: device removed
[   359.639] (**) Option "config_info" "udev:/sys/devices/platform/asus-nb-wmi/input/input12/event8"
[   359.639] (II) XINPUT: Adding extended input device "Asus WMI hotkeys" (type: KEYBOARD, id 14)
[   359.639] (**) Option "xkb_layout" "us"
[   359.639] (II) event8  - Asus WMI hotkeys: is tagged by udev as: Keyboard
[   359.639] (II) event8  - Asus WMI hotkeys: device is a keyboard
[   359.640] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
[   359.640] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[   359.640] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[   359.640] (**) AT Translated Set 2 keyboard: Applying InputClass "system-keyboard"
[   359.640] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[   359.640] (**) AT Translated Set 2 keyboard: always reports core events
[   359.640] (**) Option "Device" "/dev/input/event3"
[   359.640] (**) Option "_source" "server/udev"
[   359.640] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   359.640] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[   359.641] (II) event3  - AT Translated Set 2 keyboard: device removed
[   359.709] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input3/event3"
[   359.709] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 15)
[   359.709] (**) Option "xkb_layout" "us"
[   359.710] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   359.710] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[   359.710] (II) config/udev: Adding input device PC Speaker (/dev/input/event7)
[   359.710] (II) No input driver specified, ignoring this device.
[   359.710] (II) This device may have been added with another device file.
[   362.788] (II) modeset(0): Disabling kernel dirty updates, not required.
[   363.434] (II) modeset(0): EDID vendor "NCP", prod id 77
[   363.434] (II) modeset(0): Using EDID range info for horizontal sync
[   363.434] (II) modeset(0): Using EDID range info for vertical refresh
[   363.434] (II) modeset(0): Printing DDC gathered Modelines:
[   363.434] (II) modeset(0): Modeline "1920x1080"x0.0  354.73  1920 1968 2000 2180  1080 1083 1088 1130 +hsync -vsync (162.7 kHz eP)
[   363.434] (II) modeset(0): Modeline "1920x1080"x0.0  147.81  1920 1968 2000 2180  1080 1083 1088 1130 +hsync -vsync (67.8 kHz e)
[   363.605] (II) modeset(0): EDID vendor "NCP", prod id 77
[   363.605] (II) modeset(0): Using hsync ranges from config file
[   363.605] (II) modeset(0): Using vrefresh ranges from config file
[   363.605] (II) modeset(0): Printing DDC gathered Modelines:
[   363.605] (II) modeset(0): Modeline "1920x1080"x0.0  354.73  1920 1968 2000 2180  1080 1083 1088 1130 +hsync -vsync (162.7 kHz eP)
[   363.605] (II) modeset(0): Modeline "1920x1080"x0.0  147.81  1920 1968 2000 2180  1080 1083 1088 1130 +hsync -vsync (67.8 kHz e)
[  2053.682] (EE) event13 - ELAN1203:00 04F3:307A Touchpad: kernel bug: Touch jump detected and discarded.
See https://wayland.freedesktop.org/libinput/doc/1.17.1/touchpad-jumping-cursors.html for details
[  2182.775] (EE) event13 - ELAN1203:00 04F3:307A Touchpad: kernel bug: Touch jump detected and discarded.
See https://wayland.freedesktop.org/libinput/doc/1.17.1/touchpad-jumping-cursors.html for details
[  2187.117] (II) modeset(0): EDID vendor "NCP", prod id 77
[  2187.117] (II) modeset(0): Using hsync ranges from config file
[  2187.117] (II) modeset(0): Using vrefresh ranges from config file
[  2187.117] (II) modeset(0): Printing DDC gathered Modelines:
[  2187.117] (II) modeset(0): Modeline "1920x1080"x0.0  354.73  1920 1968 2000 2180  1080 1083 1088 1130 +hsync -vsync (162.7 kHz eP)
[  2187.117] (II) modeset(0): Modeline "1920x1080"x0.0  147.81  1920 1968 2000 2180  1080 1083 1088 1130 +hsync -vsync (67.8 kHz e)
[  2308.403] (II) modeset(0): EDID vendor "NCP", prod id 77
[  2308.403] (II) modeset(0): Using hsync ranges from config file
[  2308.403] (II) modeset(0): Using vrefresh ranges from config file
[  2308.403] (II) modeset(0): Printing DDC gathered Modelines:
[  2308.403] (II) modeset(0): Modeline "1920x1080"x0.0  354.73  1920 1968 2000 2180  1080 1083 1088 1130 +hsync -vsync (162.7 kHz eP)
[  2308.403] (II) modeset(0): Modeline "1920x1080"x0.0  147.81  1920 1968 2000 2180  1080 1083 1088 1130 +hsync -vsync (67.8 kHz e)
[  2311.881] (EE) event13 - ELAN1203:00 04F3:307A Touchpad: kernel bug: Touch jump detected and discarded.
See https://wayland.freedesktop.org/libinput/doc/1.17.1/touchpad-jumping-cursors.html for details
[  5240.163] (II) modeset(0): EDID vendor "NCP", prod id 77
[  5240.163] (II) modeset(0): Using hsync ranges from config file
[  5240.163] (II) modeset(0): Using vrefresh ranges from config file
[  5240.163] (II) modeset(0): Printing DDC gathered Modelines:
[  5240.163] (II) modeset(0): Modeline "1920x1080"x0.0  354.73  1920 1968 2000 2180  1080 1083 1088 1130 +hsync -vsync (162.7 kHz eP)
[  5240.164] (II) modeset(0): Modeline "1920x1080"x0.0  147.81  1920 1968 2000 2180  1080 1083 1088 1130 +hsync -vsync (67.8 kHz e)
[  5253.855] (II) modeset(0): EDID vendor "NCP", prod id 77
[  5253.855] (II) modeset(0): Using hsync ranges from config file
[  5253.855] (II) modeset(0): Using vrefresh ranges from config file
[  5253.855] (II) modeset(0): Printing DDC gathered Modelines:
[  5253.855] (II) modeset(0): Modeline "1920x1080"x0.0  354.73  1920 1968 2000 2180  1080 1083 1088 1130 +hsync -vsync (162.7 kHz eP)
[  5253.855] (II) modeset(0): Modeline "1920x1080"x0.0  147.81  1920 1968 2000 2180  1080 1083 1088 1130 +hsync -vsync (67.8 kHz e)
[  5253.856] (II) modeset(0): EDID vendor "NCP", prod id 77
[  5253.856] (II) modeset(0): Using hsync ranges from config file
[  5253.856] (II) modeset(0): Using vrefresh ranges from config file
[  5253.856] (II) modeset(0): Printing DDC gathered Modelines:
[  5253.856] (II) modeset(0): Modeline "1920x1080"x0.0  354.73  1920 1968 2000 2180  1080 1083 1088 1130 +hsync -vsync (162.7 kHz eP)
[  5253.856] (II) modeset(0): Modeline "1920x1080"x0.0  147.81  1920 1968 2000 2180  1080 1083 1088 1130 +hsync -vsync (67.8 kHz e)

Can you post the output of

sudo systool -vm nvidia_drm
ls /dev/dri/
head -n999 /etc/X11/xorg.conf.d/* /etc/X11/xorg.conf`

?

> sudo systool -vm nvidia_drm
Error opening module nvidia_drm

> ls /dev/dri/
by-path  card0  renderD128

>head -n999 /etc/X11/xorg.conf.d/* /etc/X11/xorg.conf
==> /etc/X11/xorg.conf.d/00-keyboard.conf <==
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "us"
EndSection

==> /etc/X11/xorg.conf.d/10-optimus-manager.conf <==
Section "Device"
        Identifier "integrated"
        Driver "modesetting"
        BusID "PCI:5:0:0"
        Option "DRI" "3"
EndSection


==> /etc/X11/xorg.conf.d/30-touchpad.conf <==
Section "InputClass"
    Identifier "touchpad"
    Driver "libinput"
    MatchIsTouchpad "on"
    Option "Tapping" "on"
EndSection

==> /etc/X11/xorg.conf.d/90-mhwd.conf <==
Section "Module"
    Load "modesetting"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    Option "AllowEmptyInitialConfiguration"
EndSection
head: „'/etc/X11/xorg.conf'“ cannot be open for reading: No such file or directory

You have optimus-manager? In that case run optimus-manager --switch hybrid, and prime-run should work after that.

Nope, it doesn’t work.

ptimus-manager --switch hybrid,
ERROR: a GPU setup was initiated but Xorg post-start hook did not run.
Log at /var/log/optimus-manager/switch/switch-20210424T204736.log
If your login manager is GDM, make sure to follow those instructions:
https://github.com/Askannz/optimus-manager#important--gnome-and-gdm-users
If your display manager is neither GDM, SDDM nor LightDM, or if you don't use one, read the wiki:
https://github.com/Askannz/optimus-manager/wiki/FAQ,-common-issues,-troubleshooting
Cannot execute command because of previous errors.

And this is what the log says:

>cat /var/log/optimus-manager/switch/switch-20210424T204736.log
[9] INFO: # Xorg pre-start hook
[9] INFO: Previous state was: {'type': 'pending_pre_xorg_start', 'requested_mode': 'integrated', 'current_mode': None}
[9] INFO: Requested mode is: integrated
[201] INFO: Available modules: ['nouveau', 'bbswitch', 'nvidia', 'nvidia_drm', 'nvidia_modeset', 'nvidia_uvm']
[201] INFO: Unloading modules ['nvidia_drm', 'nvidia_modeset', 'nvidia_uvm', 'nvidia'] (if loaded)
[209] INFO: switching=none, nothing to do
[225] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf
[225] INFO: Writing state {'type': 'pending_post_xorg_start', 'switch_id': '20210424T204736', 'requested_mode': 'integrated'}
[226] INFO: Xorg pre-start hook completed successfully.

Could it be something related to the kernel? I’m with 5.10.30-1-MANJARO #1 .

What’s the version (pacman -Q optimus-manager)?

Please try the following: remove 10-optimus-manager.conf and 90-mhwd.conf from /etc/X11/xorg.conf.d/, and then reboot.

Well, it didn’t work. I removed the conf files, but I still get

optimus-manager --switch hybrid
ERROR: a GPU setup was initiated but Xorg post-start hook did not run.
Log at /var/log/optimus-manager/switch/switch-20210425T001059.log
If your login manager is GDM, make sure to follow those instructions:
https://github.com/Askannz/optimus-manager#important--gnome-and-gdm-users
If your display manager is neither GDM, SDDM nor LightDM, or if you don't use one, read the wiki:
https://github.com/Askannz/optimus-manager/wiki/FAQ,-common-issues,-troubleshooting
Cannot execute command because of previous errors.

and even though I removed it, I still get 10-optimus-manager.conf

cat /etc/X11/xorg.conf.d/10-optimus-manager.conf
Section "Device"
        Identifier "integrated"
        Driver "modesetting"
        BusID "PCI:5:0:0"
        Option "DRI" "3"
EndSection

Have you followed this when you installed optimus-manager?

Because optimus-manager recreates it. What’s in /etc/optimus-manager/optimus-manager.conf?

Hi, thanks for the help. So optimus-manager.conf is empty. But I noticed your recommendation and did edit /etc/sddm.conf to comment out DisplayCommandand DisplayStopCommand and now I can switch to “nvidia”. So really thanks for helping me with this.
However, I noticed that when I use optimus-manager --switch hybrid and do prime-run glxspheres64, konsole claims I’m running the nvidia, but the FPS do not correspond to the Nvidia. Also in the vice versa, when I have switched to nvidia and do prime-run, I see higher FPS for the amdgpu that what I expect ( for example 200 instead of 145). Is this normal beahaviour?
When I’m in hybrid and start the nvidia with prime-run, nvidia-smi says it’s using the nvidia for the glxspheres64, but the FPS are 10 times lower than when I run on nvidia.

Well, I have never really analyzed the performance. As long as it’s enough for you, I wouldn’t bother messing with things. In any case, please open an new thread if you experience subpar performance.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.