evirac
June 19, 2023, 10:37am
1
Hey, I just installed endeavour os and nvidia drivers. It works on x11 but not on wayland.
I followed the instructions from this forum: How to login to Wayland in EndeavourOS KDE?
but it still shows intel graphics on wayland rather than nvidia. I’d love some help please
Hello @evirac and welcome!
For Nvidia drivers to work on Wayland, you need to enable kernel-mode-setting (DRM KMS ).
See the ArchWiki , and Nvidia docs .
Looks like it’s an Acer Predator G3-572 hybrid laptop. What does this command show?
inxi -Ga
In order to use Nvidia you have to switch graphics. Does this laptop have integrated, dedicated and hybrid settings in the UEFI Bios?
evirac
June 19, 2023, 2:32pm
5
For Nvidia drivers to work on Wayland, you need to enable kernel-mode-setting (DRM KMS ).
yes, I followed the steps. it says
To enable DRM (Direct Rendering Manager ) kernel mode setting , add the nvidia_drm.modeset=1
kernel parameter .
i did this. in the grub menu at startup when I press ‘e’ it shows me nvidia_drm.modeset=1
between a bunch of other options. But the drivers still don’t work on wayland
evirac
June 19, 2023, 2:35pm
6
[evirac@evirac ~]$ inxi -Ga
Graphics:
Device-1: Intel HD Graphics 630 vendor: Acer Incorporated ALI driver: i915
v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
active: eDP-1 empty: none bus-ID: 00:02.0 chip-ID: 8086:591b
class-ID: 0300
Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile]
vendor: Acer Incorporated ALI driver: nvidia v: 535.54.03
alternate: nouveau,nvidia_drm non-free: 530.xx+
status: current (as of 2023-05) arch: Pascal code: GP10x
process: TSMC 16nm built: 2016-21 pcie: gen: 1 speed: 2.5 GT/s lanes: 16
link-max: gen: 3 speed: 8 GT/s ports: active: none empty: HDMI-A-1
bus-ID: 01:00.0 chip-ID: 10de:1c8c class-ID: 0300
Device-3: Chicony HD WebCam driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-9:5 chip-ID: 04f2:b5f7
class-ID: 0e02
Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.2
compositor: kwin_wayland driver: X: loaded: modesetting,nvidia dri: iris
gpu: i915,nvidia display-ID: 0
Monitor-1: eDP-1 res: 1920x1080 size: N/A modes: N/A
API: OpenGL v: 4.6 Mesa 23.1.2 renderer: Mesa Intel HD Graphics 630 (KBL
GT2) direct-render: Yes
no, I don’t think so. Bios looks very oldish and there are hardly any options besides boot sequence, secure boot and other simply stuff
So the latest nvidia driver is installed. You need to switch graphics if you want to use nvidia.
Edit: I would suggest trying optimus-manager on Kde first. This gives a tray icon to switch between intel and nvidia which requires you to reboot when changing graphics i think.
yay -S optimus-manager-qt
evirac
June 20, 2023, 7:03am
8
I did this but the problem remains. The drivers are enabled in x11 but not in wayland
Did you try switching to nvidia using optimus-manager? Is the tray icon there? What happens when you try to switch?
Edit: maybe try uninstalling optimus-manager
and then try envy-control
instead.
https://discovery.endeavouros.com/hardware/envy-control/2023/03/
NX-01
June 20, 2023, 10:30am
10
No idea if there’s a connection but this guide (although NOT specific for laptops/dual graphics) talks about (re)building the initramfs: