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

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

    <bug>
          <bug_id>57850</bug_id>
          
          <creation_ts>2026-02-12 17:18:57 +0300</creation_ts>
          <short_desc>python3-module-pyopengl: OpenGL окна не открываются в Wayland сессиях</short_desc>
          <delta_ts>2026-02-12 18:40:20 +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>python3-module-pyopengl</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>ASSIGNED</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="Котюхов Михаил Андреевич">kotjuhovma</reporter>
          <assigned_to name="Grigory Ustinov">grenka</assigned_to>
          <cc>grenka</cc>
    
    <cc>placeholder</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>281939</commentid>
    <comment_count>0</comment_count>
    <who name="Котюхов Михаил Андреевич">kotjuhovma</who>
    <bug_when>2026-02-12 17:18:57 +0300</bug_when>
    <thetext>Системы, обновленные до sisyphus:
 kworkstation-11.2-x86-64
 education-11.0-x86-64-kde
 workstation-11.1-x86-64

Версии:
 python3-module-pyopengl-3.1.9-alt2.3

Шаги:
  1.Создать файл для проверки test2.py

$ cat &lt;&lt; EOF &gt; test2.py

from OpenGL.GL import *
from OpenGL.GLUT import *
from OpenGL.GLU import *

def draw():
    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT)
    glLoadIdentity()
    gluLookAt(0, 0, 5, 0, 0, 0, 0, 1, 0)
    glColor3f(1, 0, 0)
    glutWireTeapot(1.0)
    glutSwapBuffers()

glutInit()
glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH)
glutInitWindowSize(640, 480)
glutCreateWindow(b&quot;GLU Test&quot;)
glEnable(GL_DEPTH_TEST)
glutDisplayFunc(draw)
glMatrixMode(GL_PROJECTION)
glLoadIdentity()
gluPerspective(45, 640/480, 0.1, 50.0)
glMatrixMode(GL_MODELVIEW)
glutMainLoop()

EOF
 
 2. $ python3  test2.py

Результат:
 Traceback (most recent call last):
File &quot;/home/test/test2.py&quot;, line 19, in &lt;module&gt;
glutDisplayFunc(draw)
File &quot;/usr/lib/python3/site-packages/OpenGL/GLUT/special.py&quot;, line 147, in __call__
contextdata.setValue( self.CONTEXT_DATA_KEY, cCallback )
File &quot;/usr/lib/python3/site-packages/OpenGL/contextdata.py&quot;, line 58, in setValue
context = getContext( context )
^^^^^^^^^^^^^^^^^^^^^
File &quot;/usr/lib/python3/site-packages/OpenGL/contextdata.py&quot;, line 40, in getContext
raise error.Error(
OpenGL.error.Error: Attempt to retrieve context when no valid context

Ожидаемый результат:
 Открылось окно с изображением красного чайника.

Дополнительно:
 Не воспроизводится в x11 сессиях. В p11 поведение аналогичное.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>