cshrc doesnt use export it uses setenvYou wrote : ~/.zshenv ; so I placed those lines in the equivalent file for me , .cshrc.
cshrc doesnt use export it uses setenvYou wrote : ~/.zshenv ; so I placed those lines in the equivalent file for me , .cshrc.
thats from your configYou wrote : ~/.zshenv ; so I placed those lines in the equivalent file for me , .cshrc.
You don't read my messages or what ? I told you that :
is not good (post : https://forums.freebsd.org/threads/trying-to-run-kde-6-plasma-with-wayland.93951/post-663933)
dbus-launch --sh-syntax --exit-with-session startplasma-wayland 2> startplasma.log
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
export QT_QPA_PLATFORMTHEME=qt6ct
export LIBSEAT_BACKEND=consolekit2
(/usr/local/libexec/xdg-desktop-portal:1156): xdg-desktop-portal-WARNING **: 23:07:33.468: The preferred method to match portal implementations to desktop environments is to use the portals.conf(5) configuration file
dbus-daemon[1142]: [session uid=1001 pid=1142] Successfully activated service 'org.freedesktop.portal.Desktop'
Unable to determine system time zone: please check your system configuration.
kwin_screencast: Failed to connect PipeWire context
No backend specified, automatically choosing drm
Unable to determine system time zone: please check your system configuration.
kwin_screencast: Failed to connect PipeWire context
No backend specified, automatically choosing drm
Unable to determine system time zone: please check your system configuration.
kwin_screencast: Failed to connect PipeWire context
No backend specified, automatically choosing drm
Unable to determine system time zone: please check your system configuration.
kwin_screencast: Failed to connect PipeWire context
No backend specified, automatically choosing drm
Unable to determine system time zone: please check your system configuration.
kwin_screencast: Failed to connect PipeWire context
No backend specified, automatically choosing drm
Unable to determine system time zone: please check your system configuration.
kwin_screencast: Failed to connect PipeWire context
No backend specified, automatically choosing drm
Unable to determine system time zone: please check your system configuration.
kwin_screencast: Failed to connect PipeWire context
No backend specified, automatically choosing drm
Unable to determine system time zone: please check your system configuration.
kwin_screencast: Failed to connect PipeWire context
No backend specified, automatically choosing drm
Unable to determine system time zone: please check your system configuration.
kwin_screencast: Failed to connect PipeWire context
No backend specified, automatically choosing drm
Unable to determine system time zone: please check your system configuration.
kwin_screencast: Failed to connect PipeWire context
No backend specified, automatically choosing drm
Unable to determine system time zone: please check your system configuration.
kwin_screencast: Failed to connect PipeWire context
are you using the cshrc shell
and trying to use export in your ~/.cshrc
setenv name value
setenv EDITOR /usr/bin/vim
setenv EDITOR=/usr/bin/vim
no =
setenv EDITOR /usr/bin/vim
#!/bin/sh
#export QT_DEBUG_PLUGINS=1
#export WAYLAND_DEBUG=1
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_RUNTIME_DIR=/var/run/user/"$(id -u)"
export QT_WAYLAND_SHELL_INTEGRATION=xdg-shell
export XDG_SESSION_TYPE=xdg-shell
export QT_QPA_PLATFORMTHEME=qt6ct
export QT_QPA_PLATFORM=minimal
export WLR_NO_HARDWARE_CURSORS=1
export LIBSEAT_BACKEND=consolekit2
#mkdir -p /var/run/user/"$(id -u)"
#chown -R "${USER}":wheel /var/run/user/"$(id -u)"
#chmod 700 /var/run/user/"$(id -u)"
#dbus-launch --sh-syntax --exit-with-session startplasma-wayland 2> startplasma.log
#ck-launch-session dbus-run-session startplasma-wayland 2> startplasma.log
ck-launch-session dbus-run-session wayfire
And you should stop telling people what to do when they're trying to help.you should read more carefully the posts made.
And you should stop telling people what to do when they're trying to help.
For needing help, you are sometimes really unpleasant.
Neither of these are a correct or sane way to make KWin choose a GPU. You need to put KWIN_DRM_DEVICES="/dev/dri/card1:/dev/dri/card0" into /etc/environment and reboot.
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
Unfortunately,when I try to compile qt6 from ports,I can't choose the compilation parameters :
make config
?Nah, that won't work, I tried. I don't see that as a showstopper, though. But yeah, devel/qt6 doesn't include all QT6 stuff... NapoleonWils0n mentioned misc/qt6ct - that one is not specified as a dependency for devel/qt6 (but can be really easy to add by hand to the /usr/ports/devel/qt6/Makefilemake config
?
/boot/loader.conf
hw.nvidiadrm.modeset="1"
qt6-wayland-6.7.2 Qt6 wrapper for Wayland
sudo pkg install qt6-wayland
plasma6-plasma>0 : x11/plasma6-plasma
kf6-frameworks>0 : x11/kf6-frameworks
kate-devel>0 : editors/kate-devel
dolphin-devel>0 : x11-fm/dolphin-devel
konsole-devel>0 : x11/konsole-devel
gwenview-devel>0 : graphics/gwenview-devel
PlasmaWaylandProtocolsConfig.cmake : x11/plasma-wayland-protocols
Make sure to have the Nvidia EGL library installed. For example on Ubuntu and Neon the relevant package is calledlibnvidia-egl-wayland1
egl-wayland-1.1.13 EGLStream-based Wayland external platform
sudo pkg install egl-wayland
~/.cshrc
setenv XDG_CONFIG_HOME "$HOME/.config"
setenv XDG_CACHE_HOME "$HOME/.cache"
setenv XDG_DATA_HOME "$HOME/.local/share"
setenv QT_QPA_PLATFORMTHEME qt6ct
setenv QT_QPA_PLATFORM wayland
setenv LIBSEAT_BACKEND consolekit2
# uncommented if needed
#setenv QT_WAYLAND_SHELL_INTEGRATION xdg-shell
#setenv XDG_SESSION_TYPE xdg-shell
#setenv WLR_NO_HARDWARE_CURSORS 1
#!/bin/sh
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
export QT_QPA_PLATFORMTHEME=qt6ct
export QT_QPA_PLATFORM=wayland
export LIBSEAT_BACKEND=consolekit2
# uncommented if needed
#export QT_WAYLAND_SHELL_INTEGRATION=xdg-shell
#export XDG_SESSION_TYPE=xdg-shell
#export WLR_NO_HARDWARE_CURSORS=1
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This is also a very frequent error that I see on the log :
Code:qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in "" qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
so,the solution seems to be here :
![]()
qt.qpa.plugin: Could not find the Qt platform plugin
@jsulm i run the app from terminal as you suggested with set(QT_DEBUG_PLUGINS 1) flag in my project CMakeList.txt , but it show the same output in terminal l...forum.qt.io
where he says to recompile qt to enable the missing features. So,the idea is to remove all the qt6 from packages and installing them from ports,enabling the wayland and xcb plugins. Again one time,installing packages is not the best idea.
Unfortunately,when I try to compile qt6 from ports,I can't choose the compilation parameters :
View attachment 19666
in my recent testing you just need the libudev-devd patch :
cat /usr/ports/devel/libudev-devd/files/patch-udev-device.c
--- udev-device.c.orig 2024-07-30 16:20:00 UTC
+++ udev-device.c
@@ -181,8 +181,9 @@ udev_device_has_tag(struct udev_device *ud, const char
struct udev_list_entry *ule;
TRC("(%p, %s)", ud, tag);
- ule = udev_list_entry_get_first(udev_device_get_tags_list(ud));
- return (udev_list_entry_get_by_name(ule, tag) != NULL);
+// ule = udev_list_entry_get_first(udev_device_get_tags_list(ud));
+// return (udev_list_entry_get_by_name(ule, tag) != NULL);
+ return false;
}
struct udev_list *
nano /usr/ports/devel/libudev-devd/files/patch-udev-device.c
--- udev-device.c.orig 2024-07-30 16:20:00 UTC
+++ udev-device.c
@@ -181,8 +181,9 @@ udev_device_has_tag(struct udev_device *ud, const char
struct udev_list_entry *ule;
TRC("(%p, %s)", ud, tag);
- ule = udev_list_entry_get_first(udev_device_get_tags_list(ud));
- return (udev_list_entry_get_by_name(ule, tag) != NULL);
+// ule = udev_list_entry_get_first(udev_device_get_tags_list(ud));
+// return (udev_list_entry_get_by_name(ule, tag) != NULL);
+ return false;
}
struct udev_list *
root@marietto:/usr/ports/devel/libudev-devd # make
===> License BSD2CLAUSE LGPL21+ accepted by the user
===> libudev-devd-0.5.1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by libudev-devd-0.5.1 for building
===> Extracting for libudev-devd-0.5.1
=> SHA256 Checksum OK for wulf7-libudev-devd-v0.5.1_GH0.tar.gz.
===> Patching for libudev-devd-0.5.1
===> Applying FreeBSD patches for libudev-devd-0.5.1 from /usr/ports/devel/libudev-devd/files
1 out of 1 hunks failed--saving rejects to udev-device.c.rej
===> FAILED Applying FreeBSD patch-udev-device.c
===> FAILED to apply cleanly FreeBSD patch(es) patch-udev-device.c
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/devel/libudev-devd
*** Error code 1
the ML
Did you apply the patch EXACTLY AS SHOWN HERE?so,I tried to apply the patch doing like that :
but it didn't work,so I made some mistake.Code:nano /usr/ports/devel/libudev-devd/files/patch-udev-device.c --- udev-device.c.orig 2024-07-30 16:20:00 UTC +++ udev-device.c @@ -181,8 +181,9 @@ udev_device_has_tag(struct udev_device *ud, const char struct udev_list_entry *ule; TRC("(%p, %s)", ud, tag); - ule = udev_list_entry_get_first(udev_device_get_tags_list(ud)); - return (udev_list_entry_get_by_name(ule, tag) != NULL); +// ule = udev_list_entry_get_first(udev_device_get_tags_list(ud)); +// return (udev_list_entry_get_by_name(ule, tag) != NULL); + return false; } struct udev_list * root@marietto:/usr/ports/devel/libudev-devd # make ===> License BSD2CLAUSE LGPL21+ accepted by the user ===> libudev-devd-0.5.1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by libudev-devd-0.5.1 for building ===> Extracting for libudev-devd-0.5.1 => SHA256 Checksum OK for wulf7-libudev-devd-v0.5.1_GH0.tar.gz. ===> Patching for libudev-devd-0.5.1 ===> Applying FreeBSD patches for libudev-devd-0.5.1 from /usr/ports/devel/libudev-devd/files 1 out of 1 hunks failed--saving rejects to udev-device.c.rej ===> FAILED Applying FreeBSD patch-udev-device.c ===> FAILED to apply cleanly FreeBSD patch(es) patch-udev-device.c *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/libudev-devd *** Error code 1
make clean
on devel/libudev-devd make extract
on devel/libudev-devdLIBUDEV_EXPORT int
udev_device_has_tag(struct udev_device *ud, const char *tag)
{
struct udev_list_entry *ule;
return false;
TRC("(%p, %s)", ud, tag);
ule = udev_list_entry_get_first(udev_device_get_tags_list(ud));
return (udev_list_entry_get_by_name(ule, tag) != NULL);
}