compton icon indicating copy to clipboard operation
compton copied to clipboard

Compton fails with 'x_create_picture_with_pictfmt_and_pixmap' error

Open villuna opened this issue 6 years ago • 4 comments

Platform: Manjaro 18.0.2

GPU, drivers, and screen setup: Nvidia GTX 1060, not sure exactly what version but I'm using the nouveau drivers from the mesa package.

Compton version: I'm running compton-git from the aur, compton --version prints v5-rc4-60-g345009c

Compton configuration: just the default one.

I'm trying to set up compton with i3, initially I used the normal compton package from the official repositories but it would give me this error every time I tried to run:

x_create_picture_with_pictfmt_and_pixmap(): failed to create picture glx_bind_pixmap(1): Couldn't find FBConfig with requested depth.

then it would just repeatedly print

glx_render(): Missing texture. glx_render(): Missing texture. glx_render(): Missing texture. ...

until I stopped it. If I ran it in the background my display would glitch out, the background would be glitchy and while everything would be usable i just can't describe it in any other way than 'glitchy.'

I searched around to see if I could fix it, apparently from what I gathered it was just a clash with my drivers, so after trying and failing to install the proprietary nvidia drivers I decided to try use the development version of compton to see if it had been fixed. Instead I got a different error:

[ 05/02/19 12:00:34.125 x_create_picture_with_pictfmt_and_pixmap ERROR ] failed to create picture

And everything is similarly glitchy. I've been trying to get this to work for 2 days now but nothing I do makes it work, every fix I see always fails in some way.

villuna avatar Feb 05 '19 02:02 villuna

Do you know what kind of action would trigger this error?

Also you might want to report the issue here

yshui avatar Feb 08 '19 00:02 yshui

Ah of course, sorry :P

This is pretty much just when I run the program. I don't know what you mean by the action that triggers it. It's the output that appears when i run compton. Am I missing something?

villuna avatar Feb 12 '19 05:02 villuna

@Ulfr26 Hmm, does sounds like a driver problem.

Could you paste the output of glxinfo?

yshui avatar Mar 18 '19 10:03 yshui

So here's the output excluding the extentions and GLX visuals

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    (...)

client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    (...)

GLX version: 1.4
GLX extensions:
    (...)

Extended renderer info (GLX_MESA_query_renderer):
    Vendor: nouveau (0x10de)
    Device: NV136 (0x1c03)
    Version: 18.3.4
    Accelerated: yes
    Video memory: 6125MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.3
    Max compat profile version: 4.3
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: nouveau
OpenGL renderer string: NV136
OpenGL core profile version string: 4.3 (Core Profile) Mesa 18.3.4
OpenGL core profile shading language version string: 4.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
    (...)

OpenGL version string: 4.3 (Compatibility Profile) Mesa 18.3.4
OpenGL shading language version string: 4.30
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
    (...)

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 18.3.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
    (...)

(Huge table of GLX visuals)

So, make of that what you will. It could be a driver problem, I had trouble installing the proprietary drivers so I pretty much have to use noveau, but I don't expect that to be a problem in and of itself. Do you think it's a problem with how my drivers are set up?

villuna avatar Mar 26 '19 04:03 villuna