You are not logged in.

#1 2023-07-02 15:32:25

Arash-S
Member
Registered: 2023-05-24
Posts: 7

Problem with graphics drivers [Nvidia] [Amdgpu]

I have Asus G513RM
My laptop has two graphics cards

# lspci -k | grep -A 2 -E "(VGA|3D)"
pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not permitted
01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1)
	Subsystem: ASUSTeK Computer Inc. GA106M [GeForce RTX 3060 Mobile / Max-Q]
	Kernel driver in use: nvidia
--
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] (rev c8)
	Subsystem: ASUSTeK Computer Inc. Rembrandt [Radeon 680M]
	Kernel modules: amdgpu

As described in the wiki I installed the following packages for the graphics drivers

local/egl-wayland 2:1.1.12-1
    EGLStream-based Wayland external platform
local/lib32-nvidia-utils 535.54.03-2
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.5-1
    Nvidia VDPAU library
local/libxnvctrl 535.54.03-1
    NVIDIA NV-CONTROL X extension
local/nvidia 535.54.03-5
    NVIDIA drivers for linux
local/nvidia-settings 535.54.03-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 535.54.03-1
    NVIDIA drivers utilities
local/xf86-video-amdgpu 23.0.0-1 (xorg-drivers)
    X.org amdgpu video driver
local/lib32-libva-mesa-driver 23.1.3-1
    VA-API drivers (32-bit)
local/lib32-mesa 23.1.3-1
    An open-source implementation of the OpenGL specification (32-bit)
local/lib32-mesa-vdpau 23.1.3-1
    VDPAU drivers (32-bit)
local/libva-mesa-driver 23.1.3-1
    VA-API drivers
local/mesa 23.1.3-1
    An open-source implementation of the OpenGL specification
local/mesa-vdpau 23.1.3-1

And I have done the following configurations

/etc/mkinitcpio.conf

# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES=(usbhid xhci_hcd)
MODULES=(amdgpu nvidia nvidia_modeset nvidia_uvm nvidia_drm)

# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image.  This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()

# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way.  This is useful for config files.
FILES=(/root/.bin/cryptlvm.keyfile)

# HOOKS
# This is the most important setting in this file.  The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
##   This setup specifies all modules in the MODULES setting above.
##   No RAID, lvm2, or encrypted root is needed.
#    HOOKS=(base)
#
##   This setup will autodetect all modules for your system and should
##   work as a sane default
#    HOOKS=(base udev autodetect modconf block filesystems fsck)
#
##   This setup will generate a 'full' image which supports most systems.
##   No autodetection is done.
#    HOOKS=(base udev modconf block filesystems fsck)
#
##   This setup assembles a mdadm array with an encrypted root file system.
##   Note: See 'mkinitcpio -H mdadm_udev' for more information on RAID devices.
#    HOOKS=(base udev modconf keyboard keymap consolefont block mdadm_udev encrypt filesystems fsck)
#
##   This setup loads an lvm2 volume group.
#    HOOKS=(base udev modconf block lvm2 filesystems fsck)
#
##   NOTE: If you have /usr on a separate partition, you MUST include the
#    usr and fsck hooks.
HOOKS=(base udev autodetect modconf keyboard keymap consolefont block encrypt lvm2 filesystems fsck)

# COMPRESSION
# Use this to compress the initramfs image. By default, zstd compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="zstd"
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"

# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()

# MODULES_DECOMPRESS
# Decompress kernel modules during initramfs creation.
# Enable to speedup boot process, disable to save RAM
# during early userspace. Switch (yes/no).
#MODULES_DECOMPRESS="yes"

/etc/default/grub

# GRUB boot loader configuration

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
#GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 cryptdevice=UUID=4530c0e4-b695-415e-914b-06ca36718bfe:cryptlvm cryptkey=rootfs:/root/.bin/cryptlvm.keyfile nomodeset"
GRUB_CMDLINE_LINUX=""

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
GRUB_ENABLE_CRYPTODISK=y

# Set to 'countdown' or 'hidden' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE=menu

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `videoinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to make GRUB remember the last selection. This requires
# setting 'GRUB_DEFAULT=saved' above.
#GRUB_SAVEDEFAULT=true

# Uncomment to disable submenus in boot menu
#GRUB_DISABLE_SUBMENU=y

# Probing for other operating systems is disabled for security reasons. Read
# documentation on GRUB_DISABLE_OS_PROBER, if still want to enable this
# functionality install os-prober and uncomment to detect and include other
# operating systems.
#GRUB_DISABLE_OS_PROBER=false

/etc/modprobe.d/amdgpu.conf

options amdgpu si_support=1
options amdgpu cik_support=1

/etc/modprobe.d/nouveau.conf

blacklist nouveau
options nouveau modeset=0

/etc/modprobe.d/nvidia.conf

options nvidia-drm modeset=1

/etc/modprobe.d/radeon.conf

blacklist radeon
options radeon si_support=0
options radeon cik_support=0

/etc/X11/xorg.conf.d/10-nvidia.conf

Section "Device"
	Identifier                 "Device0"
	Driver                     "nvidia"
	VendorName        "NVIDIA Corporation"
	BusID                    "PCI:1:0:0"
	#Option                "ConnectedMonitor" "DFP"
EndSection

/var/log/Xorg.0.log

[   662.042] 
X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
[   662.042] Current Operating System: Linux Zero 6.4.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 01 Jul 2023 16:17:21 +0000 x86_64
[   662.042] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=/dev/mapper/Storage-root rw loglevel=3 cryptdevice=UUID=4530c0e4-b695-415e-914b-06ca36718bfe:cryptlvm cryptkey=rootfs:/root/.bin/cryptlvm.keyfile nomodeset
[   662.042]  
[   662.042] Current version of pixman: 0.42.2
[   662.042] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   662.042] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   662.042] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jul  2 18:27:21 2023
[   662.042] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   662.042] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   662.042] (==) No Layout section.  Using the first Screen section.
[   662.042] (==) No screen section available. Using defaults.
[   662.042] (**) |-->Screen "Default Screen Section" (0)
[   662.042] (**) |   |-->Monitor "<default monitor>"
[   662.042] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[   662.042] (**) |   |-->Device "Device0"
[   662.042] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   662.042] (==) Automatically adding devices
[   662.042] (==) Automatically enabling devices
[   662.042] (==) Automatically adding GPU devices
[   662.042] (==) Automatically binding GPU devices
[   662.042] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   662.042] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[   662.042] 	Entry deleted from font path.
[   662.042] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   662.042] 	Entry deleted from font path.
[   662.042] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   662.042] 	Entry deleted from font path.
[   662.042] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[   662.042] (==) ModulePath set to "/usr/lib/xorg/modules"
[   662.042] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   662.042] (II) Module ABI versions:
[   662.042] 	X.Org ANSI C Emulation: 0.4
[   662.042] 	X.Org Video Driver: 25.2
[   662.042] 	X.Org XInput driver : 24.4
[   662.042] 	X.Org Server Extension : 10.0
[   662.043] (++) using VT number 7

[   662.043] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[   662.043] (II) xfree86: Adding drm device (/dev/dri/card0)
[   662.043] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card0
[   662.099] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[   662.100] (--) PCI: (1@0:0:0) 10de:2520:1043:1b7c rev 161, Mem @ 0xfb000000/16777216, 0x7c00000000/8589934592, 0x7e00000000/33554432, I/O @ 0x0000f000/128, BIOS @ 0x????????/524288
[   662.100] (--) PCI:*(5@0:0:0) 1002:1681:1043:1b7c rev 200, Mem @ 0x7e10000000/268435456, 0x7e20000000/2097152, 0xfc500000/524288, I/O @ 0x0000d000/256
[   662.100] (II) Open ACPI successful (/var/run/acpid.socket)
[   662.100] (II) LoadModule: "glx"
[   662.100] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   662.100] (II) Module glx: vendor="X.Org Foundation"
[   662.100] 	compiled for 1.21.1.8, module version = 1.0.0
[   662.100] 	ABI class: X.Org Server Extension, version 10.0
[   662.100] (II) LoadModule: "nvidia"
[   662.100] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   662.101] (II) Module nvidia: vendor="NVIDIA Corporation"
[   662.101] 	compiled for 1.6.99.901, module version = 1.0.0
[   662.101] 	Module class: X.Org Video Driver
[   662.101] (II) NVIDIA dlloader X Driver  535.54.03  Tue Jun  6 22:23:02 UTC 2023
[   662.101] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   662.103] (II) Loading sub module "fb"
[   662.103] (II) LoadModule: "fb"
[   662.103] (II) Module "fb" already built-in
[   662.103] (II) Loading sub module "wfb"
[   662.103] (II) LoadModule: "wfb"
[   662.103] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   662.103] (II) Module wfb: vendor="X.Org Foundation"
[   662.103] 	compiled for 1.21.1.8, module version = 1.0.0
[   662.103] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   662.104] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   662.104] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[   662.104] (==) NVIDIA(0): RGB weight 888
[   662.104] (==) NVIDIA(0): Default visual is TrueColor
[   662.104] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   662.104] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[   662.104] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[   662.104] (**) NVIDIA(0): Enabling 2D acceleration
[   662.104] (II) Loading sub module "glxserver_nvidia"
[   662.104] (II) LoadModule: "glxserver_nvidia"
[   662.104] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[   662.107] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[   662.107] 	compiled for 1.6.99.901, module version = 1.0.0
[   662.107] 	Module class: X.Org Server Extension
[   662.107] (II) NVIDIA GLX Module  535.54.03  Tue Jun  6 22:23:41 UTC 2023
[   662.107] (II) NVIDIA: The X server supports PRIME Render Offload.
[   662.108] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[   662.108] (--) NVIDIA(0):     DFP-0
[   662.108] (--) NVIDIA(0):     DFP-1
[   662.108] (--) NVIDIA(0):     DFP-2
[   662.108] (--) NVIDIA(0):     DFP-3 (boot)
[   662.108] (II) NVIDIA(0): NVIDIA GPU NVIDIA GeForce RTX 3060 Laptop GPU (GA106-A) at
[   662.108] (II) NVIDIA(0):     PCI:1:0:0 (GPU-0)
[   662.108] (--) NVIDIA(0): Memory: 6291456 kBytes
[   662.108] (--) NVIDIA(0): VideoBIOS: 94.06.38.00.09
[   662.108] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   662.108] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   662.108] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[   662.108] (--) NVIDIA(GPU-0): DFP-0: 2670.0 MHz maximum pixel clock
[   662.108] (--) NVIDIA(GPU-0): 
[   662.109] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   662.109] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[   662.109] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[   662.109] (--) NVIDIA(GPU-0): 
[   662.109] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   662.109] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[   662.109] (--) NVIDIA(GPU-0): DFP-2: 2670.0 MHz maximum pixel clock
[   662.109] (--) NVIDIA(GPU-0): 
[   662.156] (--) NVIDIA(GPU-0): LG Electronics LG ULTRAWIDE (DFP-3): connected
[   662.156] (--) NVIDIA(GPU-0): LG Electronics LG ULTRAWIDE (DFP-3): Internal TMDS
[   662.156] (--) NVIDIA(GPU-0): LG Electronics LG ULTRAWIDE (DFP-3): 600.0 MHz maximum pixel clock
[   662.156] (--) NVIDIA(GPU-0): 
[   662.213] (==) NVIDIA(0): 
[   662.213] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[   662.213] (==) NVIDIA(0):     will be used as the requested mode.
[   662.213] (==) NVIDIA(0): 
[   662.222] (II) NVIDIA(0): Validated MetaModes:
[   662.222] (II) NVIDIA(0):     "DFP-3:nvidia-auto-select"
[   662.222] (II) NVIDIA(0): Virtual screen size determined to be 2560 x 1080
[   662.511] (--) NVIDIA(0): DPI set to (81, 80); computed from "UseEdidDpi" X config
[   662.511] (--) NVIDIA(0):     option
[   662.511] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[   662.511] (II) NVIDIA:     access.
[   662.542] (II) NVIDIA(0): Setting mode "DFP-3:nvidia-auto-select"
[   662.635] (==) NVIDIA(0): Disabling shared memory pixmaps
[   662.635] (==) NVIDIA(0): Backing store enabled
[   662.635] (==) NVIDIA(0): Silken mouse enabled
[   662.636] (==) NVIDIA(0): DPMS enabled
[   662.636] (II) Loading sub module "dri2"
[   662.636] (II) LoadModule: "dri2"
[   662.636] (II) Module "dri2" already built-in
[   662.636] (II) NVIDIA(0): [DRI2] Setup complete
[   662.636] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   662.636] (II) Initializing extension Generic Event Extension
[   662.636] (II) Initializing extension SHAPE
[   662.636] (II) Initializing extension MIT-SHM
[   662.636] (II) Initializing extension XInputExtension
[   662.636] (II) Initializing extension XTEST
[   662.636] (II) Initializing extension BIG-REQUESTS
[   662.636] (II) Initializing extension SYNC
[   662.636] (II) Initializing extension XKEYBOARD
[   662.636] (II) Initializing extension XC-MISC
[   662.636] (II) Initializing extension SECURITY
[   662.636] (II) Initializing extension XFIXES
[   662.636] (II) Initializing extension RENDER
[   662.636] (II) Initializing extension RANDR
[   662.636] (II) Initializing extension COMPOSITE
[   662.636] (II) Initializing extension DAMAGE
[   662.636] (II) Initializing extension MIT-SCREEN-SAVER
[   662.636] (II) Initializing extension DOUBLE-BUFFER
[   662.637] (II) Initializing extension RECORD
[   662.637] (II) Initializing extension DPMS
[   662.637] (II) Initializing extension Present
[   662.637] (II) Initializing extension DRI3
[   662.637] (II) Initializing extension X-Resource
[   662.637] (II) Initializing extension XVideo
[   662.637] (II) Initializing extension XVideo-MotionCompensation
[   662.637] (II) Initializing extension GLX
[   662.637] (II) Initializing extension GLX
[   662.637] (II) Indirect GLX disabled.
[   662.637] (II) GLX: Another vendor is already registered for screen 0
[   662.637] (II) Initializing extension XFree86-VidModeExtension
[   662.637] (II) Initializing extension XFree86-DGA
[   662.637] (II) Initializing extension XFree86-DRI
[   662.637] (II) Initializing extension DRI2
[   662.637] (II) Initializing extension NV-GLX
[   662.637] (II) Initializing extension NV-CONTROL
[   662.637] (II) Initializing extension XINERAMA
[   662.673] (II) config/udev: Adding input device Video Bus (/dev/input/event3)
[   662.673] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[   662.673] (II) LoadModule: "libinput"
[   662.673] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   662.674] (II) Module libinput: vendor="X.Org Foundation"
[   662.674] 	compiled for 1.21.1.8, module version = 1.3.0
[   662.674] 	Module class: X.Org XInput Driver
[   662.674] 	ABI class: X.Org XInput driver, version 24.4
[   662.674] (II) Using input driver 'libinput' for 'Video Bus'
[   662.674] (**) Video Bus: always reports core events
[   662.674] (**) Option "Device" "/dev/input/event3"
[   662.675] (II) event3  - Video Bus: is tagged by udev as: Keyboard
[   662.675] (II) event3  - Video Bus: device is a keyboard
[   662.675] (II) event3  - Video Bus: device removed
[   662.698] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0c/LNXVIDEO:00/input/input3/event3"
[   662.698] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 6)
[   662.699] (II) event3  - Video Bus: is tagged by udev as: Keyboard
[   662.699] (II) event3  - Video Bus: device is a keyboard
[   662.699] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[   662.699] (II) No input driver specified, ignoring this device.
[   662.699] (II) This device may have been added with another device file.
[   662.699] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[   662.699] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   662.699] (II) Using input driver 'libinput' for 'Power Button'
[   662.699] (**) Power Button: always reports core events
[   662.699] (**) Option "Device" "/dev/input/event1"
[   662.700] (II) event1  - Power Button: is tagged by udev as: Keyboard
[   662.700] (II) event1  - Power Button: device is a keyboard
[   662.700] (II) event1  - Power Button: device removed
[   662.726] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1"
[   662.727] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[   662.728] (II) event1  - Power Button: is tagged by udev as: Keyboard
[   662.728] (II) event1  - Power Button: device is a keyboard
[   662.728] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[   662.728] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[   662.728] (II) Using input driver 'libinput' for 'Sleep Button'
[   662.728] (**) Sleep Button: always reports core events
[   662.728] (**) Option "Device" "/dev/input/event2"
[   662.729] (II) event2  - Sleep Button: is tagged by udev as: Keyboard
[   662.729] (II) event2  - Sleep Button: device is a keyboard
[   662.729] (II) event2  - Sleep Button: device removed
[   662.743] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2/event2"
[   662.743] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[   662.744] (II) event2  - Sleep Button: is tagged by udev as: Keyboard
[   662.744] (II) event2  - Sleep Button: device is a keyboard
[   662.745] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event7)
[   662.745] (II) No input driver specified, ignoring this device.
[   662.745] (II) This device may have been added with another device file.
[   662.745] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event8)
[   662.745] (II) No input driver specified, ignoring this device.
[   662.745] (II) This device may have been added with another device file.
[   662.745] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event9)
[   662.745] (II) No input driver specified, ignoring this device.
[   662.745] (II) This device may have been added with another device file.
[   662.745] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event14)
[   662.745] (II) No input driver specified, ignoring this device.
[   662.745] (II) This device may have been added with another device file.
[   662.745] (II) config/udev: Adding input device Asus Keyboard (/dev/input/event4)
[   662.745] (**) Asus Keyboard: Applying InputClass "libinput pointer catchall"
[   662.745] (**) Asus Keyboard: Applying InputClass "libinput keyboard catchall"
[   662.745] (II) Using input driver 'libinput' for 'Asus Keyboard'
[   662.745] (**) Asus Keyboard: always reports core events
[   662.745] (**) Option "Device" "/dev/input/event4"
[   662.746] (II) event4  - Asus Keyboard: is tagged by udev as: Keyboard Mouse
[   662.746] (II) event4  - Asus Keyboard: device is a pointer
[   662.746] (II) event4  - Asus Keyboard: device is a keyboard
[   662.746] (II) event4  - Asus Keyboard: device removed
[   662.770] (II) libinput: Asus Keyboard: Step value 0 was provided, libinput Fallback acceleration function is used.
[   662.770] (II) libinput: Asus Keyboard: Step value 0 was provided, libinput Fallback acceleration function is used.
[   662.770] (II) libinput: Asus Keyboard: Step value 0 was provided, libinput Fallback acceleration function is used.
[   662.770] (II) libinput: Asus Keyboard: needs a virtual subdevice
[   662.770] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-3/1-3:1.0/0003:0B05:19B6.0001/input/input15/event4"
[   662.770] (II) XINPUT: Adding extended input device "Asus Keyboard" (type: MOUSE, id 9)
[   662.770] (**) Option "AccelerationScheme" "none"
[   662.770] (**) Asus Keyboard: (accel) selected scheme none/0
[   662.770] (**) Asus Keyboard: (accel) acceleration factor: 2.000
[   662.770] (**) Asus Keyboard: (accel) acceleration threshold: 4
[   662.771] (II) event4  - Asus Keyboard: is tagged by udev as: Keyboard Mouse
[   662.771] (II) event4  - Asus Keyboard: device is a pointer
[   662.771] (II) event4  - Asus Keyboard: device is a keyboard
[   662.772] (II) config/udev: Adding input device Asus Keyboard (/dev/input/mouse2)
[   662.772] (II) No input driver specified, ignoring this device.
[   662.772] (II) This device may have been added with another device file.
[   662.772] (II) config/udev: Adding input device HD-Audio Generic Headset Mic (/dev/input/event17)
[   662.772] (II) No input driver specified, ignoring this device.
[   662.772] (II) This device may have been added with another device file.
[   662.772] (II) config/udev: Adding input device HD-Audio Generic Headphone (/dev/input/event18)
[   662.772] (II) No input driver specified, ignoring this device.
[   662.772] (II) This device may have been added with another device file.
[   662.773] (II) config/udev: Adding input device Lenovo Lenovo Y Gaming Precision Mouse (/dev/input/event10)
[   662.773] (**) Lenovo Lenovo Y Gaming Precision Mouse: Applying InputClass "libinput pointer catchall"
[   662.773] (**) Lenovo Lenovo Y Gaming Precision Mouse: Applying InputClass "libinput keyboard catchall"
[   662.773] (II) Using input driver 'libinput' for 'Lenovo Lenovo Y Gaming Precision Mouse'
[   662.773] (**) Lenovo Lenovo Y Gaming Precision Mouse: always reports core events
[   662.773] (**) Option "Device" "/dev/input/event10"
[   662.773] (II) event10 - Lenovo Lenovo Y Gaming Precision Mouse: is tagged by udev as: Keyboard Mouse
[   662.773] (II) event10 - Lenovo Lenovo Y Gaming Precision Mouse: device is a pointer
[   662.773] (II) event10 - Lenovo Lenovo Y Gaming Precision Mouse: device is a keyboard
[   662.773] (II) event10 - Lenovo Lenovo Y Gaming Precision Mouse: device removed
[   662.823] (II) libinput: Lenovo Lenovo Y Gaming Precision Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[   662.823] (II) libinput: Lenovo Lenovo Y Gaming Precision Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[   662.823] (II) libinput: Lenovo Lenovo Y Gaming Precision Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[   662.823] (II) libinput: Lenovo Lenovo Y Gaming Precision Mouse: needs a virtual subdevice
[   662.823] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.3/0000:06:00.3/usb7/7-1/7-1.1/7-1.1:1.0/0003:17EF:6078.0002/input/input11/event10"
[   662.823] (II) XINPUT: Adding extended input device "Lenovo Lenovo Y Gaming Precision Mouse" (type: MOUSE, id 10)
[   662.823] (**) Option "AccelerationScheme" "none"
[   662.823] (**) Lenovo Lenovo Y Gaming Precision Mouse: (accel) selected scheme none/0
[   662.823] (**) Lenovo Lenovo Y Gaming Precision Mouse: (accel) acceleration factor: 2.000
[   662.823] (**) Lenovo Lenovo Y Gaming Precision Mouse: (accel) acceleration threshold: 4
[   662.825] (II) event10 - Lenovo Lenovo Y Gaming Precision Mouse: is tagged by udev as: Keyboard Mouse
[   662.825] (II) event10 - Lenovo Lenovo Y Gaming Precision Mouse: device is a pointer
[   662.825] (II) event10 - Lenovo Lenovo Y Gaming Precision Mouse: device is a keyboard
[   662.825] (II) config/udev: Adding input device Lenovo Lenovo Y Gaming Precision Mouse (/dev/input/mouse0)
[   662.825] (II) No input driver specified, ignoring this device.
[   662.825] (II) This device may have been added with another device file.
[   662.825] (II) config/udev: Adding input device Lenovo Lenovo Y Gaming Precision Mouse Consumer Control (/dev/input/event11)
[   662.825] (**) Lenovo Lenovo Y Gaming Precision Mouse Consumer Control: Applying InputClass "libinput keyboard catchall"
[   662.825] (II) Using input driver 'libinput' for 'Lenovo Lenovo Y Gaming Precision Mouse Consumer Control'
[   662.825] (**) Lenovo Lenovo Y Gaming Precision Mouse Consumer Control: always reports core events
[   662.825] (**) Option "Device" "/dev/input/event11"
[   662.826] (II) event11 - Lenovo Lenovo Y Gaming Precision Mouse Consumer Control: is tagged by udev as: Keyboard
[   662.826] (II) event11 - Lenovo Lenovo Y Gaming Precision Mouse Consumer Control: device is a keyboard
[   662.826] (II) event11 - Lenovo Lenovo Y Gaming Precision Mouse Consumer Control: device removed
[   662.850] (II) libinput: Lenovo Lenovo Y Gaming Precision Mouse Consumer Control: needs a virtual subdevice
[   662.850] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.3/0000:06:00.3/usb7/7-1/7-1.1/7-1.1:1.0/0003:17EF:6078.0002/input/input12/event11"
[   662.850] (II) XINPUT: Adding extended input device "Lenovo Lenovo Y Gaming Precision Mouse Consumer Control" (type: MOUSE, id 11)
[   662.850] (**) Option "AccelerationScheme" "none"
[   662.850] (**) Lenovo Lenovo Y Gaming Precision Mouse Consumer Control: (accel) selected scheme none/0
[   662.850] (**) Lenovo Lenovo Y Gaming Precision Mouse Consumer Control: (accel) acceleration factor: 2.000
[   662.850] (**) Lenovo Lenovo Y Gaming Precision Mouse Consumer Control: (accel) acceleration threshold: 4
[   662.851] (II) event11 - Lenovo Lenovo Y Gaming Precision Mouse Consumer Control: is tagged by udev as: Keyboard
[   662.851] (II) event11 - Lenovo Lenovo Y Gaming Precision Mouse Consumer Control: device is a keyboard
[   662.852] (II) config/udev: Adding input device Keychron Keychron K2 (/dev/input/event12)
[   662.852] (**) Keychron Keychron K2: Applying InputClass "libinput keyboard catchall"
[   662.852] (II) Using input driver 'libinput' for 'Keychron Keychron K2'
[   662.852] (**) Keychron Keychron K2: always reports core events
[   662.852] (**) Option "Device" "/dev/input/event12"
[   662.852] (II) event12 - Keychron Keychron K2: is tagged by udev as: Keyboard
[   662.853] (II) event12 - Keychron Keychron K2: device is a keyboard
[   662.853] (II) event12 - Keychron Keychron K2: device removed
[   662.877] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.3/0000:06:00.3/usb7/7-1/7-1.2/7-1.2:1.0/0003:05AC:024F.0003/input/input13/event12"
[   662.877] (II) XINPUT: Adding extended input device "Keychron Keychron K2" (type: KEYBOARD, id 12)
[   662.878] (II) event12 - Keychron Keychron K2: is tagged by udev as: Keyboard
[   662.878] (II) event12 - Keychron Keychron K2: device is a keyboard
[   662.879] (II) config/udev: Adding input device Keychron Keychron K2 (/dev/input/event13)
[   662.879] (**) Keychron Keychron K2: Applying InputClass "libinput pointer catchall"
[   662.879] (**) Keychron Keychron K2: Applying InputClass "libinput keyboard catchall"
[   662.879] (II) Using input driver 'libinput' for 'Keychron Keychron K2'
[   662.879] (**) Keychron Keychron K2: always reports core events
[   662.879] (**) Option "Device" "/dev/input/event13"
[   662.880] (II) event13 - Keychron Keychron K2: is tagged by udev as: Keyboard Mouse
[   662.880] (II) event13 - Keychron Keychron K2: device is a pointer
[   662.880] (II) event13 - Keychron Keychron K2: device is a keyboard
[   662.880] (II) event13 - Keychron Keychron K2: device removed
[   662.903] (II) libinput: Keychron Keychron K2: Step value 0 was provided, libinput Fallback acceleration function is used.
[   662.903] (II) libinput: Keychron Keychron K2: Step value 0 was provided, libinput Fallback acceleration function is used.
[   662.903] (II) libinput: Keychron Keychron K2: Step value 0 was provided, libinput Fallback acceleration function is used.
[   662.903] (II) libinput: Keychron Keychron K2: needs a virtual subdevice
[   662.903] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.3/0000:06:00.3/usb7/7-1/7-1.2/7-1.2:1.1/0003:05AC:024F.0004/input/input14/event13"
[   662.903] (II) XINPUT: Adding extended input device "Keychron Keychron K2" (type: MOUSE, id 13)
[   662.904] (**) Option "AccelerationScheme" "none"
[   662.904] (**) Keychron Keychron K2: (accel) selected scheme none/0
[   662.904] (**) Keychron Keychron K2: (accel) acceleration factor: 2.000
[   662.904] (**) Keychron Keychron K2: (accel) acceleration threshold: 4
[   662.905] (II) event13 - Keychron Keychron K2: is tagged by udev as: Keyboard Mouse
[   662.905] (II) event13 - Keychron Keychron K2: device is a pointer
[   662.905] (II) event13 - Keychron Keychron K2: device is a keyboard
[   662.905] (II) config/udev: Adding input device Keychron Keychron K2 (/dev/input/mouse1)
[   662.905] (II) No input driver specified, ignoring this device.
[   662.905] (II) This device may have been added with another device file.
[   662.905] (II) config/udev: Adding input device ASUE120A:00 04F3:319B Mouse (/dev/input/event15)
[   662.905] (**) ASUE120A:00 04F3:319B Mouse: Applying InputClass "libinput pointer catchall"
[   662.905] (II) Using input driver 'libinput' for 'ASUE120A:00 04F3:319B Mouse'
[   662.905] (**) ASUE120A:00 04F3:319B Mouse: always reports core events
[   662.905] (**) Option "Device" "/dev/input/event15"
[   662.906] (II) event15 - ASUE120A:00 04F3:319B Mouse: is tagged by udev as: Mouse Pointingstick
[   662.906] (II) event15 - ASUE120A:00 04F3:319B Mouse: device is a pointer
[   662.906] (II) event15 - ASUE120A:00 04F3:319B Mouse: device removed
[   662.946] (II) libinput: ASUE120A:00 04F3:319B Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[   662.946] (II) libinput: ASUE120A:00 04F3:319B Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[   662.946] (II) libinput: ASUE120A:00 04F3:319B Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[   662.947] (**) Option "config_info" "udev:/sys/devices/platform/AMDI0010:00/i2c-0/i2c-ASUE120A:00/0018:04F3:319B.0005/input/input24/event15"
[   662.947] (II) XINPUT: Adding extended input device "ASUE120A:00 04F3:319B Mouse" (type: MOUSE, id 14)
[   662.947] (**) Option "AccelerationScheme" "none"
[   662.947] (**) ASUE120A:00 04F3:319B Mouse: (accel) selected scheme none/0
[   662.947] (**) ASUE120A:00 04F3:319B Mouse: (accel) acceleration factor: 2.000
[   662.947] (**) ASUE120A:00 04F3:319B Mouse: (accel) acceleration threshold: 4
[   662.948] (II) event15 - ASUE120A:00 04F3:319B Mouse: is tagged by udev as: Mouse Pointingstick
[   662.948] (II) event15 - ASUE120A:00 04F3:319B Mouse: device is a pointer
[   662.949] (II) config/udev: Adding input device ASUE120A:00 04F3:319B Mouse (/dev/input/mouse3)
[   662.949] (II) No input driver specified, ignoring this device.
[   662.949] (II) This device may have been added with another device file.
[   662.949] (II) config/udev: Adding input device ASUE120A:00 04F3:319B Touchpad (/dev/input/event16)
[   662.949] (**) ASUE120A:00 04F3:319B Touchpad: Applying InputClass "libinput touchpad catchall"
[   662.949] (II) Using input driver 'libinput' for 'ASUE120A:00 04F3:319B Touchpad'
[   662.949] (**) ASUE120A:00 04F3:319B Touchpad: always reports core events
[   662.949] (**) Option "Device" "/dev/input/event16"
[   662.949] (II) event16 - ASUE120A:00 04F3:319B Touchpad: is tagged by udev as: Touchpad
[   662.950] (II) event16 - ASUE120A:00 04F3:319B Touchpad: device is a touchpad
[   662.950] (II) event16 - ASUE120A:00 04F3:319B Touchpad: device removed
[   663.000] (II) libinput: ASUE120A:00 04F3:319B Touchpad: Step value 0 was provided, libinput Fallback acceleration function is used.
[   663.000] (II) libinput: ASUE120A:00 04F3:319B Touchpad: Step value 0 was provided, libinput Fallback acceleration function is used.
[   663.000] (II) libinput: ASUE120A:00 04F3:319B Touchpad: Step value 0 was provided, libinput Fallback acceleration function is used.
[   663.001] (**) Option "config_info" "udev:/sys/devices/platform/AMDI0010:00/i2c-0/i2c-ASUE120A:00/0018:04F3:319B.0005/input/input25/event16"
[   663.001] (II) XINPUT: Adding extended input device "ASUE120A:00 04F3:319B Touchpad" (type: TOUCHPAD, id 15)
[   663.001] (**) Option "AccelerationScheme" "none"
[   663.001] (**) ASUE120A:00 04F3:319B Touchpad: (accel) selected scheme none/0
[   663.001] (**) ASUE120A:00 04F3:319B Touchpad: (accel) acceleration factor: 2.000
[   663.001] (**) ASUE120A:00 04F3:319B Touchpad: (accel) acceleration threshold: 4
[   663.002] (II) event16 - ASUE120A:00 04F3:319B Touchpad: is tagged by udev as: Touchpad
[   663.003] (II) event16 - ASUE120A:00 04F3:319B Touchpad: device is a touchpad
[   663.003] (II) config/udev: Adding input device ASUE120A:00 04F3:319B Touchpad (/dev/input/mouse4)
[   663.003] (II) No input driver specified, ignoring this device.
[   663.003] (II) This device may have been added with another device file.
[   663.003] (II) config/udev: Adding input device Asus WMI hotkeys (/dev/input/event6)
[   663.003] (**) Asus WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[   663.003] (II) Using input driver 'libinput' for 'Asus WMI hotkeys'
[   663.003] (**) Asus WMI hotkeys: always reports core events
[   663.003] (**) Option "Device" "/dev/input/event6"
[   663.003] (II) event6  - Asus WMI hotkeys: is tagged by udev as: Keyboard
[   663.003] (II) event6  - Asus WMI hotkeys: device is a keyboard
[   663.004] (II) event6  - Asus WMI hotkeys: device removed
[   663.037] (**) Option "config_info" "udev:/sys/devices/platform/asus-nb-wmi/input/input17/event6"
[   663.037] (II) XINPUT: Adding extended input device "Asus WMI hotkeys" (type: KEYBOARD, id 16)
[   663.038] (II) event6  - Asus WMI hotkeys: is tagged by udev as: Keyboard
[   663.038] (II) event6  - Asus WMI hotkeys: device is a keyboard
[   663.038] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[   663.038] (II) No input driver specified, ignoring this device.
[   663.038] (II) This device may have been added with another device file.
[   663.041] (**) Asus Keyboard: Applying InputClass "libinput pointer catchall"
[   663.041] (**) Asus Keyboard: Applying InputClass "libinput keyboard catchall"
[   663.041] (II) Using input driver 'libinput' for 'Asus Keyboard'
[   663.041] (**) Asus Keyboard: always reports core events
[   663.041] (**) Option "Device" "/dev/input/event4"
[   663.041] (II) libinput: Asus Keyboard: is a virtual subdevice
[   663.041] (II) libinput: Asus Keyboard: Step value 0 was provided, libinput Fallback acceleration function is used.
[   663.041] (II) libinput: Asus Keyboard: Step value 0 was provided, libinput Fallback acceleration function is used.
[   663.041] (II) libinput: Asus Keyboard: Step value 0 was provided, libinput Fallback acceleration function is used.
[   663.041] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-3/1-3:1.0/0003:0B05:19B6.0001/input/input15/event4"
[   663.041] (II) XINPUT: Adding extended input device "Asus Keyboard" (type: KEYBOARD, id 17)
[   663.041] (**) Lenovo Lenovo Y Gaming Precision Mouse: Applying InputClass "libinput pointer catchall"
[   663.041] (**) Lenovo Lenovo Y Gaming Precision Mouse: Applying InputClass "libinput keyboard catchall"
[   663.041] (II) Using input driver 'libinput' for 'Lenovo Lenovo Y Gaming Precision Mouse'
[   663.041] (**) Lenovo Lenovo Y Gaming Precision Mouse: always reports core events
[   663.041] (**) Option "Device" "/dev/input/event10"
[   663.041] (II) libinput: Lenovo Lenovo Y Gaming Precision Mouse: is a virtual subdevice
[   663.041] (II) libinput: Lenovo Lenovo Y Gaming Precision Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[   663.041] (II) libinput: Lenovo Lenovo Y Gaming Precision Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[   663.041] (II) libinput: Lenovo Lenovo Y Gaming Precision Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[   663.041] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.3/0000:06:00.3/usb7/7-1/7-1.1/7-1.1:1.0/0003:17EF:6078.0002/input/input11/event10"
[   663.041] (II) XINPUT: Adding extended input device "Lenovo Lenovo Y Gaming Precision Mouse" (type: KEYBOARD, id 18)
[   663.041] (**) Lenovo Lenovo Y Gaming Precision Mouse Consumer Control: Applying InputClass "libinput keyboard catchall"
[   663.041] (II) Using input driver 'libinput' for 'Lenovo Lenovo Y Gaming Precision Mouse Consumer Control'
[   663.041] (**) Lenovo Lenovo Y Gaming Precision Mouse Consumer Control: always reports core events
[   663.041] (**) Option "Device" "/dev/input/event11"
[   663.041] (II) libinput: Lenovo Lenovo Y Gaming Precision Mouse Consumer Control: is a virtual subdevice
[   663.041] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.3/0000:06:00.3/usb7/7-1/7-1.1/7-1.1:1.0/0003:17EF:6078.0002/input/input12/event11"
[   663.041] (II) XINPUT: Adding extended input device "Lenovo Lenovo Y Gaming Precision Mouse Consumer Control" (type: KEYBOARD, id 19)
[   663.041] (**) Keychron Keychron K2: Applying InputClass "libinput pointer catchall"
[   663.041] (**) Keychron Keychron K2: Applying InputClass "libinput keyboard catchall"
[   663.041] (II) Using input driver 'libinput' for 'Keychron Keychron K2'
[   663.041] (**) Keychron Keychron K2: always reports core events
[   663.041] (**) Option "Device" "/dev/input/event13"
[   663.041] (II) libinput: Keychron Keychron K2: is a virtual subdevice
[   663.041] (II) libinput: Keychron Keychron K2: Step value 0 was provided, libinput Fallback acceleration function is used.
[   663.041] (II) libinput: Keychron Keychron K2: Step value 0 was provided, libinput Fallback acceleration function is used.
[   663.041] (II) libinput: Keychron Keychron K2: Step value 0 was provided, libinput Fallback acceleration function is used.
[   663.041] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.3/0000:06:00.3/usb7/7-1/7-1.2/7-1.2:1.1/0003:05AC:024F.0004/input/input14/event13"
[   663.041] (II) XINPUT: Adding extended input device "Keychron Keychron K2" (type: KEYBOARD, id 20)

But my problems:

  1. If i remove nomodeset from kernel paramters in grub, The system will encounter a black screen after grub.

  2. If i remove Xorg configuration for nvidia lightdm does not start

  3. The internal monitor does not display anything, even if I disconnect the external monitor

$ xrandr

Screen 0: minimum 8 x 8, current 2560 x 1080, maximum 32767 x 32767
DP-0 disconnected primary (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 2560x1080+0+0 (normal left inverted right x axis y axis) 798mm x 334mm
   2560x1080     60.00*+
   1920x1080     60.00    59.94    50.00    29.97  
   1680x1050     59.95  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    59.94    59.93 

Last edited by Arash-S (2023-07-03 14:51:12)

Offline

#2 2023-07-02 20:59:50

jonno2002
Member
Registered: 2016-11-21
Posts: 796

Re: Problem with graphics drivers [Nvidia] [Amdgpu]

remove every single config and change you have made and use prime-render-offload:
https://wiki.archlinux.org/title/PRIME# … er_offload

what instructions did you follow to make such a mess ??

EDIT: ill be specific just to be sure:

- in mkinitcpio.conf change:

MODULES=(amdgpu nvidia nvidia_modeset nvidia_uvm nvidia_drm)

to

MODULES=()

- remove the nomodeset from grub cmdline:

GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 cryptdevice=UUID=4530c0e4-b695-415e-914b-06ca36718bfe:cryptlvm cryptkey=rootfs:/root/.bin/cryptlvm.keyfile nomodeset"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 cryptdevice=UUID=4530c0e4-b695-415e-914b-06ca36718bfe:cryptlvm cryptkey=rootfs:/root/.bin/cryptlvm.keyfile"

-remove all these config files:

/etc/modprobe.d/amdgpu.conf
/etc/modprobe.d/nouveau.conf
/etc/modprobe.d/nvidia.conf
/etc/modprobe.d/radeon.conf
/etc/X11/xorg.conf.d/10-nvidia.conf

then try again and see what happens

EDIT2: sorry forgot to mention you will need to run 'mkinitcpio -P' AFTER doing all that as well.
EDIT3: man it must be too early in the morning.... you need to run grub-mkconfig as well, sorry AGAIN

Last edited by jonno2002 (2023-07-02 21:10:29)

Offline

#3 2023-07-02 21:16:27

seth
Member
Registered: 2012-09-03
Posts: 63,872

Re: Problem with graphics drivers [Nvidia] [Amdgpu]

Since you've a rembrandt chip, https://bbs.archlinux.org/viewtopic.php … 7#p2107227
You'll have to use nvidia-dkms instead of nvidia

If that's not it:

The system will encounter a black screen after grub.

"After grub" or "with the graphical target"?
Try the behavior w/ the multi-user.target (2nd link below)

Online

#4 2023-07-02 21:59:24

Arash-S
Member
Registered: 2023-05-24
Posts: 7

Re: Problem with graphics drivers [Nvidia] [Amdgpu]

jonno2002 wrote:

remove every single config and change you have made and use prime-render-offload:
https://wiki.archlinux.org/title/PRIME# … er_offload

what instructions did you follow to make such a mess ??

EDIT: ill be specific just to be sure:

- in mkinitcpio.conf change:

MODULES=(amdgpu nvidia nvidia_modeset nvidia_uvm nvidia_drm)

to

MODULES=()

- remove the nomodeset from grub cmdline:

GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 cryptdevice=UUID=4530c0e4-b695-415e-914b-06ca36718bfe:cryptlvm cryptkey=rootfs:/root/.bin/cryptlvm.keyfile nomodeset"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 cryptdevice=UUID=4530c0e4-b695-415e-914b-06ca36718bfe:cryptlvm cryptkey=rootfs:/root/.bin/cryptlvm.keyfile"

-remove all these config files:

/etc/modprobe.d/amdgpu.conf
/etc/modprobe.d/nouveau.conf
/etc/modprobe.d/nvidia.conf
/etc/modprobe.d/radeon.conf
/etc/X11/xorg.conf.d/10-nvidia.conf

then try again and see what happens

EDIT2: sorry forgot to mention you will need to run 'mkinitcpio -P' AFTER doing all that as well.
EDIT3: man it must be too early in the morning.... you need to run grub-mkconfig as well, sorry AGAIN


I removed every package I had installed and every setting I had made.
But I still kept two packages

xf86-video-fbdev
xf86-video-vesa

But still after Grab I saw message

:: running early hook [udev]
Starting systemd-udevd version 253.5-2-arch
:: running hook [udev]
:: Triggering uevents....

And the system hung. But if I add the nomodeset setting to kernel parameters in grub, this doesn't happen

seth wrote:

Since you've a rembrandt chip, https://bbs.archlinux.org/viewtopic.php … 7#p2107227
You'll have to use nvidia-dkms instead of nvidia

If that's not it:

The system will encounter a black screen after grub.

"After grub" or "with the graphical target"?
Try the behavior w/ the multi-user.target (2nd link below)

I removed nomodeset from kernel parameters in grub and also set log to 7, And I got the following error (I mean system hung up on that line)

[      2.467007] [drm] Initialized amdgpu 3.52.0 20150101 for 0000:05:00.0 on minor 1

And this is while I deleted the relevant driver

Last edited by Arash-S (2023-07-02 22:50:23)

Offline

#5 2023-07-02 22:39:19

loqs
Member
Registered: 2014-03-06
Posts: 18,442

Re: Problem with graphics drivers [Nvidia] [Amdgpu]

If you boot with nomodeset and examine the system journal for a boot with the issue does it match those from the thread seth linked in post #3?

Offline

#6 2023-07-03 14:47:31

Arash-S
Member
Registered: 2023-05-24
Posts: 7

Re: Problem with graphics drivers [Nvidia] [Amdgpu]

https://ibin.co/7S7VkEqxJM5S.jpg
I tried everything, even deleted the packages, but as I mentioned before, I face the above problem.
I think the problem is with amdgpu driver.

Last edited by Arash-S (2023-07-03 19:01:18)

Offline

#7 2023-07-03 15:06:04

seth
Member
Registered: 2012-09-03
Posts: 63,872

Re: Problem with graphics drivers [Nvidia] [Amdgpu]

Please replace the oversized image w/ a link, teh board has t 250x250px max rule.

Did you try to boot the multi-user.target or the kernel I linked in https://bbs.archlinux.org/viewtopic.php?pid=3#p3?

Online

#8 2023-07-03 17:47:33

Arash-S
Member
Registered: 2023-05-24
Posts: 7

Re: Problem with graphics drivers [Nvidia] [Amdgpu]

Finally i downgrade to
https://archive.archlinux.org/repos/202 … o/os/$arch

And everything works. But I still did not understand where the problem was

Last edited by Arash-S (2023-07-03 17:48:56)

Offline

#9 2023-07-03 18:15:23

loqs
Member
Registered: 2014-03-06
Posts: 18,442

Re: Problem with graphics drivers [Nvidia] [Amdgpu]

Arash-S wrote:

But I still did not understand where the problem was

If you want help diagnosing the cause please post the full system journal for a boot with the issue and without the nomodeset option.

Offline

#10 2023-08-04 14:34:52

AshlynOrSomethin
Member
Registered: 2023-08-04
Posts: 1

Re: Problem with graphics drivers [Nvidia] [Amdgpu]

I was recently facing the same issue. Install linux-mainline from the aur for the patches (although compilation takes a while on this model, a bit under 50 minutes.) It's an issue with the yellow carp firmware drm enablement.

Offline

Board footer

Powered by FluxBB