<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>53908</bug_id>
          
          <creation_ts>2025-04-20 12:01:27 +0300</creation_ts>
          <short_desc>alt-gaming-alive-timeout doesn&apos;t work</short_desc>
          <delta_ts>2025-05-01 15:21:07 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>alt-gaming</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>i9i2psm0kf00</reporter>
          <assigned_to name="fidel@altlinux.org">fidel</assigned_to>
          <cc>boriabloger</cc>
    
    <cc>fidel</cc>
    
    <cc>tergoev-m</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>263230</commentid>
    <comment_count>0</comment_count>
    <who name="">i9i2psm0kf00</who>
    <bug_when>2025-04-20 12:01:27 +0300</bug_when>
    <thetext>Команда alt-gaming-check вывела следующий результат:

 Package &quot;alt-gaming-esync&quot; installed.
 Check: esync (ulimit -Hn=524288) 
 OK: esync support is enabled. 

 Package &quot;alt-gaming-mm-count&quot; installed.
 Check: vm.max_map_count=2147483642 
 OK: Reduce operating system mmap restrictions is enabled 

 Package &quot;alt-gaming-clearcpuid514&quot; installed.
 Check: clearcpuid=514 (GRUB_CMDLINE_LINUX_DEFAULT=&apos;clearcpuid=514  usbcore.autosuspend=-1 resume=/dev/disk/by-uuid/8540247f-aeba-4e35-8882-d0d0483f13ac panic=30 quiet splash nvidia-drm.modeset=1 initcall_blacklist=simpledrm_platform_driver_init nvidia_drm.fbdev=1&apos;) 
 OK: UMIP is disabled (clearcpuid=514 is working, or the flag is not supported). 

 Package &quot;alt-gaming-tcp-mtu-probing&quot; installed.
 Check: net.ipv4.tcp_mtu_probing (1) 
 OK: net.ipv4.tcp_mtu_probing=1 in used 

 Package &quot;alt-gaming-alive-timeout&quot; installed.
 Check: GNOME check alive timeout 
 Error: alt-gaming-alive-timeout doesn&apos;t work 

 Package &quot;alt-gaming-swappiness10&quot; installed.
 Check: change swappiness 
 OK: swappiness=10 in used 

 Warning: Not all tests were successful!
 It is possible that you did not restart your computer after installing the &quot;alt-gaming&quot; package...


Хотя после установки alt-gaming делал перезагрузку.

Система:
OS: Ximper Linux 0.9.3 (Alice) x86_64
Host: Dell Inc. 090HMC
Kernel: 6.12.23-6.12-alt1
Uptime: 5 mins
Packages: 2107 (rpm)
Shell: bash 5.2.37
Resolution: 1920x1080
DE: GNOME 48.1 (Wayland)
WM: Mutter
WM Theme: Adwaita
Theme: adw-gtk3-dark [GTK2/3]
Icons: Adwaita [GTK2/3]
Terminal: kgx
CPU: Intel i5-7300HQ (4) @ 3.500GHz
GPU: Intel HD Graphics 630
GPU: NVIDIA GeForce GTX 1050 Mobile
Memory: 1931MiB / 7715MiB</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>263286</commentid>
    <comment_count>1</comment_count>
    <who name="Mikhail Tergoev">tergoev-m</who>
    <bug_when>2025-04-21 14:00:12 +0300</bug_when>
    <thetext>(Ответ для i9i2psm0kf00 на комментарий #0)
&gt;  Package &quot;alt-gaming-alive-timeout&quot; installed.
&gt;  Check: GNOME check alive timeout 
&gt;  Error: alt-gaming-alive-timeout doesn&apos;t work 

Запустите в терминале:
gsettings get org.gnome.mutter check-alive-timeout
и поделитесь выводом.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>263295</commentid>
    <comment_count>2</comment_count>
    <who name="">i9i2psm0kf00</who>
    <bug_when>2025-04-21 16:22:53 +0300</bug_when>
    <thetext>(Ответ для Mikhail Tergoev на комментарий #1)
&gt; Запустите в терминале:
&gt; gsettings get org.gnome.mutter check-alive-timeout
&gt; и поделитесь выводом.

uint32 5000</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>263809</commentid>
    <comment_count>3</comment_count>
    <who name="">i9i2psm0kf00</who>
    <bug_when>2025-04-30 09:53:13 +0300</bug_when>
    <thetext>А что дальше делать?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>263816</commentid>
    <comment_count>4</comment_count>
    <who name="Boris Yumankulov">boriabloger</who>
    <bug_when>2025-04-30 10:23:32 +0300</bug_when>
    <thetext>(In reply to i9i2psm0kf00 from comment #3)
&gt; А что дальше делать?

По пути /usr/share/glib-2.0/schemas есть файл 95-gnome-gschema.override попробуйте сменить его содержимое на

[org.gnome.mutter]
check-alive-timeout=15000

Потом

sudo glib-compile-schemas /usr/share/glib-2.0/schemas/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>263837</commentid>
    <comment_count>5</comment_count>
    <who name="">i9i2psm0kf00</who>
    <bug_when>2025-04-30 13:05:25 +0300</bug_when>
    <thetext>Ничего не изменилось: команда gsettings get org.gnome.mutter check-alive-timeout по-прежнему выводит uint32 5000</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>263879</commentid>
    <comment_count>6</comment_count>
    <who name="Boris Yumankulov">boriabloger</who>
    <bug_when>2025-04-30 21:51:39 +0300</bug_when>
    <thetext>(In reply to i9i2psm0kf00 from comment #5)
&gt; Ничего не изменилось: команда gsettings get org.gnome.mutter
&gt; check-alive-timeout по-прежнему выводит uint32 5000

Хорошо, тогда можно ещё попробовать переименовать файл в 95_mutter-check-alive.gschema.override

Ну и снова

sudo glib-compile-schemas /usr/share/glib-2.0/schemas/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>263891</commentid>
    <comment_count>7</comment_count>
    <who name="">i9i2psm0kf00</who>
    <bug_when>2025-05-01 12:07:51 +0300</bug_when>
    <thetext>(Ответ для Boris Yumankulov на комментарий #6)
&gt; Хорошо, тогда можно ещё попробовать переименовать файл в
&gt; 95_mutter-check-alive.gschema.override

Помогло, теперь выводится
uint32 15000

И alt-gaming-check проходит проверку

 Package &quot;alt-gaming-esync&quot; installed.
 Check: esync (ulimit -Hn=524288) 
 OK: esync support is enabled. 

 Package &quot;alt-gaming-mm-count&quot; installed.
 Check: vm.max_map_count=2147483642 
 OK: Reduce operating system mmap restrictions is enabled 

 Package &quot;alt-gaming-clearcpuid514&quot; installed.
 Check: clearcpuid=514 (GRUB_CMDLINE_LINUX_DEFAULT=&apos;clearcpuid=514  usbcore.autosuspend=-1 resume=/dev/disk/by-uuid/55df714e-9058-4f72-87ce-f2bceb3369fe panic=30 quiet splash nvidia-drm.modeset=1 initcall_blacklist=simpledrm_platform_driver_init nvidia_drm.fbdev=1&apos;) 
 OK: UMIP is disabled (clearcpuid=514 is working, or the flag is not supported). 

 Package &quot;alt-gaming-tcp-mtu-probing&quot; installed.
 Check: net.ipv4.tcp_mtu_probing (1) 
 OK: net.ipv4.tcp_mtu_probing=1 in used 

 Package &quot;alt-gaming-alive-timeout&quot; installed.
 Check: GNOME check alive timeout 
 OK: check-alive-timout = 15000 

 Package &quot;alt-gaming-swappiness10&quot; installed.
 Check: change swappiness 
 OK: swappiness=10 in used</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>263900</commentid>
    <comment_count>8</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2025-05-01 15:21:07 +0300</bug_when>
    <thetext>alt-gaming-0.0.8-alt1 -&gt; sisyphus:

 Thu May 01 2025 Mikhail Tergoev &lt;fidel@altlinux&gt; 0.0.8-alt1
 - fixed config for check-alive-timeout (ALT bug 53908)
 - updated alt-gaming-check</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>