|Summary:||x11/gdm doesn't show the login screen|
|Product:||Ports & Packages||Reporter:||Konstantin <konstantin.ashaev>|
|Component:||Individual Port(s)||Assignee:||freebsd-gnome (Nobody) <gnome>|
|Severity:||Affects Some People||CC:||Alexander88207, bpurgar, grahamperrin, lwhsu, x11, zeising|
Description Konstantin 2021-04-14 11:38:51 UTC
I've upgraded my FreeBSD 12.2 to 13.0. After that I cannot log in to the system via GDM because it doesn't show the login screen. The screen is grey blank. I suspect that at some point GDM cannot proceed further. Although some elements of the layout appear for short time as I switch between TTYs and GDM. I managed to log in via GDM after disabling radeonkms in /etc/rc.conf.
Comment 1 Alexander Vereeken 2021-04-19 21:30:55 UTC
Hello, this could be related to: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253746
Comment 2 Konstantin 2021-04-20 18:44:16 UTC
(In reply to Alexander Vereeken from comment #1) Yeah, apparently the same kind of issue.
Comment 3 bpurgar 2021-04-28 13:37:47 UTC
(In reply to Konstantin from comment #0) Can you try to disable DRI3 in /etc/X11/xorg.conf and use DRI 2 instead ? ##Option "DRI3" "1" Option "DRI" "2" and then test gdm/gnome3 .. Tnx
Comment 4 Niclas Zeising 2021-04-28 16:26:53 UTC
Why was x11@ asked for maintainer feedback? gdm is a gnome port.
Comment 5 bpurgar 2021-04-28 16:31:31 UTC
it seams that this bug is identical to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253746 and there is problem with DRI3 on xf86-video-amdgpu .. same gnome version works OK on xf86-video-intel and DRI3 on.
Comment 6 Niclas Zeising 2021-04-28 19:00:22 UTC
Have you remembered to update drm-kmod as well? You need drm-fbsd13-kmod on FreeBSD 13.
Comment 7 bpurgar 2021-04-28 19:24:08 UTC
It is same problem on 13-release with drm-fbsd-13 and 14-current with drm-kmod-devel. gnome3 wont work (lags/freeze and only progress is seeing when switching beetwen consoles from vt9 to vt2 and back to vt9 for example and so on) when dri3 is enabled on amdgpu_drv. I have matebook with i5-7200u and no problems with intel_drv and dri3/gnome on FreeBSD 13/14.
Comment 8 Konstantin 2021-04-29 07:38:03 UTC
Created attachment 224517 [details] xorg with DRI2 enabled DRI2 enabled
Comment 9 Konstantin 2021-04-29 07:38:58 UTC
Created attachment 224518 [details] log file, DRI2 enabled
Comment 10 Konstantin 2021-04-29 07:48:56 UTC
(In reply to bpurgar from comment #3) I didn't have xorg.conf, so used Xorg -configure to create one. Also I put 'Option "DRI" "2"' in it. And enabled radeonkms. GNOME stopped at the same place. So it didn't work. I attached file of xorg.conf and Xorg.log with DRI2 enabled.
Comment 11 bpurgar 2021-04-29 07:59:30 UTC
Ok .. but still https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253746 have confirmed problem with dri3 and amdgpu and workaround is only to use dri2 .