[kwin] [Bug 470063] Graphics driver issues that make shader effects non-functional in KWin session for SDDM lock screen in native Wayland mode

2023-07-01 Thread Daniel Lipovetsky
https://bugs.kde.org/show_bug.cgi?id=470063

--- Comment #11 from Daniel Lipovetsky  ---
Looks like the theme.conf.user originates in the sddm-breeze package:

> > dnf repoquery --whatprovides 
> > /usr/share/sddm/themes/01-breeze-fedora/theme.conf.user
> Last metadata expiration check: 0:01:42 ago on Sat 01 Jul 2023 02:10:10 PM 
> PDT.
> sddm-breeze-0:5.27.4.1-2.fc38.noarch
> sddm-breeze-0:5.27.6-1.fc38.noarch

I renamed the file to theme.conf.original, then ran sddm-greeter:

> > sddm-greeter --test-mode --theme /usr/share/sddm/themes/01-breeze-fedora/
> Socket error:  "QLocalSocket::connectToServer: Invalid name"
> Loading file:///usr/share/sddm/themes/01-breeze-fedora//Main.qml...
> kf.kirigami: Failed to find a Kirigami platform plugin
> qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
> qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
> Loading file:///usr/share/sddm/themes/01-breeze-fedora//Main.qml...
> QQmlEngine::setContextForObject(): Object already has a QQmlContext
> QQmlEngine::setContextForObject(): Object already has a QQmlContext
> kf.kirigami: Failed to find a Kirigami platform plugin
> qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

Note the errors are gone. This resolved the issue for me.

I don't know any sddm internals, but perhaps some who does will find this
information helpful. Maybe the theme.conf.user file should be removed from the
package? For comparison, the breeze theme does not have this file.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 470063] Graphics driver issues that make shader effects non-functional in KWin session for SDDM lock screen in native Wayland mode

2023-07-01 Thread Daniel Lipovetsky
https://bugs.kde.org/show_bug.cgi?id=470063

--- Comment #10 from Daniel Lipovetsky  ---
The interesting error is

> file:///usr/share/sddm/themes/01-breeze-fedora//Background.qml:21:5: QML 
> Image: Cannot open: file:///usr/share/backgrounds/default.png

My guess is that the error is due to this file:

> > cat /usr/share/sddm/themes/01-breeze-fedora/theme.conf.user
> [General]
> type=image
> background=/usr/share/backgrounds/default.png

No such file exists for the breeze theme.

> > stat /usr/share/sddm/themes/breeze/theme.conf.user
> stat: cannot statx '/usr/share/sddm/themes/breeze/theme.conf.user': No such 
> file or directory

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 470063] Graphics driver issues that make shader effects non-functional in KWin session for SDDM lock screen in native Wayland mode

2023-07-01 Thread Daniel Lipovetsky
https://bugs.kde.org/show_bug.cgi?id=470063

--- Comment #9 from Daniel Lipovetsky  ---
I think the sddm-greeter output, using the 01-breeze-fedora theme, shows some
relevant errors:

> > sddm-greeter --test-mode --theme /usr/share/sddm/themes/01-breeze-fedora/
> Socket error:  "QLocalSocket::connectToServer: Invalid name"
> Loading file:///usr/share/sddm/themes/01-breeze-fedora//Main.qml...
> kf.kirigami: Failed to find a Kirigami platform plugin
> file:///usr/share/sddm/themes/01-breeze-fedora//Background.qml:21:5: QML 
> Image: Cannot open: file:///usr/share/backgrounds/default.png
> qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
> qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
> Loading file:///usr/share/sddm/themes/01-breeze-fedora//Main.qml...
> QQmlEngine::setContextForObject(): Object already has a QQmlContext
> QQmlEngine::setContextForObject(): Object already has a QQmlContext
> kf.kirigami: Failed to find a Kirigami platform plugin
> file:///usr/share/sddm/themes/01-breeze-fedora//Background.qml:21:5: QML 
> Image: Cannot open: file:///usr/share/backgrounds/default.png
> qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

Note these errors don't appear in the output using the breeze theme:

> > sddm-greeter --test-mode --theme /usr/share/sddm/themes/breeze/
> Socket error:  "QLocalSocket::connectToServer: Invalid name"
> Loading file:///usr/share/sddm/themes/breeze//Main.qml...
> kf.kirigami: Failed to find a Kirigami platform plugin
> qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
> qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
> Loading file:///usr/share/sddm/themes/breeze//Main.qml...
> QQmlEngine::setContextForObject(): Object already has a QQmlContext
> QQmlEngine::setContextForObject(): Object already has a QQmlContext
> kf.kirigami: Failed to find a Kirigami platform plugin
> qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 470063] Graphics driver issues that make shader effects non-functional in KWin session for SDDM lock screen in native Wayland mode

2023-07-01 Thread Daniel Lipovetsky
https://bugs.kde.org/show_bug.cgi?id=470063

Daniel Lipovetsky  changed:

   What|Removed |Added

 CC||daniel.lipovet...@gmail.com

--- Comment #8 from Daniel Lipovetsky  ---
I can confirm this issue.

I can also reproduce a white screen by running sddm-greeter, while in a kwin
wayland session, with the 01-breeze-fedora theme:

sddm-greeter --test-mode --theme /usr/share/sddm/themes/01-breeze-fedora/

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 470063] Graphics driver issues that make shader effects non-functional in KWin session for SDDM lock screen in native Wayland mode

2023-05-24 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=470063

Nate Graham  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |REPORTED
   Assignee|plasma-b...@kde.org |kwin-bugs-n...@kde.org
Summary|Blank White Login Screen|Graphics driver issues that
   |since the last Update to|make shader effects
   |5.27.5  |non-functional in KWin
   ||session for SDDM lock
   ||screen in native Wayland
   ||mode
 CC||ngomp...@gmail.com
  Component|general |wayland-generic
Product|kscreenlocker   |kwin

--- Comment #7 from Nate Graham  ---
Ok, then there's an issue with the graphics drivers in the KWin session used to
run SDDM in native Wayland mode. Moving this bug report to KWin.

-- 
You are receiving this mail because:
You are watching all bug changes.