unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#35408: External monitor not working with GDM
@ 2019-04-24  4:25 Ben Sturmfels
  2019-04-25  9:08 ` Ludovic Courtès
  2020-06-11  4:01 ` Royce Strange
  0 siblings, 2 replies; 16+ messages in thread
From: Ben Sturmfels @ 2019-04-24  4:25 UTC (permalink / raw)
  To: 35408

[-- Attachment #1: Type: text/plain, Size: 284 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#35408: External monitor not working with GDM
  2019-04-24  4:25 bug#35408: External monitor not working with GDM Ben Sturmfels
@ 2019-04-25  9:08 ` Ludovic Courtès
  2019-04-25 11:41   ` Ben Sturmfels
  2020-06-11  4:01 ` Royce Strange
  1 sibling, 1 reply; 16+ messages in thread
From: Ludovic Courtès @ 2019-04-25  9:08 UTC (permalink / raw)
  To: Ben Sturmfels; +Cc: 35408

Hi Ben,

Ben Sturmfels <ben@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’.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#35408: External monitor not working with GDM
  2019-04-25  9:08 ` Ludovic Courtès
@ 2019-04-25 11:41   ` Ben Sturmfels
  2019-04-25 12:16     ` Danny Milosavljevic
  2019-04-25 22:13     ` Diego Nicola Barbato
  0 siblings, 2 replies; 16+ messages in thread
From: Ben Sturmfels @ 2019-04-25 11:41 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 35408

Hi Ludovic,

On Thu, 2019-04-25 at 11:08 +0200, Ludovic Courtès wrote:
> 
> Ben Sturmfels <ben@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

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#35408: External monitor not working with GDM
  2019-04-25 11:41   ` Ben Sturmfels
@ 2019-04-25 12:16     ` Danny Milosavljevic
  2019-04-25 12:53       ` Ben Sturmfels
                         ` (2 more replies)
  2019-04-25 22:13     ` Diego Nicola Barbato
  1 sibling, 3 replies; 16+ messages in thread
From: Danny Milosavljevic @ 2019-04-25 12:16 UTC (permalink / raw)
  To: 35408; +Cc: Ben Sturmfels

[-- Attachment #1: Type: text/plain, Size: 1338 bytes --]

Hi,

On Thu, 25 Apr 2019 21:41:27 +1000
Ben Sturmfels <ben@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.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#35408: External monitor not working with GDM
  2019-04-25 12:16     ` Danny Milosavljevic
@ 2019-04-25 12:53       ` Ben Sturmfels
  2019-04-25 16:37       ` Ludovic Courtès
  2019-04-26  1:12       ` Ben Sturmfels
  2 siblings, 0 replies; 16+ messages in thread
From: Ben Sturmfels @ 2019-04-25 12:53 UTC (permalink / raw)
  To: Danny Milosavljevic, 35408

[-- Attachment #1: Type: text/plain, Size: 893 bytes --]

On Thu, 2019-04-25 at 14:16 +0200, Danny Milosavljevic wrote:
> On Thu, 25 Apr 2019 21:41:27 +1000
> Ben Sturmfels <ben@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

[-- Attachment #2: test.scm --]
[-- Type: text/x-scheme, Size: 3297 bytes --]

(use-modules (gnu) (gnu system nss))
(use-service-modules desktop xorg)
(use-package-modules certs gnome)

(operating-system
 (host-name "Mars")
 (timezone "Australia/Melbourne")
 (locale "en_AU.utf8")

 ;; Choose US English keyboard layout.  The "altgr-intl"
 ;; variant provides dead keys for accented characters.
 (keyboard-layout (keyboard-layout "us" "altgr-intl"))

 ;; Assuming /dev/sdX is the target hard disk, and "my-root" is
 ;; the label of the target root file system.
 ;;
 ;; Using "target" here, rather than "device" suppresses a deprecation warning
 ;; from `guix reconfigure`.
 (bootloader (bootloader-configuration
              (bootloader grub-bootloader)
              (target "/dev/sda")))

 ;; Specify a mapped device for the encrypted root partition.
 ;; The UUID is that returned by 'cryptsetup luksUUID'.
 (mapped-devices
  (list (mapped-device
         (source (uuid "7c901f8e-c9fe-4e4d-989b-25a966e27df0"))
         (target "myroot")
         (type luks-device-mapping))
        (mapped-device
         (source (uuid "a63a607b-4fd8-4093-be93-c6265744e8b8"))
         (target "myhome")
         (type luks-device-mapping))))

 (file-systems (append
                (list (file-system
                       (device (file-system-label "mars-root"))
                       (mount-point "/")
                       (type "ext4")
                       (dependencies mapped-devices))
                      (file-system
                       (device (file-system-label "mars-home"))
                       (mount-point "/home")
                       (type "ext4")
                       (dependencies mapped-devices)))
                %base-file-systems))

 ;; This is where user accounts are specified.  The "root"
 ;; account is implicit, and is initially created with the
 ;; empty password.
 (users (cons (user-account
               (name "ben")
               (comment "Ben Sturmfels")
               (group "users")
               ;; Adding the account to the "wheel" group
               ;; makes it a sudoer.  Adding it to "audio"
               ;; and "video" allows the user to play sound
               ;; and access the webcam.
               (supplementary-groups '("wheel" "netdev"
                                       "audio" "video"
                                       "kvm" ; Needed for guix system vm
                                       ;; "docker"
                                       ))
               (home-directory "/home/ben"))
              %base-user-accounts))

 ;; Globally-installed packages.
 (packages (append
            (list gvfs ; for user mounts
                  nss-certs ; for HTTPS access
                  )
            %base-packages))

 ;; Add GNOME and/or Xfce---we can choose at the log-in
 ;; screen with F1.  Use the "desktop" services, which
 ;; include the X11 log-in service, networking with Wicd,
 ;; and more.
 (services (append
            (list (service gnome-desktop-service-type)
                  (service xfce-desktop-service-type)
                  (set-xorg-configuration
                   (xorg-configuration
                    (keyboard-layout keyboard-layout))))
            %desktop-services))

 ;; Allow resolution of '.local' host names with mDNS.
 (name-service-switch %mdns-host-lookup-nss))

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#35408: External monitor not working with GDM
  2019-04-25 12:16     ` Danny Milosavljevic
  2019-04-25 12:53       ` Ben Sturmfels
@ 2019-04-25 16:37       ` Ludovic Courtès
  2019-04-26  1:12       ` Ben Sturmfels
  2 siblings, 0 replies; 16+ messages in thread
From: Ludovic Courtès @ 2019-04-25 16:37 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: Ben Sturmfels, 35408

Danny Milosavljevic <dannym@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.

:-)

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#35408: External monitor not working with GDM
  2019-04-25 11:41   ` Ben Sturmfels
  2019-04-25 12:16     ` Danny Milosavljevic
@ 2019-04-25 22:13     ` Diego Nicola Barbato
  2019-04-26  0:42       ` Ben Sturmfels
  1 sibling, 1 reply; 16+ messages in thread
From: Diego Nicola Barbato @ 2019-04-25 22:13 UTC (permalink / raw)
  To: Ben Sturmfels; +Cc: 35408

Hi Ben,

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

> Hi Ludovic,
>
> On Thu, 2019-04-25 at 11:08 +0200, Ludovic Courtès wrote:
>> 
>> Ben Sturmfels <ben@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

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#35408: External monitor not working with GDM
  2019-04-25 22:13     ` Diego Nicola Barbato
@ 2019-04-26  0:42       ` Ben Sturmfels
  2019-04-26  8:14         ` Ludovic Courtès
  0 siblings, 1 reply; 16+ messages in thread
From: Ben Sturmfels @ 2019-04-26  0:42 UTC (permalink / raw)
  To: Diego Nicola Barbato; +Cc: 35408


[-- Attachment #1.1: Type: text/plain, Size: 2166 bytes --]

On Fri, 2019-04-26 at 00:13 +0200, Diego Nicola Barbato wrote:
> Hi Ben,
> 
> Ben Sturmfels <ben@sturm.com.au> writes:
> 
> > Hi Ludovic,
> > 
> > On Thu, 2019-04-25 at 11:08 +0200, Ludovic Courtès wrote:
> > > 
> > > Ben Sturmfels <ben@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.

[-- Attachment #1.2: Xorg.0.log --]
[-- Type: text/x-log, Size: 17752 bytes --]

[   448.617] _XSERVTransmkdir: Mode of /tmp/.X11-unix should be set to 1777
[   448.617] (--) Log file renamed from "/var/lib/gdm/.local/share/xorg/Xorg.pid-11277.log" to "/var/lib/gdm/.local/share/xorg/Xorg.0.log"
[   448.617] 
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[   448.618] Build Operating System: GNU GuixSD
[   448.618] Current Operating System: Linux Marseille 5.0.8-gnu #1 SMP 1 x86_64
[   448.618] Kernel command line: BOOT_IMAGE=/gnu/store/1hqypbgabjiqdgw1xlva6gxw0npgqq27-linux-libre-5.0.8/bzImage --root=marseille-root --system=/gnu/store/1sf8j34xfvcy83r0c4lpcnnzc740q79i-system --load=/gnu/store/1sf8j34xfvcy83r0c4lpcnnzc740q79i-system/boot
[   448.618] Build Date: 01 January 1970  12:00:01AM
[   448.618]  
[   448.618] Current version of pixman: 0.36.0
[   448.618] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   448.618] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   448.618] (==) Log file: "/var/lib/gdm/.local/share/xorg/Xorg.0.log", Time: Fri Apr 26 10:16:22 2019
[   448.618] (++) Using config file: "/gnu/store/bh1np26ziamspfh4c2x8r2gigk973fvj-xserver.conf"
[   448.618] (++) Using config directory: "/gnu/store/ri804h9v5wphhy067znhagdslp999yln-xorg.conf.d"
[   448.618] (==) Using system config directory "/gnu/store/xxpf6xz7prlwrvvl7sviaxmahsyavx1c-xorg-server-1.20.4/share/X11/xorg.conf.d"
[   448.618] (==) No Layout section.  Using the first Screen section.
[   448.618] (==) No screen section available. Using defaults.
[   448.618] (**) |-->Screen "Default Screen Section" (0)
[   448.618] (**) |   |-->Monitor "<default monitor>"
[   448.618] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   448.618] (**) Option "AllowMouseOpenFail" "on"
[   448.618] (==) Automatically adding devices
[   448.618] (==) Automatically enabling devices
[   448.618] (==) Automatically adding GPU devices
[   448.618] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   448.618] (**) FontPath set to:
	/gnu/store/cn966w06mgzsbprs5cdzmv3ll8if3gr5-font-alias-1.0.3/share/fonts/X11/75dpi,
	/gnu/store/cn966w06mgzsbprs5cdzmv3ll8if3gr5-font-alias-1.0.3/share/fonts/X11/100dpi,
	/gnu/store/cn966w06mgzsbprs5cdzmv3ll8if3gr5-font-alias-1.0.3/share/fonts/X11/misc,
	/gnu/store/cn966w06mgzsbprs5cdzmv3ll8if3gr5-font-alias-1.0.3/share/fonts/X11/cyrillic,
	/gnu/store/c6xanp3280ivgb8s0hn8hcv09hazh6zg-font-misc-misc-1.1.2/share/fonts/X11/misc,
	/gnu/store/10ck7vgnj15kg1ik7lyaicabc48c20yb-font-adobe75dpi-1.0.3/share/fonts/X11/75dpi
[   448.618] (**) ModulePath set to "/gnu/store/f7njbzwahmpkwx8cwcxb1m0iqmxc2rr5-xf86-video-vesa-2.4.0/lib/xorg/modules/drivers,/gnu/store/8bykkjc315n8zdgmip83lr68p8hbdgc1-xf86-video-fbdev-0.5.0/lib/xorg/modules/drivers,/gnu/store/0lnc1ncb80dicqhx9z83fyxb5405wac2-xf86-video-amdgpu-19.0.1/lib/xorg/modules/drivers,/gnu/store/86ys82ickarzgh4d5sg6xn896yanps51-xf86-video-ati-19.0.1/lib/xorg/modules/drivers,/gnu/store/nzm3x2yz4969cr0vhv4qpwkc1l4ap3q0-xf86-video-cirrus-1.5.3/lib/xorg/modules/drivers,/gnu/store/4xy6sl438siijlhiyi0j6anb7k3fsx0k-xf86-video-intel-2.99.917-12.33ee0c3/lib/xorg/modules/drivers,/gnu/store/hns7nd29a4sapyk19m4j6i5n0q4afvh6-xf86-video-mach64-6.9.6/lib/xorg/modules/drivers,/gnu/store/0g3k066myxpma9n6rxk78mf4sz9xivn2-xf86-video-nouveau-1.0.16/lib/xorg/modules/drivers,/gnu/store/w216ppd6s4mcsspb2wp42xymmqcz9zb6-xf86-video-nv-2.1.21/lib/xorg/modules/drivers,/gnu/store/j7hm9qz9plpv74cmg93nqcyq55x88gsz-xf86-video-sis-0.10.9/lib/xorg/modules/drivers,/gnu/store/l56ays9i54jv3y0rqs9bd1931jz3k9sy-xf86-input-libinpu
[   448.618] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   448.618] (II) Loader magic: 0x616d00
[   448.618] (II) Module ABI versions:
[   448.618] 	X.Org ANSI C Emulation: 0.4
[   448.618] 	X.Org Video Driver: 24.0
[   448.618] 	X.Org XInput driver : 24.1
[   448.618] 	X.Org Server Extension : 10.0
[   448.619] (++) using VT number 7

[   448.621] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1517
[   448.623] (--) PCI:*(0@0:1:0) 1002:9996:1043:8526 rev 0, Mem @ 0xc0000000/268435456, 0xfef00000/262144, I/O @ 0x0000f000/256, BIOS @ 0x????????/131072
[   448.623] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   448.623] (II) LoadModule: "glx"
[   448.624] (II) Loading /gnu/store/xxpf6xz7prlwrvvl7sviaxmahsyavx1c-xorg-server-1.20.4/lib/xorg/modules/extensions/libglx.so
[   448.625] (II) Module glx: vendor="X.Org Foundation"
[   448.625] 	compiled for 1.20.4, module version = 1.0.0
[   448.625] 	ABI class: X.Org Server Extension, version 10.0
[   448.625] (==) Matched ati as autoconfigured driver 0
[   448.625] (==) Matched modesetting as autoconfigured driver 1
[   448.625] (==) Matched fbdev as autoconfigured driver 2
[   448.625] (==) Matched vesa as autoconfigured driver 3
[   448.625] (==) Assigned the driver to the xf86ConfigLayout
[   448.625] (II) LoadModule: "ati"
[   448.626] (II) Loading /gnu/store/86ys82ickarzgh4d5sg6xn896yanps51-xf86-video-ati-19.0.1/lib/xorg/modules/drivers/ati_drv.so
[   448.626] (II) Module ati: vendor="X.Org Foundation"
[   448.626] 	compiled for 1.20.4, module version = 19.0.1
[   448.626] 	Module class: X.Org Video Driver
[   448.626] 	ABI class: X.Org Video Driver, version 24.0
[   448.626] (II) LoadModule: "radeon"
[   448.626] (II) Loading /gnu/store/86ys82ickarzgh4d5sg6xn896yanps51-xf86-video-ati-19.0.1/lib/xorg/modules/drivers/radeon_drv.so
[   448.626] (II) Module radeon: vendor="X.Org Foundation"
[   448.626] 	compiled for 1.20.4, module version = 19.0.1
[   448.626] 	Module class: X.Org Video Driver
[   448.626] 	ABI class: X.Org Video Driver, version 24.0
[   448.626] (II) LoadModule: "modesetting"
[   448.626] (II) Loading /gnu/store/xxpf6xz7prlwrvvl7sviaxmahsyavx1c-xorg-server-1.20.4/lib/xorg/modules/drivers/modesetting_drv.so
[   448.626] (II) Module modesetting: vendor="X.Org Foundation"
[   448.626] 	compiled for 1.20.4, module version = 1.20.4
[   448.626] 	Module class: X.Org Video Driver
[   448.626] 	ABI class: X.Org Video Driver, version 24.0
[   448.626] (II) LoadModule: "fbdev"
[   448.626] (II) Loading /gnu/store/8bykkjc315n8zdgmip83lr68p8hbdgc1-xf86-video-fbdev-0.5.0/lib/xorg/modules/drivers/fbdev_drv.so
[   448.627] (II) Module fbdev: vendor="X.Org Foundation"
[   448.627] 	compiled for 1.20.4, module version = 0.5.0
[   448.627] 	Module class: X.Org Video Driver
[   448.627] 	ABI class: X.Org Video Driver, version 24.0
[   448.627] (II) LoadModule: "vesa"
[   448.627] (II) Loading /gnu/store/f7njbzwahmpkwx8cwcxb1m0iqmxc2rr5-xf86-video-vesa-2.4.0/lib/xorg/modules/drivers/vesa_drv.so
[   448.627] (II) Module vesa: vendor="X.Org Foundation"
[   448.627] 	compiled for 1.20.4, module version = 2.4.0
[   448.627] 	Module class: X.Org Video Driver
[   448.627] 	ABI class: X.Org Video Driver, version 24.0
[   448.627] (II) RADEON: Driver for ATI/AMD Radeon chipsets:
	ATI Radeon Mobility X600 (M24), ATI FireMV 2400,
	ATI Radeon Mobility X300 (M24), ATI FireGL M24 GL,
	ATI Radeon X600 (RV380), ATI FireGL V3200 (RV380),
	ATI Radeon IGP320 (A3), ATI Radeon IGP330/340/350 (A4),
	ATI Radeon 9500, ATI Radeon 9600TX, ATI FireGL Z1, ATI Radeon 9800SE,
	ATI Radeon 9800, ATI FireGL X2, ATI Radeon 9600, ATI Radeon 9600SE,
	ATI Radeon 9600XT, ATI FireGL T2, ATI Radeon 9650, ATI FireGL RV360,
	ATI Radeon 7000 IGP (A4+), ATI Radeon 8500 AIW,
	ATI Radeon IGP320M (U1), ATI Radeon IGP330M/340M/350M (U2),
	ATI Radeon Mobility 7000 IGP, ATI Radeon 9000/PRO, ATI Radeon 9000,
	ATI Radeon X800 (R420), ATI Radeon X800PRO (R420),
	ATI Radeon X800SE (R420), ATI FireGL X3 (R420),
	ATI Radeon Mobility 9800 (M18), ATI Radeon X800 SE (R420),
	ATI Radeon X800XT (R420), ATI Radeon X800 VE (R420),
	ATI Radeon X850 (R480), ATI Radeon X850 XT (R480),
	ATI Radeon X850 SE (R480), ATI Radeon X850 PRO (R480),
	ATI Radeon X850 XT PE (R480), ATI Radeon Mobility M7,
	ATI Mobility FireGL 7800 M7, ATI Radeon Mobility M6,
	ATI FireGL Mobility 9000 (M9), ATI Radeon Mobility 9000 (M9),
	ATI Radeon 9700 Pro, ATI Radeon 9700/9500Pro, ATI FireGL X1,
	ATI Radeon 9800PRO, ATI Radeon 9800XT,
	ATI Radeon Mobility 9600/9700 (M10/M11),
	ATI Radeon Mobility 9600 (M10), ATI Radeon Mobility 9600 (M11),
	ATI FireGL Mobility T2 (M10), ATI FireGL Mobility T2e (M11),
	ATI Radeon, ATI FireGL 8700/8800, ATI Radeon 8500, ATI Radeon 9100,
	ATI Radeon 7500, ATI Radeon VE/7000, ATI ES1000,
	ATI Radeon Mobility X300 (M22), ATI Radeon Mobility X600 SE (M24C),
	ATI FireGL M22 GL, ATI Radeon X800 (R423), ATI Radeon X800PRO (R423),
	ATI Radeon X800LE (R423), ATI Radeon X800SE (R423),
	ATI Radeon X800 XTP (R430), ATI Radeon X800 XL (R430),
	ATI Radeon X800 SE (R430), ATI Radeon X800 (R430),
	ATI FireGL V7100 (R423), ATI FireGL V5100 (R423),
	ATI FireGL unknown (R423), ATI Mobility FireGL V5000 (M26),
	ATI Mobility Radeon X700 XL (M26), ATI Mobility Radeon X700 (M26),
	ATI Radeon X550XTX, ATI Radeon 9100 IGP (A5),
	ATI Radeon Mobility 9100 IGP (U3), ATI Radeon XPRESS 200,
	ATI Radeon XPRESS 200M, ATI Radeon 9250, ATI Radeon 9200,
	ATI Radeon 9200SE, ATI FireMV 2200, ATI Radeon X300 (RV370),
	ATI Radeon X600 (RV370), ATI Radeon X550 (RV370),
	ATI FireGL V3100 (RV370), ATI FireMV 2200 PCIE (RV370),
	ATI Radeon Mobility 9200 (M9+), ATI Mobility Radeon X800 XT (M28),
	ATI Mobility FireGL V5100 (M28), ATI Mobility Radeon X800 (M28),
	ATI Radeon X850, ATI unknown Radeon / FireGL (R480),
	ATI Radeon X800XT (R423), ATI FireGL V5000 (RV410),
	ATI Radeon X700 XT (RV410), ATI Radeon X700 PRO (RV410),
	ATI Radeon X700 SE (RV410), ATI Radeon X700 (RV410),
	ATI Radeon X1800, ATI Mobility Radeon X1800 XT,
	ATI Mobility Radeon X1800, ATI Mobility FireGL V7200,
	ATI FireGL V7200, ATI FireGL V5300, ATI Mobility FireGL V7100,
	ATI FireGL V7300, ATI FireGL V7350, ATI Radeon X1600, ATI RV505,
	ATI Radeon X1300/X1550, ATI Radeon X1550, ATI M54-GL,
	ATI Mobility Radeon X1400, ATI Radeon X1550 64-bit,
	ATI Mobility Radeon X1300, ATI Radeon X1300, ATI FireGL V3300,
	ATI FireGL V3350, ATI Mobility Radeon X1450,
	ATI Mobility Radeon X2300, ATI Mobility Radeon X1350,
	ATI FireMV 2250, ATI Radeon X1650, ATI Mobility FireGL V5200,
	ATI Mobility Radeon X1600, ATI Radeon X1300 XT/X1600 Pro,
	ATI FireGL V3400, ATI Mobility FireGL V5250,
	ATI Mobility Radeon X1700, ATI Mobility Radeon X1700 XT,
	ATI FireGL V5200, ATI Radeon X2300HD, ATI Mobility Radeon HD 2300,
	ATI Radeon X1950, ATI Radeon X1900, ATI AMD Stream Processor,
	ATI RV560, ATI Mobility Radeon X1900, ATI Radeon X1950 GT, ATI RV570,
	ATI FireGL V7400, ATI Radeon 9100 PRO IGP,
	ATI Radeon Mobility 9200 IGP, ATI Radeon X1200, ATI RS740,
	ATI RS740M, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 Pro,
	ATI Radeon HD 2900 GT, ATI FireGL V8650, ATI FireGL V8600,
	ATI FireGL V7600, ATI Radeon 4800 Series, ATI Radeon HD 4870 x2,
	ATI Radeon HD 4850 x2, ATI FirePro V8750 (FireGL),
	ATI FirePro V7760 (FireGL), ATI Mobility RADEON HD 4850,
	ATI Mobility RADEON HD 4850 X2, ATI FirePro RV770,
	AMD FireStream 9270, AMD FireStream 9250, ATI FirePro V8700 (FireGL),
	ATI Mobility RADEON HD 4870, ATI Mobility RADEON M98,
	ATI FirePro M7750, ATI M98, ATI Mobility Radeon HD 4650,
	ATI Radeon RV730 (AGP), ATI Mobility Radeon HD 4670,
	ATI FirePro M5750, ATI RV730XT [Radeon HD 4670], ATI RADEON E4600,
	ATI Radeon HD 4600 Series, ATI RV730 PRO [Radeon HD 4650],
	ATI FirePro V7750 (FireGL), ATI FirePro V5700 (FireGL),
	ATI FirePro V3750 (FireGL), ATI Mobility Radeon HD 4830,
	ATI Mobility Radeon HD 4850, ATI FirePro M7740, ATI RV740,
	ATI Radeon HD 4770, ATI Radeon HD 4700 Series, ATI RV610,
	ATI Radeon HD 2400 XT, ATI Radeon HD 2400 Pro,
	ATI Radeon HD 2400 PRO AGP, ATI FireGL V4000, ATI Radeon HD 2350,
	ATI Mobility Radeon HD 2400 XT, ATI Mobility Radeon HD 2400,
	ATI RADEON E2400, ATI FireMV 2260, ATI RV670, ATI Radeon HD3870,
	ATI Mobility Radeon HD 3850, ATI Radeon HD3850,
	ATI Mobility Radeon HD 3850 X2, ATI Mobility Radeon HD 3870,
	ATI Mobility Radeon HD 3870 X2, ATI Radeon HD3870 X2,
	ATI FireGL V7700, ATI Radeon HD3690, AMD Firestream 9170,
	ATI Radeon HD 4550, ATI Radeon RV710, ATI Radeon HD 4350,
	ATI Mobility Radeon 4300 Series, ATI Mobility Radeon 4500 Series,
	ATI FirePro RG220, ATI Mobility Radeon 4330, ATI RV630,
	ATI Mobility Radeon HD 2600, ATI Mobility Radeon HD 2600 XT,
	ATI Radeon HD 2600 XT AGP, ATI Radeon HD 2600 Pro AGP,
	ATI Radeon HD 2600 XT, ATI Radeon HD 2600 Pro, ATI Gemini RV630,
	ATI Gemini Mobility Radeon HD 2600 XT, ATI FireGL V5600,
	ATI FireGL V3600, ATI Radeon HD 2600 LE,
	ATI Mobility FireGL Graphics Processor, ATI Radeon HD 3470,
	ATI Mobility Radeon HD 3430, ATI Mobility Radeon HD 3400 Series,
	ATI Radeon HD 3450, ATI Radeon HD 3430, ATI FirePro V3700,
	ATI FireMV 2450, ATI Radeon HD 3600 Series, ATI Radeon HD 3650 AGP,
	ATI Radeon HD 3600 PRO, ATI Radeon HD 3600 XT,
	ATI Mobility Radeon HD 3650, ATI Mobility Radeon HD 3670,
	ATI Mobility FireGL V5700, ATI Mobility FireGL V5725,
	ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics,
	ATI Radeon HD 3300 Graphics, ATI Radeon 3000 Graphics, SUMO, SUMO2,
	ATI Radeon HD 4200, ATI Radeon 4100, ATI Mobility Radeon HD 4200,
	ATI Mobility Radeon 4100, ATI Radeon HD 4290, ATI Radeon HD 4250,
	AMD Radeon HD 6310 Graphics, AMD Radeon HD 6250 Graphics,
	AMD Radeon HD 6300 Series Graphics,
	AMD Radeon HD 6200 Series Graphics, PALM, CYPRESS,
	ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370,
	AMD Firestream 9350, ATI Radeon HD 5800 Series,
	ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series,
	ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
	ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570,
	ATI Radeon HD 5670, ATI Radeon HD 5570, ATI Radeon HD 5500 Series,
	REDWOOD, ATI Mobility Radeon Graphics, CEDAR, ATI FirePro 2270,
	ATI Radeon HD 5450, CAYMAN, AMD Radeon HD 6900 Series,
	AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series, BARTS,
	AMD Radeon HD 6800 Series, AMD Radeon HD 6700 Series, TURKS, CAICOS,
	ARUBA, TAHITI, PITCAIRN, VERDE, OLAND, HAINAN, BONAIRE, KABINI,
	MULLINS, KAVERI, HAWAII
[   448.630] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   448.630] (II) FBDEV: driver for framebuffer: fbdev
[   448.630] (II) VESA: driver for VESA chipsets: vesa
[   448.630] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[   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.
[   448.633] (EE) 
[   448.634] (EE) Server terminated with error (1). Closing log file.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#35408: External monitor not working with GDM
  2019-04-25 12:16     ` Danny Milosavljevic
  2019-04-25 12:53       ` Ben Sturmfels
  2019-04-25 16:37       ` Ludovic Courtès
@ 2019-04-26  1:12       ` Ben Sturmfels
  2019-04-26  8:12         ` Ludovic Courtès
  2 siblings, 1 reply; 16+ messages in thread
From: Ben Sturmfels @ 2019-04-26  1:12 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 35408

[-- Attachment #1: Type: text/plain, Size: 2396 bytes --]

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)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#35408: External monitor not working with GDM
  2019-04-26  1:12       ` Ben Sturmfels
@ 2019-04-26  8:12         ` Ludovic Courtès
  0 siblings, 0 replies; 16+ messages in thread
From: Ludovic Courtès @ 2019-04-26  8:12 UTC (permalink / raw)
  To: Ben Sturmfels; +Cc: 35408

Ben Sturmfels <ben@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’.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#35408: External monitor not working with GDM
  2019-04-26  0:42       ` Ben Sturmfels
@ 2019-04-26  8:14         ` Ludovic Courtès
  2019-05-02  2:00           ` Ben Sturmfels
  0 siblings, 1 reply; 16+ messages in thread
From: Ludovic Courtès @ 2019-04-26  8:14 UTC (permalink / raw)
  To: Ben Sturmfels; +Cc: Diego Nicola Barbato, 35408

Hi Ben,

Ben Sturmfels <ben@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’.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#35408: External monitor not working with GDM
  2019-04-26  8:14         ` Ludovic Courtès
@ 2019-05-02  2:00           ` Ben Sturmfels
  2019-05-02  8:01             ` Ben Sturmfels
  0 siblings, 1 reply; 16+ messages in thread
From: Ben Sturmfels @ 2019-05-02  2:00 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Diego Nicola Barbato, 35408

[-- Attachment #1: Type: text/plain, Size: 4553 bytes --]

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@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#35408: External monitor not working with GDM
  2019-05-02  2:00           ` Ben Sturmfels
@ 2019-05-02  8:01             ` Ben Sturmfels
  2019-05-02 15:20               ` Ludovic Courtès
  0 siblings, 1 reply; 16+ messages in thread
From: Ben Sturmfels @ 2019-05-02  8:01 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Diego Nicola Barbato, 35408

[-- Attachment #1: Type: text/plain, Size: 1381 bytes --]

> On Fri, 26 Apr 2019, Ludovic Courtès wrote:
>> Ben Sturmfels <ben@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#35408: External monitor not working with GDM
  2019-05-02  8:01             ` Ben Sturmfels
@ 2019-05-02 15:20               ` Ludovic Courtès
  2019-05-08  2:50                 ` Ben Sturmfels
  0 siblings, 1 reply; 16+ messages in thread
From: Ludovic Courtès @ 2019-05-02 15:20 UTC (permalink / raw)
  To: Ben Sturmfels; +Cc: Diego Nicola Barbato, 35408

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

>> On Fri, 26 Apr 2019, Ludovic Courtès wrote:
>>> Ben Sturmfels <ben@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’.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#35408: External monitor not working with GDM
  2019-05-02 15:20               ` Ludovic Courtès
@ 2019-05-08  2:50                 ` Ben Sturmfels
  0 siblings, 0 replies; 16+ messages in thread
From: Ben Sturmfels @ 2019-05-08  2:50 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Diego Nicola Barbato, 35408


[-- Attachment #1.1: Type: text/plain, Size: 3538 bytes --]

On 03/05/19 01:20, Ludovic Courtès wrote:
> Ben Sturmfels <ben@sturm.com.au> skribis:
> 
>>> On Fri, 26 Apr 2019, Ludovic Courtès wrote:
>>>> Ben Sturmfels <ben@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





[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#35408: External monitor not working with GDM
  2019-04-24  4:25 bug#35408: External monitor not working with GDM Ben Sturmfels
  2019-04-25  9:08 ` Ludovic Courtès
@ 2020-06-11  4:01 ` Royce Strange
  1 sibling, 0 replies; 16+ messages in thread
From: Royce Strange @ 2020-06-11  4:01 UTC (permalink / raw)
  To: 35408-done

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.




^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2020-06-11  4:02 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-24  4:25 bug#35408: External monitor not working with GDM Ben Sturmfels
2019-04-25  9:08 ` Ludovic Courtès
2019-04-25 11:41   ` Ben Sturmfels
2019-04-25 12:16     ` Danny Milosavljevic
2019-04-25 12:53       ` Ben Sturmfels
2019-04-25 16:37       ` Ludovic Courtès
2019-04-26  1:12       ` Ben Sturmfels
2019-04-26  8:12         ` Ludovic Courtès
2019-04-25 22:13     ` Diego Nicola Barbato
2019-04-26  0:42       ` Ben Sturmfels
2019-04-26  8:14         ` Ludovic Courtès
2019-05-02  2:00           ` Ben Sturmfels
2019-05-02  8:01             ` Ben Sturmfels
2019-05-02 15:20               ` Ludovic Courtès
2019-05-08  2:50                 ` Ben Sturmfels
2020-06-11  4:01 ` Royce Strange

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).