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

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

    <bug>
          <bug_id>52584</bug_id>
          
          <creation_ts>2024-12-28 14:20:03 +0300</creation_ts>
          <short_desc>Не отображает wayland-сессии на nvidia</short_desc>
          <delta_ts>2025-08-27 14:00:31 +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>gdm</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Sergey V Turchin">zerg</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>aris</cc>
    
    <cc>armatik</cc>
    
    <cc>monastirskiyii</cc>
    
    <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>256815</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2024-12-28 14:20:03 +0300</bug_when>
    <thetext>Хотел проверить, как работает, но он не отображает различные wayland-сессии Plasma.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>256817</commentid>
    <comment_count>1</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2024-12-28 14:29:32 +0300</bug_when>
    <thetext>Есть &quot;Plasma(X11/Wayland)&quot;, в Wayland даже зашел.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>256819</commentid>
    <comment_count>2</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2024-12-28 14:41:31 +0300</bug_when>
    <thetext>А, у тебя ж невидиа, которая может быть признана непригодной для wayland.
Чтобы это узнать, можно убрать
/usr/lib/udev/rules.d/61-gdm.rules
и перезапустить GDM.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>256820</commentid>
    <comment_count>3</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2024-12-28 15:02:16 +0300</bug_when>
    <thetext>(Ответ для Yuri N. Sedunov на комментарий #2)
&gt; А, у тебя ж невидиа, которая может быть признана непригодной для wayland.
У меня Intel, который пригоден, но вообще никакие сессии Wayland не отображает.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>256821</commentid>
    <comment_count>4</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2024-12-28 15:03:00 +0300</bug_when>
    <thetext>(Ответ для Yuri N. Sedunov на комментарий #2)
&gt; /usr/lib/udev/rules.d/61-gdm.rules
В нём ошибка.
$ lspci -nn | grep &apos;\[03&apos;
00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-H GT1 [UHD Graphics] [8086:9a68] (rev 01)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA107M [GeForce RTX 3050 Mobile] [10de:25a2] (rev a1)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>256824</commentid>
    <comment_count>5</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2024-12-28 15:08:00 +0300</bug_when>
    <thetext>У меня ноут. Видеовыход на его монитор, понятно, что из Intel. Но, NVIDIA не обрубок, а, типа, полноценная запихна. Отдельный HDMI не использую. Воткнута докстанция в Type-C, а в неё монитор.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>256825</commentid>
    <comment_count>6</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2024-12-28 15:17:41 +0300</bug_when>
    <thetext>Попробуй, как соберется.
#367384 BUILDING #1 [locked] [test-only] sisyphus srpm=gdm-47.0-alt2.src.rpm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>256982</commentid>
    <comment_count>7</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2025-01-09 10:19:28 +0300</bug_when>
    <thetext>(Ответ для Yuri N. Sedunov на комментарий #6)
&gt; #367384 BUILDING #1 [locked] [test-only] sisyphus srpm=gdm-47.0-alt2.src.rpm
Не помогло.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>256983</commentid>
    <comment_count>8</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2025-01-09 10:25:37 +0300</bug_when>
    <thetext>Ему каким-то боком нужен
systemctl is-enabled nvidia-hibernate
, иначе
GOTO=&quot;gdm_disable_wayland&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>256984</commentid>
    <comment_count>9</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2025-01-09 10:27:22 +0300</bug_when>
    <thetext>(Ответ для Sergey V Turchin на комментарий #8)
&gt; Ему каким-то боком нужен
&gt; systemctl is-enabled nvidia-hibernate
&gt; , иначе
&gt; GOTO=&quot;gdm_disable_wayland&quot;
Ааа, не. Он это обходит, т.к.
NVIDIA_ENABLE_S0IX_POWER_MANAGEMENT=0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>256985</commentid>
    <comment_count>10</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2025-01-09 10:29:46 +0300</bug_when>
    <thetext>ENV{NVIDIA_PRESERVE_VIDEO_MEMORY_ALLOCATIONS}!=&quot;1&quot;, GOTO=&quot;gdm_disable_wayland&quot;
, только нахрена оно ему, если везде по умолчанию выключено...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>256986</commentid>
    <comment_count>11</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2025-01-09 10:30:57 +0300</bug_when>
    <thetext>Да и вообще на кой он туда лезет, если gdm на Intel запущен...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>256987</commentid>
    <comment_count>12</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2025-01-09 12:01:43 +0300</bug_when>
    <thetext>&gt; ENV{NVIDIA_PRESERVE_VIDEO_MEMORY_ALLOCATIONS}!=&quot;1&quot;, GOTO=&quot;gdm_disable_wayland&quot;
В общем, претензия только к этой строке, т.к. с настройками по умолчанию практически у всех она будет переходить на gdm_disable_wayland.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>259417</commentid>
    <comment_count>13</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2025-02-17 13:15:54 +0300</bug_when>
    <thetext>(Ответ для Sergey V Turchin на комментарий #10)
&gt; ENV{NVIDIA_PRESERVE_VIDEO_MEMORY_ALLOCATIONS}!=&quot;1&quot;,
Это я добавил в дефолтный конфиг, т.е. только сервисы ему нужны включенные.
Правда, неизвестно, зачем.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>260079</commentid>
    <comment_count>14</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2025-02-28 09:44:32 +0300</bug_when>
    <thetext>(Ответ для Sergey V Turchin на комментарий #13)
&gt; (Ответ для Sergey V Turchin на комментарий #10)
&gt; &gt; ENV{NVIDIA_PRESERVE_VIDEO_MEMORY_ALLOCATIONS}!=&quot;1&quot;,
&gt; Это я добавил в дефолтный конфиг
Уже убрал, т.е. засыпать не даёт. Т.е. в gdm это поведение в правилах udev странное в любом случае.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>264903</commentid>
    <comment_count>15</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2025-05-15 18:37:54 +0300</bug_when>
    <thetext>(Ответ для Sergey V Turchin на комментарий #3)
&gt; &gt; А, у тебя ж невидиа, которая может быть признана непригодной для wayland.
&gt; У меня Intel, который пригоден, но вообще никакие сессии Wayland не отображает.
Т.е. правила udev кривые по определению. Достаточно сборку воткнуть любой обрубок от NVIDIA.

Предлагаю или убрать вообще всё про NVIDIA или хотя бы про NVIDIA_PRESERVE_VIDEO_MEMORY_ALLOCATIONS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>271482</commentid>
    <comment_count>16</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2025-08-27 14:00:31 +0300</bug_when>
    <thetext>*** Bug 54286 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>