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

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

    <bug>
          <bug_id>57561</bug_id>
          
          <creation_ts>2026-01-20 13:20:32 +0300</creation_ts>
          <short_desc>Не работает драйвер 470.256.02 на NVIDIA GM108M [GeForce 940MX]</short_desc>
          <delta_ts>2026-03-04 14:05:46 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Branch p11</product>
          <component>nvidia_glx_470.256.02</component>
          <version>unspecified</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="obidinog@basealt.ru">obidinog</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          <cc>werewoolf</cc>
          
          <qa_contact name="qa-p11@altlinux.org">qa-p11</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>280503</commentid>
    <comment_count>0</comment_count>
    <who name="obidinog@basealt.ru">obidinog</who>
    <bug_when>2026-01-20 13:20:32 +0300</bug_when>
    <thetext>Платформа:
Alt Kworkstation p11 x86_64 

Пакет:
nvidia_glx_470.256.02-alt259

Стенд:
LENOVO 80YL   
NVIDIA GeForce 940MX [NVIDIA GM108M]

Шаги:
Установить драйвера
# apt-get install nvidia_glx_common
# nvidia-install-driver

Переключиться на драйвер 470.256.02
# mv /usr/share/hwdatabase/videoaliases/!(*470*) ~/
# nvidia-install-driver
# reboot

Убедиться что загрузился 470 драйвер
# inxi -G 
Graphics:
  Device-2: NVIDIA GM108M [GeForce 940MX] driver: nvidia v: 470.256.02


Запустить glmark2
$ nvidia-prime-run glmark2

Результат:
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  150 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  32
  Current serial number in output stream:  33

Дополнительно:
Судя по сайту nvidia драйвер должен поддерживаться
https://www.nvidia.com/en-us/drivers/details/226760/

И по pci слоту
# PCI_SLOT=$(lspci | grep -i nvidia | grep -E &quot;VGA|3D&quot; | awk &apos;{print $1}&apos; | head -n 1) &amp;&amp; UEVENT_FILE=&quot;/sys/bus/pci/devices/0000:$PCI_SLOT/uevent&quot; &amp;&amp; PCI_ID=$(grep PCI_ID &quot;$UEVENT_FILE&quot; | cut -d&apos;=&apos; -f2) &amp;&amp; VENDOR_ID=$(echo &quot;$PCI_ID&quot; | cut -d&apos;:&apos; -f1) &amp;&amp; DEVICE_ID=$(echo &quot;$PCI_ID&quot; | cut -d&apos;:&apos; -f2) &amp;&amp; grep -l -i &quot;$VENDOR_ID.*$DEVICE_ID&quot; /usr/share/hwdatabase/videoaliases/nvidia-*.xinf

/usr/share/hwdatabase/videoaliases/nvidia-390.157.xinf
/usr/share/hwdatabase/videoaliases/nvidia-470.256.02.xinf
/usr/share/hwdatabase/videoaliases/nvidia-570.169.xinf
/usr/share/hwdatabase/videoaliases/nvidia-580.95.05.xinf

В Sisyphus не проверялось</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>280507</commentid>
    <comment_count>1</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2026-01-20 13:40:57 +0300</bug_when>
    <thetext>Обновите ядро и не курочте систму.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>280510</commentid>
    <comment_count>2</comment_count>
    <who name="obidinog@basealt.ru">obidinog</who>
    <bug_when>2026-01-20 13:47:47 +0300</bug_when>
    <thetext>Ядро обновлено

[root@host-132 ~]# rpm -q kernel-modules-nvidia-6.12 
kernel-modules-nvidia-6.12-570.169-alt1.396329.1.x86_64
kernel-modules-nvidia-6.12-580.95.05-alt1.396353.1.x86_64
[root@host-132 ~]# uname -r
6.12.65-6.12-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>283117</commentid>
    <comment_count>3</comment_count>
    <who name="WWolf">werewoolf</who>
    <bug_when>2026-03-03 23:20:26 +0300</bug_when>
    <thetext>Наблюдаю этот же баг на своей 750М.
Проблема, что ставится то 470 драйвер (это последний для моей невидии), но вся обвязка от 580 и они не дружат с между собой. 

$ uname -r
6.12.68-6.12-alt1

$ inxi -G
Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics driver: i915
    v: kernel
  Device-2: NVIDIA GK107M [GeForce GT 750M] driver: nvidia v: 470.256.02
  Device-3: Sunplus Innovation HD WebCam driver: uvcvideo type: USB
  Display: x11 server: X.Org v: 1.21.1.20 with: Xwayland v: 24.1.9 driver:
    X: loaded: modesetting unloaded: fbdev,nouveau,vesa dri: crocus gpu: i915
    resolution: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: crocus,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 25.2.8
    renderer: Mesa Intel HD Graphics 4600 (HSW GT2)
  API: Vulkan v: 1.4.335 drivers: N/A surfaces: N/A

$ nvidia-smi
Failed to initialize NVML: Driver/library version mismatch
NVML library version: 580.126

# dmesg | grep NVRM
[    7.069932] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  470.256.02  Thu May  2 14:37:44 UTC 2024
[    7.562893] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x60:0x0:2166)
[    7.563767] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[  233.142455] NVRM: API mismatch: the client has the version 580.126.09, but
               NVRM: this kernel module has the version 470.256.02.  Please
               NVRM: make sure that this kernel module and all NVIDIA driver
               NVRM: components have the same version.
[  239.056295] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x60:0x0:2166)
[  239.057710] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0

Последние две строчки постоянно сыпит в dmesg как идёт какое-то обращение в видеокарте, будь то через inxi -G (выполняется сказочно долго), как и любой тест glxgears, glmark2 и подобное.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>283153</commentid>
    <comment_count>4</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2026-03-04 13:38:00 +0300</bug_when>
    <thetext>(Ответ для Sergey V Turchin на комментарий #1)
&gt; не курочте систму.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>283154</commentid>
    <comment_count>5</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2026-03-04 13:38:53 +0300</bug_when>
    <thetext>(Ответ для WWolf на комментарий #3)
&gt; Failed to initialize NVML: Driver/library version mismatch
&gt; NVML library version: 580.126
Другой баг. Заведите отдельно.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>283156</commentid>
    <comment_count>6</comment_count>
    <who name="WWolf">werewoolf</who>
    <bug_when>2026-03-04 13:52:18 +0300</bug_when>
    <thetext>(Ответ для Sergey V Turchin на комментарий #5)
&gt; (Ответ для WWolf на комментарий #3)
&gt; &gt; Failed to initialize NVML: Driver/library version mismatch
&gt; &gt; NVML library version: 580.126
&gt; Другой баг. Заведите отдельно.

Это один баг. Драйвер ставится 470, а всё управление драйвером ставится 580 - а они не совместимы между собой. 
Нет пакетов nvidia_glx_libs_470, отсюда и все проблемы на старых буках с optimus - intel+nvidia</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>