Saturday, December 03, 2022

Re: Xorg freeze with ThinkPad A485 / ATI Radeon Vega

On Sat, Dec 03, 2022 at 06:01:38PM +0100, Joel Carnat wrote:
> Le 02/12/2022 à 10:21, Bodie a écrit :
> > On Fri Dec 2, 2022 at 12:14 AM CET, Joel Carnat wrote:
> > > Hi,
> > >
> > > About once a week, Xorg freezes while I'm using my ThinkPad A485 with OpenBSD 7.2. I've tried switching the window manager (XFCE, Gnome, WindowMaker, cwm) but it still happens. I only have a few apps opened (Firefox ESR, a terminal, a file manager). Tonight, I had just rebooted the system (because of syspatch and fw_update) and uptime was 1H30. The other times, I could suspend/resume a few times until freeze happened.
> > >
> > > Xorg is frozen in the sense that the cursor can only move but can't interact with windows. Same for the keyboard, no shortcuts works. I can't even switch to console with Ctrl+Alt+F1. I'm stuck with a screenshot-like of what I was doing.
> > >
> > > Note that sshd does work. I can remotely connect to the laptop. If I restart xenodm/gdm, it just fails. So I have to ˋrebootˋ.
> > >
> > > dmesg only outputs:
> > > [drm] *ERROR* ring sdma0 timeout, signaled seq=19512, emitted seq=19512
> > > [drm] *ERROR* Process information: process pid 0 thread pid
> > >
> > > I've attached the full dmesg and Xorg logs.
> > >
> > > Is there something I can do to debug further?
> > >
> >
> > What is happening in other parts? Like top(1), systat(1), vmstat(8),....
> > Any modifications in /etc/sysctl.conf for more files, connections,......
> > What login class are you in?
> >
>
> Oh, it seems nextcloud (Nextcloud Client) taking a bunch of resources (about
> 80% CPU in top) has to be killed from ssh. Then Xorg starts responding
> again...
>
> What is weird is that issuing various commands in SSH do not suffer from
> this freeze / slow effects. Only the X environment.
>

Did you experience this on older versions?
Last update I added a build dependency (x11/gnome/libcloudproviders)
as a significant difference besides the upgrade itself, but I have no
reason to think that is the cause.
Could you test without this dependency?

Obrigado!
--
Adriano


Index: Makefile
===================================================================
RCS file: /cvs/ports/net/nextcloudclient/Makefile,v
retrieving revision 1.42
diff -u -p -r1.42 Makefile
--- Makefile 17 Nov 2022 06:16:04 -0000 1.42
+++ Makefile 3 Dec 2022 20:34:23 -0000
@@ -32,18 +32,16 @@ WANTLIB += sqlite3 ssl z
MODULES = devel/cmake \
x11/qt5

-BUILD_DEPENDS = devel/gettext,-tools \
- x11/gnome/libcloudproviders
+BUILD_DEPENDS = devel/gettext,-tools

# for converting svg icons to png
BUILD_DEPENDS += x11/gnome/librsvg

# for tests, but detected during configure
-BUILD_DEPENDS += devel/cmocka \
+BUILD_DEPENDS += devel/cmocka

RUN_DEPENDS = devel/desktop-file-utils \
misc/shared-mime-info \
- x11/gnome/libcloudproviders \
x11/gtk+3,-guic \
x11/qt5/qtgraphicaleffects \
x11/qt5/qtquickcontrols

No comments:

Post a Comment