Giter Site home page Giter Site logo

Comments (6)

karulont avatar karulont commented on August 16, 2024

Hi,
There are some stuff in file blur.c, which can be enabled by defining DEBUG_GL.
This can be done by adding -DDEBUG_GL to CPPFLAGS in makefile.

Find line:
CPPFLAGS += -DVERSION="${GIT_VERSION}"
And replace it with this one:
+CPPFLAGS += -DVERSION="${GIT_VERSION}" -DDEBUG_GL

After recompiling (make clean; make), i3lock should print some additional info to stdout.

from i3lock-blur.

alextsits avatar alextsits commented on August 16, 2024

Ok, here is what I get in stdout with ati:
V Shader: 1
F Shader: 1
Program: 1

And this is what I get with intel (where it works as expected):
V Shader: 1
shader_infolog:
F Shader: 1
shader_infolog:
Program: 1
shader_infolog:
program_infolog:
V Shader: 1
shader_infolog:
F Shader: 1
shader_infolog:
Program: 1
shader_infolog:
program_infolog:

Don't see how this could help, but I hope it will.
I'm available you need any more info/tests.

from i3lock-blur.

karulont avatar karulont commented on August 16, 2024

I looked at my code a little found out that actually there was a programming error on my part, which might trigger the crash by using ati driver.

I did a commit, which might fix it.

from i3lock-blur.

alextsits avatar alextsits commented on August 16, 2024

Just did git pull and tested. It didn't work :/
However using LD_DEBUG=libs i get the following errors:
./i3lock: error: symbol lookup error: undefined symbol: __glXSetTexBufferInfo (fatal)
./i3lock: error: symbol lookup error: undefined symbol: __glXgetGLXPixmapInfo (fatal)

Note that I also get those errors using LD_DEBUG=libs with other programs when I use ati card, (although the programs seem to work fine, like fgl_glxgears).

from i3lock-blur.

alextsits avatar alextsits commented on August 16, 2024

@karulont I just found out that for some reason ./i3lock -f --nofork works fine for me even with catalyst drivers. That is weird as --norfork option is not required with i915 driver.

from i3lock-blur.

karulont avatar karulont commented on August 16, 2024

Probably the driver does something funky with the process ID. And after a fork the process ID changes.

To be more accurate: parent process will open up a connection to Xserver and does some stuff. Then a fork happens and the child remains. However child has a different Process ID than the parent, which opened the connection to Xserver.

from i3lock-blur.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.