You are not logged in.
got a laptop with an external monitor hooked up, it worked, and and now it dont. i know the monitor works as i can use it with not problem on windows, and i think windows isnt the problem as on that end nothing has changed. for all the posts i found the solution was to enable nvidia drm modesetting, witch i do have.
sudo journalctl -b | curl -F 'file=@-' 0x0.st
[url]http://0x0.st/X--i.txt[/url]
cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-linux-lts root=/dev/mapper/volgroup0-lv_root rw nvidia-drm.modeset=1 loglevel=3 quiet resume=UUID=af9def61-137f-43f3-a181-cea8b9db36c2 resume_offset=4161536
xrandr --listmonitors
Monitors: 1
0: +*eDP-1 1920/344x1080/193+0+0 eDP-1
Last edited by BananPrzydawka (2024-04-13 13:54:42)
Offline
The journal is 2 days worth of PCI errors, but I saw that you're running kwin_wayland, so xrandr is less relevant.
Please reboot and post the journal of that boot to cut out the noise, also try the behavior w/ a plasma/X11 session (assuming that's what you've been using before)
Offline
sorry, heres the log after a fresh boot on plasma x11
http://0x0.st/X--Y.txt
Offline
Thanks, 2400 lines is much more handleable.
nvidia loads relatively late, notably after SDDM.
Does the second output appear if you restart SDDM after the boot?
=> https://wiki.archlinux.org/title/NVIDIA#Early_loading
Offline
Thanks, 2400 lines is much more handleable.
lmao
the second output does not appear after restarting sddm after boot.
i already have all the modules added from the resource you linked
MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm i915)
also, seth you are an absolute machine and you were the person helping in every single one of the related issiues i read.
Offline
for OUT in /sys/class/drm/card*; do echo $OUT; edid-decode $OUT/edid; echo "================="; done
You'll need https://aur.archlinux.org/packages/edid-decode-git
(liekly) Unrelated to that (because you're not getting the output w/ an SDDM restart), are you sure you've the modules in the initramfs? Did you regenerate it after editing the mkinitcpio.conf?
The module isn't loaded before the remount.
Offline
for OUT in /sys/class/drm/card*; do echo $OUT; edid-decode $OUT/edid; echo "================="; done
/sys/class/drm/card0
/sys/class/drm/card0/edid: No such file or directory
=================
/sys/class/drm/card0-eDP-1
edid-decode (hex):
00 ff ff ff ff ff ff 00 06 af ed 21 00 00 00 00
00 1a 01 04 a5 22 13 78 02 6e 85 93 58 58 92 28
1e 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 14 37 80 a6 70 38 2e 40 6c 30
aa 00 58 c1 10 00 00 18 00 00 00 0f 00 00 00 00
00 00 00 00 00 00 00 00 00 20 00 00 00 fe 00 41
55 4f 0a 20 20 20 20 20 20 20 20 20 00 00 00 fe
00 42 31 35 36 48 41 4e 30 32 2e 31 20 0a 00 26
----------------
Block 0, Base EDID:
EDID Structure Version & Revision: 1.4
Vendor & Product Identification:
Manufacturer: AUO
Model: 8685
Made in: 2016
Basic Display Parameters & Features:
Digital display
Bits per primary color channel: 8
DisplayPort interface
Maximum image size: 34 cm x 19 cm
Gamma: 2.20
Supported color formats: RGB 4:4:4
First detailed timing includes the native pixel format and preferred refresh rate
Color Characteristics:
Red : 0.5751, 0.3457
Green: 0.3466, 0.5722
Blue : 0.1582, 0.1171
White: 0.3134, 0.3291
Established Timings I & II: none
Standard Timings: none
Detailed Timing Descriptors:
DTD 1: 1920x1080 60.029734 Hz 16:9 67.593 kHz 141.000000 MHz (344 mm x 193 mm)
Hfront 108 Hsync 48 Hback 10 Hpol N
Vfront 10 Vsync 10 Vback 26 Vpol N
Manufacturer-Specified Display Descriptor (0x0f): 00 0f 00 00 00 00 00 00 00 00 00 00 00 00 00 20 '............... '
Alphanumeric Data String: 'AUO'
Alphanumeric Data String: 'B156HAN02.1 '
Checksum: 0x26
=================
the modules have been added for probably a year since my last graphical issiue, and i have regenerated initramfs for sure.
Offline
lsinitcpio /boot/initramfs-linux-lts.img | grep nvidia
but what's more concerning is that the card doesn't show up as drm device?
There's no /sys/class/drm/card1* ?
Does the GPU respond to nvidia-smi ?
Did you enable https://wiki.archlinux.org/title/PRIME# … Management ?
Offline
lsinitcpio /boot/initramfs-linux-lts.img | grep nvidia
usr/lib/firmware/nvidia/
usr/lib/firmware/nvidia/550.67/
usr/lib/firmware/nvidia/550.67/gsp_ga10x.bin
usr/lib/firmware/nvidia/550.67/gsp_tu10x.bin
usr/lib/modprobe.d/nvidia-utils.conf
usr/lib/modules/6.6.25-1-lts/extramodules/nvidia-drm.ko
usr/lib/modules/6.6.25-1-lts/extramodules/nvidia-modeset.ko
usr/lib/modules/6.6.25-1-lts/extramodules/nvidia-uvm.ko
usr/lib/modules/6.6.25-1-lts/extramodules/nvidia.ko
tree /sys/class/drm/
/sys/class/drm/
├── card0 -> ../../devices/pci0000:00/0000:00:02.0/drm/card0
├── card0-eDP-1 -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1
├── renderD128 -> ../../devices/pci0000:00/0000:00:02.0/drm/renderD128
└── version
no card1*
nvidia-smi
Thu Apr 11 00:30:00 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.67 Driver Version: 550.67 CUDA Version: 12.4 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce GTX 1660 Ti On | 00000000:01:00.0 Off | N/A |
| N/A 41C P8 1W / 80W | 1MiB / 6144MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| No running processes found |
+-----------------------------------------------------------------------------------------+
i dont think i enabled anything like that, but just to be sure
cat /sys/class/drm/card*/device/power_state
D0
Offline
lsmod | grep nvidia
modprobe -c | grep -v alias | grep nvidia # prints nvidia-related module options
lsblk -f # by a long shot, you're booting from the root partition, maybe a spurious boot partition is mounted into /boot
pacman -Qikk nvidia-lts nvidia-utils # package integrity
This all doesn't add up - the nvidia module seems in the initramfs but loads after the root switch.
The GPU responds, the nvidia module loads and there's even
Apr 10 23:02:25 ArchLinuxBanan kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 550.67 Tue Mar 12 23:29:25 UTC 2024
but no drm device to be seen.
Also please post your xorg log, because apparently the the nvidia GPU is ignored (not showing up in the smi processes)
https://wiki.archlinux.org/title/Xorg#General
Offline
lsmod | grep nvidia
nvidia_uvm 6635520 2
nvidia_modeset 1605632 1
nvidia 60370944 13 nvidia_uvm,nvidia_modeset
i2c_nvidia_gpu 12288 0
video 77824 3 acer_wmi,i915,nvidia_modeset
modprobe -c | grep -v alias | grep nvidia
blacklist nvidia
blacklist nvidia_drm
blacklist nvidia_modeset
blacklist nvidia_uvm
options nvidia_drm modeset=1
lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
nvme0n1
├─nvme0n1p1
└─nvme0n1p2 ntfs D64E830E4E82E719
nvme1n1
├─nvme1n1p1 vfat FAT32 6A34-76BB
└─nvme1n1p2 LVM2_member LVM2 001 lhsp7b-n9fw-eva2-TaXT-pP20-rn8B-8Wsf8C
├─volgroup0-lv_root ext4 1.0 e5a1a1fe-991a-4163-8384-421069d54753 59.9G 77% /
└─volgroup0-lv_home ext4 1.0 af9def61-137f-43f3-a181-cea8b9db36c2 91.5G 79% /home
pacman -Qikk nvidia-lts nvidia-utils
Name : nvidia-lts
Version : 1:550.67-4
Description : NVIDIA drivers for linux-lts
Architecture : x86_64
URL : https://www.nvidia.com/
Licenses : custom
Groups : None
Provides : NVIDIA-MODULE
Depends On : linux-lts nvidia-utils=550.67 libglvnd
Optional Deps : None
Required By : nvidia-exec
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 40.47 MiB
Packager : Andreas Radke <andyrtr@archlinux.org>
Build Date : Fri Apr 5 16:39:18 2024
Install Date : Sat Apr 6 13:51:47 2024
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
nvidia-lts: 17 total files, 0 altered files
Name : nvidia-utils
Version : 550.67-1
Description : NVIDIA drivers utilities
Architecture : x86_64
URL : http://www.nvidia.com/
Licenses : custom
Groups : None
Provides : vulkan-driver opengl-driver nvidia-libgl
Depends On : libglvnd egl-wayland
Optional Deps : nvidia-settings: configuration tool [installed]
xorg-server: Xorg support [installed]
xorg-server-devel: nvidia-xconfig [installed]
opencl-nvidia: OpenCL support [installed]
Required By : cuda lib32-nvidia-utils libglvnd nvidia nvidia-lts nvidia-prime nvidia-settings steam
Optional For : ffmpeg ffmpeg4.4 libvdpau vulkan-icd-loader
Conflicts With : nvidia-libgl
Replaces : nvidia-libgl
Installed Size : 593.41 MiB
Packager : Sven-Hendrik Haase <svenstaro@archlinux.org>
Build Date : Tue Mar 19 14:40:33 2024
Install Date : Sat Mar 30 00:55:33 2024
Install Reason : Installed as a dependency for another package
Install Script : Yes
Validated By : Signature
nvidia-utils: 232 total files, 0 altered files
cat /var/log/Xorg.0.log| curl -F 'file=@-' 0x0.st its one long boi tho
http://0x0.st/X-b4.txt
Offline
Why is this there?
blacklist nvidia
blacklist nvidia_drm
blacklist nvidia_modeset
blacklist nvidia_uvm
grep -r nvidia /etc/modprobe*
The xorg log is of normal length and reflects the status quo - the nvidia GPU is ignored, presumingly because the nvidia-drm outputclass doen't match, because nvidia-drm isn't loaded.
Presumingly because of the blacklist…
Offline
i dont know why the blacklists are there, even worse im unable to find them, as /etc/modprobe.d/ is empty, and they arent defined in kernel command line in my /etc/default/grub file.
Offline
Probably stale in your initramfs, try to regenerate that.
Offline
already tried that, still blacklisted. also regenerated grub config, same idea, and same result. still blacklisted.
Offline
There're other modprobe .conf locations, https://man.archlinux.org/man/core/kmod … n#SYNOPSIS
Otherwise:
lsblk -f
You're booting from the root partition, if anything is mounted into /boot, you're writing the initramfs into the wrong location.
Offline
found the blacklists in /lib/modprobe.d/nvx.conf. removed them, regenerated initramfs and rebooted. this seems to have fixed all my issiues. although i have no idea why the blacklists were even there in the first place. thank you so much.
Offline
That file is from https://aur.archlinux.org/packages/nvidia-exec - make sure you don't have the package around anymore or it'll likely recreate the file at some poitn (w/ an update)
Offline