You are not logged in.
Hello, I'm new here!
So, I have a Dell G3 15 laptop, which is a NVidia Optimus laptop (yay). These are the specs:
[totoshampoin@Dell-Arch-Toto ~]$ lspci | grep 'VGA'
00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation TU116M [GeForce GTX 1660 Ti Mobile] (rev a1)I have 3 video ports: a HDMI, a DP, and a USB-C (treated as a DP)
The HDMI and the DP are handled by the NVidia, while the USB-C is handled by the Intel.
When running on X11, it detects all of them just fine. But on Wayland, it detects only the USB-C.
The thing is that other distros (Ubuntu, Fedora, ...) that have Wayland support do detect these ports (with lags, I am aware).
So I'm wondering how do I configure my system for that?
Last edited by TotoShampoin (2023-07-01 13:09:23)
Offline
Nvidia Wayland anything needs modesetting enabled, did you do that? https://wiki.archlinux.org/title/NVIDIA … de_setting
Offline
I'm not sure where exactly I have to enable modesetting (where the initramfs is)
But I did add ` nvidia_drm.modeset=1` at `GRUB=CMDLINE_LINUX_DEFAULT="..."`, in /etc/default/grub
But apparently, it is still disabled
# /sys/module/nvidia_drm/parameters/modeset
NI think I am using mkinitcpio though
Last edited by TotoShampoin (2023-07-01 12:14:05)
Offline
Editing that file does nothing, you'll have to "grub-mkconfig" again.
Offline
Oh yeah, I forgot to mention that I did enter that command, and I did reboot afterwards.
I even tried replacing the dot by a space instead
GRUB_CMDLINE_LINUX_DEFAULT="... nvidia_drm modeset=1"Still a N
Offline
There's supposed to be a dot there…
cat /proc/cmdlineOffline
Okay, well I put the dot back in, mkconfiged and rebooted it
And
[totoshampoin@Dell-Arch-Toto ~]$ cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-linux-zen root=UUID=640cd5fe-3ce6-45d0-b294-98da9e5f7d8e rw rootfstype=ext4 loglevel=3 quietOffline
You're obviously not applying the setting.
Post your /etc/mkinitcpio.conf, the exact grub-mkconfig command you use(d) and the output of "lsblk -f"
Offline
[totoshampoin@Dell-Arch-Toto ~]$ lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
sda iso966 Joliet Ubuntu-MATE 18.04.4 LTS i386 2020-02-03-19-00-56-00
└─sda1 ntfs Samsung SSD B4C428AEC4287530
zram0 [SWAP]
nvme0n1
├─nvme0n1p1
│ vfat FAT32 D847-C5C1 370,7M 27% /boot
├─nvme0n1p2
│ ext4 1.0 640cd5fe-3ce6-45d0-b294-98da9e5f7d8e 37G 35% /
└─nvme0n1p3
ext4 1.0 00218350-6c4d-4cfe-a5d9-3e1d775aadd4 792,5G 4% /home
[totoshampoin@Dell-Arch-Toto ~]$ cat /etc/mkinitcpio.conf
MODULES=()
BINARIES=()
FILES=()
HOOKS=(base systemd autodetect keyboard sd-vconsole modconf block filesystems fsck)And the command was just "sudo grub-mkconfig"
Offline
And where would that put the new config file?
Offline
... Oh
I'm supposed to type "sudo grub-mkconfig -o /boot/grub/grub.cfg" ?
____ EDIT ____
Well, I just entered the command, and it works now
Granted the monitors lag quite a bit, probably because the two GPUs are constantly exchanging...
Last edited by TotoShampoin (2023-07-01 13:06:08)
Offline