No graphics on bootup

Hello,
Running Leap 42.1 (x86-64) and having a problem with the graphics in startup. Grub works as normal, have the
boot menu. The problem comes in on boot, all graphics are blank (black screen) including the splash
animation and the login screen.
If I do a init 3 and init 5 or <ctrl>backspace, backspace the normal login screen appears.
Comparing the Xorg.log files between on boot and when I restart the X-server there is no difference.
Also X is running on boot and when restarted.
This happens no matter what driver is used both the built-in and the nvidia drivers.
The problem appeared when the large update was pushed out after the RC1 was released,
before this the graphics were working.
I haven’t modified the grup config but it seems like something is not starting the graphics
correctly.
I’m at a loss as to what is wrong.

The video board is a
07:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GTX 650] (rev a1)

Thanks in advance

The official release is out now (today). Better you try that because all problems will now be checked against the release and not against the betas, RCs or what they are called.

How did you update/upgrade from Leap 42.1 RC1 to the released version?

I did a zypper dup but may need the correct repos. Anywhere to get a list of the released versions? I have


zypper lr -d
#  | Alias                     | Name                   | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                              | Service
---+---------------------------+------------------------+---------+-----------+---------+----------+--------+----------------------------------------------------------------------------------+--------
 1 | Nvidia                    | Nvidia                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.nvidia.com/opensuse/leap/42.1/                                   |    
 2 | download.opensuse.org-oss | Main Update Repository | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/oss                                |    
 3 | openSUSE-42.1-0           | openSUSE-42.1-0        | No      | ----      | No      |   99     | yast2  | hd:///?device=/dev/disk/by-id/usb-Corsair_Flash_Voyager_fcc35d475d52e7-0:0-part2 |    
 4 | opensuse-guide.org-repo   | Libdvdcss Repository   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_42.1/                               |    
 5 | packman.inode.at-suse     | Packman Repository     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_42.1/                                 |    
 6 | repo-debug                | openSUSE-Leap-Debug    | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.1/repo/oss/              |    
 7 | repo-non-oss              | openSUSE-Leap-Non-Oss  | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/                |    
 8 | repo-oss                  | openSUSE-Leap-Oss      | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/oss/                    |    
 9 | repo-source               | openSUSE-Leap-Source   | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/source/distribution/leap/42.1/repo/oss/             |    
10 | repo-update               | openSUSE-Leap-Update   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/42.1/                                        | 

According to an email from Coolo on the Factory ML.
<----------------------------------------------------------
The repository is already up - as we usually do, so if you installed
RC1, just zypper dup --no-allow-vendor-change
<--------------------------------------------
When upgrading from RC1 to Final use:**
zypper dup --no-allow-vendor-change**

I went ahead and did a reinstall with the released ISO. The problem went away until the last update. Looking at the
journal output I see this error on boot and no graphical login screen. SSH remote works fine so the system is booted.


Nov 05 08:55:00 moey ntpd[1932]: switching logging to file /var/log/ntp
Nov 05 08:55:00 moey systemd[1951]: pam_unix(systemd-user:session): session opened for user sddm by (uid=0)
Nov 05 08:55:00 moey sddm-greeter[1971]: QXcbConnection: Could not connect to display :0
Nov 05 08:55:00 moey sddm-helper[1713]: [PAM] Ended.
Nov 05 08:55:00 moey sddm[1435]: Auth: sddm-helper exited with 6
Nov 05 08:55:00 moey sddm[1435]: Greeter stopped.
Nov 05 08:55:00 moey postfix/postfix-script[2041]: starting the Postfix mail system

After a init 3; init 5


Nov 05 09:03:15 moey sddm[2418]: Running: /usr/bin/X -nolisten tcp -auth /run/sddm/{ea8fdc4c-9723-45d3-94b9-0d6ce4e294aa
Nov 05 09:03:15 moey kernel: snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD data byte 6
Nov 05 09:03:15 moey display-manager[2331]: Starting service sddm..done
Nov 05 09:03:16 moey sddm[2418]: Display server started.
Nov 05 09:03:16 moey sddm[2418]: Socket server starting...
Nov 05 09:03:16 moey sddm[2418]: Socket server started.
Nov 05 09:03:16 moey sddm[2418]: Greeter starting...
Nov 05 09:03:16 moey sddm[2418]: Adding cookie to "/run/sddm/{ea8fdc4c-9723-45d3-94b9-0d6ce4e294aa}"
Nov 05 09:03:16 moey sddm-helper[2440]: [PAM] Starting...
Nov 05 09:03:16 moey sddm-helper[2440]: [PAM] Authenticating...
Nov 05 09:03:16 moey sddm-helper[2440]: [PAM] returning.
Nov 05 09:03:16 moey sddm-helper[2440]: pam_unix(sddm-greeter:session): session opened for user sddm by (uid=0)
Nov 05 09:03:16 moey systemd[2442]: pam_unix(systemd-user:session): session opened for user sddm by (uid=0)
Nov 05 09:03:16 moey sddm[2418]: Greeter session started successfully
Nov 05 09:03:16 moey sddm-greeter[2445]: Reading from "/usr/share/xsessions/gnome.desktop"
Nov 05 09:03:16 moey sddm-greeter[2445]: Reading from "/usr/share/xsessions/icewm.desktop"
Nov 05 09:03:16 moey sddm-greeter[2445]: Reading from "/usr/share/xsessions/kde-plasma.desktop"

Do you get a login screen if you use xdm?
Modify the DISPLAYMANAGER= line in /etc/sysconfig/displaymanager to say:

DISPLAYMANAGER="xdm"

How exactly did you install the nvidia driver?
There might be remnants left that break things, OpenGL support in particular.

Although if you did a fresh install, that shouldn’t be the case.

Do you still have the nvidia repo active, and/or the nvidia driver installed? That might be the problem.
Maybe post the /var/log/Xorg.0.log if possible.

Setting the display manager to xdm does work. I used the repo method to install the nvidia driver.
I’m unable to post the whole Xorg.log file but he bottom of the file is below.

I also see references to nouveau but shouldn’t it have been blacklisted by the Nvidia install?


     5.698] (II) NVIDIA dlloader X Driver  352.55  Thu Oct  8 14:27:48 PDT 2015
     5.698] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
     5.698] (II) NOUVEAU driver
     5.698] (II) NOUVEAU driver for NVIDIA chipset families :
     5.698]    RIVA TNT        (NV04)
     5.698]    RIVA TNT2       (NV05)
     5.698]    GeForce 256     (NV10)
     5.698]    GeForce 2       (NV11, NV15)
     5.698]    GeForce 4MX     (NV17, NV18)
     5.698]    GeForce 3       (NV20)
     5.699]    GeForce 4Ti     (NV25, NV28)
     5.699]    GeForce FX      (NV3x)
     5.699]    GeForce 6       (NV4x)
     5.699]    GeForce 7       (G7x)
     5.699]    GeForce 8       (G8x)
     5.699]    GeForce GTX 200 (NVA0)
     5.699]    GeForce GTX 400 (NVC0)
     5.699] (II) NOUVEAU driver
     5.699] (II) NOUVEAU driver for NVIDIA chipset families :
     5.699]    RIVA TNT        (NV04)
     5.699]    RIVA TNT2       (NV05)
     5.699]    GeForce 256     (NV10)
     5.699]    GeForce 2       (NV11, NV15)
     5.699]    GeForce 4MX     (NV17, NV18)
     5.699]    GeForce 3       (NV20)
     5.699]    GeForce 4Ti     (NV25, NV28)
     5.699]    GeForce FX      (NV3x)
     5.699]    GeForce 6       (NV4x)
     5.699]    GeForce 7       (G7x)
     5.700]    GeForce 8       (G8x)
     5.700]    GeForce GTX 200 (NVA0)
     5.700]    GeForce GTX 400 (NVC0)
     5.700] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
     5.700] (II) FBDEV: driver for framebuffer: fbdev
     5.700] (II) VESA: driver for VESA chipsets: vesa
     5.700] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
     5.700] (WW) xf86OpenConsole: setsid failed: Operation not permitted



   138.808] (--) NVIDIA(GPU-0): CRT-0: disconnected
   138.808] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
   138.808] (--) NVIDIA(GPU-0):
   138.811] (--) NVIDIA(GPU-0): DFP-0: disconnected
   138.811] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
   138.811] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
   138.811] (--) NVIDIA(GPU-0):
   138.828] (--) NVIDIA(GPU-0): Ancor Communications Inc ASUS VH236H (DFP-1): connected
   138.828] (--) NVIDIA(GPU-0): Ancor Communications Inc ASUS VH236H (DFP-1): Internal TMDS
   138.828] (--) NVIDIA(GPU-0): Ancor Communications Inc ASUS VH236H (DFP-1): 340.0 MHz maximum pixel clock
   138.828] (--) NVIDIA(GPU-0):
   138.828] (--) NVIDIA(GPU-0): DFP-2: disconnected
   138.828] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
   138.828] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
   138.828] (--) NVIDIA(GPU-0):
   138.828] (--) NVIDIA(GPU-0): DFP-3: disconnected
   138.828] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
   138.828] (--) NVIDIA(GPU-0): DFP-3: 330.0 MHz maximum pixel clock
   138.828] (--) NVIDIA(GPU-0):
   139.125] (--) NVIDIA(GPU-0): CRT-0: disconnected
   139.125] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
   139.125] (--) NVIDIA(GPU-0):
   139.128] (--) NVIDIA(GPU-0): DFP-0: disconnected
   139.128] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
   139.128] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
   139.128] (--) NVIDIA(GPU-0):
   139.138] (--) NVIDIA(GPU-0): Ancor Communications Inc ASUS VH236H (DFP-1): connected
   139.138] (--) NVIDIA(GPU-0): Ancor Communications Inc ASUS VH236H (DFP-1): Internal TMDS
   139.138] (--) NVIDIA(GPU-0): Ancor Communications Inc ASUS VH236H (DFP-1): 340.0 MHz maximum pixel clock
   139.138] (--) NVIDIA(GPU-0):
   139.138] (--) NVIDIA(GPU-0): DFP-2: disconnected
   139.138] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
   139.138] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
   139.138] (--) NVIDIA(GPU-0):
   139.138] (--) NVIDIA(GPU-0): DFP-3: disconnected
   139.138] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
   139.138] (--) NVIDIA(GPU-0): DFP-3: 330.0 MHz maximum pixel clock
   139.138] (--) NVIDIA(GPU-0):
   140.263] (--) NVIDIA(GPU-0): CRT-0: disconnected
   140.263] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
   140.263] (--) NVIDIA(GPU-0):
   140.265] (--) NVIDIA(GPU-0): DFP-0: disconnected
   140.265] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
   140.265] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
   140.265] (--) NVIDIA(GPU-0):
   140.276] (--) NVIDIA(GPU-0): Ancor Communications Inc ASUS VH236H (DFP-1): connected
   140.276] (--) NVIDIA(GPU-0): Ancor Communications Inc ASUS VH236H (DFP-1): Internal TMDS
   140.276] (--) NVIDIA(GPU-0): Ancor Communications Inc ASUS VH236H (DFP-1): 340.0 MHz maximum pixel clock
   140.276] (--) NVIDIA(GPU-0):
   140.276] (--) NVIDIA(GPU-0): DFP-2: disconnected
   140.276] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
   140.276] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
   140.276] (--) NVIDIA(GPU-0):
   140.276] (--) NVIDIA(GPU-0): DFP-3: disconnected
   140.276] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
   140.276] (--) NVIDIA(GPU-0): DFP-3: 330.0 MHz maximum pixel clock
   140.276] (--) NVIDIA(GPU-0):

Repos list


#  | Alias                     | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                              | Service
---+---------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+----------------------------------------------------------------------------------+--------
 1 | download.nvidia.com-leap  | nVidia Graphics Drivers                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.nvidia.com/opensuse/leap/42.1                                    |
 2 | openSUSE-42.1-0           | openSUSE-42.1-0                         | No      | ----      | Yes     |   99     | yast2  | hd:///?device=/dev/disk/by-id/usb-Corsair_Flash_Voyager_fcc35d475d52e7-0:0-part2 |
 3 | packman.inode.at-suse     | Packman Repository                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_42.1/                                 |
 4 | repo-debug                | openSUSE-Leap-42.1-Debug                | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.1/repo/oss/              |
 5 | repo-debug-non-oss        | openSUSE-Leap-42.1-Debug-Non-Oss        | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.1/repo/non-oss/          |
 6 | repo-debug-update         | openSUSE-Leap-42.1-Update-Debug         | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.1/oss                          |
 7 | repo-debug-update-non-oss | openSUSE-Leap-42.1-Update-Debug-Non-Oss | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.1/non-oss/                     |
 8 | repo-non-oss              | openSUSE-Leap-42.1-Non-Oss              | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/                |
 9 | repo-oss                  | openSUSE-Leap-42.1-Oss                  | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/oss/                    |
10 | repo-source               | openSUSE-Leap-42.1-Source               | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.1/repo/oss/             |
11 | repo-update               | openSUSE-Leap-42.1-Update               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/oss/                               |
12 | repo-update-non-oss       | openSUSE-Leap-42.1-Update-Non-Oss       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/non-oss/

Sorry, forgot to mention:
You can upload the file to http://susepaste.org or similar and post a link.

But the fragments you posted do show the nvidia driver being loaded and in use.

So logging in to Plasma5 does work?

Can you please post the output of “glxinfo | grep render” too? (shouldn’t be that long)
You have to install Mesa-demo-x first if it isn’t installed already.

I also see references to nouveau but shouldn’t it have been blacklisted by the Nvidia install?

It is blacklisted, otherwise nvidia wouldn’t have been able to be loaded.

It does have something to do with sddm, the other display managers work normally on boot. I’ve seen
other posts on the arch boards that doing a restart of sddm will work however not with my system.

Once the display manager works I can login to plasma5 with no problem.

The Xorg.log.old file is at http://susepaste.org/40343171 and shows no screens found.


direct rendering: Yes
OpenGL renderer string: GeForce GTX 650/PCIe/SSE2
    GL_ARB_compute_variable_group_size, GL_ARB_conditional_render_inverted,
    GL_KTX_buffer_region, GL_NVX_conditional_render, GL_NVX_gpu_memory_info,
    GL_NV_compute_program5, GL_NV_conditional_render,
    GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite,
    GL_ARB_compute_variable_group_size, GL_ARB_conditional_render_inverted,
    GL_KTX_buffer_region, GL_NVX_conditional_render, GL_NVX_gpu_memory_info,
    GL_NV_compute_program5, GL_NV_conditional_render,
    GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite,
    GL_EXT_render_snorm, GL_EXT_robustness, GL_EXT_sRGB,
    GL_NV_conditional_render, GL_NV_copy_buffer, GL_NV_copy_image,
    GL_NV_path_rendering, GL_NV_pixel_buffer_object, GL_NV_polygon_mode,
    GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,

Hm.

Can you post your /etc/sddm.conf too?
If a non-existing autologin session is set, SDDM will just hang with a black screen.
Disabling Autologin altogether (“DISPLAYMANAGER_AUTOLOGIN” in /etc/sysconfig/displaymanager, or YaST->Security and Users->User and Group Management->Expert Options->Login Options) should work too in this case.

Otherwise I’m not aware of a (general) problem with SDDM.

Once the display manager works I can login to plasma5 with no problem.

Good.

The Xorg.log.old file is at http://susepaste.org/40343171 and shows no screens found.

Well, that is indeed a problem.
I noticed that the log contains this:

   225.357] (EE) NVIDIA: GPU:0: EVO Push buffer channel allocation failed
   225.362] (EE) NVIDIA: GPU:0: Failed to allocate EVO core DMA push buffer
   225.362] (EE) NVIDIA(0): Failing initialization of X screen 0

No idea what that means though, why it would only happen with SDDM, or what could cause this/how to fix it.

Otherwise your log and the glxinfo output look ok.

Would maybe creating an xorg.conf (with nvidia-settings e.g.) help?

Otherwise I suppose the easiest way to solve your problem is just switching to a different display manager then.
Hint: KDM is still available as well… :wink:

sddm.conf is generic. Never do the auto login so it’s already disabled :slight_smile:
Ran the nvidia-xconfig but didn’t make a difference.

Easy fix to run a different display manager, like the sddm one but can wait until it’s fixed :slight_smile:


cat sddm.conf
[Theme]
Current=breeze
CursorTheme=breeze_cursors

[XDisplay]
ServerPath=/usr/bin/X
SessionCommand=/etc/X11/xdm/Xsession
DisplayCommand=/etc/X11/xdm/Xsetup
MinimumVT=7

Yes, shouldn’t be the problem then…

Ran the nvidia-xconfig but didn’t make a difference.

Ok.
Some googling for your error message brought me to this thread where a workaround is mentioned:
https://bbs.archlinux.org/viewtopic.php?id=145775
Maybe worth a try, even if it is a bit older and I’m not sure why only SDDM would be affected.

But that would also lead me to think that the problem might be related to SDDM’s recent patches to help with multi-monitor problems that made it into Leap…
https://build.opensuse.org/request/show/340799
If you want to, I can create a package without them, maybe it would work for you?
But then, this would break things for other users again…

Easy fix to run a different display manager, like the sddm one but can wait until it’s fixed :slight_smile:

If you’re fine with using something else, it’s probably the easiest solution, yes.

Although, if there is a bug (or general problem with setups like yours), it would be good to have it fixed of course.

I had a similar problem after a fresh install of Leap 42.1 final release. (And also Tumbleweed snapshot 2015-10-30, both full DVD and KDE Live CD)

For a short moment in the very beginning of the boot process I could see a message related to nouvaeu drm, and something about a gpu lock-up. Then the screen switched to a greenish image for a few seconds, before it blacked out.

The computer is a Dell Latitude D820 laptop with Nvidia G72M graphics (GeForce Go 7400).

This message is only posted as information, as I blasted the installation for another one because I needed a Linux environment up and going there and then.

I found a solution to the X-server not starting on boot up, what was causing the problem is that the host name
during boot is different than the host name once booted.
If I set the host name to be assigned to the loopback address 127.0.0.2 the X-server starts normally. This is
more of a workaround while I dig in and find where the host name is being set on boot.