You are not logged in.
When I'm trying to use SDDM I see nothing but black screen (I see sddm and Xorg running).
It used to work some time ago, but one day it stopped.
I'm using nvidia-340xx drivers:
[travnick@travnick-lap ~]$ yaourt -Qs nvidia
community/cuda 7.0.28-2
NVIDIA's GPU programming toolkit
multilib/lib32-libvdpau 1.1-1
Nvidia VDPAU library
multilib/lib32-nvidia-340xx-libgl 340.76-1
NVIDIA drivers libraries symlinks (32-bit)
multilib/lib32-nvidia-340xx-utils 340.76-1
NVIDIA drivers utilities (32-bit)
extra/libcl 1.1-4
OpenCL library and ICD loader from NVIDIA
extra/libvdpau 1.1-1
Nvidia VDPAU library
extra/nvidia-340xx 340.76-9
NVIDIA drivers for linux, 340xx legacy branch
extra/nvidia-340xx-libgl 340.76-2
NVIDIA drivers libraries symlinks
extra/nvidia-340xx-utils 340.76-2
NVIDIA drivers utilities
extra/opencl-nvidia-340xx 340.76-2
OpenCL implemention for NVIDIA
journalctl says:
[travnick@travnick-lap ~]$ sudo journalctl -b |grep sddm
[sudo] hasło użytkownika travnick:
maj 22 16:29:14 travnick-lap sddm[1090]: Signal received: SIGUSR1
maj 22 16:29:15 travnick-lap sddm-helper[1126]: pam_unix(sddm-greeter:session): session opened for user sddm by (uid=0)
maj 22 16:29:15 travnick-lap systemd-logind[1084]: New session c1 of user sddm.
maj 22 16:29:15 travnick-lap systemd[1]: Started Session c1 of user sddm.
maj 22 16:29:15 travnick-lap systemd[1]: Starting Session c1 of user sddm.
maj 22 16:29:15 travnick-lap systemd[1128]: pam_unix(systemd-user:session): session opened for user sddm by (uid=0)
maj 22 16:29:15 travnick-lap systemd[1128]: systemd 219 running in user mode for user 999/sddm. (+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD +IDN)
maj 22 16:29:15 travnick-lap systemd[1128]: /var/lib/sddm/.config/systemd/user
maj 22 16:29:15 travnick-lap systemd[1128]: /var/lib/sddm/.local/share/systemd/user
maj 22 16:29:20 travnick-lap sddm-greeter[1132]: Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0)
maj 22 16:29:21 travnick-lap systemd-coredump[1140]: Process 1132 (sddm-greeter) of user 999 dumped core.
maj 22 16:30:33 travnick-lap polkitd[1102]: Operator of unix-process:4785:11656 FAILED to authenticate to gain authorization for action org.freedesktop.systemd1.manage-units for system-bus-name::1.10 [systemctl restart sddm] (owned by unix-user:travnick)
maj 22 16:30:45 travnick-lap sudo[4792]: travnick : TTY=tty2 ; PWD=/home/travnick ; USER=root ; COMMAND=/usr/bin/systemctl restart sddm
maj 22 16:30:45 travnick-lap sddm[1090]: Signal received: SIGTERM
maj 22 16:30:47 travnick-lap sddm[4800]: Signal received: SIGUSR1
maj 22 16:30:47 travnick-lap sddm-helper[4807]: pam_unix(sddm-greeter:session): session opened for user sddm by (uid=0)
maj 22 16:30:47 travnick-lap systemd[1]: Started Session c3 of user sddm.
maj 22 16:30:47 travnick-lap systemd-logind[1084]: New session c3 of user sddm.
maj 22 16:30:47 travnick-lap systemd[1]: Starting Session c3 of user sddm.
maj 22 16:30:48 travnick-lap sddm-greeter[4809]: Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0)
maj 22 16:30:48 travnick-lap systemd-coredump[4817]: Process 4809 (sddm-greeter) of user 999 dumped core.
maj 22 16:31:07 travnick-lap sudo[4819]: travnick : TTY=tty2 ; PWD=/home/travnick ; USER=root ; COMMAND=/usr/bin/systemctl stop sddm
maj 22 16:31:07 travnick-lap sddm[4800]: Signal received: SIGTERM
maj 22 16:31:21 travnick-lap sudo[4832]: travnick : TTY=tty2 ; PWD=/home/travnick ; USER=root ; COMMAND=/usr/bin/systemctl disable sddm
Last edited by travnick (2015-06-02 23:25:58)
Offline
Problem solved workaround:
After installing mesa-libgl (conflicts with nvidia-340xx-libgl) thes sddm starts (gdm as well)
=== edit:
but there is performance degradation (e.g. in Blender)
Last edited by travnick (2015-06-02 23:27:31)
Offline
Sounds like a configuration issue. Was nouveau blacklisted? nvidia loaded in the initramfs?
Offline
How to check it?
As far as I remember I only installed nvidia drivers and it worked.
Offline
So yes, it's a configuration problem.
https://wiki.archlinux.org/index.php/NV … new_driver
Last edited by Scimmia (2015-06-01 04:20:26)
Offline
Don't think so because kdm used to work at the same time as sddm and gdm doesn't
Offline
The problem is that with mesa-libgl I'm using mesa implementation of libgl, not nvidia one - there is performance degradation ...
I've tried to add rcutree.rcu_idle_gp_delay=1 but it didn't helped.
The Xorg loads, nvidia module is loaded but sddm fails to start.
So the thing is that nvidia-340xx-libgl does not work with sddm and gdm but lxdm does. I wonder why?
I have not nouveau drivers installed:
[~]$ yaourt -Qs nouveau
multilib/lib32-mesa 10.5.6-1
an open-source implementation of the OpenGL specification (32-bit)
extra/mesa 10.5.6-1
an open-source implementation of the OpenGL specification
Offline
Bump, any solution for that?
Or is it maybe working for someone with the same configuration?
Offline
It's working for me, I'm on 340xx nvidia drivers and using sddm+plasma. I even have nouveau installed in parallel (blacklisted).
I don't know if it makes any difference, but I'm using the -ck variant of the kernel and the nvidia driver. libgl part is still the same though:
$ pacman -Qs nvidia
local/lib32-libcl 1.1-1
OpenCL library and ICD loader from NVIDIA (32-bit)
local/lib32-nvidia-340xx-libgl 340.76-1
NVIDIA drivers libraries symlinks (32-bit)
local/lib32-nvidia-340xx-utils 340.76-1
NVIDIA drivers utilities (32-bit)
local/libcl 1.1-4
OpenCL library and ICD loader from NVIDIA
local/libvdpau 1.1-1
Nvidia VDPAU library
local/nvidia-340xx-ck-k10 340.76-11 (ck-k10)
NVIDIA drivers for linux-ck, 340xx legacy branch.
local/nvidia-340xx-libgl 340.76-2
NVIDIA drivers libraries symlinks
local/nvidia-340xx-utils 340.76-2
NVIDIA drivers utilities
local/opencl-nvidia-340xx 340.76-2
OpenCL implemention for NVIDIA
local/xf86-video-nouveau 1.0.11-3 (xorg-drivers xorg)
Open Source 2D acceleration driver for nVidia cards
[ Arch x86_64 | linux | Framework 13 | AMD Ryzen™ 5 7640U | 32GB RAM | KDE Plasma Wayland ]
Offline
I also switched to linux-ck in the mean time but nothing changed.
I wonder if there is any differences since you are using custom builds of packages (repo: local)
Offline
The local repo is what I have installed, yaourt seems to do a "pacman -Ss" and only list stuff you have installed.
As Scimmia said, it looks like a local configuration issue. Try removing sddm and its configuration (-Rsn) and re-install it.
[ Arch x86_64 | linux | Framework 13 | AMD Ryzen™ 5 7640U | 32GB RAM | KDE Plasma Wayland ]
Offline
I've done that before and didn't help.
P.S.
Mine "yaourt -Qs" shows origin of package instead of "local".
Last edited by travnick (2015-06-09 21:53:21)
Offline
That's because you are using yaourt -Qs and not pacman -Qs like I do.
Does running glxgears work? It's in mesa-demos.
[ Arch x86_64 | linux | Framework 13 | AMD Ryzen™ 5 7640U | 32GB RAM | KDE Plasma Wayland ]
Offline
// oh I see, missed it.
glxgears, blender and other opengl stuff works. Plasma 2/Gnome also works but I need to use lxdm, SDDM and GDM are not working.
Offline
Not sure if you've fixed this but I had the same symptoms here on a Gentoo box today and after a bit of digging around noticed that systemctl output was showing a unit named session-c1.scope was in a status of loaded/active/abandoned and a description of "Session c1 of user sddm".
Suspected that sddm-greeter was running as sddm user and didn't have permission to access the video card so added the sddm user to the video group and rebooted. sddm-greeter now working as expected.
Might be worth a try?
Offline
I just realized that user I use is not in the video group. So if it works that way I won't be able to run any opengl app.
In the other hand, there is group vglusers and it match group of /dev/nvidia0 so I'll try that one.
Offline