Giter VIP home page Giter VIP logo

Comments (12)

scorpion-26 avatar scorpion-26 commented on May 31, 2024

Does it crash(Segmentation fault or similar) or does it not open(idles forever). If it idles, please install and start either pipewire or pulseaudio and see if that changes anything.
If it crashes, please debug it with gdb, as the don't reveal further clues: gdb /<pathtogbar>/gBar and run bar 0 inside gdb. Please post any output of gdb.

The config warning is not critical, if you want to configure gBar, please read the corresponding section in the README. The warning should go away.

from gbar.

aramacs avatar aramacs commented on May 31, 2024

Maybe I'm too young to play with that... kidding.
So I couldn't play gdb the way you said. But, I unninstalled and compile from source.
Then, the error goes on and I had that:

image

from gbar.

scorpion-26 avatar scorpion-26 commented on May 31, 2024

Does the bar open now, as those are all benign warnings and I can't see any indications of a crash in the screenshot. If it did indeed crash, a crash report via gdb would be really useful.
I forgot to mention, for gdb to display any helpful information you need debug symbols(Run inside where gbar is cloned):
meson setup build-debug -Dbuildtype=debug && ninja -C build-debug to build, then gdb build-debug/gBar and run bar 0 inside gdb.

from gbar.

aramacs avatar aramacs commented on May 31, 2024

It still won't open.

Screenshot_2023-09-20-08-54-07_16855

from gbar.

scorpion-26 avatar scorpion-26 commented on May 31, 2024

run bar 0 not bar 0

from gbar.

aramacs avatar aramacs commented on May 31, 2024

My bad. First time using gdb.

That was my result

Screenshot_2023-09-20-14-48-43_12048

from gbar.

scorpion-26 avatar scorpion-26 commented on May 31, 2024

Ok, gBar crashes, because gpu utilization is not supported on your gpu. I'll be working on a fix.

from gbar.

scorpion-26 avatar scorpion-26 commented on May 31, 2024

Should be fixed now. Instead of crashing, gBar will disable the GPU module, since the required information isn't available.

from gbar.

aramacs avatar aramacs commented on May 31, 2024

Ok. I proceed making another clone of the repo. This time I think I have an error in the compile.
Screenshot_2023-09-21-11-13-13_18058

Then when I run gBar bar 0, it shows that

Screenshot_2023-09-21-11-14-54_8177

And gdb crashes

image

from gbar.

scorpion-26 avatar scorpion-26 commented on May 31, 2024

The build failed, so no binaries have been built or installed. The first error is still the initial error from when you first installed gBar. The gdb error is due to the fact that there is no local binary, because the build failed.

Since you're on arch, I'd recommend you to use my AUR package (In the following I use yay, other tools should work similar):
yay -S gbar-git.
Then check if you've got any remaining files from local installations left in /usr/local (/usr/local/bin/gBar, /usr/local/lib/libgBar.a, /usr/local/include/gBar), as they could interfere with the AUR installation.
Running it now with gBar bar 0 should use the updated version.

In case you're wondering about the build error, you forgot to clone a submodule. git submodule update --init, then ninja -C build-debug again should work. build-debug/gBar bar 0 to run it.

from gbar.

aramacs avatar aramacs commented on May 31, 2024

It works! Thanks to the whole explanation. I'm kind a new to open source and programming too. I'm very excited about open source projects and WM's and the rabbit hole of personalization. Your bar is a really good project.

Cheers from Brazil

from gbar.

scorpion-26 avatar scorpion-26 commented on May 31, 2024

No problem.
And good luck on your open source journey!

from gbar.

Related Issues (20)

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.