Solved GDM crashing after Gnome-3 packages upgraded to 3.36 version. I get a screen "Oh no! Something has gone wrong"

bleakwind ruthr : The delay in getting Gnome session loaded is resolved. It got fixed after an update of gvfs.
Now, rest of the problems I have:
(1) distorted icons in buttons of GDM. As per ruthr - librsvg2 updated to 2.45 will fix it.
(2) Volume control slider does nothing, except muting. PCM is the actual volume control in my system and adjustable through mixer/mixertui.

12.2 RELEASE around the corner, hope all these problems get resolved. Gnome in FreeBSD is where I feel home at. Thanks for those who're behind the work.
 
bleakwind ruthr : The delay in getting Gnome session loaded is resolved. It got fixed after an update of gvfs.
Now, rest of the problems I have:
(1) distorted icons in buttons of GDM. As per ruthr - librsvg2 updated to 1.45 will fix it.
(2) Volume control slider does nothing, except muting. PCM is the actual volume control in my system and adjustable through mixer/mixertui.

12.2 RELEASE around the corner, hope all these problems get resolved. I feel that Gnome in FreeBSD is where I feel home at. Thanks for those who're behind the work.
Hi .. great but i fixed gdm-gnome lag on intel graphics card with
Code:
compat.linuxkpi.i915_disable_power_well=0
in /boot/loader.conf
this also fixed dmesg error kernel: hdac0: Command timeout on address 0 which in my case makes lag in gdm/gnome loading
 
Hi .. great but i fixed gdm-gnome lag on intel graphics card with
Code:
compat.linuxkpi.i915_disable_power_well=0
in /boot/loader.conf
this also fixed dmesg error kernel: hdac0: Command timeout on address 0 which in my case makes lag in gdm/gnome loading
What does that line do? Does it disable power saving?
~~~
I still get a warning which may be related to DRI (drm-kmod).:
Code:
Failed to add WC MTRR for [0xe0000000-0xefffffff]: -22; performance may suffer
Even submitted a bug report at github:
 
No mixing of ports & pkg. I am using only pkg. Instead of deleting '.' files, I created a test user with relevant permissions (wheel operator video). When logged into Gnome-3 with new user also, same delay is observed.
On my laptop, sometimes gdm crashes, just wait 10 sec, gnome3 still run normally...

# kldstat
Id Refs Address Size Name
1 119 0xffffffff80200000 2448f20 kernel
2 1 0xffffffff82649000 262b0 fuse.ko
3 2 0xffffffff82670000 a5b8 opensolaris.ko
4 1 0xffffffff8267c000 11b0 cd9660_iconv.ko
5 2 0xffffffff8267e000 8a88 libiconv.ko
6 1 0xffffffff82687000 c408 cuse.ko
7 1 0xffffffff82694000 1bb568 iwm8265fw.ko
8 1 0xffffffff82850000 2bc70 if_iwm.ko
9 1 0xffffffff8287c000 3a99a8 zfs.ko
10 1 0xffffffff82c26000 8210 acpi_video.ko
11 1 0xffffffff835fa000 494c linprocfs.ko
12 4 0xffffffff835ff000 31a8 linux_common.ko
13 1 0xffffffff83603000 1eae linsysfs.ko
14 1 0xffffffff83605000 88d8 tmpfs.ko
15 1 0xffffffff8360e000 1aa0 fdescfs.ko
16 1 0xffffffff83610000 12cab0 i915kms.ko
17 1 0xffffffff8373d000 763b0 drm.ko
18 4 0xffffffff837b4000 10eb0 linuxkpi.ko
19 3 0xffffffff837c5000 12f30 linuxkpi_gplv2.ko
20 2 0xffffffff837d8000 6d0 debugfs.ko
21 1 0xffffffff837d9000 240d i915_kbl_dmc_ver1_04_bin.ko
22 1 0xffffffff837dc000 6fc0 if_bridge.ko
23 1 0xffffffff837e3000 41c8 bridgestp.ko
24 1 0xffffffff837e8000 18a0 uhid.ko
25 1 0xffffffff837ea000 2928 ums.ko
26 1 0xffffffff837ed000 4260 ng_ubt.ko
27 3 0xffffffff837f2000 9e30 netgraph.ko
28 2 0xffffffff837fc000 91b8 ng_hci.ko
29 1 0xffffffff83806000 9c0 ng_bluetooth.ko
30 1 0xffffffff83807000 970 pflog.ko
31 1 0xffffffff83808000 32830 pf.ko
32 1 0xffffffff8383b000 3df60 linux.ko
33 1 0xffffffff83879000 35b20 linux64.ko
34 1 0xffffffff838af000 537420 vmm.ko
35 1 0xffffffff83de7000 b2c nmdm.ko
36 1 0xffffffff83de8000 30c1 if_tap.ko
37 1 0xffffffff83dec000 acf mac_ntpd.ko


# pkg info | grep gnome
chrome-gnome-shell-10.1 GNOME Shell integration for Chrome
gnome-autoar-0.2.4 Glib wrapper around libarchives
gnome-backgrounds-3.38.0 Collection of backgrounds for GNOME
gnome-calculator-3.38.0 GNOME 3 calculator tool
gnome-calendar-3.38.0 Simple and beatiful calendar application for GNOME
gnome-color-manager-3.36.0 Session framework for the GNOME desktop to manage color profiles
gnome-control-center-3.36.4 Control center for GNOME 3 project
gnome-desktop-3.38.0 Additional UI API for GNOME 3
gnome-doc-utils-0.20.10_5 GNOME doc utils
gnome-icon-theme-3.12.0_1 Collection of icons for the GNOME desktop
gnome-icon-theme-extras-3.12.0 Additional collection of icons for the GNOME desktop
gnome-icon-theme-symbolic-3.12.0 GNOME Symbolic Icons
gnome-keyring-3.36.0 Program that keeps passwords and other secrets
gnome-menus-3.36.0 Implementation of the FreeDesktop Desktop Menu Spec
gnome-mount-0.8_13 Front-end to mount, umount, and eject using HAL
gnome-online-accounts-3.36.0 Interface provider to access the user's online accounts
gnome-power-manager-3.26.0 Power management system for the GNOME Desktop
gnome-pty-helper-0.40.2 utmp/wtmp/lastlog helper program for the vte Terminal widget
gnome-session-3.38.0 Session component for the GNOME 3 desktop
gnome-settings-daemon-3.38.0_1 GNOME 3 settings daemon
gnome-shell-3.36.6_1 Next generation GNOME desktop shell
gnome-shell-extensions-3.36.3 GNOME desktop shell extensions
gnome-system-monitor-3.38.0 GNOME 3 system monitor program
gnome-terminal-3.38.0 Terminal component for the GNOME 3 Desktop
gnome-themes-extra-3.28 Standard themes for GNOME
gnome-tweaks-3.34.0_1 Allows to tweak some hidden settings in GNOME3
gnome-video-effects-0.5.0 Collection of Gstreamer effects
gnome3-lite-3.36 The "meta-port" of the GNOME desktop slimmed down for only the basics
gnome_subr-1.0 Common startup and shutdown subroutines used by GNOME scripts
libgnome-keyring-3.12.0_2 Program that keeps passwords and other secrets
libproxy-gnome3-0.4.15 GSettings-based configuration plug-in for libproxy
libsoup-gnome-2.62.3 SOAP (Simple Object Access Protocol) implementation in C
pinentry-gnome3-1.1.0 GNOME 3 version of the GnuPG password dialog
policykit-gnome-0.9.2_9 GNOME frontend to the PolicyKit framework
polkit-gnome-0.105_1 GNOME frontend to the PolicyKit framework


# pkg info | grep gdm
gdm-3.28.4_5 GNOME 3 display manager


# tail -5 /etc/rc.conf
dbus_enable="YES"
hald_enable="YES"
avahi_daemon_enable="YES"
gdm_enable="YES"
 
Gnome is stable as far as my experience goes. GDM loads fine.
Code:
 # tail -5 /etc/rc.conf
dbus_enable="YES"
hald_enable="YES"
avahi_daemon_enable="YES"
gdm_enable="YES"
Well, I have only these Gnome-3 specific lines in /etc/rc.conf and it works.:
Code:
gdm_enable="YES"                                                                                    
gnome_enable="YES"
No HAL, Avahi, dbus lines. AFAIK, gnome_enable="YES" will resolve all those.

If interested, these are the gnome packages installed, apart from file-roller and such useful progams:
Code:
gnome-autoar-0.2.4             Glib wrapper around libarchives
gnome-backgrounds-3.38.0       Collection of backgrounds for GNOME
gnome-calculator-3.38.0        GNOME 3 calculator tool
gnome-calendar-3.38.1          Simple and beatiful calendar application for GNOME
gnome-characters-3.34.0        Find and insert unusual characters for GNOME
gnome-clipboard-daemon-1.0_12  Program that keeps the content of your X clipboard in memory
gnome-clocks-3.38.0            Clocks for GNOME 3
gnome-color-manager-3.36.0     Session framework for the GNOME desktop to manage color profiles
gnome-control-center-3.36.4    Control center for GNOME 3 project
gnome-desktop-3.38.0           Additional UI API for GNOME 3
gnome-documents-3.34.0_1       Document manager application designed to work with GNOME 3
gnome-font-viewer-3.34.0_1     GNOME 3 font viewer utility
gnome-icon-theme-3.12.0_1      Collection of icons for the GNOME desktop
gnome-icon-theme-extras-3.12.0 Additional collection of icons for the GNOME desktop
gnome-icon-theme-symbolic-3.12.0 GNOME Symbolic Icons
gnome-keyring-3.36.0           Program that keeps passwords and other secrets
gnome-maps-3.38.1.1            Map application for GNOME 3
gnome-menus-3.36.0             Implementation of the FreeDesktop Desktop Menu Spec
gnome-online-accounts-3.36.0   Interface provider to access the user's online accounts
gnome-online-miners-3.26.0     Crawls through your online content
gnome-photos-3.38.0            Photo application for GNOME 3
gnome-power-manager-3.26.0     Power management system for the GNOME Desktop
gnome-screenshot-3.38.0        GNOME 3 utility for making picutures of your screen
gnome-session-3.38.0           Session component for the GNOME 3 desktop
gnome-settings-daemon-3.38.0_1 GNOME 3 settings daemon
gnome-shell-3.36.6_2           Next generation GNOME desktop shell
gnome-shell-extensions-3.36.3  GNOME desktop shell extensions
gnome-system-monitor-3.38.0    GNOME 3 system monitor program
gnome-terminal-3.38.0          Terminal component for the GNOME 3 Desktop
gnome-themes-extra-3.28_1      Standard themes for GNOME
gnome-tweaks-3.34.0_1          Allows to tweak some hidden settings in GNOME3
gnome-video-effects-0.5.0      Collection of Gstreamer effects
gnome-weather-3.36.1           Weather application for GNOME 3
gnome_subr-1.0                 Common startup and shutdown subroutines used by GNOME scripts
libgnome-keyring-3.12.0_2      Program that keeps passwords and other secrets
pinentry-gnome3-1.1.0          GNOME 3 version of the GnuPG password dialog
policykit-gnome-0.9.2_9        GNOME frontend to the PolicyKit framework
polkit-gnome-0.105_1           GNOME frontend to the PolicyKit framework
 
I build it from port files. In attachment are updated graphics/librsvg2. Simply rename graphics/librsvg2 in ports directory with this one and make reinstall but beffore install pkg install rust because new version of librsvg2 depends on it.
I have copied the librsvg2 ports files you gave, to /usr/ports/graphics directory.

Where did you find the updated librsvg2 sources you've attached in the last post? Is it from development releases?
Should I remove librsvg2 and related dependencies (most of Gnome packages) using pkg before trying to build from ports?

Sorry for the trivial questions. I haven't really used ports much, and confused if we can use ports from 13-CURRENT or 12-STABLE in 12.2-RELEASE version.
restart GDM/reboot i don't have any glitches/artifacts/distorsion
After updating librsvg2, did that fixed the selected area screenshot capture using SHIFT+PrtScn (and draw area to capture with mouse).
 
I have copied the librsvg2 ports files you gave, to /usr/ports/graphics directory.

Where did you find the updated librsvg2 sources you've attached in the last post? Is it from development releases?
Should I remove librsvg2 and related dependencies (most of Gnome packages) using pkg before trying to build from ports?

Sorry for the trivial questions. I haven't really used ports much, and confused if we can use ports from 13-CURRENT or 12-STABLE in 12.2-RELEASE version.

After updating librsvg2, did that fixed the selected area screenshot capture using SHIFT+PrtScn (and draw area to capture with mouse).
Hi .. there is no need to do that .. just download your arch package from here https://pkgs.org/search/?q=librsvg2-rust
and then use command pkg delete -f librsvg2 && pkg add /path/to/downloaded/librsvg2-rust.txz to update graphics/librsvg2.
 
Hi .. there is no need to do that .. just download your arch package from here https://pkgs.org/search/?q=librsvg2-rust
and then use command pkg delete -f librsvg2 && pkg add /path/to/downloaded/librsvg2-rust.txz to update graphics/librsvg2.
Removing librsvg2 deletes almost 87 Gnome related packages. Then, I tried installing librsvg2-rust since it's version is 2.50 in pkg. But, afterwards, when I try to reinstall Gnome packages, it needs librsvg2-rust removed. As you see, librsvg2 & librsvg2-rust are at different versions.
 
In brief, librsvg2-rust available in the pkg repository when installed wants to remove most of the Gnome packages, including Gnome-shell.
 
Code:
root@pila:~ # pkg delete librsvg2
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 132 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
    accerciser: 3.38.0
    aisleriot: 3.22.9
    amtk: 5.2.0
    atomix: 3.34.0
    avahi-gtk3: 0.7_1
    baobab: 3.38.0
    brasero: 3.12.2_1
    caribou: 0.4.21_2
  
Number of packages to be removed: 132

The operation will free 1 GiB.

Proceed with deinstalling packages? [y/N]: n
root@pila:~ # pkg delete -f librsvg2
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
    librsvg2: 2.40.21

Number of packages to be removed: 1

Proceed with deinstalling packages? [y/N]: y
[1/1] Deinstalling librsvg2-2.40.21...
[1/1] Deleting files for librsvg2-2.40.21: 100%
root@pila:~ #

Code:
root@pila:~ # ls -al librsvg2-rust-2.50.0.txz
-rw-r--r--  1 root  wheel  2292852 Oct 25 10:50 librsvg2-rust-2.50.0.txz
root@pila:~ # pkg install ./librsvg2-rust-2.50.0.txz
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (1 conflicting)
  - librsvg2-2.40.21 conflicts with librsvg2-rust-2.50.0 on /usr/local/bin/rsvg-convert
Checking integrity... done (0 conflicting)
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
    librsvg2: 2.40.21
    librsvg2-rust: 2.50.0

Number of packages to be installed: 2

The process will require 11 MiB more space.

Proceed with this action? [y/N]: y
[1/1] Installing librsvg2-rust-2.50.0...
Extracting librsvg2-rust-2.50.0: 100%
[1/2] Installing librsvg2-2.40.21...
pkg: librsvg2-2.40.21 conflicts with librsvg2-rust-2.50.0 (installs files into the same place).  Problematic file: /usr/local/bin/rsvg-convert
root@pila:~ # pkg info | grep librsvg2
librsvg2-rust-2.50.0           Library for parsing and rendering SVG vector-graphic files

so i don't see problem removing graphics/librsvg2 and installing graphics/librsvg2-rust
or wait maintainers to fix these problem PR 250276
 
ruthr : Will have to wait for librsvg2-rust to be the default. It's not working as you suggested. librsvg2-2.40.21 conflicts with librsvg2-rust-250.0_1 .

Code:
:~% doas pkg delete -f librsvg2-2.40.21 
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
    librsvg2: 2.40.21

Number of packages to be removed: 1

Proceed with deinstalling packages? [y/N]: y
[1/1] Deinstalling librsvg2-2.40.21...
[1/1] Deleting files for librsvg2-2.40.21: 100%

Code:
:~% ls -al Downloads/librsvg2-rust-2.50.0.txz 
-rw-r--r--  1   2292852 Nov  1 20:38 Downloads/librsvg2-rust-2.50.0.txz

:~% doas pkg install Downloads/librsvg2-rust-2.50.0.txz 
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (1 conflicting)
  - librsvg2-2.40.21 conflicts with librsvg2-rust-2.50.0_1 on /usr/local/bin/rsvg-convert
Checking integrity... done (0 conflicting)
The following 85 package(s) will be affected (of 0 checked):

Installed packages to be REMOVED:

    <SNIPPED>
    polkit-gnome: 0.105_1
    py37-libpeas: 1.22.0
    tepl: 5.0.0
    totem: 3.38.0_1
    vim: 8.2.1558
    vte3: 0.62.1
    webkit2-gtk3: 2.30.1
    zeitgeist: 1.0.2
    zenity: 3.32.0

New packages to be INSTALLED:
    librsvg2-rust: 2.50.0_1

Number of packages to be removed: 84
Number of packages to be installed: 1

The operation will free 933 MiB.

Proceed with this action? [y/N]: n

I tested ports also:

Code:
:/usr/ports/graphics/librsvg2-rust%   make build deinstall install clean

===>  librsvg2-rust-2.50.0_1 conflicts with installed package(s):
      librsvg2-2.40.21

      They install files into the same place.
 
ruthr
At last, I got librsvg2-rust installed, using ports. I was just looking at pkg to resolve, which did not work. I think librsvg2-rust got the patches and is probably the default rsvg library.
This fixed the distorted icons in apps and window elements (radio buttons).
1. Remove
Code:
:~# pkg delete -f librsvg2
2. Install libtool, gmake, gettext-tools
Code:
:~# pkg install libtool gmake gettext-tools
3. Compile and install librsvg2-rust.
Code:
:~#cd /usr/ports/graphics/librsvg2-rust
:~#  portsnap auto
:~#  make install clean
Since, librsvg2-rust is often asked to be removed for librsvg2 for many Gnome related packages, I created a binary package such that I can install it everytime, after an update from FreeBSD servers using pkg. It needs /usr/ports/packages directory to be created and run
Code:
make package
and later install the package binary from the /usr/ports/packages/All directory.

As showed, open gnome-tweaks, select Adwaita icon theme and there you go.
Screenshot from 2020-11-05 12-20-00.png
 
Back
Top