No SDDM = black screen

The list of upgraded packages was quite long because like I said I did urpmi --auto-update on a fresh installation of OMV 3.01 which was released five months ago. I didn’t install any extra packages myself. Kernel was upgraded to 4.10. I’ve copied the whole list of upgraded packages here:

I was also prompted to accept removal of lib64keffects9, lib64kpmcore3, lib64kwinglutils9 and lib64kwinxrenderutils9 in order to proceed with the update.
In the meantime I’ve reinstalled the system and followed the advice from the wiki to add xorg.blacklist=ati to GRUB options which made the xorg.conf file disappear from /etc/X11/xorg.conf.d. Unfortunately after a reboot following urpmi --auto-update I got a black screen again :frowning:
My output of inxi -G:

     Graphics:  Card: Advanced Micro Devices [AMD/ATI] Baffin [Radeon RX 460]
                Display Server: OpenMandriva X.org 119 drivers: (unloaded: fbdev,vesa) Resolution: 3840x2160@60.00hz
                GLX Renderer: Gallium 0.4 on AMD POLARIS11 (DRM 3.8.0 / 4.9.0-desktop-1omv, LLVM 3.9.0)
                GLX Version: 3.0 Mesa 13.0.2

Ben79,

No, It is no longer true. The last two kernel versions (4.10.10 and 4.10.11) and nvidia 378.13.1 do work fine.

When the write window is open look on top line for the < /> icon.

Sorry wasn’t able to help your problem, at least yet. There was a kernel update:

kernel-release-desktop-4.10.11-1omv

but do know I’m speculating that is possible cause of problem. Could you one time try removing ‘xorg.conf’ and ‘xorg.blacklist=ati’ and rebooting?

Edit: If that doesn’t work it’s time for bug report.

Wow, that is good to know.

You were right about the kernel update being the culprit. I did another clean install, went to the Control Center to update the system, selected all packages except for the kernel-* packages. After the update finished I rebooted the system and could log in fine. So just to be sure I updated the kernel-* packages. After a reboot I got a black screen again. So now I have to select in GRUB to boot with 4.9 kernel which is working just fine.
Should I report a bug?

Yes. And if you would be so kind include the omv-bug-report.log.xz as described here.

I’ve submitted bug 2107.

Great, thanks. If you do get it resolved please also let everyone know here and mark as solved.

Jaro will you please try adding the following options to the grub boot line before booting.
These lines will prevent one or both of the available ATI graphics drivers from loading.

  1. rd.driver.blacklist radeon
  2. rd.driver.blacklist amdgpu
  3. rd.driver.blacklist radeon,amdgpu
    Try each option in turn please.
    Note that there not supposed to be a space between radeon,amdgpu
    Please let me know what happens
    Best,
    Colin

I’ve tried all of them and got a black screen every time. When using amdgpu option I got a black screen also when booting with 4.9.0 kernel.

Hi Jaro,
Ok, that has at least excluded a number of possibilities and has determined that your graphics card uses the amdgpu driver.
The next step is to boot into multi-user mode and try starting the graphics server by hand so we can get some logs. To do this you need to add ‘systemd.unit=multi-user.target’ to the grub boot line. This should boot you up to a non-graphical interface then you can try starting the Xserver. startled should do the trick.
Switching to a virtual terminal should allow you to investigate the logs.
Best,
Colin

1 Like

I’ve added that line to GRUB and then ran startx but the system froze after these lines:

(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory “/usr/share/X11/xorg.conf.d”

Then I couldn’t even switch to another virtual terminal. The same happened on both 4.9 and 4.10 kernels.
Strangely, now when I’m trying to boot normally with kernel 4.9 (editing GRUB at startup to remove systemd.unit=multi-user.target option) I’m also getting a black screen :frowning:

Bizarre! This result is very strange. It implies that a file is being created or a configuration permanently changed at boot.
can you try again and instead of typing startx try startlxqt and see if you can bring up the lxqt interface.
If that starts up then the problem may be in the 3d graphics driver.
you might want to attach the output of lsmod to the bug report.
if lxqt doesn’t work then we need to look at the xorg setup.
colin

Typing startlxqt results in the following:

Openbox-Message: Failed to open the display from the DISPLAY environment variable.
QXcbConnection: Could not connect to display
Aborted (core dump)

The same behaviour on 4.9.0 and 4.10.12.
I’ve attached lsmod output to the bug, you can also see it here: Module Size Used by nls_iso8859_1 16384 1 nls_cp43 - Pastebin.com

Ok Jaro,
I think I know what’s causing this. I suspect you set up with auto login.
Please paste the contents of /etc/sddm.conf as this is the likely cause.
Colin

Hi Colin,
You’re right that I have autologin set up. This is my /etc/sddm.conf: [Autologin] Relogin=false Session=plasma User=jarek [General] HaltCommand - Pastebin.com
Regards,
Jaro

Hi Jaro,
Try removing or commenting out these two lines…
RememberLastSession=true
RememberLastUser=true

This may sort the problem out though it does look as if the initial problem we had with sddm.conf on Lx3 has been sorted out.
Colin

I’ve removed the two lines, rebooted, tried to boot kernel 4.9 normally, got a black screen. So I booted into multi-user mode again, typed startkde and got this error:
$DISPLAY is not set or cannot connect to the X server.
Next I checked the Xorg.log which was empty. Then I typed startx and got the same error as before.

Try if any chance with:

startx /usr/bin/startkde

in virtual console when you get the black screen.

PS>
It’s assumed that you boot normally, can switch to vc and login as your user.
BTW what ISO have you installed (where did you download it? - link?)

When I get the black screen I cannot switch to a virtual console. And I can no longer boot normally as now even on kernel 4.9 which was booting fine before I get the black screen. I downloaded the ISO from ftp://ftp.nluug.nl/pub/os/Linux/distr/openmandriva/release_current/OpenMandriva_Lx_3/OpenMandrivaLx.3.01-PLASMA.x86_64.iso