Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

egl backend fails to create any pixmap #981

Closed
absolutelynothelix opened this issue Dec 23, 2022 · 0 comments · Fixed by #986
Closed

egl backend fails to create any pixmap #981

absolutelynothelix opened this issue Dec 23, 2022 · 0 comments · Fixed by #986

Comments

@absolutelynothelix
Copy link
Collaborator

absolutelynothelix commented Dec 23, 2022

the screen freezes for a second, then goes black. after killing picom i see this:

workstation:~/Downloads/picom$ build/src/picom --config=/dev/null --backend=egl
[ 12/23/2022 13:13:05.053 get_cfg WARN ] The egl backend is still experimental, use with care.
[ 12/23/2022 13:13:05.137 egl_bind_pixmap ERROR ] Failed to create eglpixmap for pixmap 0x012000f4
[ 12/23/2022 13:13:05.137 root_damaged ERROR ] Failed to bind root back pixmap
[ 12/23/2022 13:13:05.137 egl_bind_pixmap ERROR ] Failed to create eglpixmap for pixmap 0x012000f4
[ 12/23/2022 13:13:05.137 root_damaged ERROR ] Failed to bind root back pixmap
[ 12/23/2022 13:13:05.137 egl_bind_pixmap ERROR ] Failed to create eglpixmap for pixmap 0x0200001d
[ 12/23/2022 13:13:05.137 win_bind_pixmap ERROR ] Failed to bind pixmap
[ 12/23/2022 13:13:05.137 egl_bind_pixmap ERROR ] Failed to create eglpixmap for pixmap 0x0200001e
[ 12/23/2022 13:13:05.137 win_bind_pixmap ERROR ] Failed to bind pixmap
[ 12/23/2022 13:13:05.137 egl_bind_pixmap ERROR ] Failed to create eglpixmap for pixmap 0x0200001f
[ 12/23/2022 13:13:05.137 win_bind_pixmap ERROR ] Failed to bind pixmap
[ 12/23/2022 13:13:05.137 egl_bind_pixmap ERROR ] Failed to create eglpixmap for pixmap 0x02000020
[ 12/23/2022 13:13:05.137 win_bind_pixmap ERROR ] Failed to bind pixmap

i'm on arch linux, running xfce 4.18, gtx 1650 w/ nvidia-dkms 525.60.11-1
eglinfo: http://0x0.st/o54W.txt
trace log: http://0x0.st/o544.log

hmu if you need any additional information, i'll respond asap

update: the eglGetError function returns EGL_BAD_PARAMETER

@absolutelynothelix absolutelynothelix changed the title egl backend fails to bind any pixmap egl backend fails to create any pixmap Dec 23, 2022
absolutelynothelix added a commit to absolutelynothelix/picom that referenced this issue Dec 30, 2022
according to the specification of the EGL_KHR_image_pixmap extension,
if _target_ is EGL_NATIVE_PIXMAP_KHR then _ctx_ should be EGL_NO_CONTEXT

fixes yshui#981
absolutelynothelix added a commit to absolutelynothelix/picom that referenced this issue Dec 30, 2022
according to the specification of the EGL_KHR_image_pixmap extension,
if _target_ is EGL_NATIVE_PIXMAP_KHR then _ctx_ should be EGL_NO_CONTEXT

fixes yshui#981
absolutelynothelix added a commit to absolutelynothelix/picom that referenced this issue Dec 30, 2022
according to the specification of the EGL_KHR_image_pixmap extension,
if _target_ is EGL_NATIVE_PIXMAP_KHR then _ctx_ must be EGL_NO_CONTEXT,
otherwise, the EGL_BAD_PARAMETER error is generated

fixes yshui#981
absolutelynothelix added a commit to absolutelynothelix/picom that referenced this issue Jan 11, 2023
according to the specification of the EGL_KHR_image_pixmap extension,
if target is EGL_NATIVE_PIXMAP_KHR then ctx must be EGL_NO_CONTEXT,
otherwise, the EGL_BAD_PARAMETER error is generated. source:
https://registry.khronos.org/EGL/extensions/KHR/EGL_KHR_image_pixmap.txt

fixes yshui#981
FT-Labs pushed a commit to FT-Labs/picom that referenced this issue Jan 23, 2023
according to the specification of the EGL_KHR_image_pixmap extension,
if target is EGL_NATIVE_PIXMAP_KHR then ctx must be EGL_NO_CONTEXT,
otherwise, the EGL_BAD_PARAMETER error is generated. source:
https://registry.khronos.org/EGL/extensions/KHR/EGL_KHR_image_pixmap.txt

fixes yshui#981
FT-Labs pushed a commit to FT-Labs/picom that referenced this issue Jan 23, 2023
according to the specification of the EGL_KHR_image_pixmap extension,
if target is EGL_NATIVE_PIXMAP_KHR then ctx must be EGL_NO_CONTEXT,
otherwise, the EGL_BAD_PARAMETER error is generated. source:
https://registry.khronos.org/EGL/extensions/KHR/EGL_KHR_image_pixmap.txt

fixes yshui#981
fdev31 pushed a commit to fdev31/picom that referenced this issue Mar 5, 2023
according to the specification of the EGL_KHR_image_pixmap extension,
if target is EGL_NATIVE_PIXMAP_KHR then ctx must be EGL_NO_CONTEXT,
otherwise, the EGL_BAD_PARAMETER error is generated. source:
https://registry.khronos.org/EGL/extensions/KHR/EGL_KHR_image_pixmap.txt

fixes yshui#981
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant