Trying to run KDE 6 Plasma with Wayland....

some research


You might be affected by the famous Glamour bug as described here


This misrendering can be fixed on all platforms by disabling glamor support via XWAYLAND_NO_GLAMOR.

perhaps

Code:
export XWAYLAND_NO_GLAMOR=1

or

Code:
export XWAYLAND_NO_GLAMOR=0

sounds like the same bug
from the variable name XWAYLAND_NO_GLAMOR

it sounds like its to do with XWayland
just speculating but is the issue that KDE is also running XWayland which is triggering the glamour bug

even with wayland set for qt

Code:
export QT_QPA_PLATFORM=wayland

with wlroots wayland window managers like dwl, labwc and wayfire you can disable XWayland

just a stab in the dark
 
i was thinking is glamour only used with XWayland on KDE
and if so can it be disabled using XWAYLAND_NO_GLAMOR

or the other option would be to disable XWayland in KDE by building the port and turning it off
 
freebsd 14 p3 - pkg search


Code:
Yes Master ? pkg search kde6-devel
[djwilcox@pollux ~/desktop]
Yes Master ?

Code:
Yes Master ? pkg search kde6
[djwilcox@pollux ~/desktop]
Yes Master ?


Code:
Yes Master ? pkg search plasma6-plasma
plasma6-plasma-activities-6.1.2 Core components for the KDE Activity concept
plasma6-plasma-activities-stats-6.1.2 Library for accessing the usage data collected by the activities system
plasma6-plasma-disks-6.1.2     Monitors S.M.A.R.T. capable devices for imminent failure
plasma6-plasma-integration-6.1.2 Qt Platform Theme integration plugins for the Plasma workspaces
plasma6-plasma-pa-6.1.2        Plasma applet for audio volume management using PulseAudio
plasma6-plasma-workspace-wallpapers-6.1.2 Wallpapers for Plasma Workspaces
 
The new parameter changed the errors that it gives :

Code:
org.kde.startup: not a reply org.freedesktop.locale1 QDBusMessage(type=Error, service="", error name="org.freedesktop.DBus.Error.ServiceUnknown", error message="The name org.freedesktop.locale1 was not provided by any .service files", signature="s", contents=("The name org.freedesktop.locale1 was not provided by any .service files") )

dbus-daemon[1077]: [session uid=1001 pid=1077] Activating service name='org.kde.KSplash' requested by ':1.0' (uid=1001 pid=1078 comm="startplasma-wayland")

Detected locale "C" with character encoding "US-ASCII", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.

dbus-daemon[1077]: [session uid=1001 pid=1077] Activating service name='org.freedesktop.portal.Desktop' requested by ':1.5' (uid=1001 pid=1088 comm="/usr/local/bin/kcminit_startup")
dbus-daemon[1077]: [session uid=1001 pid=1077] Activating service name='org.freedesktop.portal.Documents' requested by ':1.6' (uid=1001 pid=1090 comm="/usr/local/libexec/xdg-desktop-portal")
dbus-daemon[1077]: [session uid=1001 pid=1077] Activating service name='org.freedesktop.impl.portal.PermissionStore' requested by ':1.7' (uid=1001 pid=1092 comm="/usr/local/libexec/xdg-document-portal")
dbus-daemon[1077]: [session uid=1001 pid=1077] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore'
dbus-daemon[1077]: [session uid=1001 pid=1077] Successfully activated service 'org.freedesktop.portal.Documents'

fuse: unknown option(s): `-o auto_unmount'

error: fuse init failed: Can't create fuse session

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:39.332: Failed to load RealtimeKit property: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.RealtimeKit1 was not provided by any .service files

dbus-daemon[1077]: [session uid=1001 pid=1077] Activating service name='org.freedesktop.impl.portal.desktop.kde' requested by ':1.6' (uid=1001 pid=1090 comm="/usr/local/libexec/xdg-desktop-portal")
Detected locale "C" with character encoding "US-ASCII", which is not UTF-8.

Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.

Detected locale "C" with character encoding "US-ASCII", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.

No backend specified, automatically choosing drm

kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:39:34: string literal is not a valid UTF-8 string
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:49:29: failed to parse file

kf.globalaccel.kglobalacceld: Shortcut found twice in kglobalshortcutsrc. QKeySequence("Meta+Ctrl+R")
Unable to determine system time zone: please check your system configuration.

[E][00181.590465] spa.loop     | [          loop.c: 1162 impl_init()] 0x9960e8f9a8: can't create tss: No error: 0
kwin_screencast: Failed to create PipeWire context

Detected locale "C" with character encoding "US-ASCII", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.

No backend specified, automatically choosing drm

kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:39:34: string literal is not a valid UTF-8 string
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:49:29: too many errors
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:49:29: failed to parse file

kf.globalaccel.kglobalacceld: Shortcut found twice in kglobalshortcutsrc. QKeySequence("Meta+Ctrl+R")
Unable to determine system time zone: please check your system configuration.

[E][00184.147346] spa.loop     | [          loop.c: 1162 impl_init()] 0xc60f4c8f9a8: can't create tss: No error: 0
kwin_screencast: Failed to create PipeWire context

Detected locale "C" with character encoding "US-ASCII", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
No backend specified, automatically choosing drm

kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:39:34: string literal is not a valid UTF-8 string
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:49:29: failed to parse file

kf.globalaccel.kglobalacceld: Shortcut found twice in kglobalshortcutsrc. QKeySequence("Meta+Ctrl+R")
Unable to determine system time zone: please check your system configuration.
[E][00185.948329] spa.loop     | [          loop.c: 1162 impl_init()] 0x22deefe8f9a8: can't create tss: No error: 0
kwin_screencast: Failed to create PipeWire context
Detected locale "C" with character encoding "US-ASCII", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
No backend specified, automatically choosing drm

kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:39:34: string literal is not a valid UTF-8 string
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:49:29: too many errors
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:49:29: failed to parse file
kf.globalaccel.kglobalacceld: Shortcut found twice in kglobalshortcutsrc. QKeySequence("Meta+Ctrl+R")
Unable to determine system time zone: please check your system configuration.

[E][00187.272043] spa.loop     | [          loop.c: 1162 impl_init()] 0x3c00ef68f9a8: can't create tss: No error: 0
kwin_screencast: Failed to create PipeWire context

Detected locale "C" with character encoding "US-ASCII", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
No backend specified, automatically choosing drm

kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:39:34: string literal is not a valid UTF-8 string
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:49:29: too many errors
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:49:29: failed to parse file
kf.globalaccel.kglobalacceld: Shortcut found twice in kglobalshortcutsrc. QKeySequence("Meta+Ctrl+R")
Unable to determine system time zone: please check your system configuration.

[E][00188.542087] spa.loop     | [          loop.c: 1162 impl_init()] 0x1dff88a8f9a8: can't create tss: No error: 0
kwin_screencast: Failed to create PipeWire context

Detected locale "C" with character encoding "US-ASCII", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
No backend specified, automatically choosing drm
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:39:34: string literal is not a valid UTF-8 string
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:49:29: too many errors
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:49:29: failed to parse file
kf.globalaccel.kglobalacceld: Shortcut found twice in kglobalshortcutsrc. QKeySequence("Meta+Ctrl+R")
Unable to determine system time zone: please check your system configuration.

[E][00189.807523] spa.loop     | [          loop.c: 1162 impl_init()] 0x35d710c8f9a8: can't create tss: No error: 0
kwin_screencast: Failed to create PipeWire context

Detected locale "C" with character encoding "US-ASCII", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
No backend specified, automatically choosing drm
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:39:34: string literal is not a valid UTF-8 string
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:49:29: too many errors
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:49:29: failed to parse file
kf.globalaccel.kglobalacceld: Shortcut found twice in kglobalshortcutsrc. QKeySequence("Meta+Ctrl+R")
Unable to determine system time zone: please check your system configuration.

[E][00191.067635] spa.loop     | [          loop.c: 1162 impl_init()] 0x2ea3788f9a8: can't create tss: No error: 0
kwin_screencast: Failed to create PipeWire context

Detected locale "C" with character encoding "US-ASCII", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
No backend specified, automatically choosing drm
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:39:34: string literal is not a valid UTF-8 string
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:49:29: too many errors
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:49:29: failed to parse file
kf.globalaccel.kglobalacceld: Shortcut found twice in kglobalshortcutsrc. QKeySequence("Meta+Ctrl+R")
Unable to determine system time zone: please check your system configuration.

[E][00192.343785] spa.loop     | [          loop.c: 1162 impl_init()] 0x3870db48f9a8: can't create tss: No error: 0
kwin_screencast: Failed to create PipeWire context

Detected locale "C" with character encoding "US-ASCII", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
No backend specified, automatically choosing drm

kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:39:34: string literal is not a valid UTF-8 string
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:49:29: failed to parse file

kf.globalaccel.kglobalacceld: Shortcut found twice in kglobalshortcutsrc. QKeySequence("Meta+Ctrl+R")
Unable to determine system time zone: please check your system configuration.

[E][00193.687484] spa.loop     | [          loop.c: 1162 impl_init()] 0x3e231d88f9a8: can't create tss: No error: 0
kwin_screencast: Failed to create PipeWire context
Detected locale "C" with character encoding "US-ASCII", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.

No backend specified, automatically choosing drm

kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:39:34: string literal is not a valid UTF-8 string
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:49:29: too many errors
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/iso8859-1/Compose:49:29: failed to parse file
kf.globalaccel.kglobalacceld: Shortcut found twice in kglobalshortcutsrc. QKeySequence("Meta+Ctrl+R")
Unable to determine system time zone: please check your system configuration.

[E][00194.953761] spa.loop     | [          loop.c: 1162 impl_init()] 0x172b7c08f9a8: can't create tss: No error: 0
kwin_screencast: Failed to create PipeWire context

qt.qpa.wayland: "wl-shell" is a deprecated shell extension, prefer using "xdg-shell" if supported by the compositor by setting the environment variable QT_WAYLAND_SHELL_INTEGRATION
qt.qpa.wayland: "wl-shell" is a deprecated shell extension, prefer using "xdg-shell" if supported by the compositor by setting the environment variable QT_WAYLAND_SHELL_INTEGRATION
qt.qpa.wayland: "wl-shell" is a deprecated shell extension, prefer using "xdg-shell" if supported by the compositor by setting the environment variable QT_WAYLAND_SHELL_INTEGRATION

qt.qpa.wayland: Loading shell integration failed.
qt.qpa.wayland: Attempted to load the following shells QList("xdg-shell", "wl-shell", "ivi-shell", "qt-shell")
qt.qpa.wayland: Loading shell integration failed.
qt.qpa.wayland: Attempted to load the following shells QList("xdg-shell", "wl-shell", "ivi-shell", "qt-shell")
org.kde.startup: "kdeinit5_shutdown" QList() exited with code 255
qt.qpa.wayland: Loading shell integration failed.
qt.qpa.wayland: Attempted to load the following shells QList("xdg-shell", "wl-shell", "ivi-shell", "qt-shell")
startplasma-wayland: Shutting down...
startplasmacompositor: Shutting down...
startplasmacompositor: Done.

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.913: Failed to create settings proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.kde: The connection is closed

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.913: No skeleton to export

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.914: Failed to create file chooser proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.kde: The connection is closed

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.914: No skeleton to export

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.914: Failed to create app chooser proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.kde: The connection is closed

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.914: No skeleton to export

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.914: Failed to create print proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.kde: The connection is closed

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.914: No skeleton to export

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.914: Failed to create notification proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.kde: The connection is closed

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.914: No skeleton to export

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.914: Failed to create inhibit proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.kde: The connection is closed

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.914: No skeleton to export

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.914: Failed to create access proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.kde: The connection is closed

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.914: No skeleton to export

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.914: Failed to create access proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.kde: The connection is closed

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.914: No skeleton to export
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: offscreen, minimal, wayland, vkkhrdisplay, vnc, wayland-egl, xcb.

qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: offscreen, minimal, wayland, vkkhrdisplay, vnc, wayland-egl, xcb.

qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: offscreen, minimal, wayland, vkkhrdisplay, vnc, wayland-egl, xcb.

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.948: Failed to create email proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.kde: The connection is closed

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.948: No skeleton to export

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.948: Choosing kwallet.portal for org.freedesktop.impl.portal.Secret via the deprecated UseIn key

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.948: The preferred method to match portal implementations to desktop environments is to use the portals.conf(5) configuration file

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.949: Failed to create secret proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.kwallet: The connection is closed

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.949: No skeleton to export

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.949: Failed to create global_shortcuts proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.kde: The connection is closed

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.949: No skeleton to export

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.950: Failed to create dynamic_launcher proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.kde: The connection is closed

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.950: No skeleton to export

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.950: Failed to create screen cast proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.kde: The connection is closed

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.950: No skeleton to export

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.951: Failed to create remote desktop proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.kde: The connection is closed

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.951: No skeleton to export

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.951: Failed to create capture input proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.kde: The connection is closed

(/usr/local/libexec/xdg-desktop-portal:1090): xdg-desktop-portal-WARNING **: 23:51:53.951: No skeleton to export
org.kde.plasma.waitforname: WaitForName: Service was not registered within timeout
 
This is interesting now :

Code:
[E][00184.147346] spa.loop     | [          loop.c: 1162 impl_init()] 0xc60f4c8f9a8: can't create tss: No error: 0
kwin_screencast: Failed to create PipeWire context

it seems a real bug.
 
I ask myself what's the utility to have the packages in a FreeBSD system. They are developed slower than ports. Usually they are bugged and not optimized. At this point,please remove them and leave only the ports that we can configure as we want and they can be refreshed in a moment.
 
My system is affected by this bug :


what I would like to know if what should I do ? Actually pipewire as installed as package on my system and if I remove it (because it is bugged),it will also remove a lot of useful packages. Basically the whole system will be destroyed or almost :

Code:
marietto# pkg remove pipewire

Updating database digests format: 100%
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 11 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
    pipewire: 1.2.1
    plasma6-kinfocenter: 6.1.2
    plasma6-kpipewire: 6.1.2
    plasma6-kwin: 6.1.2
    plasma6-plasma-browser-integration: 6.1.2
    plasma6-plasma-desktop: 6.1.2
    plasma6-plasma-workspace: 6.1.2
    plasma6-systemsettings: 6.1.2
    spectacle-devel: 24.01.90_1
    xdg-desktop-portal: 1.18.4
    xdg-desktop-portal-wlr: 0.7.1

Number of packages to be removed: 11

Can I remove the pipewire package only , without "touching" its dependencies ?
 
Code:
Yes Master ? pkg search kde6-devel
[djwilcox@pollux ~/desktop]
Yes Master ?


I don't think this has anything to do with your Nvidia graphics folks, I'm hitting the same issues on Intel.

Packages disappeared for me too. Could build plasma from /usr/ports though. ziomario I have that pipewire patch and I'm still hitting the same issues.

Trying to start through sddm gives the following errors in ~/.local/share/sddm/wayland-session.log
Code:
No backend specified, automatically choosing drm
kwin_core: Could not determine the active graphical session
kwin_wayland_drm: failed to open drm device at "/dev/dri/card0"
kwin_wayland_drm: No suitable DRM devices have been found

I am able to run startplasma-wayland through Hyprland though. No screenshots because spectacle is not kde6 compatible
:).

FWIW: I reported a bug here: https://bugs.kde.org/show_bug.cgi?id=491600
 
I'm trying to recompile the dependencies that have been removed when I have removed the pipewire package,but unfortunately I always get the same error for each dependency I want to recompile :

Code:
marietto# cd /usr/ports/x11-wm/plasma6-kwin
marietto# pwd
/usr/ports/x11-wm/plasma6-kwin
marietto# make

===>  License LGPL20 accepted by the user
===>   plasma6-kwin-6.1.2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by plasma6-kwin-6.1.2 for building
===>  Extracting for plasma6-kwin-6.1.2
=> SHA256 Checksum OK for KDE/plasma/6.1.2/kwin-6.1.2.tar.xz.
===>  Patching for plasma6-kwin-6.1.2
===>  Applying FreeBSD patches for plasma6-kwin-6.1.2 from /usr/ports/x11-wm/plasma6-kwin/files
===>   plasma6-kwin-6.1.2 depends on file: /usr/local/include/linux/input.h - found
===>   plasma6-kwin-6.1.2 depends on package: hwdata>0 - found
===>   plasma6-kwin-6.1.2 depends on package: wayland-protocols>0 - found
===>   plasma6-kwin-6.1.2 depends on executable: Xwayland - found
===>   plasma6-kwin-6.1.2 depends on file: /usr/local/bin/cmake - found
===>   plasma6-kwin-6.1.2 depends on executable: ninja - found
===>   plasma6-kwin-6.1.2 depends on package: gettext-runtime>=0.22_1 - found
===>   plasma6-kwin-6.1.2 depends on executable: msgfmt - found
===>   plasma6-kwin-6.1.2 depends on file: /usr/local/share/QtCurve/Breeze.qtcurve - found
===>   plasma6-kwin-6.1.2 depends on file: /usr/local/share/ECM/cmake/ECMConfig.cmake - found
===>   plasma6-kwin-6.1.2 depends on file: /usr/local/lib/qt6/plugins/org.kde.kglobalacceld.platforms/KGlobalAccelDXcb.so - found
===>   plasma6-kwin-6.1.2 depends on file: /usr/local/lib/cmake/PlasmaWaylandProtocols/PlasmaWaylandProtocolsConfig.cmake - found
===>   plasma6-kwin-6.1.2 depends on package: pkgconf>=1.3.0_1 - found
===>   plasma6-kwin-6.1.2 depends on file: /usr/local/bin/python3.11 - found
===>   plasma6-kwin-6.1.2 depends on package: xorgproto>=0 - found
===>   plasma6-kwin-6.1.2 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found
===>   plasma6-kwin-6.1.2 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found
===>   plasma6-kwin-6.1.2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   plasma6-kwin-6.1.2 depends on file: /usr/local/libdata/pkgconfig/xcb.pc - found
===>   plasma6-kwin-6.1.2 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found
===>   plasma6-kwin-6.1.2 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found
===>   plasma6-kwin-6.1.2 depends on file: /usr/local/lib/qt6/bin/lupdate - found
===>   plasma6-kwin-6.1.2 depends on shared library: libdisplay-info.so - found (/usr/local/lib/libdisplay-info.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libdrm.so - found (/usr/local/lib/libdrm.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libepoxy.so - found (/usr/local/lib/libepoxy.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libfontconfig.so - found (/usr/local/lib/libfontconfig.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libinput.so - found (/usr/local/lib/libinput.so)
===>   plasma6-kwin-6.1.2 depends on shared library: liblcms2.so - found (/usr/local/lib/liblcms2.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libpipewire-0.3.so - found (/usr/local/lib/libpipewire-0.3.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libqaccessibilityclient-qt6.so - found (/usr/local/lib/libqaccessibilityclient-qt6.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libudev.so - found (/usr/local/lib/libudev.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libwayland-client.so - found (/usr/local/lib/libwayland-client.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libxcb-cursor.so - found (/usr/local/lib/libxcb-cursor.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libxcb-icccm.so - found (/usr/local/lib/libxcb-icccm.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libxcb-keysyms.so - found (/usr/local/lib/libxcb-keysyms.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libxcvt.so - found (/usr/local/lib/libxcvt.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libxkbcommon.so - found (/usr/local/lib/libxkbcommon.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libEGL.so - found (/usr/local/lib/libEGL.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libgbm.so - found (/usr/local/lib/libgbm.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libOpenGL.so - found (/usr/local/lib/libOpenGL.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libPlasmaActivities.so - found (/usr/local/lib/libPlasmaActivities.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libKF6Attica.so - found (/usr/local/lib/libKF6Attica.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libKF6AuthCore.so - found (/usr/local/lib/libKF6AuthCore.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libKF6ColorScheme.so - found (/usr/local/lib/libKF6ColorScheme.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libKF6ConfigCore.so - found (/usr/local/lib/libKF6ConfigCore.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libKF6ConfigWidgets.so - found (/usr/local/lib/libKF6ConfigWidgets.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libKF6CoreAddons.so - found (/usr/local/lib/libKF6CoreAddons.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libKF6Crash.so - found (/usr/local/lib/libKF6Crash.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libKF6DBusAddons.so - found (/usr/local/lib/libKF6DBusAddons.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libkdecorations2.so - found (/usr/local/lib/libkdecorations2.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libKF6GlobalAccel.so - found (/usr/local/lib/libKF6GlobalAccel.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libKF6GuiAddons.so - found (/usr/local/lib/libKF6GuiAddons.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libKF6I18n.so - found (/usr/local/lib/libKF6I18n.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libKF6IdleTime.so - found (/usr/local/lib/libKF6IdleTime.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libKF6KCMUtils.so - found (/usr/local/lib/libKF6KCMUtils.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libKF6CalendarEvents.so - found (/usr/local/lib/libKF6CalendarEvents.so)
===>   plasma6-kwin-6.1.2 depends on shared library: libKPipeWire.so - not found
===>  License LGPL20 accepted by the user
===>   plasma6-kpipewire-6.1.2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by plasma6-kpipewire-6.1.2 for building
===>  Extracting for plasma6-kpipewire-6.1.2
=> SHA256 Checksum OK for KDE/plasma/6.1.2/kpipewire-6.1.2.tar.xz.
===>  Patching for plasma6-kpipewire-6.1.2
===>   plasma6-kpipewire-6.1.2 depends on file: /usr/local/bin/cmake - found
===>   plasma6-kpipewire-6.1.2 depends on executable: ninja - found
===>   plasma6-kpipewire-6.1.2 depends on package: gettext-runtime>=0.22_1 - found
===>   plasma6-kpipewire-6.1.2 depends on executable: msgfmt - found
===>   plasma6-kpipewire-6.1.2 depends on file: /usr/local/share/ECM/cmake/ECMConfig.cmake - found
===>   plasma6-kpipewire-6.1.2 depends on file: /usr/local/lib/cmake/PlasmaWaylandProtocols/PlasmaWaylandProtocolsConfig.cmake - found
===>   plasma6-kpipewire-6.1.2 depends on package: pkgconf>=1.3.0_1 - found
===>   plasma6-kpipewire-6.1.2 depends on package: xorgproto>=0 - found
===>   plasma6-kpipewire-6.1.2 depends on shared library: libavcodec.so - found (/usr/local/lib/libavcodec.so)
===>   plasma6-kpipewire-6.1.2 depends on shared library: libdrm.so - found (/usr/local/lib/libdrm.so)
===>   plasma6-kpipewire-6.1.2 depends on shared library: libepoxy.so - found (/usr/local/lib/libepoxy.so)
===>   plasma6-kpipewire-6.1.2 depends on shared library: libpipewire-0.3.so - found (/usr/local/lib/libpipewire-0.3.so)
===>   plasma6-kpipewire-6.1.2 depends on shared library: libva.so - found (/usr/local/lib/libva.so)
===>   plasma6-kpipewire-6.1.2 depends on shared library: libxkbcommon.so - found (/usr/local/lib/libxkbcommon.so)
===>   plasma6-kpipewire-6.1.2 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===>   plasma6-kpipewire-6.1.2 depends on shared library: libEGL.so - found (/usr/local/lib/libEGL.so)
===>   plasma6-kpipewire-6.1.2 depends on shared library: libgbm.so - found (/usr/local/lib/libgbm.so)
===>   plasma6-kpipewire-6.1.2 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so)
===>   plasma6-kpipewire-6.1.2 depends on shared library: libOpenGL.so - found (/usr/local/lib/libOpenGL.so)
===>   plasma6-kpipewire-6.1.2 depends on shared library: libKF6CoreAddons.so - found (/usr/local/lib/libKF6CoreAddons.so)
===>   plasma6-kpipewire-6.1.2 depends on shared library: libKF6I18n.so - found (/usr/local/lib/libKF6I18n.so)
===>   plasma6-kpipewire-6.1.2 depends on shared library: libQt6Core.so - found (/usr/local/lib/qt6/libQt6Core.so)
===>   plasma6-kpipewire-6.1.2 depends on shared library: libQt6Qml.so - found (/usr/local/lib/qt6/libQt6Qml.so)
===>   plasma6-kpipewire-6.1.2 depends on shared library: libQt6WaylandClient.so - found (/usr/local/lib/qt6/libQt6WaylandClient.so)
===>  Configuring for plasma6-kpipewire-6.1.2
===>  Performing out-of-source build
/bin/mkdir -p /usr/ports/audio/plasma6-kpipewire/work/.build
-- The C compiler identification is Clang 18.1.5
-- The CXX compiler identification is Clang 18.1.5
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:5 (find_package):
  Could not find a configuration file for package "ECM" that is compatible
  with requested version "6.2.0".

  The following configuration files were considered but not accepted:

    /usr/local/share/ECM/cmake/ECMConfig.cmake, version: 5.116.0



-- Configuring incomplete, errors occurred!
 
freebsd 14.1 p3 seems to have removed some kde and plasma packages


might indicate there is an issue
 
---> So what is remaining is someone to try with Wayland.

this statement seems to be false. What's remaining is also to try with FreeBSD 14.1. You tried with 14.0 BUT I haven't used it at all.
You are not understanding how branches of FreeBSD is created/maintained.
Mine is NOT AT ALL 14.0. It's NEWER THAN 14.1.
stable/14 is always the same or newer than 14.*-Release-p*.

  1. When n.0-Release is going to be created, stable/n branch is branched from main (aka -Current).
  2. Betas are created from brand-new stable/n branch.
  3. Once Beta is considered OK, releng/n.0 branch if created from stable/n branch.
  4. RCs are created from releng/n.0 branch.
  5. Once releng/n.0 branch is created, stable/n branch gets updates from main branch (aka MFC), but releng/n.0 branch gets some parts of MFC'ed updates (security fixes, regression fixes) only.
  6. Once RC is considered OK, release build is done and shipped as n.0-Release.
  7. If some security/regression fix is MFC'ed to stable/n and tested, the fixes are merged to releng/n.0 and patch release n.0-p1,2,3,... are built and provided via freebsd-update.
  8. When n.1-Release cycle starts, NO NEW STABLE BRANCH IS CREATED and changes to stable/n is limited for security/regression fixes (called feature freeze).
  9. Betas are created from stable/n branch just as done for n.0.
  10. Once Betas are considered OK, releng/n.1 branches from stable/n and feature freeze of stable/n is out.
 
...Anyway I didn't want a sooo big picture.

---> Maybe there would be nothing more what I can do for you...

please don't tell that you are doing something for ME. I think it's more correct to tell that WE are doing something to help also the other users. I'm included for sure,but are included also a LOT of different users will get benefit from our hard work. It's not just something between you and me only. Do you agree that this interpretation is more correct ?
I should say that what's you are trying is just for YOU, as it contains (if I understand correctly) VM contexts. Limiting things to bare-metal environment only, I'd be able to say for US.

Usually, passing non-virtualized things to VM guests is non-trivial. It is hardware-dependent. So what worked for you does not mean it works for others using different hardware. You're already experiencing the same thing. No?

As you may know, VM is Virtual (Virtualized) Machine. The basics are that everything is emulated for guests by host. Passing through something breaks this assumption and make things tricky. Basically it requires proper HARDWARE support like resource partitioning on mainframes to do it simple.
 
I just noticed that I get a core dump every time I try to run aforementioned script. Anybody seeing the same?

Code:
dusan@Dell-Latitude-5400 ~> lldb kwin_wayland -c kwin_wayland.core
(lldb) target create "kwin_wayland" --core "kwin_wayland.core"
Core file '/home/dusan/kwin_wayland.core' (x86_64) was loaded.
(lldb) bt
* thread #1, name = 'kwin_wayland', stop reason = signal SIGSEGV
  * frame #0: 0x00000008486949e6 libudev.so.0`udev_list_entry_get_by_name + 38
    frame #1: 0x00000008486935fd libudev.so.0`udev_device_has_tag + 29
    frame #2: 0x0000000829ef684d libkwin.so.6`KWin::shouldIgnoreDevice(device=0x00001dfeaf825a00) at tabletmodemanager.cpp:38:18
    frame #3: 0x0000000829ef79ab libkwin.so.6`KWin::TabletModeTouchpadRemovedSpy::check(this=0x0000000820b54717, device=0x00001dfeaf825a00)::'lambda0'(KWin::InputDevice*)::operator()(KWin::InputDevice*) const at tabletmodemanager.cpp:104:44
    frame #4: 0x0000000829ef7885 libkwin.so.6`bool std::__1::any_of[abi:sn180100]<QList<KWin::InputDevice*>::const_iterator, KWin::TabletModeTouchpadRemovedSpy::check()::'lambda0'(KWin::InputDevice*)>(__first=const_iterator @ 0x0000000820b54720, __last=const_iterator @ 0x0000000820b54718, __pred=(unnamed class) @ 0x0000000820b54717) at any_of.h:25:9
    frame #5: 0x0000000829ef72ee libkwin.so.6`KWin::TabletModeTouchpadRemovedSpy::check(this=0x00001dfeaf8a79e0) at tabletmodemanager.cpp:103:33
    frame #6: 0x0000000829ef7240 libkwin.so.6`KWin::TabletModeTouchpadRemovedSpy::refresh(this=0x00001dfeaf8a79e0, inputDevice=0x00001dfeaf825a00) at tabletmodemanager.cpp:91:13
    frame #7: 0x0000000829ef763d libkwin.so.6`QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<KWin::InputDevice*>, void, void (KWin::TabletModeTouchpadRemovedSpy::*)(KWin::InputDevice*)>::call(f=(libkwin.so.6`KWin::TabletModeTouchpadRemovedSpy::refresh(KWin::InputDevice*) at tabletmodemanager.cpp:89), o=0x00001dfeaf8a79e0, arg=0x0000000820b54bc0) at qobjectdefs_impl.h:145:13
    frame #8: 0x0000000829ef757d libkwin.so.6`void QtPrivate::FunctionPointer<void (KWin::TabletModeTouchpadRemovedSpy::*)(KWin::InputDevice*)>::call<QtPrivate::List<KWin::InputDevice*>, void>(f=(libkwin.so.6`KWin::TabletModeTouchpadRemovedSpy::refresh(KWin::InputDevice*) at tabletmodemanager.cpp:89), o=0x00001dfeaf8a79e0, arg=0x0000000820b54bc0) at qobjectdefs_impl.h:182:13
    frame #9: 0x0000000829ef74a5 libkwin.so.6`QtPrivate::QCallableObject<void (KWin::TabletModeTouchpadRemovedSpy::*)(KWin::InputDevice*), QtPrivate::List<KWin::InputDevice*>, void>::impl(which=1, this_=0x00001dfeaf8a79a0, r=0x00001dfeaf8a79e0, a=0x0000000820b54bc0, ret=0x0000000000000000) at qobjectdefs_impl.h:553:21
    frame #10: 0x000000083d759c1e libQt6Core.so.6`QtPrivate::QSlotObjectBase::call(this=0x00001dfeaf8a79a0, r=0x00001dfeaf8a79e0, a=0x0000000820b54bc0) at qobjectdefs_impl.h:469:51
    frame #11: 0x000000083d800407 libQt6Core.so.6`void doActivate<false>(sender=0x00001dfeae646540, signal_index=3, argv=0x0000000820b54bc0) at qobject.cpp:4086:26
    frame #12: 0x000000083d7f64d9 libQt6Core.so.6`QMetaObject::activate(sender=0x00001dfeae646540, m=0x000000082a411c20, local_signal_index=0, argv=0x0000000820b54bc0) at qobject.cpp:4146:9
    frame #13: 0x0000000829c2b664 libkwin.so.6`KWin::InputRedirection::deviceAdded(this=0x00001dfeae646540, _t1=0x00001dfeaf825a00) at moc_input.cpp:334:5
    frame #14: 0x0000000829c2b410 libkwin.so.6`KWin::InputRedirection::addInputDevice(this=0x00001dfeae646540, device=0x00001dfeaf825a00) at input.cpp:3072:12
    frame #15: 0x0000000829c632ed libkwin.so.6`QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<KWin::InputDevice*>, void, void (KWin::InputRedirection::*)(KWin::InputDevice*)>::call(f=(libkwin.so.6`KWin::InputRedirection::addInputDevice(KWin::InputDevice*) at input.cpp:3006), o=0x00001dfeae646540, arg=0x0000000820b555b0) at qobjectdefs_impl.h:145:13
    frame #16: 0x0000000829c6322d libkwin.so.6`void QtPrivate::FunctionPointer<void (KWin::InputRedirection::*)(KWin::InputDevice*)>::call<QtPrivate::List<KWin::InputDevice*>, void>(f=(libkwin.so.6`KWin::InputRedirection::addInputDevice(KWin::InputDevice*) at input.cpp:3006), o=0x00001dfeae646540, arg=0x0000000820b555b0) at qobjectdefs_impl.h:182:13
    frame #17: 0x0000000829c63155 libkwin.so.6`QtPrivate::QCallableObject<void (KWin::InputRedirection::*)(KWin::InputDevice*), QtPrivate::List<KWin::InputDevice*>, void>::impl(which=1, this_=0x00001dfeae6e74c0, r=0x00001dfeae646540, a=0x0000000820b555b0, ret=0x0000000000000000) at qobjectdefs_impl.h:553:21
    frame #18: 0x000000083d759c1e libQt6Core.so.6`QtPrivate::QSlotObjectBase::call(this=0x00001dfeae6e74c0, r=0x00001dfeae646540, a=0x0000000820b555b0) at qobjectdefs_impl.h:469:51
    frame #19: 0x000000083d800407 libQt6Core.so.6`void doActivate<false>(sender=0x00001dfeaf808150, signal_index=3, argv=0x0000000820b555b0) at qobject.cpp:4086:26
    frame #20: 0x000000083d7f64d9 libQt6Core.so.6`QMetaObject::activate(sender=0x00001dfeaf808150, m=0x000000082a409508, local_signal_index=0, argv=0x0000000820b555b0) at qobject.cpp:4146:9
    frame #21: 0x0000000829a7bca4 libkwin.so.6`KWin::InputBackend::deviceAdded(this=0x00001dfeaf808150, _t1=0x00001dfeaf825a00) at moc_inputbackend.cpp:157:5
    frame #22: 0x000000082a17df1d libkwin.so.6`QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<KWin::LibInput::Device*>, void, void (KWin::InputBackend::*)(KWin::InputDevice*)>::call(f=(libkwin.so.6`KWin::InputBackend::deviceAdded(KWin::InputDevice*) at moc_inputbackend.cpp:155), o=0x00001dfeaf808150, arg=0x0000000820b559b0) at qobjectdefs_impl.h:145:13
    frame #23: 0x000000082a17de5d libkwin.so.6`void QtPrivate::FunctionPointer<void (KWin::InputBackend::*)(KWin::InputDevice*)>::call<QtPrivate::List<KWin::LibInput::Device*>, void>(f=(libkwin.so.6`KWin::InputBackend::deviceAdded(KWin::InputDevice*) at moc_inputbackend.cpp:155), o=0x00001dfeaf808150, arg=0x0000000820b559b0) at qobjectdefs_impl.h:182:13
    frame #24: 0x000000082a17dd85 libkwin.so.6`QtPrivate::QCallableObject<void (KWin::InputBackend::*)(KWin::InputDevice*), QtPrivate::List<KWin::LibInput::Device*>, void>::impl(which=1, this_=0x00001dfeae6e7500, r=0x00001dfeaf808150, a=0x0000000820b559b0, ret=0x0000000000000000) at qobjectdefs_impl.h:553:21
    frame #25: 0x000000083d759c1e libQt6Core.so.6`QtPrivate::QSlotObjectBase::call(this=0x00001dfeae6e7500, r=0x00001dfeaf808150, a=0x0000000820b559b0) at qobjectdefs_impl.h:469:51
    frame #26: 0x000000083d800407 libQt6Core.so.6`void doActivate<false>(sender=0x00001dfeae7491c0, signal_index=3, argv=0x0000000820b559b0) at qobject.cpp:4086:26
    frame #27: 0x000000083d7f64d9 libQt6Core.so.6`QMetaObject::activate(sender=0x00001dfeae7491c0, m=0x000000082a426f48, local_signal_index=0, argv=0x0000000820b559b0) at qobject.cpp:4146:9
    frame #28: 0x000000082a144174 libkwin.so.6`KWin::LibInput::Connection::deviceAdded(this=0x00001dfeae7491c0, _t1=0x00001dfeaf825a00) at moc_connection.cpp:183:5
    frame #29: 0x000000082a141687 libkwin.so.6`KWin::LibInput::Connection::processEvents(this=0x00001dfeae7491c0) at connection.cpp:286:20
    frame #30: 0x000000082a17da1c libkwin.so.6`KWin::LibinputBackend::LibinputBackend(KWin::Session*, QObject*)::$_0::operator()(this=0x00001dfeae6e7550) const at libinputbackend.cpp:25:23
    frame #31: 0x000000082a17d9c7 libkwin.so.6`QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KWin::LibinputBackend::LibinputBackend(KWin::Session*, QObject*)::$_0>::call(f=0x00001dfeae6e7550, arg=0x00001dfeafe140c8) at qobjectdefs_impl.h:137:13
    frame #32: 0x000000082a17d981 libkwin.so.6`void QtPrivate::FunctorCallable<KWin::LibinputBackend::LibinputBackend(KWin::Session*, QObject*)::$_0>::call<QtPrivate::List<>, void>(f=0x00001dfeae6e7550, (null)=0x00001dfeaf808150, arg=0x00001dfeafe140c8) at qobjectdefs_impl.h:345:13
    frame #33: 0x000000082a17d91e libkwin.so.6`QtPrivate::QCallableObject<KWin::LibinputBackend::LibinputBackend(KWin::Session*, QObject*)::$_0, QtPrivate::List<>, void>::impl(which=1, this_=0x00001dfeae6e7540, r=0x00001dfeaf808150, a=0x00001dfeafe140c8, ret=0x0000000000000000) at qobjectdefs_impl.h:555:21
    frame #34: 0x000000083d759c1e libQt6Core.so.6`QtPrivate::QSlotObjectBase::call(this=0x00001dfeae6e7540, r=0x00001dfeaf808150, a=0x00001dfeafe140c8) at qobjectdefs_impl.h:469:51
    frame #35: 0x000000083d7eb40f libQt6Core.so.6`QMetaCallEvent::placeMetaCall(this=0x00001dfeafe14080, object=0x00001dfeaf808150) at qobject.cpp:654:21
    frame #36: 0x000000083d7ed2ba libQt6Core.so.6`QObject::event(this=0x00001dfeaf808150, e=0x00001dfeafe14080) at qobject.cpp:1452:18
    frame #37: 0x000000083828b75a libQt6Widgets.so.6`QApplicationPrivate::notify_helper(this=0x00001dfeae67dc00, receiver=0x00001dfeaf808150, e=0x00001dfeafe14080) at qapplication.cpp:3287:26
    frame #38: 0x000000083828f86b libQt6Widgets.so.6`QApplication::notify(this=0x0000000820b58c28, receiver=0x00001dfeaf808150, e=0x00001dfeafe14080) at qapplication.cpp:3238:18
    frame #39: 0x000000083d7436a3 libQt6Core.so.6`QCoreApplication::notifyInternal2(receiver=0x00001dfeaf808150, event=0x00001dfeafe14080) at qcoreapplication.cpp:1142:18
    frame #40: 0x000000083d7444f3 libQt6Core.so.6`QCoreApplication::sendEvent(receiver=0x00001dfeaf808150, event=0x00001dfeafe14080) at qcoreapplication.cpp:1583:12
    frame #41: 0x000000083d745622 libQt6Core.so.6`QCoreApplicationPrivate::sendPostedEvents(receiver=0x0000000000000000, event_type=0, data=0x00001dfeae64d000) at qcoreapplication.cpp:1940:9
    frame #42: 0x000000083daab0ef libQt6Core.so.6`QEventDispatcherUNIX::processEvents(this=0x00001dfeae6782b0, flags=(i = 164)) at qeventdispatcher_unix.cpp:415:5
    frame #43: 0x000000083b1e0ebf libQt6Gui.so.6`QUnixEventDispatcherQPA::processEvents(this=0x00001dfeae6782b0, flags=(i = 164)) at qunixeventdispatcher.cpp:27:54
    frame #44: 0x000000083d75de14 libQt6Core.so.6`QEventLoop::processEvents(this=0x0000000820b57468, flags=(i = 164)) at qeventloop.cpp:100:55
    frame #45: 0x000000083d75e068 libQt6Core.so.6`QEventLoop::exec(this=0x0000000820b57468, flags=(i = 128)) at qeventloop.cpp:182:9
    frame #46: 0x000000083d744195 libQt6Core.so.6`QCoreApplication::exec() at qcoreapplication.cpp:1486:32
    frame #47: 0x000000083a9aeaf6 libQt6Gui.so.6`QGuiApplication::exec() at qguiapplication.cpp:1926:12
    frame #48: 0x000000083828c949 libQt6Widgets.so.6`QApplication::exec() at qapplication.cpp:2555:12
    frame #49: 0x00000000003b0980 kwin_wayland`main(argc=12, argv=0x0000000820b58ea0) at main_wayland.cpp:639:12
    frame #50: 0x000000084011ca6a libc.so.7`__libc_start1(argc=12, argv=0x0000000820b58ea0, env=0x0000000820b58f08, cleanup=<unavailable>, mainX=(kwin_wayland`main at main_wayland.cpp:271)) at libc_start1.c:157:7
    frame #51: 0x000000000031f8c0 kwin_wayland`_start at crt1_s.S:83
 
Found LinuxKPI: update linuxkpi_video to Linux 6.6 MFC'ed to stable/14.

As this is a new feature (not a security fix nor a regression fix), it would not be merged (MFS: Merge From Stable) into 14.0-Release and 14.1-Release.
If you want to give it a try, you need to wait until 14.2 is out or switch to stable/14. But DRM part (ports) is not yet landed (maybe still WIP now).

So no need to hurry. Wait at least until graphics/drm-66-kmod lands and corresponding graphics/nvidia-drm-66-kmod is done by ashafer.
 
I should say that what's you are trying is just for YOU, as it contains (if I understand correctly) VM contexts. Limiting things to bare-metal environment only, I'd be able to say for US.

Usually, passing non-virtualized things to VM guests is non-trivial. It is hardware-dependent. So what worked for you does not mean it works for others using different hardware. You're already experiencing the same thing. No?

As you may know, VM is Virtual (Virtualized) Machine. The basics are that everything is emulated for guests by host. Passing through something breaks this assumption and make things tricky. Basically it requires proper HARDWARE support like resource partitioning on mainframes to do it simple.

Actually I'm working with the VM and bare-metal (I'm keeping the same FreeBSD version in both the OS) and I don't see differences in their behavior.
 
Anyway,I don't think anymore that upgrading the nvidia driver is the key to fix the bug that I had. It is gone when I have used this parameter :

Code:
export XWAYLAND_NO_GLAMOR=1

unfortunately I found another bug (in pipewire : read my last posts : there is also a fix),so I have removed the bugged package but the system is broken because in the while the KDE developers removed a lot of Plasma 6 packages.
 
Anyway,I don't think anymore that upgrading the nvidia driver is the key to fix the bug that I had. It is gone when I have used this parameter :
Agreed, reading your other posts.


unfortunately I found another bug (in pipewire : read my last posts : there is also a fix),so I have removed the bugged package but the system is broken because in the while the KDE developers removed a lot of Plasma 6 packages.
These are what I can do nothing for now, unfortunately.
I've already beaten by pipewire when I first tried it, maybe relatively early phase it landed on ports tree. Could not coexist sanely with pulseaudio, which I need for some apps (which doesn't support well for OSS vchans directly). Looked interferring each other. Not sure already somehow fixed or not.

And for KDE, it's just because I consider KDE6 not ready to try.
 
Can I remove the pipewire package only , without "touching" its dependencies ?
Forgot to comment for this.

It is possible. you can specify -f option to force removal.
Don't forget to do a dry-run with option -n added before actual removal to see what pkg(8) intends to do.

See pkg help delete for details.

Actually, I usually use pkg_deinstall(1) from ports-mgmt/portupgrade-devel with -f option, but this is not maintained on ports tree for a long time (multiple bug reports and patches are on bugzilla) except for quite limited things (related with transitions of Ruby default).
So I cannot recommend who are not yet using it. But if I understand/recall correctly, it called pkg(8) internally. So it would be possible.
 
Back
Top