LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-16-2014, 06:57 PM   #16
gauchao
Member
 
Registered: Dec 2009
Distribution: SLACKWARE 14.1 64bit
Posts: 162

Rep: Reputation: 24

Thank you, Didier.

However, it did not work and the result was pretty much the same.

Also, thank you for the tip about using [CODE] instead of [QUOTE]! I will edit my last post.
 
Old 07-17-2014, 04:57 AM   #17
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 423

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by volkerdi View Post
I think there's something still out of date on your machine; look for an old libGL. Also, in addition to checking binaries with "ldd", use "readelf -d" (especially if you think something needs to be recompiled). ldd shows all the libraries loaded by a binary, even if they are loaded by some other library. readelf -d only shows the libraries that are directly linked by the binary. If a broken dependency is an indirect one, recompiling the binary isn't going to help.
Yes, kwin is directly linked with libxcb-sync: (on a rebuilt KDE 4.13.3)

Code:
% readelf -d /usr/bin/kwin

Dynamic section at offset 0x1028 contains 63 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libkdeinit4_kwin.so]
 0x0000000000000001 (NEEDED)             Shared library: [libkdecorations.so.4]
 0x0000000000000001 (NEEDED)             Shared library: [libQtDeclarative.so.4]
 0x0000000000000001 (NEEDED)             Shared library: [libQtScript.so.4]
 0x0000000000000001 (NEEDED)             Shared library: [libplasma.so.3]
 0x0000000000000001 (NEEDED)             Shared library: [libkdeclarative.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libkactivities.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libX11.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libXext.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libICE.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libSM.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libXcursor.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libXrandr.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libXdamage.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libXrender.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libXfixes.so.3]
 0x0000000000000001 (NEEDED)             Shared library: [libXxf86vm.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libxcb.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libX11-xcb.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libxcb-xfixes.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libxcb-damage.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libxcb-composite.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libxcb-shape.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libxcb-sync.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libxcb-render.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libxcb-randr.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libxcb-keysyms.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libEGL.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libkwinglutils.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libkwineffects.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libkdeui.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libkdecore.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libQtDBus.so.4]
 0x0000000000000001 (NEEDED)             Shared library: [libQtCore.so.4]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libQtGui.so.4]
 0x0000000000000001 (NEEDED)             Shared library: [libQtSvg.so.4]
 0x0000000000000001 (NEEDED)             Shared library: [libGL.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000001d (RUNPATH)            Library runpath: [/usr/lib64/qt/lib]
 0x000000000000000c (INIT)               0x400940
 0x000000000000000d (FINI)               0x400bc8
 0x0000000000000004 (HASH)               0x400240
 0x0000000000000005 (STRTAB)             0x400488
 0x0000000000000006 (SYMTAB)             0x4002d8
 0x000000000000000a (STRSZ)              971 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000015 (DEBUG)              0x0
 0x0000000000000003 (PLTGOT)             0x601488
 0x0000000000000002 (PLTRELSZ)           72 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0x4008f8
 0x0000000000000007 (RELA)               0x400898
 0x0000000000000008 (RELASZ)             96 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffffe (VERNEED)            0x400878
 0x000000006fffffff (VERNEEDNUM)         1
 0x000000006ffffff0 (VERSYM)             0x400854
 0x0000000000000000 (NULL)               0x0
But the kwin in current(4.10.5) is not linked with libxcb-sync:
Code:
% readelf -d usr/bin/kwin 

Dynamic section at offset 0x1028 contains 62 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libkdeinit4_kwin.so]
 0x0000000000000001 (NEEDED)             Shared library: [libplasma.so.3]
 0x0000000000000001 (NEEDED)             Shared library: [libQtDeclarative.so.4]
 0x0000000000000001 (NEEDED)             Shared library: [libkdeclarative.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libkdecorations.so.4]
 0x0000000000000001 (NEEDED)             Shared library: [libSM.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libICE.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libX11.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libXext.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libXft.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libXau.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libXdmcp.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libXpm.so.4]
 0x0000000000000001 (NEEDED)             Shared library: [libXrandr.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libXcomposite.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libXdamage.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libXrender.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libXfixes.so.3]
 0x0000000000000001 (NEEDED)             Shared library: [libxcb.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libX11-xcb.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libxcb-xfixes.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libxcb-damage.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libXxf86vm.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libQtScript.so.4]
 0x0000000000000001 (NEEDED)             Shared library: [libkactivities.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libEGL.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libkwinglutils.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libkwineffects.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libkdeui.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libkdecore.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libQtDBus.so.4]
 0x0000000000000001 (NEEDED)             Shared library: [libQtCore.so.4]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libQtGui.so.4]
 0x0000000000000001 (NEEDED)             Shared library: [libQtSvg.so.4]
 0x0000000000000001 (NEEDED)             Shared library: [libGL.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libkwinnvidiahack.so.4]
 0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000001d (RUNPATH)            Library runpath: [/usr/lib64/qt/lib]
 0x000000000000000c (INIT)               0x400918
 0x000000000000000d (FINI)               0x400ba8
 0x0000000000000004 (HASH)               0x400240
 0x0000000000000005 (STRTAB)             0x400488
 0x0000000000000006 (SYMTAB)             0x4002d8
 0x000000000000000a (STRSZ)              932 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000015 (DEBUG)              0x0
 0x0000000000000003 (PLTGOT)             0x601478
 0x0000000000000002 (PLTRELSZ)           72 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0x4008d0
 0x0000000000000007 (RELA)               0x400870
 0x0000000000000008 (RELASZ)             96 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffffe (VERNEED)            0x400850
 0x000000006fffffff (VERNEEDNUM)         1
 0x000000006ffffff0 (VERSYM)             0x40082c
 0x0000000000000000 (NULL)               0x0
So I think it will be OK if you run a "clean" current.
 
Old 07-17-2014, 05:51 AM   #18
rvdboom
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 183

Rep: Reputation: 23
Have your run "install-new" to set up the new Glamor. This is obviously glamor-egl that segfaults. I had an issue like this some time ago but unfortunately cannot remember how I fixed it.
I use git packages I make myself for libdrm, mesa, glamor and xf86-video-ati, with -current and once the proper symlink are set, X11 starts well. Maybe you could try that.

For kwin, it's is definitely linked in -current and in AlienBOB's packages to "libxcb-sync.so.0" :


Quote:
bash-4.3$ ldd /usr/bin/kwin | grep libxcb
libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007ff8b8e00000)
libxcb-xfixes.so.0 => /usr/lib64/libxcb-xfixes.so.0 (0x00007ff8b89f0000)
libxcb-damage.so.0 => /usr/lib64/libxcb-damage.so.0 (0x00007ff8b87e8000)
libxcb-composite.so.0 => /usr/lib64/libxcb-composite.so.0 (0x00007ff8b85e0000)
libxcb-shape.so.0 => /usr/lib64/libxcb-shape.so.0 (0x00007ff8b83d8000)
libxcb-sync.so.0 => /usr/lib64/libxcb-sync.so.0 (0x00007ff8b81d0000)
libxcb-render.so.0 => /usr/lib64/libxcb-render.so.0 (0x00007ff8b7fc8000)
libxcb-randr.so.0 => /usr/lib64/libxcb-randr.so.0 (0x00007ff8b7db8000)
libxcb-keysyms.so.1 => /usr/lib64/libxcb-keysyms.so.1 (0x00007ff8b7bb0000)
libxcb-dri2.so.0 => /usr/lib64/libxcb-dri2.so.0 (0x00007ff8adac8000)
libxcb-glx.so.0 => /usr/lib64/libxcb-glx.so.0 (0x00007ff8aaff8000)
bash-4.3$
That was the missing symlink for me :

Quote:
kwin: error while loading shared libraries: libxcb-sync.so.0: cannot open shared object file: No such file or directory
 
Old 07-17-2014, 09:30 AM   #19
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 423

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by rvdboom View Post
For kwin, it's is definitely linked in -current and in AlienBOB's packages to "libxcb-sync.so.0"
The kwin in clean -current does not linked with libxcb-sync, only updates from AlienBOB does.

So, if you use alien's KDE with fresh new Xorg, you may need to reinstall/recompile/do the ln -s trick etc...
 
Old 07-17-2014, 03:56 PM   #20
rvdboom
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 183

Rep: Reputation: 23
Indeed, that's what I did, as I indeed use AlienBob's packages.
I assumed it was the same for standard -current packages as there are many threads about this, but it seems I was wrong.
 
Old 07-17-2014, 04:35 PM   #21
gauchao
Member
 
Registered: Dec 2009
Distribution: SLACKWARE 14.1 64bit
Posts: 162

Rep: Reputation: 24
I ran out of ideas. I guess I will roll back X.org and try to fix X later.
 
Old 07-17-2014, 05:21 PM   #22
gauchao
Member
 
Registered: Dec 2009
Distribution: SLACKWARE 14.1 64bit
Posts: 162

Rep: Reputation: 24
As a last try I did install the latest ATI beta proprietary driver 14.6 (which I have always avoided) and X is alive again.

However, I think I have no hardware acceleration with this driver.

Thank you, guys.
 
Old 07-19-2014, 01:15 PM   #23
rvdboom
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 183

Rep: Reputation: 23
I seem to recall that I had this problem because mesa was not compiled with the following option :

--with-egl-platforms="x11,drm"

As far as I can see, this is not the case yet in -current mesa, but maybe it's not necessary anymore.

EDIT : Yep, here is the bug I opened at that time :

https://bugs.freedesktop.org/show_bug.cgi?id=72182

An update to libdrm was required at that time but -current's one seems recent enough.

Last edited by rvdboom; 07-19-2014 at 01:22 PM.
 
1 members found this post helpful.
Old 07-20-2014, 01:26 AM   #24
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
Pat just pushed a new mesa package that (hopefully) fixes all of this on a stock -current installation.

That said, there's quite a bit of hardware that nobody on the team has, so if you know that we missed something in the mesa build that your particular hardware needs, we'd like to hear about it.
 
1 members found this post helpful.
Old 07-20-2014, 03:25 AM   #25
rvdboom
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 183

Rep: Reputation: 23
To be honest, since I compile my own mesa and have been going on for years, I've never checked the options that Slackware's Mesa is compiled with since the first time I did it.
At the time I filled the bug, I thought I just missed something obvious caused by my relative lack of knowledge.
Anyway, I'll do that again if the same situation occurs again.
 
1 members found this post helpful.
Old 07-21-2014, 07:22 AM   #26
ceed
LQ Newbie
 
Registered: Jul 2014
Posts: 2

Rep: Reputation: Disabled
I am having a very similar problem as the OP with an X segfault but with NVIDIA 173.14.39 propriety driver. I'm not sure whether it was the Xorg upgrade or mesa which caused this behavior. The nouveau driver works. I use slack-current.
 
Old 07-21-2014, 08:23 AM   #27
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,238

Rep: Reputation: 176Reputation: 176
Since the "upgrade" I've had several minor problems, and, yes, all the up to the minutes files have been installed.

Since the upgrade shutting down the xorg server takes tens seconds or longer before you get back to a command prompt, IF it shuts down at all. Often it just hangs the computer with a black screen and I have to cut the power and restart the computer.

The keyboard, upon starting xorg (startx) has disappeared once. As it didn't work the only way to shut down the computer was to the cut the power (reset).

The mouse, upon starting xorg, has disappeared 3 times, and, BTW, Ctrl, Alt, Backspace no longer works, so, again, it was necessary to reset the computer.

A few times xorg has refused to start, with both KDE and Xfce, and issued this error message:

Quote:
hostname:Hostname lookup failure
XAuth: file /home/username/.serverauth.955 does not exist

(EE)
Fatal server error:
(EE) cannot move old log file "/var/log/Xorg.0.log"
to "/var/log/Xorg.0.log.old"
(EE)
(EE)
Please consult The X.Org Foundation Support at http://wiki.x.org
for help
(EE)
xinit: giving up
xinit: unable to connect to X server: connection refused
xinit: server error
Finally, for a second time, I ran "upgradepkg --reinstall --install-new" on all the "upgraded" packages and so far so good, but it is still very early in the day.

Last edited by cwizardone; 07-21-2014 at 09:04 AM. Reason: Typo.
 
Old 07-21-2014, 09:54 AM   #28
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 253

Rep: Reputation: 27
I had OPs original issue but I'm doing current in virtualbox, everything up to date, I redid guest additions, rebooted, back to normal.
 
Old 07-21-2014, 10:06 AM   #29
rvdboom
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 183

Rep: Reputation: 23
Quote:
Originally Posted by ceed View Post
I am having a very similar problem as the OP with an X segfault but with NVIDIA 173.14.39 propriety driver. I'm not sure whether it was the Xorg upgrade or mesa which caused this behavior. The nouveau driver works. I use slack-current.
NVidia's proprietary driver does not use glamor, libdrm or mesa, so I suggest checking if a newer version, support xorg-server 1.5.2, is available and installing it.
 
Old 07-21-2014, 09:12 PM   #30
ceed
LQ Newbie
 
Registered: Jul 2014
Posts: 2

Rep: Reputation: Disabled
Thanks rvdboom, I did suspect it was xorg. Nvidia announced 173.14.39 would be the final release of the 173xx legacy line. Interestingly, they released in response to an ABI mismatch with xorg-1.14.x; however, they said it would be good for xorg-1.15 as well. It looks like a return to slack 14.1 for me then. Odd that I haven't found anyone else with the same problem though.

cwizardone, I'm not sure if you posted in response to me or not, but I did try reinstalling the upgrades though with no success. Nonetheless, thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Call for participation "FLOSS village at Med-e-Tel 2014" LXer Syndicated Linux News 0 01-20-2014 05:00 PM
[SOLVED] glib on current (Mon Jul 30 20:42:03 UTC 2012) Thom1b Slackware 3 07-31-2012 11:16 PM
[SOLVED] Changelog Jul 18 20:21:15 UTC 2012 -- No net AlleyTrotter Slackware 2 07-19-2012 09:32 AM
baselayout2 -`date` shows UTC althrough I set CLOCK="local"? quanta Gentoo 0 01-11-2011 01:08 AM
LQ weekly security rep - Tue Jul 30th 2002 unSpawn Linux - Security 4 08-04-2002 05:34 PM


All times are GMT -5. The time now is 07:45 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration