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

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

    <bug>
          <bug_id>54708</bug_id>
          
          <creation_ts>2025-06-06 16:52:57 +0300</creation_ts>
          <short_desc>Gamemode + Steam из Flatpak</short_desc>
          <delta_ts>2025-12-11 18:43:28 +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>gamemode</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</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 name="Евгений">zhenyakoltsov</reporter>
          <assigned_to name="Денис Назаров">nenderus</assigned_to>
          <cc>nenderus</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>266756</commentid>
    <comment_count>0</comment_count>
    <who name="Евгений">zhenyakoltsov</who>
    <bug_when>2025-06-06 16:52:57 +0300</bug_when>
    <thetext>Steam установлен через Flatpak (пакет com.valvesoftware.Steam), MangoHud установлен через Flatpak (пакеты org.freedesktop.Platform.VulkanLayer.MangoHud 23.08 и org.freedesktop.Platform.VulkanLayer.MangoHud 24.08), Gamemode установлен из репозитория Sisyphus.
При запуске игр из Steam с параметром gamemoderun mangohud %command%, Gamemode не работает, в MangoHud написано Gamemode Off, сервис gamemoded.service при запуске пишет следующее:
июн 06 21:43:31 benq pkexec[14249]: UNSPECIFIED (__progname=&quot;pkexec&quot; uid=1000 euid=0): pam_tcb(polkit-1:session): Session opened for root by user(uid=1000)
июн 06 21:43:31 benq gamemoded[1313]: ERROR: Failed to open file for read /sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/energy_uj
июн 06 21:43:31 benq pkexec[14254]: UNSPECIFIED (__progname=&quot;pkexec&quot; uid=1000 euid=0): pam_tcb(polkit-1:session): Session opened for root by user(uid=1000)
июн 06 21:43:31 benq gamemoded[1313]: ERROR: Skipping ioprio on client [14247,14247]: ioprio was (0) but we expected (4)
июн 06 21:43:31 benq gamemoded[1313]: ERROR: Addition requested for already known client 14247 [/usr/bin/env].
июн 06 21:43:31 benq gamemoded[1313]: ERROR: Removal requested for unknown process [14260].
июн 06 21:43:31 benq gamemoded[1313]: ERROR: Skipping ioprio on client [14261,14261]: ioprio was (0) but we expected (4)
июн 06 21:43:31 benq gamemoded[1313]: ERROR: Addition requested for already known client 14247 [/usr/bin/env].
июн 06 21:43:31 benq gamemoded[1313]: ERROR: Addition requested for already known client 14247 [/usr/bin/env].
июн 06 21:43:31 benq gamemoded[1313]: ERROR: Addition requested for already known client 14247 [/usr/bin/env].
июн 06 21:43:31 benq gamemoded[1313]: ERROR: Skipping ioprio on client [14262,14262]: ioprio was (0) but we expected (4)
июн 06 21:43:31 benq gamemoded[1313]: ERROR: Skipping ioprio on client [14263,14263]: ioprio was (0) but we expected (4)
июн 06 21:44:25 benq pkexec[14808]: UNSPECIFIED (__progname=&quot;pkexec&quot; uid=1000 euid=0): pam_tcb(polkit-1:session): Session opened for root by user(uid=1000)
июн 06 21:44:25 benq pkexec[14814]: UNSPECIFIED (__progname=&quot;pkexec&quot; uid=1000 euid=0): pam_tcb(polkit-1:session): Session opened for root by user(uid=1000)
июн 06 21:44:25 benq gamemoded[1313]: ERROR: Could not inspect tasks for client [14262]! Skipping ioprio optimisation.
июн 06 21:44:25 benq gamemoded[1313]: ERROR: Unable to find executable for PID 14262: No such file or directory</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>267692</commentid>
    <comment_count>1</comment_count>
    <who name="Евгений">zhenyakoltsov</who>
    <bug_when>2025-06-24 07:10:08 +0300</bug_when>
    <thetext>Добрый день, есть движение в сторону решения проблемы?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>267794</commentid>
    <comment_count>2</comment_count>
    <who name="Денис Назаров">nenderus</who>
    <bug_when>2025-06-25 14:53:55 +0300</bug_when>
    <thetext>Похоже это проблема Steam из Flatpak - https://github.com/flathub/com.valvesoftware.Steam/issues/1270</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>