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

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

    <bug>
          <bug_id>49145</bug_id>
          
          <creation_ts>2024-01-22 10:48:56 +0300</creation_ts>
          <short_desc>Поддержка Vulkan в Nouveau</short_desc>
          <delta_ts>2024-02-14 01:01:45 +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>xorg-dri-nouveau</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</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="iQQator">iqqator</reporter>
          <assigned_to name="Valery Inozemtsev">shrek</assigned_to>
          <cc>iqqator</cc>
    
    <cc>oleg</cc>
    
    <cc>shrek</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>240415</commentid>
    <comment_count>0</comment_count>
    <who name="iQQator">iqqator</who>
    <bug_when>2024-01-22 10:48:56 +0300</bug_when>
    <thetext>Стенд с ошибкой: 
==============================
- OS: ALT Regular Sisyphus x86_64 
- Kernel: 6.6.13-un-def-alt1 
- DE: GNOME 45.3 
- CPU: Intel i7-4850HQ (8) @ 1.750GHz 
- GPU: NVIDIA GeForce GT 750M Mac Edition 
- GPU: Intel Crystal Well 
- Display: wayland 
Система обновлена: 22.01.2024

==============================
Пакет: xorg-dri-nouveau-23.3.3-alt1.x86_64

Шаги, приводящие к ошибке:
==============================
1. vulkaninfo --summary

Фактический результат:
==============================
WARNING: [Loader Message] Code 0 : loader_scanned_icd_add: Driver /usr/lib64/libvulkan_nouveau.so supports Vulkan 1.3, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)

WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Manifest ICD for &quot;/usr/lib64/libvulkan_nouveau.so&quot; contained a 1.1 or greater API version, but vkEnumerateInstanceVersion returned 1.0, treating as a 1.0 ICD

WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Failed to CreateInstance in ICD 3.  Skipping ICD.

Ожидаемый результат:
==============================
Отсутствие варингов, загруженный модуль для nouveau</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240751</commentid>
    <comment_count>1</comment_count>
    <who name="iQQator">iqqator</who>
    <bug_when>2024-01-28 14:00:48 +0300</bug_when>
    <thetext>Добрый день,
Ошибка загрузки остается (
Посмотрел изменения по веткам, нигда не меняли АПИ версию загрузки вулкана. Загрузчик ожидает версию 5 а ему предлагают версию 4 и он просто отказывается грузить данный модуль. Причем в ручную (с указанием ключа принудительной загрузки: NVK_I_WANT_A_BROKEN_VULKAN_DRIVER=1) модуль загружается и работает, но такое не провернуть с другими приложениями... только в vulkaninfo

Подозреваю что необходимо изменить переменную в файле src/vulkan/vulkan_api_def.in
vk_icdNegotiateLoaderICDInterfaceVersion@4 =&gt; vk_icdNegotiateLoaderICDInterfaceVersion@5

Но это не точно, потому нужна сборка для проверки данной гипотезы</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>241141</commentid>
    <comment_count>2</comment_count>
    <who name="Valery Inozemtsev">shrek</who>
    <bug_when>2024-02-05 08:51:31 +0300</bug_when>
    <thetext>*** Bug 49216 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>241445</commentid>
    <comment_count>3</comment_count>
    <who name="Valery Inozemtsev">shrek</who>
    <bug_when>2024-02-12 09:39:15 +0300</bug_when>
    <thetext>в mesa 24.0.0 nouveau vulkan отсутствует</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>241525</commentid>
    <comment_count>4</comment_count>
    <who name="iQQator">iqqator</who>
    <bug_when>2024-02-12 19:50:42 +0300</bug_when>
    <thetext>https://github.com/Mesa3D/mesa/tree/24.0/src/nouveau
Однако сам vulkan в ней присутствует... а вот в сборке уже нет</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>241526</commentid>
    <comment_count>5</comment_count>
    <who name="iQQator">iqqator</who>
    <bug_when>2024-02-12 19:51:53 +0300</bug_when>
    <thetext>и в meson.build он писутствует

subdir(&apos;headers&apos;)
if with_nouveau_vk
  subdir(&apos;compiler&apos;)
endif
subdir(&apos;winsys&apos;)
if with_tools.contains(&apos;drm-shim&apos;)
  subdir(&apos;drm-shim&apos;)
endif

subdir(&apos;codegen&apos;)
if with_nouveau_vk
  subdir(&apos;nil&apos;)
  subdir(&apos;mme&apos;)
  subdir(&apos;vulkan&apos;)
endif

Вероятно сломалась сборка или потерялся флаг with_nouveau_vk</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>241527</commentid>
    <comment_count>6</comment_count>
    <who name="iQQator">iqqator</who>
    <bug_when>2024-02-12 19:59:57 +0300</bug_when>
    <thetext>https://github.com/Mesa3D/mesa/blob/24.0/meson.build
Нашел причину, вероятно больше они не поддерживают Vulkan на Nouveau от слова совсем :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>241528</commentid>
    <comment_count>7</comment_count>
    <who name="iQQator">iqqator</who>
    <bug_when>2024-02-12 20:14:20 +0300</bug_when>
    <thetext>Они вынесли nouveau в опцию all но как я понимаю Сизиф не будет собирать с такой опцией данный пакет ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>241529</commentid>
    <comment_count>8</comment_count>
    <who name="iQQator">iqqator</who>
    <bug_when>2024-02-12 20:14:42 +0300</bug_when>
    <thetext>https://gitlab.freedesktop.org/mesa/mesa/-/commit/b70e948886976d2fb17b3191c9116c1babe25810#ca9bb7eff80503c97c83505e8acea4002fd87ac6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>241530</commentid>
    <comment_count>9</comment_count>
    <who name="iQQator">iqqator</who>
    <bug_when>2024-02-12 20:16:27 +0300</bug_when>
    <thetext>Подскажите возможно ли собрать mesa с данной опцией ? 

value : [&apos;auto&apos;] =&gt; value : [&apos;all&apos;]

https://gitlab.freedesktop.org/mesa/mesa/-/commit/b70e948886976d2fb17b3191c9116c1babe25810#ca9bb7eff80503c97c83505e8acea4002fd87ac6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>241532</commentid>
    <comment_count>10</comment_count>
    <who name="Valery Inozemtsev">shrek</who>
    <bug_when>2024-02-12 20:34:46 +0300</bug_when>
    <thetext>этот драйвер экспериментальный. когда будет стабильным, тогда и появится</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>241611</commentid>
    <comment_count>11</comment_count>
    <who name="iQQator">iqqator</who>
    <bug_when>2024-02-14 01:01:45 +0300</bug_when>
    <thetext>(Ответ для Valery Inozemtsev на комментарий #10)
&gt; этот драйвер экспериментальный. когда будет стабильным, тогда и появится

А как узнать что он перстал быть эксперементальным то ? если не тестировать :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>