Bug 55045 - plots не запускается
Summary: plots не запускается
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: plots (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Aleksandr Shamaraev
QA Contact: qa-sisyphus
URL: https://github.com/alexhuntley/Plots/...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-03 16:46 MSK by Alexander Makeenkov
Modified: 2025-07-22 18:29 MSK (History)
3 users (show)

See Also:


Attachments
plots.png (1.33 MB, image/png)
2025-07-22 17:45 MSK, Aleksandr Shamaraev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Makeenkov 2025-07-03 16:46:22 MSK
plots-0.8.5-alt2.1

# apt-get install plots
$ plots

OpenGL ES version: 3.2
Traceback (most recent call last):
  File "/usr/lib/python3/site-packages/plots/graph.py", line 129, in gl_realize
    self.vertex_shader = shaders.compileShader(
                         ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/site-packages/OpenGL/GL/shaders.py", line 235, in compileShader
    raise ShaderCompilationError(
OpenGL.GL.shaders.ShaderCompilationError: ("Shader compile failure (0): b'0:20(10): error: GLSL 3.30 is not supported. Supported versions are: 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES\\n'", [b'/*\n   Copyright 2021 Alexander Huntley\n\n   This file is part of Plots.\n\n   Plots is free software: you can redistribute it and/or modify\n   it under the terms of the GNU General Public License as published by\n   the Free Software Foundation, either version 3 of the License, or\n   (at your option) any later version.\n\n   Plots is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n   GNU General Public License for more details.\n\n   You should have received a copy of the GNU General Public License\n   along with Plots.  If not, see <https://www.gnu.org/licenses/>.\n*/\n\n#version 330 core\nlayout (location = 0) in vec3 position;\nout vec2 graph_pos;\nuniform vec2 viewport;\nuniform vec2 translation;\nuniform float scale;\n\nvoid main() {\n    gl_Position = vec4(position, 1.0);\n    vec2 normalised = position.xy * viewport / viewport.x;\n    graph_pos = normalised*scale - translation;\n}'], GL_VERTEX_SHADER)
Comment 1 Yuri N. Sedunov 2025-07-03 16:57:18 MSK
(Ответ для Alexander Makeenkov на комментарий #0)
> plots-0.8.5-alt2.1
> 
> # apt-get install plots
> $ plots
> 
> OpenGL ES version: 3.2
> Traceback (most recent call last):
>   File "/usr/lib/python3/site-packages/plots/graph.py", line 129, in
> gl_realize
>     self.vertex_shader = shaders.compileShader(
>                          ^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/site-packages/OpenGL/GL/shaders.py", line 235, in
                                         ^^^^^^^^^^^^^^^^^^^^^
> compileShader
>     raise ShaderCompilationError(
> OpenGL.GL.shaders.ShaderCompilationError: ("Shader compile failure (0):
> b'0:20(10): error: GLSL 3.30 is not supported. Supported versions are: 1.00
> ES, 3.00 ES, 3.10 ES, and 3.20 

Вопросы к python3-module-OpenGL.
Comment 2 Aleksandr Shamaraev 2025-07-22 17:45:04 MSK
Created attachment 19163 [details]
plots.png

Юрий Николаевич, я исправил запуск Plots через ярлык приложения.
Также поправил иконку.
Русский язык тоже есть.

единственно почему-то после установки надо было перезагрузиться... ну эт я не знаю, сразу не стартанул.

По факту работает что в регулярке гном, что в альт рабочая станция 11 гном. 

Скрин приложил

Можно апрув?

Task #390569 for sisyphus by shad

https://packages.altlinux.org/ru/tasks/390569/
Comment 3 Aleksandr Shamaraev 2025-07-22 18:09:15 MSK
Не ту ссылку приложил, прошу прощения.
Comment 4 Yuri N. Sedunov 2025-07-22 18:23:58 MSK
Примечательно, что с GDK_DEBUG=gl-prefer-gl неважно значение GSK_RENDERER, его можно опустить, но без GDK_DEBUG, любое значение GSK_RENDERER не работает, и хуже того -- вызывает падение программы.

$ GSK_RENDERER=gl plots

(plots:359045): Gsk-WARNING **: 18:18:08.213: The old GL renderer has been removed. Try GSK_RENDERER=help
OpenGL ES version: 3.2
Ошибка сегментирования

$ GSK_RENDERER=ngl plots
OpenGL ES version: 3.2
Ошибка сегментирования


Пока пусть будет так.
Comment 5 Repository Robot 2025-07-22 18:29:05 MSK
plots-0.8.5-alt2.3 -> sisyphus:

Tue Jul 22 2025 Aleksandr Shamaraev <shad@altlinux> 0.8.5-alt2.3
- fixed launch via application shortcut (ALT #55045)
- fixed the display of the icon application shortcut