You are not logged in.

#1 2015-10-18 22:03:41

stueja
Member
Registered: 2015-10-18
Posts: 47

[solved] Gnome not starting automatically (Skylake, nVidia GTX 980M)

Hi,

Edit:
Solution: remove gdm, install sddm, or lightdm.

pacman -R gdm
pacman -S sddm
systemctl enable sddm

/Edit

on my system (Skylake laptop with nVidia GTX 980M), gnome does not start after reboot with systemctl enable gdm.
The only message I can see in the console then are pictured here:
https://imgur.com/woMKv7Y

If I switch to console 2, login and systemctl start gdm, gnome shows up.

If I disable gdm, reboot, and start gdm in console 1, the screen blanks out. Only in console 2 I can systemctl start gdm, and gnome will show up. However, after I entered username, Enter, password, Enter, the screen stays gray. I have to switch consoles to make the desktop show.

How can I make gnome start automatically with the nvidia driver?

Intel microcode update is in grub as per

menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-be50560c-1b72-4040-8a24-3676a533164b' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt 
	insmod fat
	set root='hd4,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd4,gpt1 --hint-efi=hd4,gpt1 --hint-baremetal=ahci4,gpt1  9249-C799
	else
	  search --no-floppy --fs-uuid --set=root 9249-C799
	fi
	echo	'Loading Linux linux ...'
	linux	/vmlinuz-linux root=UUID=be50560c-1b72-4040-8a24-3676a533164b rw  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/intel-ucode.img /initramfs-linux.img
}

mkinitcpio.conf modules and hooks

MODULES=""
HOOKS="base udev autodetect modconf block filesystems keyboard fsck"

nvidia drivers are installed

pacman -Rdds --noconfirm nouveau-dri xf86-video-nouveau mesa-libgl 
pacman -S --noconfirm nvidia lib32-nvidia-libgl nvidia-libgl nvidia-utils xorg-server-devel

nvidia drivers are running

sudo lshw -c video
[sudo] password for sj: 
  *-display               
       description: VGA compatible controller
       product: NVIDIA Corporation
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:126 memory:db000000-dbffffff memory:b0000000-bfffffff memory:c0000000-c1ffffff ioport:e000(size=128) memory:dc000000-dc07ffff

lsmod | grep nvidia

nvidia               8622080  85
drm                   286720  8 i915,drm_kms_helper,nvidia

lspci -nnk | grep -i vga -A3 | grep 'in use'

Kernel driver in use: nvidia

glxinfo | grep renderer

OpenGL renderer string: GeForce GTX 980M/PCIe/SSE2

Edit:
Oh, and glibc is compiled without the --enable-lock-elision

Last edited by stueja (2015-10-19 08:02:07)

Offline

#2 2015-10-19 01:34:08

bkuma75
Member
Registered: 2015-10-13
Posts: 6

Re: [solved] Gnome not starting automatically (Skylake, nVidia GTX 980M)

I had the same issue, you have two options either downgrade gnome to 3.16 or disable gdm and install lightdm. The lightdm option would be the easiest.

Offline

#3 2015-10-19 03:24:18

Amanda S
Member
Registered: 2013-09-21
Posts: 276
Website

Re: [solved] Gnome not starting automatically (Skylake, nVidia GTX 980M)

Sddm is great too. Slim as well. There are so many options!


If it ain't broke, you haven't tweaked it enough...

Offline

#4 2015-10-19 07:02:14

stueja
Member
Registered: 2015-10-18
Posts: 47

Re: [solved] Gnome not starting automatically (Skylake, nVidia GTX 980M)

bkuma75, Amarildo,
thank you very much. This points me into a direction which I have not tried so far. I'll try that and report back.

Offline

#5 2015-10-19 07:27:14

stueja
Member
Registered: 2015-10-18
Posts: 47

Re: [solved] Gnome not starting automatically (Skylake, nVidia GTX 980M)

Amarildo,
I tried SDDM first.

pacman -R gdm
pacman -S sddm

(I had to reinstall nvidia drivers, because I reverted back to nouveau for a test

pacman -Rdds nouveau-dri mesa-libgl
pacman -S nvidia nvidia-libgl
reboot

)
I forgot to systemctl enable sddm before boot, so I ran systemctl start sddm and... it came up in a second! I could login
a) without, in nouveau/gdm: an extremely slow mouse on "username" screen and double first character in "password" screen
b) without, in nvidia/gdm: switching between consoles to have the desktop show up

The desktop looks a little different now (a bottom bar is there now, the top bar looks different), but I will play around with that. Hey, it's only a month with Arch now, so enough to play around with. wink

Thank you very much, bkuma75 and Amarildo, for your help!

Offline

#6 2015-10-19 09:13:22

Amanda S
Member
Registered: 2013-09-21
Posts: 276
Website

Re: [solved] Gnome not starting automatically (Skylake, nVidia GTX 980M)

Glad it worked! And welcome to Arch.

Could you show us what bottom bar is that? I remember using sddm with MATE and XFCE and it didn't interfere with them.


If it ain't broke, you haven't tweaked it enough...

Offline

#7 2015-10-19 18:28:55

stueja
Member
Registered: 2015-10-18
Posts: 47

Re: [solved] Gnome not starting automatically (Skylake, nVidia GTX 980M)

Thank you very much, I feel welcome wink
It's just like here (https://mkslack.github.io/pkgBuildBot/c … g-nc10.png), the status bar or task bar at the bottom, however without the "Show Desktop" icon on the far left.
Gnome with GDM did not show that, lightdm also not.

Offline

#8 2015-10-19 20:38:09

Sekre
Member
From: The Rainy North
Registered: 2006-11-24
Posts: 116

Re: [solved] Gnome not starting automatically (Skylake, nVidia GTX 980M)

stueja wrote:

Thank you very much, I feel welcome wink
It's just like here (https://mkslack.github.io/pkgBuildBot/c … g-nc10.png), the status bar or task bar at the bottom, however without the "Show Desktop" icon on the far left.
Gnome with GDM did not show that, lightdm also not.

Could you perhaps be seeing this? https://wiki.gnome.org/Projects/GnomeFlashback
If so, then you are probably just starting the wrong session.  Don't remember exactly how SDDM looks like by default, but you should have the  option there somewhere to change session.

Offline

#9 2015-10-20 06:54:12

stueja
Member
Registered: 2015-10-18
Posts: 47

Re: [solved] Gnome not starting automatically (Skylake, nVidia GTX 980M)

Sekre wrote:

Could you perhaps be seeing this? https://wiki.gnome.org/Projects/GnomeFlashback
If so, then you are probably just starting the wrong session.  Don't remember exactly how SDDM looks like by default, but you should have the  option there somewhere to change session.

Oh, yes, this looks very similar. I need to do a reinstall this afternoon/evening (or tomorrow, depending on today's womens' acceptance factor roll) and will check for the flashback or session settings.

Last edited by stueja (2015-10-20 06:55:11)

Offline

#10 2015-10-20 20:57:53

stueja
Member
Registered: 2015-10-18
Posts: 47

Re: [solved] Gnome not starting automatically (Skylake, nVidia GTX 980M)

So, SDDM is starting again.
I have, unfortunately, no possibility to change session types. The dropdown reads "Gnome Classic" and is not really a dropdown, because it does not drop down on a single entry, I think.

Edit:
I am seeing my desktop as in this screenshot, taken directly from my desktop.
https://imgur.com/9AePmmQ

Edit 2:
Reinstalled gnome and -- voilà -- Gnome Classic, Gnome, Failsafe and Gnome on Wayland in the dropdown.
Thank you very much for the hint! yikes)

Last edited by stueja (2015-10-20 21:04:32)

Offline

Board footer

Powered by FluxBB