Bug 50823 - Ошибка теста gfxdraw_test.py: ERROR: setUpClass (__main__.GfxdrawDefaultTest) (pygame)
Summary: Ошибка теста gfxdraw_test.py: ERROR: setUpClass (__main__.GfxdrawDefaultTest)...
Status: NEW
Alias: None
Product: Branch p10
Classification: Unclassified
Component: python3-module-pygame (show other bugs)
Version: не указана
Hardware: x86_64 Linux
: P5 normal
Assignee: Fr. Br. George
QA Contact: qa-p10@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-04 18:03 MSK by Tatyana Gagina
Modified: 2024-07-04 18:03 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tatyana Gagina 2024-07-04 18:03:47 MSK
Стенды 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 "(VGA|3D)"
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 "(VGA|3D)" 
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/ && 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 "/usr/lib64/python3/site-packages/pygame/tests/./gfxdraw_test.py", 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