<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=6849&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] mate-terminal freezes briefly every X seconds due to orca]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=6849</link>
		<description><![CDATA[The most recent posts in [SOLVED] mate-terminal freezes briefly every X seconds due to orca.]]></description>
		<lastBuildDate>Fri, 20 Sep 2024 06:59:04 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] mate-terminal freezes briefly every X seconds due to orca]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=52350#p52350</link>
			<description><![CDATA[<p>I think I&#039;ve found the culprit `orca` not running well after autostart, but it seems to be a more complex issue.</p><p>I am using Awesome WM and I am starting DE session to get more useful desktop experience. I used to start mate-session manually, but I&#039;ve decided to spawn mate-session on awesome WM startup.</p><p>.config/awesome/rc.lua</p><div class="codebox"><pre><code>-- Autostart
awful.spawn.with_shell(&quot;~/.config/awesome/autorun.sh&quot;)</code></pre></div><p>.config/awesome/autorun.sh</p><div class="codebox"><pre><code>#!/bin/sh

run() {
  if ! pgrep -f &quot;$1&quot; ; then
    &quot;$@&quot; &amp;
  fi
}

run mate-session</code></pre></div><p>This works fine, but some things seem to break. I&#039;ve got orca installed, at some point, which tries to autostart itself:</p><div class="codebox"><pre><code>$ dpkg -S /etc/xdg/autostart/orca-autostart.desktop 
orca: /etc/xdg/autostart/orca-autostart.desktop</code></pre></div><p>However, probably due to some race condition with pipewire, the orca starts, but does not work. If I start the session manually, the speech dispatcher is working correctly. Running a `killall -9 orca` fixes the mate-terminal freezing issue.</p><p>I guess I will switch to manual startup of the mate-session, because something gets broken, when starting it up like that.</p>]]></description>
			<author><![CDATA[dummy@example.com (metala)]]></author>
			<pubDate>Fri, 20 Sep 2024 06:59:04 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=52350#p52350</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] mate-terminal freezes briefly every X seconds due to orca]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=52315#p52315</link>
			<description><![CDATA[<div class="codebox"><pre><code>[    15.421] (II) LoadModule: &quot;amdgpu&quot;
[    15.422] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[    15.426] (II) Module amdgpu: vendor=&quot;X.Org Foundation&quot;
[    15.426]    compiled for 1.21.1.7, module version = 23.0.0
[    15.426]    Module class: X.Org Video Driver
[    15.426]    ABI class: X.Org Video Driver, version 25.2
[    15.426] (II) AMDGPU: Driver for AMD Radeon:
        All GPUs supported by the amdgpu kernel driver
... &lt;truncated for brevity&gt; ...
[    15.694] (II) LoadModule: &quot;glamoregl&quot;
[    15.694] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    15.699] (II) Module glamoregl: vendor=&quot;X.Org Foundation&quot;
[    15.699]    compiled for 1.21.1.7, module version = 1.0.1
[    15.699]    ABI class: X.Org ANSI C Emulation, version 0.4
[    15.719] (II) AMDGPU(0): glamor X acceleration enabled on AMD Radeon Graphics (renoir, LLVM 15.0.6, DRM 3.57, 6.9.7+bpo-amd64)
[    15.719] (II) AMDGPU(0): glamor detected, initialising EGL layer.
[    15.719] (**) AMDGPU(0): TearFree property default: on</code></pre></div><div class="codebox"><pre><code>Linux 6.9.7+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.9.7-1~bpo12+1 (2024-07-03) x86_64 GNU/Linux</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (metala)]]></author>
			<pubDate>Thu, 19 Sep 2024 11:13:22 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=52315#p52315</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] mate-terminal freezes briefly every X seconds due to orca]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=52299#p52299</link>
			<description><![CDATA[<p>Well, you seem to have a not too old AMD graphics. That should work just with kernel and the firmware-amd-graphics package installed. </p><p>Which amdgpu driver do you use? </p><p>Debug symbols: have a look into Synaptics, mostly what Debian has is also present in Devuan (as long as it does not depend on systemd).</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Wed, 18 Sep 2024 19:48:13 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=52299#p52299</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] mate-terminal freezes briefly every X seconds due to orca]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=52294#p52294</link>
			<description><![CDATA[<p>I am using the amdgpu driver for Xorg w/ Vega 8 APU + TearFree option enabled.</p><p>However, I doubt that this causes the issue. If I kill the mate-session it gets fixed and if I restart the mate-session, the issue does not reappear. It is also limited to mate-terminal and xfce4-terminal, the browser is playing videos while the terminal is hanging/freezing.</p><p>I&#039;ve been given hints to look into gvfs and gio. I will try to strace it using uxterm or even debug it, if I can get the gdb to follow the detached child of /usr/bin/mate-terminal.</p><p>Do you know if Devuan has debug symbols of the compiled packages?</p>]]></description>
			<author><![CDATA[dummy@example.com (metala)]]></author>
			<pubDate>Wed, 18 Sep 2024 19:07:42 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=52294#p52294</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] mate-terminal freezes briefly every X seconds due to orca]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=52292#p52292</link>
			<description><![CDATA[<p>Which kind of graphics card do you have?</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Wed, 18 Sep 2024 18:50:15 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=52292#p52292</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] mate-terminal freezes briefly every X seconds due to orca]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=52287#p52287</link>
			<description><![CDATA[<p><strong>Software:</strong><br />Devuan 5<br />xorg 1:7.7+23<br />awesome 4.3-7<br />mate-session 1.26.0-1+deb12u1<br />pipewire 0.3.65-3+deb12u1<br />orca 43.1-1</p><p><strong>The Problem:</strong><br />After some updates or something, the mate-terminal started. I&#039;ve also tried the XFCE4&#039;s terminal emulator and it had the same issue. However, the uxterm works just fine without any hanging.</p><p><strong>Solution:</strong><br />Killing and restarting the mate-session fixes the problem.</p><p><strong>Thoughts:</strong><br />I have the same configuration on a different machine, but I don&#039;t face the issue. The difference is that there I start the mate-session manually, after awesome WM is loaded. Here on this machine I have it spawned in the awesome WM configuration on startup. I don&#039;t see anything suspicious in .xsession-errors.</p><p><strong>Question:</strong><br />Any ideas how to troubleshoot this?</p><p><strong>UPDATE:</strong><br />The on-screen reader (orca) is causing the freezing. If kill it the terminal emulator no longer freezes. Orca is autostarted by mate-session, but it seems to fail if mate-session is spawned by awesome WM on startup. If I run mate-session manually, the screen reader works fine and synthesises speech. However if it&#039;s started by the awesome WM, the orca does not seem to work. I assume that there is a startup race between pipewire and mate-session + orca.</p><p>The simplest solution is to run mate-sessoin manually, remove the orca package or remove it from /etc/xdg/autostart.</p>]]></description>
			<author><![CDATA[dummy@example.com (metala)]]></author>
			<pubDate>Wed, 18 Sep 2024 16:45:22 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=52287#p52287</guid>
		</item>
	</channel>
</rss>
