GNU bug report logs - #35408
External monitor not working with GDM

Previous Next

Package: guix;

Reported by: Ben Sturmfels <ben <at> sturm.com.au>

Date: Wed, 24 Apr 2019 04:37:02 UTC

Severity: normal

Done: Royce Strange <royball <at> disroot.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35408 in the body.
You can then email your comments to 35408 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#35408; Package guix. (Wed, 24 Apr 2019 04:37:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ben Sturmfels <ben <at> sturm.com.au>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 24 Apr 2019 04:37:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ben Sturmfels <ben <at> sturm.com.au>
To: bug-guix <at> gnu.org
Subject: External monitor not working with GDM
Date: Wed, 24 Apr 2019 14:25:14 +1000
[Message part 1 (text/plain, inline)]
Hi Folks,

I was previously using a 24" Samsung external monitor with my X200 Guix
System via VGA. Since the switch to GDM, I no longer seem to be able
connect this monitor. When I do, the laptop screen just keeps flashing.

Any suggestions on how to troubleshoot this?

Regards,
Ben
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#35408; Package guix. (Thu, 25 Apr 2019 09:09:02 GMT) Full text and rfc822 format available.

Message #8 received at 35408 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Ben Sturmfels <ben <at> sturm.com.au>
Cc: 35408 <at> debbugs.gnu.org
Subject: Re: bug#35408: External monitor not working with GDM
Date: Thu, 25 Apr 2019 11:08:31 +0200
Hi Ben,

Ben Sturmfels <ben <at> sturm.com.au> skribis:

> I was previously using a 24" Samsung external monitor with my X200 Guix
> System via VGA. Since the switch to GDM, I no longer seem to be able
> connect this monitor. When I do, the laptop screen just keeps flashing.

So the GDM login screen never shows up, right?

> Any suggestions on how to troubleshoot this?

Could you share /var/lib/gdm/.local/share/xorg/Xorg.0.log?

FWIW I have been using GDM with an external monitor just fine: the GDM
user selection box appears on the laptop screen and the other screen
just displays the background image.

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#35408; Package guix. (Thu, 25 Apr 2019 11:42:01 GMT) Full text and rfc822 format available.

Message #11 received at 35408 <at> debbugs.gnu.org (full text, mbox):

From: Ben Sturmfels <ben <at> sturm.com.au>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 35408 <at> debbugs.gnu.org
Subject: Re: bug#35408: External monitor not working with GDM
Date: Thu, 25 Apr 2019 21:41:27 +1000
Hi Ludovic,

On Thu, 2019-04-25 at 11:08 +0200, Ludovic Courtès wrote:
> 
> Ben Sturmfels <ben <at> sturm.com.au> skribis:
> 
> > I was previously using a 24" Samsung external monitor with my X200
> > Guix
> > System via VGA. Since the switch to GDM, I no longer seem to be
> > able
> > connect this monitor. When I do, the laptop screen just keeps
> > flashing.
> 
> So the GDM login screen never shows up, right?

I'm thoroughly confused now. GDM definitely *was* working with the
laptop screen only, but now when I reconfigure it or choose an old Grub
entry, I can't get to the login screen with either external monitor or
the laptop. In both cases the console loops showing a message something
like:

New session c1 of user gdm.
Removed session c1.
.
.
.
New session c506 of user gdm.
Removed session c506.

I was able to choose an older system from the Grub menu with Slim
though.

> > Any suggestions on how to troubleshoot this?

> Could you share /var/lib/gdm/.local/share/xorg/Xorg.0.log?

I had a look at this file, but was suspicious that it wasn't fresh, so
I tried deleting it and it didn't come back. I found the following in
/var/log/messages:

Apr 25 20:30:54 localhost gdm: GLib: g_variant_new_string: assertion
'string != NULL' failed 
Apr 25 20:30:54 localhost gdm: Child process -15047 was already dead. 
Apr 25 20:30:54 localhost gdm: Child process 15044 was already dead. 
Apr 25 20:30:54 localhost gdm: Unable to kill session worker process 
Apr 25 20:30:54 localhost gdm: gdm_session_set_environment_variable:
assertion 'value != NULL' failed 
Apr 25 20:30:54 localhost gdm: Child process -15054 was already dead. 
Apr 25 20:30:54 localhost gdm: Child process 15051 was already dead. 
Apr 25 20:30:54 localhost gdm: Unable to kill session worker process 
Apr 25 20:30:54 localhost gdm: gdm_session_set_environment_variable:
assertion 'value != NULL' failed 
Apr 25 20:30:54 localhost gdm: Child process -15061 was already dead. 
Apr 25 20:30:54 localhost gdm: Child process -15061 was already dead. 
Apr 25 20:30:54 localhost gdm: gdm_session_set_environment_variable:
assertion 'value != NULL' failed 
Apr 25 20:30:54 localhost gdm: Child process -15068 was already dead. 
Apr 25 20:30:54 localhost gdm: Child process -15068 was already dead. 
Apr 25 20:30:54 localhost gdm: gdm_session_set_environment_variable:
assertion 'value != NULL' failed 
Apr 25 20:30:54 localhost gdm: Child process -15075 was already dead. 
Apr 25 20:30:54 localhost gdm: Child process -15075 was already dead. 
Apr 25 20:30:54 localhost gdm: gdm_session_set_environment_variable:
assertion 'value != NULL' failed 
Apr 25 20:30:54 localhost gdm: GLib: g_variant_new_string: assertion
'string != NULL' failed 
Apr 25 20:30:54 localhost gdm: Child process -15082 was already dead. 
Apr 25 20:30:54 localhost gdm: Child process 15079 was already dead. 
Apr 25 20:30:54 localhost gdm: Unable to kill session worker process 
Apr 25 20:30:55 localhost gdm: gdm_session_set_environment_variable:
assertion 'value != NULL' failed 
Apr 25 20:30:55 localhost gdm: Child process -15089 was already dead. 
Apr 25 20:30:55 localhost gdm: Child process -15089 was already dead. 
Apr 25 20:30:55 localhost gdm: gdm_session_set_environment_variable:
assertion 'value != NULL' failed 
Apr 25 20:30:55 localhost gdm: GLib: g_variant_new_string: assertion
'string != NULL' failed 
Apr 25 20:30:55 localhost gdm: Could not start command
'/gnu/store/072cd7r7zx2fgp1v16bv2si5s435lwkj-gdm-3.26.2.1/libexec/gdm-
session-worker': Too many open files 
Apr 25 20:30:55 localhost gdm: GLib: g_child_watch_add_full: assertion
'pid > 0' failed 
Apr 25 20:30:55 localhost gdm: Child process -15096 was already dead. 
Apr 25 20:30:55 localhost gdm: Child process 15093 was already dead. 
Apr 25 20:30:55 localhost gdm: Unable to kill session worker process 

> FWIW I have been using GDM with an external monitor just fine: the
GDM user selection box appears on the laptop screen and the other
screen just displays the background image.

That's good, sounds like it can't be anything major then. I'll keep
testing.

Regards,
Ben




Information forwarded to bug-guix <at> gnu.org:
bug#35408; Package guix. (Thu, 25 Apr 2019 12:17:02 GMT) Full text and rfc822 format available.

Message #14 received at 35408 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: 35408 <at> debbugs.gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>,
 Ben Sturmfels <ben <at> sturm.com.au>
Subject: Re: bug#35408: External monitor not working with GDM
Date: Thu, 25 Apr 2019 14:16:39 +0200
[Message part 1 (text/plain, inline)]
Hi,

On Thu, 25 Apr 2019 21:41:27 +1000
Ben Sturmfels <ben <at> sturm.com.au> wrote:

> Apr 25 20:30:54 localhost gdm: gdm_session_set_environment_variable:
> assertion 'value != NULL' failed 

Yeah, that one again.  It might make sense to patch that so the assertion
actually prints name and value passed.

You can also set "debug"'s "Enable=true" in gnu/services/xorg.scm , in
gdm-configuration-file , but it will only help in a limited way here.

> Apr 25 20:30:55 localhost gdm: Could not start command
> '/gnu/store/072cd7r7zx2fgp1v16bv2si5s435lwkj-gdm-3.26.2.1/libexec/gdm-
> session-worker': Too many open files 

WTF.  Parts of gdm have full root privileges and for it to contain
simple mistakes like that is worrying.

> Apr 25 20:30:55 localhost gdm: GLib: g_child_watch_add_full: assertion
> 'pid > 0' failed 

gdm should have checked for errors before calling g_child_watch_add_full.

> Apr 25 20:30:55 localhost gdm: Child process -15096 was already dead. 
> Apr 25 20:30:55 localhost gdm: Child process 15093 was already dead. 
> Apr 25 20:30:55 localhost gdm: Unable to kill session worker process 

WTF.  I hope they don't kill the same pid twice and thus risk killing
innocent bystanders that happen to reuse the pid of the dead process.

common/gdm-common.c gdm_signal_pid ... yes, they do.
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#35408; Package guix. (Thu, 25 Apr 2019 12:55:01 GMT) Full text and rfc822 format available.

Message #17 received at 35408 <at> debbugs.gnu.org (full text, mbox):

From: Ben Sturmfels <ben <at> sturm.com.au>
To: Danny Milosavljevic <dannym <at> scratchpost.org>, 35408 <at> debbugs.gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>
Subject: Re: bug#35408: External monitor not working with GDM
Date: Thu, 25 Apr 2019 22:53:56 +1000
[Message part 1 (text/plain, inline)]
On Thu, 2019-04-25 at 14:16 +0200, Danny Milosavljevic wrote:
> On Thu, 25 Apr 2019 21:41:27 +1000
> Ben Sturmfels <ben <at> sturm.com.au> wrote:
> 
> > Apr 25 20:30:54 localhost gdm:
> > gdm_session_set_environment_variable:
> > assertion 'value != NULL' failed 
> 
> Yeah, that one again.  It might make sense to patch that so the
> assertion actually prints name and value passed.
> 
> You can also set "debug"'s "Enable=true" in gnu/services/xorg.scm ,
> in gdm-configuration-file , but it will only help in a limited way
> here.

Thanks Danny, I'll try enabling debugging in a second and see if I can
get some more info.

For what it's worth, I've attached my minimal system config that won't
start GDM on either internal or external monitor. It's very close to
what's in the manual. This is on an X200 with Libreboot running Guix
System 33023baac8ec548fe64ce8e4eb48840b5411ee4c.

Regards,
Ben
[test.scm (text/x-scheme, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#35408; Package guix. (Thu, 25 Apr 2019 16:38:01 GMT) Full text and rfc822 format available.

Message #20 received at 35408 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: Ben Sturmfels <ben <at> sturm.com.au>, 35408 <at> debbugs.gnu.org
Subject: Re: bug#35408: External monitor not working with GDM
Date: Thu, 25 Apr 2019 18:37:10 +0200
Danny Milosavljevic <dannym <at> scratchpost.org> skribis:

>> Apr 25 20:30:55 localhost gdm: Child process -15096 was already dead. 
>> Apr 25 20:30:55 localhost gdm: Child process 15093 was already dead. 
>> Apr 25 20:30:55 localhost gdm: Unable to kill session worker process 
>
> WTF.  I hope they don't kill the same pid twice and thus risk killing
> innocent bystanders that happen to reuse the pid of the dead process.
>
> common/gdm-common.c gdm_signal_pid ... yes, they do.

:-)




Information forwarded to bug-guix <at> gnu.org:
bug#35408; Package guix. (Thu, 25 Apr 2019 22:14:02 GMT) Full text and rfc822 format available.

Message #23 received at 35408 <at> debbugs.gnu.org (full text, mbox):

From: Diego Nicola Barbato <dnbarbato <at> posteo.de>
To: Ben Sturmfels <ben <at> sturm.com.au>
Cc: Ludovic Courtès <ludo <at> gnu.org>, 35408 <at> debbugs.gnu.org
Subject: Re: bug#35408: External monitor not working with GDM
Date: Fri, 26 Apr 2019 00:13:08 +0200
Hi Ben,

Ben Sturmfels <ben <at> sturm.com.au> writes:

> Hi Ludovic,
>
> On Thu, 2019-04-25 at 11:08 +0200, Ludovic Courtès wrote:
>> 
>> Ben Sturmfels <ben <at> sturm.com.au> skribis:
>> 
>> > I was previously using a 24" Samsung external monitor with my X200
>> > Guix
>> > System via VGA. Since the switch to GDM, I no longer seem to be
>> > able
>> > connect this monitor. When I do, the laptop screen just keeps
>> > flashing.
>> 
>> So the GDM login screen never shows up, right?
>
> I'm thoroughly confused now. GDM definitely *was* working with the
> laptop screen only, but now when I reconfigure it or choose an old Grub
> entry, I can't get to the login screen with either external monitor or
> the laptop. In both cases the console loops showing a message something
> like:
>
> New session c1 of user gdm.
> Removed session c1.
> .
> .
> .
> New session c506 of user gdm.
> Removed session c506.

This sounds familiar.  Can you check if /var/lib/gdm is owned by gdm.
If it isn't, chowning it back to gdm:gdm should fix it.

Regards

Diego




Information forwarded to bug-guix <at> gnu.org:
bug#35408; Package guix. (Fri, 26 Apr 2019 01:09:02 GMT) Full text and rfc822 format available.

Message #26 received at 35408 <at> debbugs.gnu.org (full text, mbox):

From: Ben Sturmfels <ben <at> sturm.com.au>
To: Diego Nicola Barbato <dnbarbato <at> posteo.de>
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>,
 Ludovic Courtès <ludo <at> gnu.org>, 35408 <at> debbugs.gnu.org
Subject: Re: bug#35408: External monitor not working with GDM
Date: Fri, 26 Apr 2019 10:42:58 +1000
[Message part 1 (text/plain, inline)]
On Fri, 2019-04-26 at 00:13 +0200, Diego Nicola Barbato wrote:
> Hi Ben,
> 
> Ben Sturmfels <ben <at> sturm.com.au> writes:
> 
> > Hi Ludovic,
> > 
> > On Thu, 2019-04-25 at 11:08 +0200, Ludovic Courtès wrote:
> > > 
> > > Ben Sturmfels <ben <at> sturm.com.au> skribis:
> > > 
> > > > I was previously using a 24" Samsung external monitor with my
> > > > X200 Guix System via VGA. Since the switch to GDM, I no longer
> > > > seem to be able connect this monitor. When I do, the laptop
> > > > screen just keeps flashing.
> > > 
> > > So the GDM login screen never shows up, right?
> > 
> > I'm thoroughly confused now. GDM definitely *was* working with the
> > laptop screen only, but now when I reconfigure it or choose an old
> > Grub entry, I can't get to the login screen with either external
> > monitor or the laptop. In both cases the console loops showing a
> > message
> > something
> > like:
> > 
> > New session c1 of user gdm.
> > Removed session c1.
> > .
> > .
> > .
> > New session c506 of user gdm.
> > Removed session c506.
> 
> This sounds familiar.  Can you check if /var/lib/gdm is owned by gdm.
> If it isn't, chowning it back to gdm:gdm should fix it.

Thanks Diego. After booting up the system and waiting for the GDM to
stop restarting:

$ sudo ls -la /var/lib/gdm/
total 32
drwx------  5  gdm  gdm 4096 Apr 24 20:12 ./
drwxr-xr-x 13 root root 4096 Apr 10 12:13 ../
drwxr-xr-x  5  983  gdm 4096 Apr 14 22:02 .cache/
drwxr-xr-x  5  983  gdm 4096 Apr 14 22:02 .config/
-rw-------  1  983  gdm   16 Apr 14 22:02 .esd_auth
-rw-------  1  983  gdm 5216 Apr 24 20:12 .ICEauthority
drwxr-xr-x  3  983  gdm 4096 Apr 10 14:49 .local/

For good measure I ran the following anyway, but it didn't seem to fix
it:

$ sudo chmod -R gdm:gdm /var/lib/gdm
$ sudo herd restart xorg-server


Ludovic, the Xorg.0.log file does seem to be fresh now and showing an
error so I've attached that.


Danny, I'm struggling with reconfiguring using the
gnu/services/xorg.scm with "debug"'s "Enable=true" - haven't run from
source for a while. Will take another look at that when I get some
clear time this weekend.
[Xorg.0.log (text/x-log, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#35408; Package guix. (Fri, 26 Apr 2019 01:38:02 GMT) Full text and rfc822 format available.

Message #29 received at 35408 <at> debbugs.gnu.org (full text, mbox):

From: Ben Sturmfels <ben <at> sturm.com.au>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: Ludovic Courtès <ludo <at> gnu.org>, 35408 <at> debbugs.gnu.org
Subject: Re: bug#35408: External monitor not working with GDM
Date: Fri, 26 Apr 2019 11:12:32 +1000
[Message part 1 (text/plain, inline)]
Hi Danny,

On Thu, 25 Apr 2019, Danny Milosavljevic wrote:

>> Apr 25 20:30:54 localhost gdm: gdm_session_set_environment_variable:
>> assertion 'value != NULL' failed
>
> Yeah, that one again.  It might make sense to patch that so the assertion
> actually prints name and value passed.
>
> You can also set "debug"'s "Enable=true" in gnu/services/xorg.scm , in
> gdm-configuration-file , but it will only help in a limited way here.

I might need your help with applying the modified xorg.scm - here's what
I tried and the error I got when reconfiguring:

$ cd ws/guix
$ git pull
$ git checkout 33023baac8ec548fe64ce8e4eb48840b5411ee4c

[modify gnu/services/xorg.scm]

$ guix environment guix
$ make clean-go
$ ./bootstrap
$ ./configure --localstatedir=/var
$ make
$ sudo herd stop guix-daemon
$ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild

And in a separate terminal:

$ sudo su
$ ./pre-inst-env guix system reconfigure ~ben/guix-config/test.scm
Backtrace:
In ice-9/threads.scm:
    390:8 19 (_ _)
In ice-9/boot-9.scm:
  2994:20 18 (_)
   2312:4 17 (save-module-excursion _)
  3014:26 16 (_)
In unknown file:
          15 (primitive-load-path "guix/store" #<procedure 23ab9e0 a…>)
In guix/store.scm:
     20:0 14 (_)
In ice-9/boot-9.scm:
   2874:4 13 (define-module* _ #:filename _ #:pure _ #:version _ # _ …)
  2887:24 12 (_)
   222:29 11 (map1 (((guix utils)) ((guix config)) ((guix #)) ((…)) …))
   222:29 10 (map1 (((guix config)) ((guix deprecation)) ((guix …)) …))
   222:29  9 (map1 (((guix deprecation)) ((guix memoization)) ((…)) …))
   222:29  8 (map1 (((guix memoization)) ((guix serialization)) (#) …))
   222:29  7 (map1 (((guix serialization)) ((guix monads)) ((# #)) …))
   222:29  6 (map1 (((guix monads)) ((guix records)) ((guix #)) (#) …))
   222:29  5 (map1 (((guix records)) ((guix base16)) ((guix #)) (#) …))
   222:29  4 (map1 (((guix base16)) ((guix base32)) ((gcrypt #)) # …))
   222:29  3 (map1 (((guix base32)) ((gcrypt hash)) ((guix #)) (#) …))
   222:17  2 (map1 (((gcrypt hash)) ((guix profiling)) ((rnrs #)) # …))
   2803:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ …)
In unknown file:
           0 (scm-error misc-error #f "~A ~S" ("no code for modu…" …) …)

ERROR: In procedure scm-error:
no code for module (gcrypt hash)
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#35408; Package guix. (Fri, 26 Apr 2019 08:13:01 GMT) Full text and rfc822 format available.

Message #32 received at 35408 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Ben Sturmfels <ben <at> sturm.com.au>
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>, 35408 <at> debbugs.gnu.org
Subject: Re: bug#35408: External monitor not working with GDM
Date: Fri, 26 Apr 2019 10:12:09 +0200
Ben Sturmfels <ben <at> sturm.com.au> skribis:

> And in a separate terminal:
>
> $ sudo su
> $ ./pre-inst-env guix system reconfigure ~ben/guix-config/test.scm

You should rather do:

  sudo -E ./pre-inst-env guix …

HTH!

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#35408; Package guix. (Fri, 26 Apr 2019 08:16:01 GMT) Full text and rfc822 format available.

Message #35 received at 35408 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Ben Sturmfels <ben <at> sturm.com.au>
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>, 35408 <at> debbugs.gnu.org,
 Diego Nicola Barbato <dnbarbato <at> posteo.de>
Subject: Re: bug#35408: External monitor not working with GDM
Date: Fri, 26 Apr 2019 10:14:59 +0200
Hi Ben,

Ben Sturmfels <ben <at> sturm.com.au> skribis:

> [   448.627] (II) RADEON: Driver for ATI/AMD Radeon chipsets:

[...]

> [   448.630] (II) [KMS] drm report modesetting isn't supported.
> [   448.630] (EE) open /dev/dri/card0: No such file or directory
> [   448.630] (WW) Falling back to old probe method for modesetting
> [   448.630] (EE) open /dev/dri/card0: No such file or directory
> [   448.630] (II) Loading sub module "fbdevhw"
> [   448.630] (II) LoadModule: "fbdevhw"
> [   448.631] (II) Loading /gnu/store/xxpf6xz7prlwrvvl7sviaxmahsyavx1c-xorg-server-1.20.4/lib/xorg/modules/libfbdevhw.so
> [   448.631] (II) Module fbdevhw: vendor="X.Org Foundation"
> [   448.631] 	compiled for 1.20.4, module version = 0.0.2
> [   448.631] 	ABI class: X.Org Video Driver, version 24.0
> [   448.631] (EE) Unable to find a valid framebuffer device
> [   448.631] (WW) Falling back to old probe method for fbdev
> [   448.631] (II) Loading sub module "fbdevhw"
> [   448.631] (II) LoadModule: "fbdevhw"
> [   448.631] (II) Loading /gnu/store/xxpf6xz7prlwrvvl7sviaxmahsyavx1c-xorg-server-1.20.4/lib/xorg/modules/libfbdevhw.so
> [   448.631] (II) Module fbdevhw: vendor="X.Org Foundation"
> [   448.631] 	compiled for 1.20.4, module version = 0.0.2
> [   448.631] 	ABI class: X.Org Video Driver, version 24.0
> [   448.631] (EE) open /dev/fb0: No such file or directory
> [   448.631] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
> [   448.631] (EE) Screen 0 deleted because of no matching config section.
> [   448.631] (II) UnloadModule: "radeon"
> [   448.631] (EE) Screen 0 deleted because of no matching config section.
> [   448.631] (II) UnloadModule: "modesetting"
> [   448.631] (EE) Screen 0 deleted because of no matching config section.
> [   448.631] (II) UnloadModule: "fbdev"
> [   448.631] (II) UnloadSubModule: "fbdevhw"
> [   448.631] (II) Loading sub module "vbe"
> [   448.631] (II) LoadModule: "vbe"
> [   448.632] (II) Loading /gnu/store/xxpf6xz7prlwrvvl7sviaxmahsyavx1c-xorg-server-1.20.4/lib/xorg/modules/libvbe.so
> [   448.632] (II) Module vbe: vendor="X.Org Foundation"
> [   448.632] 	compiled for 1.20.4, module version = 1.1.0
> [   448.632] 	ABI class: X.Org Video Driver, version 24.0
> [   448.632] (II) Loading sub module "int10"
> [   448.632] (II) LoadModule: "int10"
> [   448.632] (II) Loading /gnu/store/xxpf6xz7prlwrvvl7sviaxmahsyavx1c-xorg-server-1.20.4/lib/xorg/modules/libint10.so
> [   448.632] (II) Module int10: vendor="X.Org Foundation"
> [   448.632] 	compiled for 1.20.4, module version = 1.0.0
> [   448.632] 	ABI class: X.Org Video Driver, version 24.0
> [   448.632] (II) VESA(0): initializing int10
> [   448.633] (EE) VESA(0): Cannot read int vect
> [   448.633] (II) UnloadModule: "vesa"
> [   448.633] (II) UnloadSubModule: "int10"
> [   448.633] (II) Unloading int10
> [   448.633] (II) UnloadSubModule: "vbe"
> [   448.633] (II) Unloading vbe
> [   448.633] (EE) Screen(s) found, but none have a usable configuration.
> [   448.633] (EE) 
> Fatal server error:
> [   448.633] (EE) no screens found(EE) 
> [   448.633] (EE) 
> Please consult the The X.Org Foundation support 
> 	 at http://wiki.x.org
>  for help. 
> [   448.633] (EE) Please also check the log file at "/var/lib/gdm/.local/share/xorg/Xorg.0.log" for additional information.

It looks like you have an AMD Radeon graphics card, is that right?  Did
you pass “modprobe.blacklist=radeon” on the kernel command line, or
something similar?

Apparently some of these AMD graphics cards are not quite supported by
free software, so that might be the issue here.

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#35408; Package guix. (Thu, 02 May 2019 02:02:02 GMT) Full text and rfc822 format available.

Message #38 received at 35408 <at> debbugs.gnu.org (full text, mbox):

From: Ben Sturmfels <ben <at> sturm.com.au>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>, 35408 <at> debbugs.gnu.org,
 Diego Nicola Barbato <dnbarbato <at> posteo.de>
Subject: Re: bug#35408: External monitor not working with GDM
Date: Thu, 02 May 2019 12:00:47 +1000
[Message part 1 (text/plain, inline)]
Hi Ludovic,



Ben Sturmfels

Sturm Software Engineering
www.sturm.com.au
+61 3 9024 2467

On Fri, 26 Apr 2019, Ludovic Courtès wrote:

> Hi Ben,
>
> Ben Sturmfels <ben <at> sturm.com.au> skribis:
>
>> [   448.627] (II) RADEON: Driver for ATI/AMD Radeon chipsets:
>
> [...]
>
>> [   448.630] (II) [KMS] drm report modesetting isn't supported.
>> [   448.630] (EE) open /dev/dri/card0: No such file or directory
>> [   448.630] (WW) Falling back to old probe method for modesetting
>> [   448.630] (EE) open /dev/dri/card0: No such file or directory
>> [   448.630] (II) Loading sub module "fbdevhw"
>> [   448.630] (II) LoadModule: "fbdevhw"
>> [   448.631] (II) Loading /gnu/store/xxpf6xz7prlwrvvl7sviaxmahsyavx1c-xorg-server-1.20.4/lib/xorg/modules/libfbdevhw.so
>> [   448.631] (II) Module fbdevhw: vendor="X.Org Foundation"
>> [   448.631] 	compiled for 1.20.4, module version = 0.0.2
>> [   448.631] 	ABI class: X.Org Video Driver, version 24.0
>> [   448.631] (EE) Unable to find a valid framebuffer device
>> [   448.631] (WW) Falling back to old probe method for fbdev
>> [   448.631] (II) Loading sub module "fbdevhw"
>> [   448.631] (II) LoadModule: "fbdevhw"
>> [   448.631] (II) Loading /gnu/store/xxpf6xz7prlwrvvl7sviaxmahsyavx1c-xorg-server-1.20.4/lib/xorg/modules/libfbdevhw.so
>> [   448.631] (II) Module fbdevhw: vendor="X.Org Foundation"
>> [   448.631] 	compiled for 1.20.4, module version = 0.0.2
>> [   448.631] 	ABI class: X.Org Video Driver, version 24.0
>> [   448.631] (EE) open /dev/fb0: No such file or directory
>> [   448.631] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
>> [   448.631] (EE) Screen 0 deleted because of no matching config section.
>> [   448.631] (II) UnloadModule: "radeon"
>> [   448.631] (EE) Screen 0 deleted because of no matching config section.
>> [   448.631] (II) UnloadModule: "modesetting"
>> [   448.631] (EE) Screen 0 deleted because of no matching config section.
>> [   448.631] (II) UnloadModule: "fbdev"
>> [   448.631] (II) UnloadSubModule: "fbdevhw"
>> [   448.631] (II) Loading sub module "vbe"
>> [   448.631] (II) LoadModule: "vbe"
>> [   448.632] (II) Loading /gnu/store/xxpf6xz7prlwrvvl7sviaxmahsyavx1c-xorg-server-1.20.4/lib/xorg/modules/libvbe.so
>> [   448.632] (II) Module vbe: vendor="X.Org Foundation"
>> [   448.632] 	compiled for 1.20.4, module version = 1.1.0
>> [   448.632] 	ABI class: X.Org Video Driver, version 24.0
>> [   448.632] (II) Loading sub module "int10"
>> [   448.632] (II) LoadModule: "int10"
>> [   448.632] (II) Loading /gnu/store/xxpf6xz7prlwrvvl7sviaxmahsyavx1c-xorg-server-1.20.4/lib/xorg/modules/libint10.so
>> [   448.632] (II) Module int10: vendor="X.Org Foundation"
>> [   448.632] 	compiled for 1.20.4, module version = 1.0.0
>> [   448.632] 	ABI class: X.Org Video Driver, version 24.0
>> [   448.632] (II) VESA(0): initializing int10
>> [   448.633] (EE) VESA(0): Cannot read int vect
>> [   448.633] (II) UnloadModule: "vesa"
>> [   448.633] (II) UnloadSubModule: "int10"
>> [   448.633] (II) Unloading int10
>> [   448.633] (II) UnloadSubModule: "vbe"
>> [   448.633] (II) Unloading vbe
>> [   448.633] (EE) Screen(s) found, but none have a usable configuration.
>> [   448.633] (EE)
>> Fatal server error:
>> [   448.633] (EE) no screens found(EE)
>> [   448.633] (EE)
>> Please consult the The X.Org Foundation support
>> 	 at http://wiki.x.org
>>  for help.
>> [   448.633] (EE) Please also check the log file at "/var/lib/gdm/.local/share/xorg/Xorg.0.log" for additional information.
>
> It looks like you have an AMD Radeon graphics card, is that right?  Did
> you pass “modprobe.blacklist=radeon” on the kernel command line, or
> something similar?
>
> Apparently some of these AMD graphics cards are not quite supported by
> free software, so that might be the issue here.

Whoops, sorry I'm being unintentionally misleading - I shuttle my hard
drive across from my X200 into an F2A85-M motherboard at work, which has
Radeon HD 8470D. It's always just worked with Slim on Guix and Trisquel
7/8.

I'll try the modprobe.blacklist though.

This is a bit of a stab in the dark, but I have been having issues with
PostgreSQL and OpenSMTPD changing swapping UID/GIDs after reconfiguring
or booting back into an old Guix System profile. This has required me to
manually correct the permissions in /var/lib with `chown`. I'm
suspicious that the same might be happening to GDM. I'll do some testing
on this.

Regards,
Ben
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#35408; Package guix. (Thu, 02 May 2019 08:02:02 GMT) Full text and rfc822 format available.

Message #41 received at 35408 <at> debbugs.gnu.org (full text, mbox):

From: Ben Sturmfels <ben <at> sturm.com.au>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>, 35408 <at> debbugs.gnu.org,
 Diego Nicola Barbato <dnbarbato <at> posteo.de>
Subject: Re: bug#35408: External monitor not working with GDM
Date: Thu, 02 May 2019 18:01:27 +1000
[Message part 1 (text/plain, inline)]
> On Fri, 26 Apr 2019, Ludovic Courtès wrote:
>> Ben Sturmfels <ben <at> sturm.com.au> skribis:

>>> [   448.627] (II) RADEON: Driver for ATI/AMD Radeon chipsets:

>> It looks like you have an AMD Radeon graphics card, is that right?  Did
>> you pass “modprobe.blacklist=radeon” on the kernel command line, or
>> something similar?
>>
>> Apparently some of these AMD graphics cards are not quite supported by
>> free software, so that might be the issue here.
>
> Whoops, sorry I'm being unintentionally misleading - I shuttle my hard
> drive across from my X200 into an F2A85-M motherboard at work, which has
> Radeon HD 8470D. It's always just worked with Slim on Guix and Trisquel
> 7/8.
>
> I'll try the modprobe.blacklist though.

I tried the modprobe.blacklist=radeon in the kernel line, but GDM still
did it's looping thing.

> This is a bit of a stab in the dark, but I have been having issues with
> PostgreSQL and OpenSMTPD changing swapping UID/GIDs after reconfiguring
> or booting back into an old Guix System profile. This has required me to
> manually correct the permissions in /var/lib with `chown`. I'm
> suspicious that the same might be happening to GDM. I'll do some testing
> on this.

I also tried removing /var/lib/gdm and reconfiguring, but that didn't
seem to help, so I guess it's not a permissions issue.

Regards,
Ben
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#35408; Package guix. (Thu, 02 May 2019 15:21:02 GMT) Full text and rfc822 format available.

Message #44 received at 35408 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Ben Sturmfels <ben <at> sturm.com.au>
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>, 35408 <at> debbugs.gnu.org,
 Diego Nicola Barbato <dnbarbato <at> posteo.de>
Subject: Re: bug#35408: External monitor not working with GDM
Date: Thu, 02 May 2019 17:20:12 +0200
Ben Sturmfels <ben <at> sturm.com.au> skribis:

>> On Fri, 26 Apr 2019, Ludovic Courtès wrote:
>>> Ben Sturmfels <ben <at> sturm.com.au> skribis:
>
>>>> [   448.627] (II) RADEON: Driver for ATI/AMD Radeon chipsets:
>
>>> It looks like you have an AMD Radeon graphics card, is that right?  Did
>>> you pass “modprobe.blacklist=radeon” on the kernel command line, or
>>> something similar?
>>>
>>> Apparently some of these AMD graphics cards are not quite supported by
>>> free software, so that might be the issue here.
>>
>> Whoops, sorry I'm being unintentionally misleading - I shuttle my hard
>> drive across from my X200 into an F2A85-M motherboard at work, which has
>> Radeon HD 8470D. It's always just worked with Slim on Guix and Trisquel
>> 7/8.
>>
>> I'll try the modprobe.blacklist though.
>
> I tried the modprobe.blacklist=radeon in the kernel line, but GDM still
> did it's looping thing.

What .desktop files to you have under /run/current-system/profile?

There was a bug whereby GDM would enter an infinite loop when no
.desktop files were provided: <https://issues.guix.info/issue/35068>.

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#35408; Package guix. (Wed, 08 May 2019 02:51:01 GMT) Full text and rfc822 format available.

Message #47 received at 35408 <at> debbugs.gnu.org (full text, mbox):

From: Ben Sturmfels <ben <at> sturm.com.au>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>, 35408 <at> debbugs.gnu.org,
 Diego Nicola Barbato <dnbarbato <at> posteo.de>
Subject: Re: bug#35408: External monitor not working with GDM
Date: Wed, 8 May 2019 12:50:11 +1000
[Message part 1 (text/plain, inline)]
On 03/05/19 01:20, Ludovic Courtès wrote:
> Ben Sturmfels <ben <at> sturm.com.au> skribis:
> 
>>> On Fri, 26 Apr 2019, Ludovic Courtès wrote:
>>>> Ben Sturmfels <ben <at> sturm.com.au> skribis:
>>
>>>>> [   448.627] (II) RADEON: Driver for ATI/AMD Radeon chipsets:
>>
>>>> It looks like you have an AMD Radeon graphics card, is that right?  Did
>>>> you pass “modprobe.blacklist=radeon” on the kernel command line, or
>>>> something similar?
>>>>
>>>> Apparently some of these AMD graphics cards are not quite supported by
>>>> free software, so that might be the issue here.
>>>
>>> Whoops, sorry I'm being unintentionally misleading - I shuttle my hard
>>> drive across from my X200 into an F2A85-M motherboard at work, which has
>>> Radeon HD 8470D. It's always just worked with Slim on Guix and Trisquel
>>> 7/8.
>>>
>>> I'll try the modprobe.blacklist though.
>>
>> I tried the modprobe.blacklist=radeon in the kernel line, but GDM still
>> did it's looping thing.
> 
> What .desktop files to you have under /run/current-system/profile?
> 
> There was a bug whereby GDM would enter an infinite loop when no
> .desktop files were provided: <https://issues.guix.info/issue/35068>.

The outcome if this is that I now have GDM working on my X200 + external
monitor, but not on the F2A85-M motherboard + external. For now I'm just
using Slim on the radeon-based system, so I suppose this can be closed.

I think this was two separate issues:

1. I think GDM stopped working on the X200 due to renumbered uid/gids
that caused permission problems on /var/lib/gdm. Not 100% sure - was a
day or two between when I removed /var/lib/gdm and reconfired and when I
tried the external monitor on X200 again.

2. Starting GDM on the F2A85-M gives the following in
/var/log/debug:

May  2 12:19:12 localhost vmunix: [   24.301185] [drm] radeon: 768M of
VRAM memory ready
May  2 12:19:12 localhost vmunix: [   24.301237] [drm] radeon: 1024M of
GTT memory ready.
May  2 12:19:12 localhost vmunix: [   24.301287] [drm] Loading ARUBA
Microcode
May  2 12:19:12 localhost vmunix: [   24.301325] 0000:00:01.0: Missing
Free firmware (non-Free firmware loading is disabled)
May  2 12:19:12 localhost vmunix: [   24.304342] ni_cp: Failed to load
firmware "/*(DEBLOBBED)*/"
May  2 12:19:12 localhost vmunix: [   24.304420] [drm:cayman_init
[radeon]] *ERROR* Failed to load firmware!
May  2 12:19:12 localhost vmunix: [   24.304467] radeon 0000:00:01.0:
Fatal error during GPU init
May  2 12:19:12 localhost vmunix: [   24.304499] [drm] radeon: finishing
device.

And the following in Xorg.0.log:

[   642.963] (II) Module fbdevhw: vendor="X.Org Foundation"
[   642.963] 	compiled for 1.20.4, module version = 0.0.2
[   642.963] 	ABI class: X.Org Video Driver, version 24.0
[   642.963] (EE) open /dev/fb0: No such file or directory
[   642.963] (EE) Screen 0 deleted because of no matching config section.
[   642.963] (II) UnloadModule: "radeon"
[   642.963] (EE) Screen 0 deleted because of no matching config section.
[   642.963] (II) UnloadModule: "modesetting"
[   642.963] (EE) Screen 0 deleted because of no matching config section.
[   642.963] (II) UnloadModule: "fbdev"
[   642.963] (II) UnloadSubModule: "fbdevhw"

Regarding the .desktop issue - I wasn't quite clear on where these files
are supposed to be. I don't seem to have a /run/current-system/profile.
I suppose it doesn't matter now since I've since done a `pull` and
`system reconfigure`.

Thanks!
Ben




[signature.asc (application/pgp-signature, attachment)]

Reply sent to Royce Strange <royball <at> disroot.org>:
You have taken responsibility. (Thu, 11 Jun 2020 04:02:02 GMT) Full text and rfc822 format available.

Notification sent to Ben Sturmfels <ben <at> sturm.com.au>:
bug acknowledged by developer. (Thu, 11 Jun 2020 04:02:02 GMT) Full text and rfc822 format available.

Message #52 received at 35408-done <at> debbugs.gnu.org (full text, mbox):

From: Royce Strange <royball <at> disroot.org>
To: 35408-done <at> debbugs.gnu.org
Subject: External monitor not working with GDM
Date: Wed, 10 Jun 2020 23:01:38 -0500
Hello.

Ben Sturmfels mentioned that this can be closed,
as it seems he settled on a setup that works for him.

Going to go ahead and close out.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 09 Jul 2020 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 263 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.