GithubHelp home page GithubHelp logo

kwin_x11 crashes about kwin-lowlatency HOT 20 CLOSED

tildearrow avatar tildearrow commented on May 30, 2024
kwin_x11 crashes

from kwin-lowlatency.

Comments (20)

tildearrow avatar tildearrow commented on May 30, 2024

Can you provide the output of ls /usr/lib | tail?

from kwin-lowlatency.

Vistaus avatar Vistaus commented on May 30, 2024

Can you provide the output of ls /usr/lib | tail?

Sure :)

vistaus@ThinkClear ~/A/f/d/build> ls /usr/lib | tail
systemd
sysusers.d
tc
tcl8
tcl8.6
terminfo
tk8.6
tmpfiles.d
udev
X11
vistaus@ThinkClear ~/A/f/d/build> 

from kwin-lowlatency.

tildearrow avatar tildearrow commented on May 30, 2024

There isn't a x86_64-linux-gnu... ...this doesn't seem right.

Can you provide the backtrace of the installed kwin_x11? (you provided the non-installed one)

from kwin-lowlatency.

Vistaus avatar Vistaus commented on May 30, 2024

There isn't a x86_64-linux-gnu... ...this doesn't seem right.

FWIW, even without kwin, Plasma is working fine still (currently using metacity as a workaround) so the absence of x86_64-linux-gnu must be some sort of Clear Linux modification then?

Can you provide the backtrace of the installed kwin_x11? (you provided the non-installed one)

I tried getting a backtrace of the installed kwin_x11 but run --replace (in gdb) froze after 2 minutes, so I couldn't obtain a backtrace, and the output of run --replace didn't reveal anything else then the above error and some spawned thread messages.

from kwin-lowlatency.

tildearrow avatar tildearrow commented on May 30, 2024

I tried getting a backtrace of the installed kwin_x11 but run --replace (in gdb) froze after 2 minutes, so I couldn't obtain a backtrace, and the output of run --replace didn't obtain anything else then the above error and some spawned thread messages.

Try doing so from SSH rather than a local terminal. (remember to set your $DISPLAY)

from kwin-lowlatency.

Vistaus avatar Vistaus commented on May 30, 2024

I tried getting a backtrace of the installed kwin_x11 but run --replace (in gdb) froze after 2 minutes, so I couldn't obtain a backtrace, and the output of run --replace didn't obtain anything else then the above error and some spawned thread messages.

Try doing so from SSH rather than a local terminal. (remember to set your $DISPLAY)

I'm not really familiar with SSH. How do I do that?

from kwin-lowlatency.

tildearrow avatar tildearrow commented on May 30, 2024

Do:

sudo apt-get install openssh-server
sudo systemctl start sshd

In another computer do:

sudo apt-get install openssh-client
ssh vistaus@<IPAddressOfMachine>

and then you'll get a shell in where you can do the backtracing.

(you can retrieve your machine's IP address by doing ip addr)

from kwin-lowlatency.

Vistaus avatar Vistaus commented on May 30, 2024

Thanks :)

I did it, but it still says there's no backtrace :/

(gdb) run --replace
Starting program: /usr/bin/kwin_x11 --replace
source: Error encountered while sourcing file '/home/vistaus/.local/share/omf/init.fish':
source: No such file or directory
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
warning: the debug information found in "/usr/lib/debug//usr/lib64/libgcc_s.so.1.debug" does not match "/usr/lib64/libgcc_s.so.1" (CRC mismatch).
 
warning: the debug information found in "/usr/lib/debug//usr/lib64/libGL.so.1.2.0.debug" does not match "/usr/lib64/libGL.so.1" (CRC mismatch).
 
warning: the debug information found in "/usr/lib/debug//usr/lib64/libGL.so.1.2.0.debug" does not match "/usr/lib64/libGL.so.1" (CRC mismatch).
 
/usr/bin/kwin_x11: FATAL ERROR while trying to open display
[Inferior 1 (process 14472) exited with code 01]
(gdb) backtrace
No stack.
(gdb)

from kwin-lowlatency.

tildearrow avatar tildearrow commented on May 30, 2024

You haven't set the $DISPLAY. Try:

DISPLAY=:0 gdb kwin_x11

from kwin-lowlatency.

Vistaus avatar Vistaus commented on May 30, 2024

Oops, you're right! It worked now. Here's the backtrace: https://pastebin.com/RRe1SxDj

from kwin-lowlatency.

tildearrow avatar tildearrow commented on May 30, 2024

Theme...

Can you try disabling the Yaru theme (both GTK and Qt) and see if that helps?
If it does, I'm going to check what is going on when the theme is used.

from kwin-lowlatency.

Vistaus avatar Vistaus commented on May 30, 2024

I don't use the Yaru theme (I don't think Clear Linux even has that theme). I use Kvantum for Qt theming. Kvantum worked fine with kwin_lowlatency on Solus, so that can't be the issue.

from kwin-lowlatency.

tildearrow avatar tildearrow commented on May 30, 2024

Then I wonder why has your first backtrace mentioned Yaru...

Can you provide the output of ./bin/kwin_x11 --replace? (from the build directory)

from kwin-lowlatency.

Vistaus avatar Vistaus commented on May 30, 2024

I think it mentions Yaru because I use the Suru icon theme. Given that it's modeled after the Ubuntu Touch icons, it probably wants Yaru as a fallback theme, but it works fine without.

Here's the output:

vistaus@ThinkClear ~/A/f/k/build> ./bin/kwin_x11 --replace
./bin/kwin_x11: symbol lookup error: /home/vistaus/Apps/from=git/kwin-lowlatency/build/bin/libkwin.so.5: undefined symbol: _ZN12ScreenLocker7KSldApp4lockENS_13EstablishLockEi
vistaus@ThinkClear ~/A/f/k/build> 

from kwin-lowlatency.

tildearrow avatar tildearrow commented on May 30, 2024

Try deleting your build directory and compiling again.
Then run using QT_PLUGIN_PATH="$PWD/bin" ./bin/kwin_x11 --replace.

from kwin-lowlatency.

Vistaus avatar Vistaus commented on May 30, 2024

Deleted the build directory and recompiled, but still:

vistaus@ThinkClear~/Apps/from=git/kwin-lowlatency/build $ QT_PLUGIN_PATH="$PWD/bin" ./bin/kwin_x11 --replace
./bin/kwin_x11: symbol lookup error: /home/vistaus/Apps/from=git/kwin-lowlatency/build/bin/libkwin.so.5: undefined symbol: _ZN12ScreenLocker7KSldApp4lockENS_13EstablishLockEi
vistaus@ThinkClear~/Apps/from=git/kwin-lowlatency/build $

Should I try compiling using the Ubuntu instructions to see if that makes it work? I know Clear isn't based on Ubuntu, but maybe it uses the same dir structure.

from kwin-lowlatency.

tildearrow avatar tildearrow commented on May 30, 2024

I doubt the Ubuntu instructions will help, as it only changes the library directories (which don't exist in Clear)...

What is the output of plasmashell --version?

from kwin-lowlatency.

Vistaus avatar Vistaus commented on May 30, 2024
vistaus@ThinkClear ~> plasmashell --version
plasmashell 5.16.4
vistaus@ThinkClear ~> 

But I'm going to have to postpone getting this to work as the Clear Linux devs broke the Plasma session once again. So I need to wait until it's fixed before I can try getting kwin-lowlatency up and running again. Thanks for all of your help so far, though! :-)

from kwin-lowlatency.

Vistaus avatar Vistaus commented on May 30, 2024

I'm going to stop using Clear Linux. It's been a fun week, but it's clear to me (no pun intended) that they don't give a hoot about KDE Plasma and its related libraries. So I'll close this for no and move on to some other distro (not going back to Solus) where kwin-lowlatency works fine. Again: thanks for all of your help, you're amazing! 😸

from kwin-lowlatency.

tildearrow avatar tildearrow commented on May 30, 2024

Wait, does this mean even stock KWin isn't working on Clear Linux?

from kwin-lowlatency.

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.