I am using kde wayland dual booted on my laptop. My monitor connected via HDMI is not being detected and doesn't show up in settings and xrandr, only the eDP-1 internal display of the laptop works and shows in the output. GPU - RTX 3050 Mobile and Intel UHD. I only have nvidia proprietary drivers from the archinstaller and nothing else rn. I tried to fix it before by installing nvidia drivers but ended up messing the DE up or smth and there was just black screen with underscore on boot, so I have it reinstalled rn and decided not to install any driver myself.
#Monitor is detected but black
904 messages ยท Page 1 of 1 (latest)
It could be hardware .. maybe try changing ports... or try plugging single monitor and check is your monitor is fine or not
It's fine on windows
how did you try and install nvidia drivers
i just followed a page from the archwiki, i cant remember which and I prolly didnt do it right. How should I properly install it if it isnt already?
ok so there;s some issues I wanna run by you
FIrst) a lot of optimus-laptops cannot support wayland directly with hwa because laptops work as integrated gpu for ur display and dgpu for ur monitor etc. So make sure in your laptop's bios you can enable dgpu.
The way i use HWA with my laptop is i use prime-offload
arter my league game ill go ove rit with u
nvm
league ff
So based on the information you sent me regarding you using a RTX 3050:
Alternatively for the Turing (NV160/TUXXX) series or newer the nvidia-open package may be installed for open source kernel modules on the linux kernel (On other kernels nvidia-open-dkms must be used. If you have the linux kernel along with other kernels, then you only need the nvidia-open-dkms package and nvidia-open is not required).
This is currently Beta quality, so there may be issues.
NV160 family (Turing)
Code name Official Name
NV162 (TU102) NVIDIA Titan RTX, GeForce RTX 2080 Ti
NV164 (TU104) GeForce RTX (2070 Super, 2080, 2080 Super)
NV166 (TU106) GeForce RTX (2060, 2060 Super, 2070)
NV168 (TU116) GeForce GTX (1650 Super, 1660, 1660 Ti, 1660 Super)
NV167 (TU117) GeForce GTX 1650
NV170 family (Ampere)
Code name Official Name
NV172 (GA102) GeForce RTX (3080, 3090)
NV174 (GA104) GeForce RTX (3060 Ti, 3070, 3080 Mobile)
NV176 (GA106) GeForce RTX (3050, 3060)
NV177 (GA107) GeForce RTX 3050
do you want to use open drivers since it's available for your gpu?
nvidia-open-dkms package
sure as long as it works
done
do u care about 32-bit application support
no
can u check if u have noveau drivers
lsmod | grep nouveau
grep -i "nouveau" /var/log/Xorg.0.log
[ 4.768] (==) Matched nouveau as autoconfigured driver 2
[ 4.770] (II) LoadModule: "nouveau"
[ 4.770] (WW) Warning, couldn't open module nouveau
[ 4.770] (EE) Failed to load module "nouveau" (module does not exist, 0)
MODULES=()
BINARIES=()
FILES=()
HOOKS=(base udev autodetect microcode modconf kms keyboard keymap consolefont block filesystems fsck)
remove kms
command?
sudo nano /etc/mkinitcpio.conf and remove it?
done
when you're done removing it sudo mkinitcpio -P
this regenerates the initramfs
and removes kms
did it
k reboot tbh and come back
ok
huh?
yes
because you havent configured xorg to use it or enabled ur gpu
so now here's the big question
u know ur bios right
the thing ur motherboard has
yeah?
u know how to boot into it right
i do
so there's some options i wanna run by you
Do you care about easy hardware acceleration?
should i?
So for example: I have a 15ARH05 laptop
This laptop is amd cpu nvidia dgpu
Wayland hwa drivers do not work with my laptop because I do not have the option to make the dgpu my only usable dgpu aka Discrete
to bypass this i use prime-offload
do you care about using ur gpu for everything or do you wanna configure prime-offload for specific applications
so that way you aren't using your gpu for EVERYTHING
i dont need the uhd gpu
if your laptop doesn't have the bios option to make ur laptop dgpu discrete then you're forced to use prime-offload like i am
and we can talk about that later
i dont think i do either
Acer Nitro 5 AN515-47
go to your display mode
in the advanced tab
and change it from optimus to discrete GPU
why u lying to me
in the bios?
ok lemme see
so
if you're ok with that (there's nothing wrong with that)
just making sure you know
ok...
๐
boot back into your x11
it's fine we'll fix this
i dont have it either i use wayland hyprland i3wm kde wayland kde x11
i use hwa via prime firefox via prime anything i want via prime
I use wayland-
DRM kernel mode setting
Since NVIDIA does not support automatic KMS late loading, enabling DRM (Direct Rendering Manager) kernel mode setting is required to make Wayland compositors function properly, or to allow for Xorg#Rootless Xorg.
To enable it, set the modeset=1 kernel module parameter for the nvidia_drm module.
To verify nvidia_drm.modeset=1 was correctly applied after a reboot, execute the following:
cat /sys/module/nvidia_drm/parameters/modeset
cat nano /etc/default/grub
lemme see what it says for the GRUB_CMDLINE_LINUX
you'll need to add nvidia-drm.modeset=1
ok
wait, i already did it
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet nvidia-drm.modeset=1"
cat /sys/module/nvidia_drm/parameters/modeset
if it returns Y ur good
if it doesnt it means you didnt sudo grub-mkconfig -o /boot/grub/grub.cfg
its returning N
yea
sudo grub-mkconfig -o /boot/grub/grub.cfg
run this reboot and then cat /sys/module/nvidia_drm/parameters/modeset
it should return y
actually wait
wait
ok
alright
bruv
man im tryna make things safe
reboot now?
ye
i see the display now in xrandr
ur using wayland
yeah so?
xrandr isnt the best for wayland
oh
i see
wlr-randr
we arent nearly finished
btw
sudo nano /etc/mkinitcpio.conf
MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
add these to your list
sudo mkinitcpio -P
reboot
ok
so because you're using nvidia drivers on bootup since we did DRM, if you update your linux and nvidia drivers update it should also update your initramfs as well correct?
i dont know
correct.
So genuises figured out a way to do this via these steps:
sudo nano /etc/pacman.d/hooks/nvidia.hook
put this in the file:
[Trigger]
Operation=Install
Operation=Upgrade
Operation=Remove
Type=Package
# Uncomment the installed NVIDIA package
Target=nvidia-open
#Target=nvidia-open
#Target=nvidia-lts
# If running a different kernel, modify below to match
Target=linux
[Action]
Description=Updating NVIDIA module in initcpio
Depends=mkinitcpio
When=PostTransaction
NeedsTargets
Exec=/bin/sh -c 'while read -r trg; do case $trg in linux*) exit 0; esac; done; /usr/bin/mkinitcpio -P
the Target=nvidia-open (your drivers) i left the other's commented out just incase you decide to switch
sudo nano /etc/pacman.d/hooks/nvidia.hook
it does not exist, should i make a new file?
yes
add this directly into your file
ls /etc/pacman.d/hooks/
to make sure the file exists
cat /etc/pacman.d/hooks/
done
looking for conflicting packages...
:: nvidia-555.58.02-15 and nvidia-open-dkms-555.58.02-15 are in conflict (NVIDIA-MODULE). Remove nvidia-open-dkms? [y/N]
should i y?
ok
im actually 0iq
[riyan@archlinux ~]$ sudo pacman -Syu nvidia-open
:: Synchronizing package databases...
core is up to date
extra is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
:: nvidia-open-555.58.02-15 and nvidia-open-dkms-555.58.02-15 are in conflict (NVIDIA-MODULE). Remove nvidia-open-dkms? [y/N]
its still asking
lemme go back 2 wiki rq
uhm ya install nvidia-open you don't need nvidia-open-dkms
nvidia-open is for standard linux kernal
you can use nvidia-open-dkms too has more modular support for DKMS which is for custom or multiple kernals
my apologies
alright
error: hook /etc/pacman.d/hooks/nvidia.hook line 18: invalid value /bin/sh -c 'while read -r trg; do case $trg in linux*) exit 0; esac; done; /usr/bin/mkinitcpio -P
error: failed to commit transaction (failed to run transaction hooks)
Errors occurred, no packages were upgraded.
cat
sudo nano /etc/pacman.d/hooks/nvidia.hook
change the last line to:
Exec=/usr/bin/mkinitcpio -P
we havent even gone into HWA yet
get rid of this?
'while read -r trg; do case $trg in linux*) exit 0; esac; done; /usr/bin/mkinitcpio -P
yea replace it with
Exec=/usr/bin/mkinitcpio -P
ok
and then save and then do sudo pacman -Syu nvidia-open
should work
man i fucking love the archwiki
THE PEOPLE WHO WROTE IT ARE GENIUSES
how do you find stuff like that?
im just following you through this step by step
that's literally all i've been doing
but i have a lot of it memorized
i get lost when trying to follow through
you get used to it
you gotta take things in a literal sense
and you need to READ
like really READ
(i hate reading)
i just code
cool
lmk the output of sudo pacman -Syu nvidia-open
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-fallback.img'
-> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
YEAH
your monitor is still off correct?
we coulda turned it on like the last reboot
open Kscreen or Kdisplay
and just enable it
"display manager"
w/e the fuckin app is called
its black screen when i enable it
hmm
ok
open display-manager enable and then lmk if it's still black
its still black screen, i can move windows and my cursor into it tho (im enabling it from the settings btw)
uh, how do i screen shot?
use ur phone ig
change the resolution or make it mirrored or something
if this isnt working ill make u change the nvidia drivers to soemthing standard, it was only a month or two ago nvidia-open was being supported by Nvidia themselves
isnt working
unplug ur hdmi cable and plug it back in?
ik it sounds stupid but trust me
if not ill switch u to more standard drivers
nope
ok
sudo pacman -S nvidia nvidia-utils nvidia-settings
sudo nano /etc/pacman.d/hooks/nvidia.hook
change it from nvidia-open to just nvidia
done
sudo mkinitcpio -P
sudo grub-mkconfig -o /boot/grub/grub.cfg
reboot
should Most likely be ok now lol
-- No entries --
BOOT_IMAGE=/vmlinuz-linux root=UUID=d578d223-ffbd-43cc-b0e7-810c5ccc954f rw zswap.enabled=0 rootfstype=ext4 loglevel=3 quiet nvidia-drm.modeset=1
can u send a picture
of what?
nvm
this is correct
echo 'export GBM_BACKEND=nvidia-drm' >> ~/.profile
echo 'export __GLX_VENDOR_LIBRARY_NAME=nvidia' >> ~/.profile
add this to your ~/.profile
or add it to sudo nano /etc/environment
done
no
-- No entries --
no output
where did you put
echo 'export GBM_BACKEND=nvidia-drm' >> ~/.profile
echo 'export __GLX_VENDOR_LIBRARY_NAME=nvidia' >> ~/.profile
also run this journalctl -b 0 | grep -i kwin
to sudo nano /etc/environment
run nvidia-smi too
cat /sys/module/nvidia_drm/parameters/modeset
run this too make sure it returns y
returns y
Thu Aug 15 21:07:29 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 555.58.02 Driver Version: 555.58.02 CUDA Version: 12.5 |
|-----------------------------------------+------------------------+----------------------+
| 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 RTX 3050 ... Off | 00000000:01:00.0 On | N/A |
| N/A 45C P8 8W / 60W | 37MiB / 4096MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 663 G /usr/lib/Xorg 4MiB |
| 0 N/A N/A 818 G /usr/bin/kwin_wayland 2MiB |
+-----------------------------------------------------------------------------------------+
ok so what you're seeing is
Nvidia GPU is actively running both these processes
meaning ur nvidia gpu is working
ok
lemme ask someone more experienced than me
(i followed every step correctly)
(i just dont want to blame the drivers if i was being incompetent)
sure
run this in the mean time journalctl -p err -b 0
journalctl -b 0 | grep -i wayland
this too
when was the last time you updated your system
as in like pacman -Syu?
yea
before we did all this
done
stay in the file
sudo nano /etc/environment
GBM_BACKEND=nvidia-drm
__GLX_VENDOR_LIBRARY_NAME=nvidia
GBM_BACKEND=nvidia-drm
__GLX_VENDOR_LIBRARY_NAME=nvidia
directly copied off the wiki
should be
save and reboot
but why
yea
remove it from /etc/enviroment
and put it in nano ~/.profile
export GBM_BACKEND=nvidia-drm
export __GLX_VENDOR_LIBRARY_NAME=nvidia
Create new file?
there should be a .profile in your home if not make it
How to get into ~/.profile?
nano ~/.profile
Reboot?
It's still black screen
Well everything is opening on the monitor which I can't see
Ah yes
working now?
its not
can u run the command journalctl -b 0 | grep kwin
journalctl -b 0 --grep "renderer for"
no entry
WE JUST FUCKING PUT IT In .profile
huh
reboot
u have x11?
I have the option to switch to it
The display is being disconnected and reconnected in the setting but same black screen in x11
yea thats because Xorg isnt configured with nvidia
Now what
you can simply fix that by just doing sudo pacman -S envycontrol
then do sudo enycontrol -s nvidia
and thatll force x11 to use nvidia
but youre back in wayland correct?
ignore x11 for rn
echo $GBM_BACKEND
echo $__GLX_VENDOR_LIBRARY_NAME
what does this return?
and this
lsmod | grep nvidia
[riyan@archlinux ~]$ echo $GBM_BACKEND
[riyan@archlinux ~]$ echo $__GLX_VENDOR_LIBRARY_NAME
[riyan@archlinux ~]$ lsmod | grep nvidia
nvidia_drm 122880 10
nvidia_uvm 6684672 0
nvidia_modeset 1617920 5 nvidia_drm
video 77824 4 acer_wmi,xe,i915,nvidia_modeset
nvidia 61005824 57 nvidia_uvm,nvidia_modeset
! TTG Boi
[riyan@archlinux ~]$ echo $GBM_BACKEND
[riyan@archlinux ~]$ echo $__GLX_VENDOR_LIBRARY_NAME
[riyan@archlinux ~]$ lsmod | grep nvidia
nvidia_drm 122880 10
nvidia_uvm 6684672 0
nvidia_modeset 1617920 5 nvidia_drm
video 77824 4 acer_wmi,xe,i915,nvidia_modeset
nvidia 61005824 57 nvidia_uvm,nvidia_modeset
```Compilation error:```! Missing $ inserted.
<inserted text>
$
l.49 [riyan@archlinux ~]$ echo $GBM_
BACKEND
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.```
what isthat
do
source ~/.profile
echo $GBM_BACKEND
echo $__GLX_VENDOR_LIBRARY_NAME
if that doesnt work do
well ill wait for your return
[riyan@archlinux ~]$ source ~/.profile
[riyan@archlinux ~]$ echo $GBM_BACKEND
nvidia-drm
[riyan@archlinux ~]$ echo $__GLX_VENDOR_LIBRARY_NAME
nvidia
! TTG Boi
[riyan@archlinux ~]$ source ~/.profile
[riyan@archlinux ~]$ echo $GBM_BACKEND
nvidia-drm
[riyan@archlinux ~]$ echo $__GLX_VENDOR_LIBRARY_NAME
nvidia
```Compilation error:```! Missing { inserted.
<to be read again>
_
l.52 [riyan@archlinux ~]$ echo $__
GLX_VENDOR_LIBRARY_NAME
A left brace was mandatory here, so I've put one in.
You might want to delete and/or insert some corrections
so that I will find a matching right brace soon.
(If you're confused by all this, try typing `I}' now.)```
????
wtf is this?
fuck if i know lol
mkdir -p ~/.config/plasma-workspace/env
nano ~/.config/plasma-workspace/env/nvidia-setup.sh
#!/bin/bash
export GBM_BACKEND=nvidia-drm
export __GLX_VENDOR_LIBRARY_NAME=nvidia
chmod +x ~/.config/plasma-workspace/env/nvidia-setup.sh
wait
before commiting to this
ye commit to this
ok
then remove the variables inside ur /.profile and u can delete the file as well
write these in the file? (the file does not already exist)
this too in the file?
uhm
this is to create a file and write to it
nano ~/.config/plasma-workspace/env/nvidia-setup.sh
#!/bin/bash
export GBM_BACKEND=nvidia-drm
export __GLX_VENDOR_LIBRARY_NAME=nvidia
this is to change the permission of the file, run this in your terminal
chmod +x ~/.config/plasma-workspace/env/nvidia-setup.sh
chmod +x is just giving permissions to write, read execute etc
now delete this?
how to delete the file? :P
rm ~/.profile
echo $GBM_BACKEND
echo $__GLX_VENDOR_LIBRARY_NAME
echo $XDG_SESSION_TYPE
just lmk what these say
journalctl -b 0 | grep -i nvidia
journalctl -b 0 | grep -i wayland
and these
OpenGL renderer string: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2
go to system settings
hardware configuration
display and monitor
compositor
send me a picture
where is it?
send me a picture of hardware config
Send a picture
Maybe
It's already enabled tho
Lemme see where the compositor option is
You there?
yeah
Do nano ~/.config/kwinrc
Send me the text
This is the last thing I'm doing and I'm done
Number=1
Rows=1
[Tiling]
padding=4
[Tiling][45f607b2-3a24-5d68-8614-93a522c39f02]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Tiling][b2ea1f09-925d-545a-9abb-214cf1e409f5]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Tiling][c538b867-0041-50aa-9188-6aa550ed6733]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Tiling][f8a3bd13-d86c-5a3d-ac67-a72deec3ede9]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Tiling][fe4b79ab-fcfd-545a-a05f-d32302fccd2f]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Xwayland]
Scale=1.25
That makes a lot of sense
๐ค
[Compositing]
Backend=GBM
[Tiling]
padding=4
[Tiling][45f607b2-3a24-5d68-8614-93a522c39f02]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Tiling][b2ea1f09-925d-545a-9abb-214cf1e409f5]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Tiling][c538b867-0041-50aa-9188-6aa550ed6733]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Tiling][f8a3bd13-d86c-5a3d-ac67-a72deec3ede9]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Tiling][fe4b79ab-fcfd-545a-a05f-d32302fccd2f]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Xwayland]
Scale=1.25
kwin_wayland --replace &
or restart your session
did not owkr
reboot?
log out and log back in
did not work
journalctl -xe | grep kwin
0000:00:02.0 VGA compatible controller: Intel Corporation TigerLake-H GT1 [UHD Graphics] (rev 01)
Subsystem: Acer Incorporated [ALI] Device 1539
Kernel driver in use: i915
Kernel modules: i915, xe
0000:01:00.0 VGA compatible controller: NVIDIA Corporation GA107M [GeForce RTX 3050 Mobile] (rev a1)
Subsystem: Acer Incorporated [ALI] Device 153a
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
sudo nano /etc/modprobe.d/blacklist-nouveau.conf
blacklist nouveau
options nouveau modeset=0
sudo mkinitcpio -P
create new file?
lsmod | grep nouveau
forget about everything i sent just run this
no output
echo $KWIN_WAYLAND_BACKEND
no output
im done for rn
same
- we got your nvidia drivers working
- we have your screen registered and working
- it has to do strictly with KDE being shit tier
nothing to do with your drivers
or how it's configured
switch to gnome?
if you had hyprland it work
would
no
ill fix it later whenever ur free
i am just hungry
me too
and tired it's 1pm i havent slept
sure
sorry
๐

hola
sup
still not working
nope
ok
[riyan@archlinux ~]$ echo $XDG_SESSION_TYPE
wayland
[riyan@archlinux ~]$ echo $WAYLAND_DISPLAY
wayland-0
! TTG Boi
Compile Error! Click the
reaction for more information.
(You may edit your message to recompile.)
pgrep kwin_wayland
815
820
journalctl -xe | grep kwin
journalctl -xe | grep wayland
cp ~/.config/kwinrc ~/.config/kwinrc.bak
rm ~/.config/kwinrc
kwin_wayland --replace &
[1] 2008
2008?
Yeah
logout of kde and log back in
Monitor not working
sudo nano /etc/modeprobe.d/nvidia.conf
options nvidia_drm modeset=1
options nvidia_drm fbdev=1
The windows are not opening on my screen even the monitor is unplugged
I can't type the commands
I meant the windows
sudo nano /etc/enviroment
wait we did this
cat sudo nano /etc/mkinitcpio.conf
im sure we did this we're just back tracking rq
cat: sudo: No such file or directory
cat: nano: No such file or directory
MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
BINARIES=()
FILES=()
HOOKS=(base udev autodetect microcode modconf keyboard keymap consolefont block filesystems fsck)
then?
sudo: update-grub: command not found
done
k reboot and then lmk
Still black
no entries
export GBM_BACKEND=nvidia-drm
export __GLX_VENDOR_LIBRARY_NAME=nvidia
put it in your shell
either bash, fish, zshrc idk which u use
how
. .bash_history .bashrc Desktop .gtkrc-2.0 Pictures .python_history Videos
.. .bash_logout .cache Documents .local .pki Templates .vscode-oss
Applications .bash_profile .config Downloads Music Public .var
these are all your files?
yeah
k nano .bashrc
export GBM_BACKEND=nvidia-drm
export __GLX_VENDOR_LIBRARY_NAME=nvidia
put these in there
log out log in
still black
journalctl -b 0 --grep "renderer for"
-- No entries --
in terminal?
yes
bash: ~source: command not found
my apologies source ~/.bashrc
no output
-- No entries --
echo $GBM_BACKEND
echo $__GLX_VENDOR_LIBRARY_NAME
nvidia-drm
nvidia
-- No entries --
no output
HAHAHAAHAHA

export GBM_BACKEND=nvidia-drm
export __GLX_VENDOR_LIBRARY_NAME=nvidia
kwin_wayland --replace &
run this in terminal
[1] 2015
pgrep kwin_wayland
journalctl -xe | grep kwin_wayland
journalctl -b 0 | grep "renderer for"
journalctl -b 0 -p err
kwriteconfig5 --file kwinrc --group Wayland --key Backend "drm"
kwriteconfig6 --file kwinrc --group Wayland --key Backend "drm"
[riyan@archlinux ~]$ kwriteconfig5 --file kwinrc --group Wayland --key Backend "drm"
bash: kwriteconfig5: command not found
[riyan@archlinux ~]$ kwriteconfig6 --file kwinrc --group Wayland --key Backend "drm"
[riyan@archlinux ~]$
pacman -Q kwin-wayland
error: package 'kwin-wayland' was not found
sudo pacman -S kwin plasma-wayland-session
warning: kwin-6.1.4-1 is up to date -- reinstalling
error: target not found: plasma-wayland-session
ps aux | grep kwin
riyan 820 0.0 0.2 223648 41668 ? Ssl 22:17 0:00 /usr/bin/kwin_wayland_wrapper --xwayland
riyan 2052 4.0 2.0 2260424 328820 ? Sl 22:20 0:22 /usr/bin/kwin_wayland --wayland-fd 7 --socket wayland-0 --xwayland-fd 8 --xwayland-fd 9 --xwayland-display :1 --xwayland-xauthority /run/user/1000/xauth_HFQOiX --xwayland
riyan 2809 0.0 0.0 6640 4132 pts/1 S+ 22:30 0:00 grep --color=auto kwin
journalctl -xe | grep kwin
journalctl -b 0 | grep "renderer for"
journalctl -b 0 -p err
logout and log in
black
journalctl -b 0 | grep "renderer for"
nothing
[riyan@archlinux ~]$ journalctl -u plasma-kwin_wayland.service
-- No entries --
[riyan@archlinux ~]$ KWIN_DEBUG=1 kwin_wayland --replace &
[1] 4295
[riyan@archlinux ~]$ pacman -Qs wayland
local/egl-wayland 4:1.1.13.1-1
EGLStream-based Wayland external platform
local/kwayland 6.1.4-1 (plasma)
Qt-style Client and Server library wrapper for the Wayland libraries
local/layer-shell-qt 6.1.4-1 (plasma)
Qt component to allow applications to make use of the Wayland wl-layer-shell protocol
local/libdecor 0.2.2-1
Client-side decorations library for Wayland clients
local/libva 2.22.0-1
Video Acceleration (VA) API for Linux
local/qt6-wayland 6.7.2-4 (qt6)
Provides APIs for Wayland
local/sddm 0.21.0-4
QML based X11 and Wayland display manager
local/wayland 1.23.0-1
A computer display server protocol
local/wayland-utils 1.2.0-2
Wayland tools to display information about current compositor
local/wlr-randr 0.4.1-4
Utility to manage outputs of a Wayland compositor
local/wlroots 0.18.0-1
Modular Wayland compositor library
local/xorg-xwayland 24.1.2-1 (xorg)
run X clients under wayland
[riyan@archlinux ~]$ pacman -Qs nvidia
local/egl-wayland 4:1.1.13.1-1
EGLStream-based Wayland external platform
local/libvdpau 1.5-3
Nvidia VDPAU library
local/libxnvctrl 555.58.02-1
NVIDIA NV-CONTROL X extension
local/nvidia 555.58.02-16
NVIDIA drivers for linux
local/nvidia-prime 1.0-5
NVIDIA Prime Render Offload configuration and utilities
local/nvidia-settings 555.58.02-1
Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 555.58.02-1
NVIDIA drivers utilities
prime-run glxinfo | grep "OpenGL renderer"
OpenGL renderer string: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2
cat ~/.config/kwinrc
[Desktops]
Id_1=156bd3ba-492e-4101-985b-cf2042c986f7
Number=1
Rows=1
[Tiling]
padding=4
[Tiling][b2ea1f09-925d-545a-9abb-214cf1e409f5]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Tiling][f8a3bd13-d86c-5a3d-ac67-a72deec3ede9]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
[Wayland]
Backend=drm
[Xwayland]
Scale=1.25
KWIN_DEBUG=1 kwin_wayland --replace
done
GBM_BACKEND=nvidia-drm
__GLX_VENDOR_LIBRARY_NAME=nvidia remove .bashrc
put inside .profile
how do i open it again?
nano .bashrc
nano .profile
in both?
put it also inside
mkdir -p ~/.config/plasma-workspace/env
touch ~/.config/plasma-workspace/env/set-env-vars.sh
#!/bin/bash
export GBM_BACKEND=nvidia-drm
export __GLX_VENDOR_LIBRARY_NAME=nvidia
chmod +x ~/.config/plasma-workspace/env/set-env-vars.sh
yes
youre putting it in three places
done
reboot
black
journalctl -b 0 | grep "renderer for"
nothing
last time we put it in enviroment it broke ur screen
i think i should just switch to gnome
put it in /etc/environment
GBM_BACKEND=nvidia-drm
__GLX_VENDOR_LIBRARY_NAME=nvidia
done
did i?
[riyan@archlinux ~]$ ls -a
. .bash_history .bashrc Desktop .gtkrc-2.0 Pictures Public .var
.. .bash_logout .cache Documents .local .pki .python_history Videos
Applications .bash_profile .config Downloads Music .profile Templates .vscode-oss
[riyan@archlinux ~]$ cat /etc/environment
This file is parsed by pam_env module
Syntax: simple "KEY=VAL" pairs on separate lines
GBM_BACKEND=nvidia-drm
__GLX_VENDOR_LIBRARY_NAME=nvidia remove .bashrc
lol thank god
nano /etc/environment
GBM_BACKEND=nvidia-drm
__GLX_VENDOR_LIBRARY_NAME=nvidia
replace?
done
Yeah
Uh how do I send?
How...

sudo journalctl -b 0 | grep -iE 'wayland|kwin|nvidia|drm|gbm' > ~/errors_kde.txt
Done
remove everything inside /etc/environment
like what u did
sudo nano /etc/environment
remove the two things, reboot and come back and send the file
hmmmm?
youre not deleting the file
sudo nano /etc/environment
remove the two things
everthings commented out
bash: ~.bashrc: No such file or directory
[riyan@archlinux ~]$ ls -a
. .bash_logout .config errors_kde.txt Pictures .python_history .vscode-oss
.. .bash_profile Desktop .gtkrc-2.0 .pki Templates
Applications .bashrc Documents .local .profile .var
.bash_history .cache Downloads Music Public Videos
~/?
cat ~/.bashrc
im retarded
let me focus on reading ur error logs
echo $GBM_BACKEND
nvidia-drm
nvidia-drm
nvidia
XDG_CONFIG_DIRS=/home/riyan/.config/kdedefaults:/etc/xdg
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_MENU_PREFIX=plasma-
XDG_SEAT=seat0
XDG_SESSION_DESKTOP=KDE
XDG_SESSION_TYPE=wayland
XDG_CURRENT_DESKTOP=KDE
WAYLAND_DISPLAY=wayland-0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_ACTIVATION_TOKEN=kwin-3
XDG_SESSION_CLASS=user
QT_WAYLAND_RECONNECT=1
XDG_VTNR=1
XDG_SESSION_ID=2
XDG_RUNTIME_DIR=/run/user/1000
XDG_DATA_DIRS=/home/riyan/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
cat /etc/sddm.conf
cat: /etc/sddm.conf: No such file or directory
assuming you're using sddm
i am
what display manager are u using
you dont have /etc/sddm.conf
sudo mkdir -p /etc/sddm.conf.d
sudo nano /etc/sddm.conf
[Wayland]
Session=plasmawayland.desktop
sudo ls /etc/sddm.conf.d/
sudo ls /usr/share/sddm/
systemctl cat sddm
ls /usr/share/wayland-sessions/
journalctl -u sddm
cat /etc/sddm.conf when you're done sending me all this
i need a drink
u did everything?
yeah
[riyan@archlinux ~]$ ls /usr/share/wayland-sessions/
plasma.desktop
[riyan@archlinux ~]$ sudo ls /etc/sddm.conf.d/
sudo ls /usr/share/sddm/
faces flags scripts themes translations-qt6
!warn 716929916461121577 donโt use slurs, even towards yourself
Done.
this might be the longest thread yet in here
Follow the server rules and you wonโt need to get pissed off
sudo systemctl restart sddm
idk u can see the thread of 1k lines
maybe someone can come help
or are people shadow reading the 1k lines
idc for your answer, note taken
please restart sddm TTG
I got made aware of an infraction, I have no idea how long the thread is, Iโm doing several things at once. Donโt even know why you need support right now
i did
still a black monitor?
yup
sudo nvidia-settings --config=/etc/X11/xorg.conf --auto-install
nvidia-settings: unrecognized option: "--auto-install"
ERROR: Invalid commandline, please run nvidia-settings --help for usage information.
cat etc/X11/xorg.conf
cat: etc/X11/xorg.conf: No such file or directory
send me the output of nvidia-xconfig
WARNING: Unable to locate/open X configuration file.
WARNING: Unable to parse X.Org version string.
ERROR: Unable to write to directory '/etc/X11'.
im in the gui
[riyan@archlinux ~]$ nvidia-xconfig
WARNING: Unable to locate/open X configuration file.
WARNING: Unable to parse X.Org version string.
ERROR: Unable to write to directory '/etc/X11'.
this will generate a xorg.conf for you somewhere, we need to move it to /etc/X11/
do sudo nvidia-xconfig
you can swwitch back to wayland
WARNING: Unable to locate/open X configuration file.
New X configuration file written to '/etc/X11/xorg.conf'
still a black monitor?
yep
mmm
/etc/X11/xorg.conf ?
yes
cat /etc/X11/xorg.conf
also change your support to Monitor is detected but Black
nvidia-xconfig: X configuration file generated by nvidia-xconfig
nvidia-xconfig: version 555.58.02
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
Monitor is detected but black
ur monitor is seen correct?
right
lsmod | grep nvidia
[riyan@archlinux ~]$ lsmod | grep nvidia
nvidia_drm 122880 22
nvidia_uvm 6684672 0
nvidia_modeset 1617920 13 nvidia_drm
video 77824 4 acer_wmi,xe,i915,nvidia_modeset
nvidia 61005824 189 nvidia_uvm,nvidia_modeset
nano ~/.profile
export XDG_SESSION_TYPE=wayland
export QT_QPA_PLATFORM=wayland
reboot
Black screen with underscore on boot
remove it
K
nano ~/.profile
and delete it
not the file but the lines
do me a quick favor and do sudo pacman -S Hyprland
In tty?
Tf, It is still dead
Reboot?
ye
Done
What do I from here?
No, it's the laptop
Nothing
do you have yay
Yes
Exit hyprland?
i wanna see if your monitor is working
I am still in the screen
Nothing happens
Nothing works
Nope
I'm sure the monitor would work on gnome
your nvidia drivers are being loaded
they are 100% fine
it's kde's backend gbm which refuses to function with wayland

switch to kde
It worked when I once installed gnome on the usb itself
journalctl -b 0 | grep -i gbm
nothing
sudo pacman -S mesa
done
Didn't work
Don't remember
journalctl -b 0 | grep -i gbm
nothing
Nope
journalctl -b 0 | grep -i gbm
Dude I gotta go
ok
Imma just install gnome

Ok
journalctl -b 0 | grep "renderer for"
journalctl -b 0 | grep kwin_wayland
if u didnt have mesa you didnt have libgbm which means u didnt have gbm
[riyan@archlinux ~]$ cat /etc/environment
This file is parsed by pam_env module
Syntax: simple "KEY=VAL" pairs on separate lines
me too
sudo nano /etc/environment
GBM_BACKEND=nvidia-drm
__GLX_VENDOR_LIBRARY_NAME=nvidia
im hoping it works now u have mesa
but i doubt
youll have to remove these in tty when it fails
ye
So long
I use kde with Wayland and hyprland
Thank you for your time

