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

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

    <bug>
          <bug_id>50823</bug_id>
          
          <creation_ts>2024-07-04 18:03:47 +0300</creation_ts>
          <short_desc>Ошибка теста gfxdraw_test.py: ERROR: setUpClass (__main__.GfxdrawDefaultTest) (pygame)</short_desc>
          <delta_ts>2024-07-04 18:03:47 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Branch p10</product>
          <component>python3-module-pygame</component>
          <version>не указана</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="Tatyana Gagina">tatyana</reporter>
          <assigned_to name="Fr. Br. George">george</assigned_to>
          <cc>george</cc>
          
          <qa_contact name="qa-p10@altlinux.org">qa-p10</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>248539</commentid>
    <comment_count>0</comment_count>
    <who name="Tatyana Gagina">tatyana</who>
    <bug_when>2024-07-04 18:03:47 +0300</bug_when>
    <thetext>Стенды P10:
ALT Education KDE x86-64
ALT Education XFCE x86-64

Ноутбук: Lenovo IdeaPad Slim 3 (воспроизводится)
Процессор: 13th Gen Intel(R) Core(TM) i5-1335U
Видеокарта (встроенная): Intel Corporation Raptor Lake-P [UHD Graphics]
# lspci -k | grep -A 2 -E &quot;(VGA|3D)&quot;
00:02.0 VGA compatible controller: Intel Corporation Raptor Lake-P [UHD Graphics] (rev 04)
        Subsystem: Lenovo Device 3807
        Kernel driver in use: i915


Ноутбук: HP Laptop 15-da0072ur (не воспроизводится)
Процессор: Intel(R) Pentium(R) Silver N5000 CPU @ 1.10GHz
Видеокарта (встроенная): Intel GeminiLake [UHD Graphics 605]
Видеокарта (дискретная): NVIDIA GM108M [GeForce MX110]
# lspci -k | grep -A 2 -E &quot;(VGA|3D)&quot; 
00:02.0 VGA compatible controller: Intel Corporation GeminiLake [UHD Graphics 605] (rev 03)
        Subsystem: Hewlett-Packard Company Device 84ab
        Kernel driver in use: i915
--
01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce MX110] (rev a2)
        Subsystem: Hewlett-Packard Company Device 84ab
        Kernel driver in use: nvidia
--
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723DE 802.11b/g/n PCIe Adapter
        DeviceName: WLAN
        Subsystem: Hewlett-Packard Company Device 8319

Версия: python3-module-pygame-2.0.1-alt1


Шаги: 
1) Установить пакет:
# apt-get install -y  python3-module-pygame

2) Запустить в графическом сеансе:
# cd /usr/lib64/python3/site-packages/pygame/tests/ &amp;&amp; python3 ./gfxdraw_test.py

Результат: pygame 2.0.1 (SDL 2.30.3, Python 3.9.18)
Hello from the pygame community. https://www.pygame.org/contribute.html
E
======================================================================
ERROR: setUpClass (__main__.GfxdrawDefaultTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/usr/lib64/python3/site-packages/pygame/tests/./gfxdraw_test.py&quot;, line 74, in setUpClass
    pygame.init()
RuntimeError: SDL compiled with version 2.0.14, linked to 2.30.3

----------------------------------------------------------------------
Ran 0 tests in 0.001s

FAILED (errors=1)

Детали: 
- возможно связано  с  драйвером   видеокарты на ноутбуке Lenovo IdeaPad Slim 3
Замечено пока только на данном ноутбуке (Lenovo IdeaPad Slim 3), на HP Laptop 15-da0072ur и на виртуальных машинах (в окружении Proxmox) не воспроизводится.
Также не воспроизводится на Sisyphus с версией python3-module-pygame-2.5.2-alt1

Ожидаемый результат: Успешное выполнение теста с выводом вида: 
Hello from the pygame community. https://www.pygame.org/contribute.html
.........................
----------------------------------------------------------------------
Ran 25 tests in 1.705s

OK</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>