[RESPONDED] Ubuntu settings freeze with external monitor

When i connect a second monitor to my “Framework HDMI output” (Samsung 4k display) i got 2 screen.
If i go to settings (from ubuntu22.04.3 LTS) the screens freeze.
When i disconnect the second monitor it go back to normal.
I have the same issue with another screen (LG display 4k) and USBC adapter (chinese brand) but only on 1 usbc port (i have 2 usbc).
Could it be related to where i connected the monitor the first time?
If yes, how to reset?

I have a Framework 13 with i5 1340P 1To ssd and 64GB ram.
2 usbc on the left and HDMI (top right) + USBA (bottom right)

i already did
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
dconf reset -f /org/gnome/control-center/

lot of reboot
but still not possible to change screen settings with Samsung screen

Welcome to the community!

Based on your details above, sounds like you are connecting using a Framework HDMI card. I will bypass the USB-C adapter as we have no way of replicating this effectively as it’s a third party adapter.

On the HDMI expansion card front, do you see this behavior on a Live USB of Ubuntu 22.04.3? Also, which kernel are you using and connecting and disconnecting the cable, what do you see with this open and running in the terminal?

journalctl -f

Hi,
my kernel version: 6.2.0-39-generic
I did not try a live cd but i found one solution.
Before connecting HDMI cable:

  • go to settings>displays>Fractional Scaling: enable
  • connect hdmi cable
  • disable Fractional Scaling and set screen settings to display only on external screen.
    then it’s working fine.
    I tried this morning with a steam deck dock (chinese brand…) on other usbc port and i had same issue and solved by enable Fractional Scaling as described before.

here is the output of journactl -f:

déc 26 09:39:02 rems-framework audit[828]: USER_AVC pid=828 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg=‘apparmor=“DENIED” operation=“dbus_signal” bus=“system” path=“/org/freedesktop/login1” interface=“org.freedesktop.DBus.Properties” member=“PropertiesChanged” name=“:1.16” mask=“receive” pid=6611 label=“snap.firefox.firefox” peer_pid=864 peer_label=“unconfined”
exe=“/usr/bin/dbus-daemon” sauid=102 hostname=? addr=? terminal=?’
déc 26 09:39:02 rems-framework kernel: audit: type=1107 audit(1703579942.121:162): pid=828 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg=‘apparmor=“DENIED” operation=“dbus_signal” bus=“system” path=“/org/freedesktop/login1” interface=“org.freedesktop.DBus.Properties” member=“PropertiesChanged” name=“:1.16” mask=“receive” pid=6611 label=“snap.firefox.firefox” peer_pid=864 peer_label=“unconfined”
exe=“/usr/bin/dbus-daemon” sauid=102 hostname=? addr=? terminal=?’
déc 26 09:39:11 rems-framework systemd[3249]: Started Application launched by gnome-shell.
déc 26 09:39:11 rems-framework dbus-daemon[3281]: [session uid=1000 pid=3281] Activating via systemd: service name=‘org.gnome.Terminal’ unit=‘gnome-terminal-server.service’ requested by ‘:1.145’ (uid=1000 pid=8984 comm=“/usr/bin/gnome-terminal.real " label=“unconfined”)
déc 26 09:39:11 rems-framework systemd[3249]: Created slice Slice /app/org.gnome.Terminal.
déc 26 09:39:11 rems-framework systemd[3249]: Starting GNOME Terminal Server…
déc 26 09:39:11 rems-framework dbus-daemon[3281]: [session uid=1000 pid=3281] Successfully activated service ‘org.gnome.Terminal’
déc 26 09:39:11 rems-framework systemd[3249]: Started GNOME Terminal Server.
déc 26 09:39:11 rems-framework systemd[3249]: Started VTE child process 9007 launched by gnome-terminal-server process 8989.
déc 26 09:39:52 rems-framework kernel: usb 1-2: USB disconnect, device number 17
déc 26 09:39:53 rems-framework kernel: Registered IR keymap rc-cec
déc 26 09:39:53 rems-framework kernel: rc rc0: DP-1 as /devices/pci0000:00/0000:00:02.0/rc/rc0
déc 26 09:39:53 rems-framework kernel: input: DP-1 as /devices/pci0000:00/0000:00:02.0/rc/rc0/input42
déc 26 09:39:53 rems-framework systemd-logind[864]: Watching system buttons on /dev/input/event9 (DP-1)
déc 26 09:39:53 rems-framework kernel: usb 1-2: new full-speed USB device number 20 using xhci_hcd
déc 26 09:39:53 rems-framework audit[828]: USER_AVC pid=828 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor=“DENIED” operation=“dbus_signal” bus=“system” path=”/org/freedesktop/login1" interface=“org.freedesktop.DBus.Properties” member=“PropertiesChanged” name=“:1.16” mask=“receive” pid=6611 label=“snap.firefox.firefox” peer_pid=864 peer_label=“unconfined”
exe=“/usr/bin/dbus-daemon” sauid=102 hostname=? addr=? terminal=?’
déc 26 09:39:53 rems-framework kernel: audit: type=1107 audit(1703579993.956:163): pid=828 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg=‘apparmor=“DENIED” operation=“dbus_signal” bus=“system” path=“/org/freedesktop/login1” interface=“org.freedesktop.DBus.Properties” member=“PropertiesChanged” name=“:1.16” mask=“receive” pid=6611 label=“snap.firefox.firefox” peer_pid=864 peer_label=“unconfined”
exe=“/usr/bin/dbus-daemon” sauid=102 hostname=? addr=? terminal=?’
déc 26 09:39:53 rems-framework kernel: usb 1-2: New USB device found, idVendor=32ac, idProduct=0002, bcdDevice= 0.00
déc 26 09:39:53 rems-framework kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
déc 26 09:39:53 rems-framework kernel: usb 1-2: Product: HDMI Expansion Card