Package Details: libgdm-prime 42.0+r11+g4a52f026-1

Git Clone URL: https://aur.archlinux.org/gdm-prime.git (read-only, click to copy)
Package Base: gdm-prime
Description: Display manager and login screen - patched with Prime support for Optimus laptops
Upstream URL: https://wiki.gnome.org/Projects/GDM
Licenses: GPL
Conflicts: libgdm
Provides: libgdm, libgdm.so
Submitter: Askannz
Maintainer: Askannz
Last Packager: Askannz
Votes: 21
Popularity: 2.28
First Submitted: 2019-04-28 00:19 (UTC)
Last Updated: 2022-05-01 05:23 (UTC)

Latest Comments

obsidione commented on 2022-05-09 19:12 (UTC)

I was encountering the slow shell login that some have mentioned, but found that switching from bash to zsh fixed the problem entirely!

Strawpants commented on 2022-04-26 19:35 (UTC)

The patch below of PKGBUILD works for me with gnome 42.0:

--- PKGBUILD    2022-03-31 10:25:21.000000000 +0200
+++ PKGBUILD    2022-04-26 20:59:26.294628434 +0200
@@ -3,7 +3,7 @@

 pkgbase=gdm-prime
 pkgname=(gdm-prime libgdm-prime)
-pkgver=41.3
+pkgver=42.0
 pkgrel=1
 pkgdesc="Display manager and login screen"
 url="https://wiki.gnome.org/Projects/GDM"
@@ -13,7 +13,7 @@
          libxdmcp systemd libcanberra)
 makedepends=(yelp-tools gobject-introspection git docbook-xsl meson)
 checkdepends=(check)
-_commit=cb49bac2fe1160094eae360f985e54073be3c49a  # tags/41.3^0
+_commit=55f5724789f9f8e85af310c69d8f7096b8e730e8  # tags/42.0^0
 source=("git+https://gitlab.gnome.org/GNOME/gdm.git#commit=$_commit"
         0001-Xsession-Don-t-start-ssh-agent-by-default.patch
         0002-nvidia-prime.patch)

Scotty_Trees commented on 2022-03-31 16:29 (UTC)

No issues to report with the latest update, everything is still working great, thank you.

gnze796 commented on 2022-03-31 13:51 (UTC)

This update for some reason makes the booting process slower and it takes a few seconds for GDM to load. Here is the pastebin for my kernel journal https://pastebin.com/sYcNKn9T

I fixed the issue by reverting to the previous version 41.0+r15+g23ebe617

gandharrane commented on 2022-01-16 11:48 (UTC)

I am not able to install this package. request failed: Get "https://aur.archlinux.org/rpc.php?arg%5B%5D=gdm-prime&type=info&v=5": net/http: TLS handshake timeout

I am able to download all other packages from pacman and aur except for this package

elva commented on 2022-01-12 16:44 (UTC)

@fmiguel, I was having the same problem.

Since yesterday I was trying to install, so I could get optimus running on top of gnome and had the same problem.

I started looking into it and since the error is in meson's build() process and the package is the same that was working on 28 of November, I was able to solve this right now and properly install the current package with a change of version in 'meson' package.

I don't know if I'm allowed to put links here, but in the archlinux archive (packages -> m -> meson), download another 'meson' version dated before 28th of November (when @Scotty_Trees said he got it working) - I installed '0.60.3-1-any' (with sudo pacman -U meson_downloaded_file inside file directory) and the build process for gdm will work just fine.

https://archive.archlinux.org/packages/m/meson/

Just be aware of the moment gdm-prime will talk about conflicts and don't forget to remove gdm and libgdm in the confirmations that happen during the installation process.

Hope it helps you until the package is updated to new meson version.

fmiguel commented on 2022-01-11 20:12 (UTC)

I'm getting the following build error:

gdm/libgdm/meson.build:11:0: ERROR: gnome.gdbus_codegen keyword argument "annotations" must be made up of 3 strings for ELEMENT, KEY, and VALUE

A full log can be found at /home/fabio/.cache/paru/clone/gdm-prime/src/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'gdm-prime-41.0+r15+g23ebe617-1': 
error: packages failed to build: gdm-prime-41.0+r15+g23ebe617-1

Scotty_Trees commented on 2021-11-28 06:11 (UTC)

@Askannz, just wanted to say thanks for the update, it's working just fine for me thank you.

Askannz commented on 2021-11-26 23:11 (UTC)

Updated, thanks everyone for your patience.

alesc commented on 2021-11-20 12:07 (UTC)

While waiting for the maintainer to update, it is possible to build v41 :

+pkgver=41.0
 pkgrel=1
 pkgdesc="Display manager and login screen"
 url="https://wiki.gnome.org/Projects/GDM"
@@ -14,7 +14,7 @@ depends=(gnome-shell gnome-session upower xorg-xrdb xorg-server xorg-xhost
          libxdmcp systemd)
 makedepends=(yelp-tools gobject-introspection git docbook-xsl meson)
 checkdepends=(check)
-_commit=3246bf1af8589899621649df523e6840e4858cda  # tags/40.0^0
+_commit=536491641156ba88beab2c881278b09e52df6813  # tags/41.0^0
 source=("git+https://gitlab.gnome.org/GNOME/gdm.git#commit=$_commit"
         0001-pam-arch-Update-to-match-pambase-20200721.1-2.patch
         0002-Xsession-Don-t-start-ssh-agent-by-default.patch
@@ -35,7 +35,7 @@ prepare() {
   cd gdm

   # https://bugs.archlinux.org/task/67485
-  git apply -3 ../0001-pam-arch-Update-to-match-pambase-20200721.1-2.patch
+  #git apply -3 ../0001-pam-arch-Update-to-match-pambase-20200721.1-2.patch

   # Don't start ssh-agent by default
   git apply -3 ../0002-Xsession-Don-t-start-ssh-agent-by-default.patch

I've dropped pam-arch support as the patch does not work with v41 (I think it only usefull if you have a fingerprint reader).

Scotty_Trees commented on 2021-11-18 17:26 (UTC)

I took a chance and updated to Gnome 41 with gdm-prime and libgdm-prime not being updated yet to properly support Gnome 41 and I am happy to report it still works on my end, haven't seen any issues on my Acer Aspire E5-576.

PolGZ commented on 2021-11-18 17:21 (UTC)

On asus-flow-x13 auto-attempts to login with the fingerprint, resulting in continuous errors. If one don't type his password real fast, will get banned from login for 10 minutes.

That behaviour was not present with default gdm package.

Arch Linux kernel 5.14

Strawpants commented on 2021-11-18 09:46 (UTC)

Just for info: I just updated to Gnome 41, and the 40.0-1 package (+libgdm-prime) still seems to work with it.

Scotty_Trees commented on 2021-09-23 15:23 (UTC)

Will this be updated to support Gnome 41 which was just released on Sept 22?

Nizam commented on 2021-08-21 03:12 (UTC)

any gentoo support please?

tisch commented on 2021-07-14 07:40 (UTC) (edited on 2021-07-14 07:43 (UTC) by tisch)

I get the following error when trying to update:

ERROR: Could not detect Ninja v1.8.2 or newer

However the following version is installed via pacman. ninja-1.10.2-1

---> Solved by installing ninja via pip.

Xiphity commented on 2021-06-30 14:48 (UTC) (edited on 2021-06-30 15:25 (UTC) by Xiphity)

~~Just tried to install this with an up-to-date ArchLinux system and I get~~

~~It seems package 'fixesproto' is out-of-date?~~

[Edited]:I've solved this problem with replacing xorgproto-git(2021.3.0) in AUR to Extra/xorgproto(2021.4-1)

:: Checking for conflicts...
:: Checking for inner conflicts...
 -> 
Package conflicts found:
 -> Installing gdm-prime will remove: gdm
 -> Conflicting packages will have to be confirmed manually
[Aur:1]  gdm-prime-40.0-1

  1 gdm-prime                        (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: PKGBUILD up to date, Skipping (1/1): gdm-prime
  1 gdm-prime                        (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: (1/1) Parsing SRCINFO: gdm-prime

==> Making package: gdm-prime 40.0-1 (Wed Jun 30 22:46:22 2021)
==> Retrieving sources...
  -> Updating gdm git repo...
Fetching origin
  -> Found 0001-pam-arch-Update-to-match-pambase-20200721.1-2.patch
  -> Found 0002-Xsession-Don-t-start-ssh-agent-by-default.patch
  -> Found 0003-nvidia-prime.patch
  -> Found default.pa
==> Validating source files with sha256sums...
    gdm ... Skipped
    0001-pam-arch-Update-to-match-pambase-20200721.1-2.patch ... Passed
    0002-Xsession-Don-t-start-ssh-agent-by-default.patch ... Passed
    0003-nvidia-prime.patch ... Passed
    default.pa ... Passed
==> Making package: gdm-prime 40.0-1 (Wed Jun 30 22:46:24 2021)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating gdm git repo...
Fetching origin
  -> Found 0001-pam-arch-Update-to-match-pambase-20200721.1-2.patch
  -> Found 0002-Xsession-Don-t-start-ssh-agent-by-default.patch
  -> Found 0003-nvidia-prime.patch
  -> Found default.pa
==> Validating source files with sha256sums...
    gdm ... Skipped
    0001-pam-arch-Update-to-match-pambase-20200721.1-2.patch ... Passed
    0002-Xsession-Don-t-start-ssh-agent-by-default.patch ... Passed
    0003-nvidia-prime.patch ... Passed
    default.pa ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of gdm git repo...
Cloning into 'gdm'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
Applied patch to 'data/meson.build' cleanly.
Applied patch to 'data/pam-arch/gdm-autologin.pam' cleanly.
Applied patch to 'data/pam-arch/gdm-fingerprint.pam' cleanly.
Applied patch to 'data/pam-arch/gdm-launch-environment.pam' cleanly.
Applied patch to 'data/pam-arch/gdm-password.pam' cleanly.
Falling back to direct application...
Applied patch to 'data/pam-arch/gdm-smartcard.pam' cleanly.
Applied patch to 'data/Xsession.in' cleanly.
Applied patch to 'common/gdm-common.c' cleanly.
Applied patch to 'daemon/gdm-session.c' cleanly.
Applied patch to 'daemon/gdm-x-session.c' cleanly.
error: data/Prime.in: does not exist in index
error: cannot read the current contents of 'data/Prime.in'
Falling back to direct application...
error: data/PrimeOff.in: does not exist in index
error: cannot read the current contents of 'data/PrimeOff.in'
Falling back to direct application...
Applied patch to 'data/meson.build' cleanly.
==> Starting pkgver()...
==> Sources are ready.
==> Making package: gdm-prime 40.0-1 (Wed Jun 30 22:46:28 2021)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true gdm build -D dbus-sys=/usr/share/dbus-1/system.d -D default-pam-config=arch -D default-path=/usr/local/bin:/usr/local/sbin:/usr/bin -D gdm-xsession=true -D ipv6=true -D plymouth=disabled -D run-dir=/run/gdm -D selinux=disabled
The Meson build system
Version: 0.58.1
Source dir: /home/xiphity/.cache/yay/gdm-prime/src/gdm
Build dir: /home/xiphity/.cache/yay/gdm-prime/src/build
Build type: native build
Project name: gdm
Project version: 40.0
C compiler for the host machine: cc (gcc 11.1.0 "cc (GCC) 11.1.0")
C linker for the host machine: cc ld.bfd 2.36.1
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Run-time dependency udev found: YES 248
Run-time dependency glib-2.0 found: YES 2.68.3
Run-time dependency gobject-2.0 found: YES 2.68.3
Run-time dependency gio-2.0 found: YES 2.68.3
Run-time dependency gio-unix-2.0 found: YES 2.68.3
Found CMake: /usr/bin/cmake (3.20.5)
Run-time dependency gtk+-3.0 found: NO (tried cmake)

gdm/meson.build:48:0: ERROR: Could not generate cargs for gtk+-3.0:
Package dependency requirement 'fixesproto >= 6.0' could not be satisfied.
Package 'fixesproto' has version '5.0', required version is '>= 6.0'
Package dependency requirement 'fixesproto >= 6.0' could not be satisfied.
Package 'fixesproto' has version '5.0', required version is '>= 6.0'
Package dependency requirement 'fixesproto >= 6.0' could not be satisfied.
Package 'fixesproto' has version '5.0', required version is '>= 6.0'
Package dependency requirement 'fixesproto >= 6.0' could not be satisfied.
Package 'fixesproto' has version '5.0', required version is '>= 6.0'
Package dependency requirement 'fixesproto >= 6.0' could not be satisfied.
Package 'fixesproto' has version '5.0', required version is '>= 6.0'


A full log can be found at /home/xiphity/.cache/yay/gdm-prime/src/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
    Aborting...
error making: gdm-prime

Askannz commented on 2021-06-26 07:43 (UTC)

Hey all, sorry for the delay. The package has been updated to 40.0.

pallas22 commented on 2021-04-22 20:13 (UTC)

Replace section in PKGBUILD below maintainer and contributor comments and above pkgver() to build gdm-prime 40.0.

pkgbase=gdm-prime
pkgname=(gdm-prime libgdm-prime)
pkgver=40.0.0
pkgrel=1
url="https://wiki.gnome.org/Projects/GDM"
arch=(x86_64)
license=(GPL)
depends=(gnome-shell gnome-session upower xorg-xrdb xorg-server xorg-xhost
         libxdmcp systemd)
makedepends=(yelp-tools gobject-introspection git docbook-xsl meson)
checkdepends=(check)
_commit=3246bf1af8589899621649df523e6840e4858cda  # tags/40.0
source=("git+https://gitlab.gnome.org/GNOME/gdm.git#commit=$_commit"
        0001-Xsession-Don-t-start-ssh-agent-by-default.patch
        0002-pam-arch-Update-to-match-pambase-20200721.1-2.patch
        0003-nvidia-prime.patch
        default.pa)
sha256sums=('SKIP'
            'b9ead66d2b6207335f0bd982a835647536998e7c7c6b5248838e5d53132ca21a'
            'd5cd6a401db2aa19374d477817420a39759044393bd420414fdc41881fd93597'
            'a1fb80c69454492390e4b7edac0efe55b2178c7031051d3eab99ed8c14d3e0e4'
            'e88410bcec9e2c7a22a319be0b771d1f8d536863a7fc618b6352a09d61327dcb')

nariox commented on 2021-04-01 13:08 (UTC)

Created a update for GDM 40: https://www.dropbox.com/s/ar2wqnf6dsdfgc2/gdm-prime-40.0-1.src.tar?dl=0 Hope it helps someone.

blegat commented on 2021-01-17 20:26 (UTC) (edited on 2021-01-17 20:26 (UTC) by blegat)

Just tried to install this with an up-to-date ArchLinux system and I get:

FAILED: daemon/gdm-local-display-glue.h 
/home/blegat/.julia/v0.6/Conda/deps/usr/bin/gdbus-codegen --c-generate-autocleanup all --interface-prefix org.gnome.DisplayManager --c-namespace GdmDBus --header --output daemon/gdm-local-display-glue.h ../gdm/daemon/gdm-local-display.xml
Usage: gdbus-codegen [options]

miicat_47 commented on 2020-11-27 17:14 (UTC)

After upgrading to latest version (3.38.2-1), the optimus-manager --switch command gives error to install gdm-prime

Latest working: gdm-prime 3.36.3-1 libgdm-prime 3.36.3-1

I'm running latest Manjaro, with all other packages being the latest. I'm using video-hybrid-intel-nvidia-450xx-prime

kiendolorfo commented on 2020-11-17 01:54 (UTC)

please update this package.

Norgra commented on 2020-11-01 18:09 (UTC)

I can't get this to compile with makepkg. Prepare fails with the error "line 32: patch: command not found". If I use --noprepare then the build fails with the error "line 47: cd: build: No such file or directory".

amelia commented on 2020-10-24 22:02 (UTC)

whats the reason for compiling without plymouth support?

Cervox commented on 2020-10-15 06:15 (UTC)

This has been out of date for a long time, does anyone know when this will be updated?

Askannz commented on 2020-09-13 08:51 (UTC)

Thanks for notifying. I've rebased the package against the official version.

kagetora13 commented on 2020-09-08 21:29 (UTC)

This package needs to be updated because of the PAM changes in the Gnome GDM 3.36.3-6.

Presently this package is incompatible to support Nvidia Optimus setups

https://forum.manjaro.org/t/cant-login-after-update/16231/3

Example of the issue found:

https://forum.manjaro.org/t/errors-after-stable-2020-08-28-update-in-gdm-service-which-seem-related-to-pam-changes/21424/7

superboringdev commented on 2020-09-05 22:00 (UTC)

Please update this package – you can safely change the commit to 24a4c0afe337a7a381397c87a39e3a666c0ae6cc (I tested it)

Emmaseven commented on 2020-06-24 17:18 (UTC)

How i can disable env in manjaro linux?

Error: Could not parse document: I/O warning : failed to load external entity "legal.xml" /home/andrey/Завантаження/pamac-build/gdm-prime/src/build/../gdm/docs//C/index.docbook:84: parser error : Failure to process entity legal &lega;; ^ /home/andrey/Завантаження/pamac-build/gdm-prime/src/build/../gdm/docs//C/index.docbook:84: parser error : Entity 'legal' not defined &lega;; ^

Yeboster commented on 2020-06-20 11:22 (UTC)

@soraxas Yes the issue was exactly that one. I was using conda and when I deactivated the env, everything worked well. Thanks !

soraxas commented on 2020-06-20 02:06 (UTC)

@Yeboster would it be because you had pyenv installed and you were using the virtual python environment in your system? I had similar error with the No module named 'giscanner._giscanner' message, but was able to get it working by temporarily removing the pyenv from my $PATH before attempting to install the package.

ncointe commented on 2020-04-04 15:31 (UTC)

Hi! I'm trying to install this patch, but got :

Error: Could not parse document:
 I/O  warning :  failed to load external entity "legal.xml"
 /home/nicolas/Téléchargements/gdm-prime/src/build/../gdm/docs//C/index.docbook:84:  parser  error :  Failure to process entity legal
     &legal;
            ^
 /home/nicolas/Téléchargements/gdm-prime/src/build/../gdm/docs//C/index.docbook:84:  parser  error :  Entity 'legal' not defined
     &legal;
            ^

Any idea? I have gdm 3.34.1-2 installed Thanks in advance

nkprince007 commented on 2020-04-01 03:25 (UTC)

Package is outdated compared to gdm

Yeboster commented on 2020-03-21 11:27 (UTC)

Hello, I'm trying to install this patched version of gdm, but it keeps failing due the reason: GISCAN Gdm-1.0.gir Traceback (most recent call last): File "/usr/bin/g-ir-scanner", line 99, in <module> from giscanner.scannermain import scanner_main File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 35, in <module> from giscanner.ast import Include, Namespace File "/usr/lib/gobject-introspection/giscanner/ast.py", line 29, in <module> from .sourcescanner import CTYPE_TYPEDEF, CSYMBOL_TYPE_TYPEDEF File "/usr/lib/gobject-introspection/giscanner/sourcescanner.py", line 33, in <module> from giscanner._giscanner import SourceScanner as CSourceScanner ModuleNotFoundError: No module named 'giscanner._giscanner' make[3]: *** [/usr/share/gobject-introspection-1.0/Makefile.introspection:156: Gdm-1.0.gir] Error 1

I've tried to find and install the giscanner python module with no luck.

Result of lsb-release -a: LSB Version: n/a Distributor ID: ManjaroLinux Description: Manjaro Linux Release: 19.0.2 Codename: Kyria

Thanks for the help, have a nice day

zaxmyth commented on 2020-02-16 02:03 (UTC)

@askannz yeah, i'm sure i screwed something up. i managed to get it working.

Askannz commented on 2020-02-15 23:51 (UTC)

@heubd what do you mean ? Those deps are already in the PKGBUILD.

@zaxmyth You must have broken packages. Those files belong to the standard gdm package which should automatically conflict with gdm-prime and be removed by pacman.

heubd commented on 2020-02-08 20:22 (UTC)

Missing dependencies: xorg-xrdb xorg-xhost I don't use gdm or gdm-prime

zaxmyth commented on 2020-01-15 04:58 (UTC) (edited on 2020-01-15 04:58 (UTC) by zaxmyth)

Failing to install with the following:

error: failed to commit transaction (conflicting files)

gdm-prime: /lib exists in filesystem (owned by filesystem)

gdm-prime: /lib/systemd/system/gdm.service exists in filesystem

gdm-prime: /lib/udev/rules.d/61-gdm.rules exists in filesystem

oguzkagan commented on 2019-11-29 09:56 (UTC) (edited on 2019-11-29 09:59 (UTC) by oguzkagan)

needs to add patch packages to the make dependencies.

cigarplug commented on 2019-11-24 03:27 (UTC) (edited on 2019-11-24 03:29 (UTC) by cigarplug)

Hi I am unable to install this package:

parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
==> ERROR: A failure occurred in prepare().
Aborting...
:: failed to verify integrity or prepare gdm-prime package