LinuxQuestions.org
Help answer threads with 0 replies.
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 06-29-2018, 10:04 AM   #1
hua
Member
 
Registered: Oct 2006
Location: Slovak Republic
Distribution: Slackware 14.2, current
Posts: 435

Rep: Reputation: 61
Cannot start plasma5 - fresh new install


Hi all,

Trying to test the new Plasma 5 on a fresh new Slackware64-current but somehow I cannot make it work. Maybe I am missing some steps or using some tool improperly. It's a Virtualbox VM.

The short issue description is - after fresh new install there were some libraries missing - libunwind and libXfont2. I have installed the missing pkgs but now I am getting segfaults with /usr/bin/startkde. I will first describe the steps I made so if I missed something it will be obvious:

1. I have installed a clean Slackware64-14.2 system
2. I have updated all pkgs with - slackpkg update / upgrade all
3. I have upgraded to Slackware64-current by changing the repo in /etc/slackpkg/mirrors and - slackpkg update / upgrade all
4. I have removed KDE4 by - slackpkg remove kde (I suspect that this might have remove some necessary libs...)
5. I've downloaded the Plasma 5 according to ktown README
Code:
rsync -Hav --exclude=x86 rsync://slackware.nl/mirrors/alien-kde/current/5/ 5/
6. Installed Plasma 5:
Code:
  On Slackware 64-bit:
  # upgradepkg --reinstall --install-new x86_64/deps/*.t?z
  # upgradepkg --reinstall --install-new x86_64/deps/telepathy/*.t?z
  # upgradepkg --reinstall --install-new x86_64/kde/*/*.t?z
7. Installed the Virtualbox Guest additions (configured Plasma5 by xwmconfig)
8. As root tried to startx (just to test it works - but didn't work even with new user)

Will continue try to find the issue myself, however I spent already 2 days with upgrade / fresh install so any help would be appreciated. Attaching xorg.log. Let me know if any other info is required.

Thanks

Edit: I have fixed one additional dependency - libedit. Now the screen is black and dead after startx. Attaching new xorg.log.
Attached Files
File Type: log Xorg.0.log (24.3 KB, 7 views)
File Type: log Xorg.0-new.log (12.1 KB, 5 views)

Last edited by hua; 06-29-2018 at 10:22 AM.
 
Old 06-29-2018, 11:36 AM   #2
RadicalDreamer
Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 887

Rep: Reputation: 408Reputation: 408Reputation: 408Reputation: 408Reputation: 408
You could use slackpkg+ and install ktown that way.
 
Old 06-29-2018, 11:45 AM   #3
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,430

Rep: Reputation: 3207Reputation: 3207Reputation: 3207Reputation: 3207Reputation: 3207Reputation: 3207Reputation: 3207Reputation: 3207Reputation: 3207Reputation: 3207Reputation: 3207
Quote:
Originally Posted by hua View Post
3. I have upgraded to Slackware64-current by changing the repo in /etc/slackpkg/mirrors and - slackpkg update / upgrade all
It looks like you missed slackpkg install-new. When using -current, you need to always install any new packages before you upgrade your existing ones. You should also run slackpkg clean-system after upgrading to remove all the packages that were removed from Slackware during the development process.

Quote:
Originally Posted by hua View Post
4. I have removed KDE4 by - slackpkg remove kde (I suspect that this might have remove some necessary libs...)
If you check out the README, Eric suggests you can remove KDE as you did. Your issue is likely due to not running install-new and clean-system.

Instead of installing 14.2 and upgrading to -current, you can simply use Eric's -current ISOs that are generated automatically when there's new entries in the -current changelog. After installing -current, you can simply follow the directions in his README to get Plasma 5 installed.
 
4 members found this post helpful.
Old 07-02-2018, 04:45 AM   #4
Qury
Member
 
Registered: Feb 2004
Location: Dublin
Distribution: Slackware
Posts: 141

Rep: Reputation: 127Reputation: 127
I usually install KDE with the below script, which is made up of all the remove references from the README.

Code:
#!/bin/sh

removepkg /var/log/packages/*-4.14.3-*
removepkg amarok
removepkg kscreen
removepkg kactivities
removepkg kde-workspace
removepkg kdeconnect-kde
removepkg kdepim
removepkg kdepimlibs
removepkg kdev-python
removepkg kdevelop-php
removepkg kdevelop-php-docs
removepkg libkscreen
removepkg libmm-qt
removepkg libnm-qt
removepkg plasma-nm
removepkg polkit-kde-agent-1
removepkg polkit-kde-kcmodules-1
removepkg wicd-kde
removepkg libkface blogilo jovie kaccessible ksaneplugin kde-runtime
removepkg  kremotecontrol kppp kfilereplace klinkstatus kopete
removepkg akonadi4 katepart4 kdepimlibs4 kfilemetadata konsolepart4
removepkg korundum kross-interpreters libkdegames4 libkexiv2_4
removepkg libkmahjongg4 libksane4 oktetapart4 perlkde perlqt pykde4
removepkg qtruby smokegen smokekde smokeqt
removepkg audiocd-kio4 kio-mtp libkcddb4 libkcompactdisc4
removepkg /var/log/packages/kde-l10n-*
removepkg kajongg
removepkg kommander
removepkg pim-storage-service-manager
removepkg kactivities
removepkg nepomuk
removepkg nepomuk-widgets
removepkg gpgmepp
removepkg kdgantt2
removepkg kde-baseapps kdepim kdewebdev
removepkg baloo
removepkg baloo-widgets
removepkg kdegraphics-strigi-analyzer
removepkg kdenetwork-strigi-analyzers
rempovepkg kdesdk-strigi-analyzers
removepkg kdepimlibs libkdeedu mplayerthumbs
removepkg /var/log/packages/noto-font-ttf-2015-09-29-noarch-1alien
removepkg kactivities-workspace
removepkg kde-workspace

upgradepkg --reinstall --install-new x86_64/deps/*.t?z
upgradepkg --reinstall --install-new x86_64/deps/telepathy/*.t?z
upgradepkg --reinstall --install-new x86_64/kde/*/*.t?z
 
2 members found this post helpful.
Old 07-03-2018, 04:18 AM   #5
hua
Member
 
Registered: Oct 2006
Location: Slovak Republic
Distribution: Slackware 14.2, current
Posts: 435

Original Poster
Rep: Reputation: 61
Hi all. Thanks for all responses.

Yes I have missed the slackpkg install-new. So that might cause lot of dependency troubles. I am not very familiar with slackpkg I used to perform upgrades with standard manual way (I was lazy this time).
Anyway, I have performed the install-new (it installed lots of packages..) and clean-system also. I have also reinstalled all the plasma 5 pkgs (just for sure). Unfortunately I am still having some KDE start issues.

Going to reinstall the whole virtual machine again and perform few tests. I will first try to install the Plasma 5 on clean 64-14.2 first and later on clean current. I will rather do the upgrade manually according to UPGRADE.txt (to avoid any issues caused by slackpkg/improper usage of slackpkg).

I have tried to troubleshoot the startx issues but couldn't find anything. At some point the process logs that it couldn't find Screen 0 and stops. I have tried to customize the xorg.conf but I am not really expert in this config file. I really rather expect Plasma 5 to run without xorg.conf customization. That was the way how it worked with Slack-14.2.

Edit: I forgot to add - bassmadrigal thanks for the suggestion to use the prepared iso by Eric. I will try to use it to verify it works in Virtualbox at all. However I also want to do the clean install from scratch to find out how well is prepared the Plasma 5 for integration into a clean Slackware setup (at least until we don't have it in testing within the Slackware repos).

Last edited by hua; 07-03-2018 at 04:24 AM.
 
Old 07-03-2018, 05:12 AM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,288

Rep: Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435
Quote:
Originally Posted by hua View Post
I will first try to install the Plasma 5 on clean 64-14.2 first and later on clean current.
The packages I have available for Plasma5 at https://slackware.nl/alien-kde/current/latest/ require that you run slackware-current (either 32bit or 64bit). Slackware 14.2 is not supported and is not going to work.
 
2 members found this post helpful.
Old 07-03-2018, 07:17 AM   #7
chrisretusn
Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 867

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Quote:
Originally Posted by hua View Post
I will first try to install the Plasma 5 on clean 64-14.2 first and later on clean current. I will rather do the upgrade manually according to UPGRADE.txt (to avoid any issues caused by slackpkg/improper usage of slackpkg).
As Eric has already pointed out Plasma 5 is only going to work with -current.

A suggestion. When installing that fresh Slackware64 14.2 in your virtual machine, leave out KDE. Just pick another desktop during the install like Xfce. Don't use it though. Do your upgrade to Slackware64-current next. It should go like this (I am writing this from memory, I just did this in a virtual machine. Silly me forgot to write it up.

Change your mirror to a Slackware64-current mirror.
# slackpkg update gpg
# slackpkg update
# slackpkg install-new
# slackpkg upgrade-all
Note: This will only upgrade slackpkg. If you overwrote the configuration files you will have to edit mirrors again.

# slackpkg update
Note: Answer "y" to ChangeLog.txt not changed prompt to update the slackpkg data store.

# slackpkg upgrade-all
Note: You will be prompted one time regarding installation of -current.

After that is finished, since it a fresh system, it's quicker to just overwrite all configuration files, then edit mirrors again to set for Slackware64-current. Of course if you didn't blacklist the kernels the don't forget to run lilo. You will be reminded but slackpkg no longer prompts to run it for you.

Next up clean up.
# slackpkg clean-system

Now install ktown.
# cd /home/non-slack/ktown/current/latest/
# upgradepkg --reinstall --install-new x86_64/deps/*.t?z
# upgradepkg --reinstall --install-new x86_64/deps/telepathy/*.t?z
# upgradepkg --reinstall --install-new x86_64/kde/*/*.t?z

Reboot and hopefully it will work for you.

Oh, don't forget to set your desktop to plamsa. You might get a surprise with startx (been there did that.)

Another suggestion if you plan to use -current would be to use Eric's awesome mirror-slackware-current.sh script. I use it to mirror not only Slackware64-current, but Slackware-current, Slackware64-14.2 and Slackware-14.2. One big advantage to doing this is the script builds an ISO file which you can use to install the latest to your virtual machine. I have more than one system, so I mirror and do updates from my local mirror across my LAN.

Last edited by chrisretusn; 07-03-2018 at 07:20 AM.
 
1 members found this post helpful.
Old 07-04-2018, 09:01 AM   #8
hua
Member
 
Registered: Oct 2006
Location: Slovak Republic
Distribution: Slackware 14.2, current
Posts: 435

Original Poster
Rep: Reputation: 61
Quote:
Originally Posted by Alien Bob View Post
The packages I have available for Plasma5 at https://slackware.nl/alien-kde/current/latest/ require that you run slackware-current (either 32bit or 64bit). Slackware 14.2 is not supported and is not going to work.
My bad. Thanks for reminder.
 
Old 07-05-2018, 09:33 PM   #9
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 641

Rep: Reputation: 126Reputation: 126
Quote:
Originally Posted by chrisretusn View Post
As Eric has already pointed out Plasma 5 is only going to work with -current.
for what's provided at https://slackware.nl/alien-kde/current/latest/
KDE-5_18.06 is meant to be installed on top of Slackware -current.

there's also this http://alien.slackbook.org/ktown/14.2/latest/
KDE-5_17.11 is meant to be installed on top of Slackware 14.2.
 
Old 07-06-2018, 02:56 AM   #10
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,288

Rep: Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435
Quote:
Originally Posted by glorsplitz View Post
there's also this http://alien.slackbook.org/ktown/14.2/latest/
KDE-5_17.11 is meant to be installed on top of Slackware 14.2.
That is by now 8 months old, and for a large part still Qt4/kdelibs4 based. You will not really get a Plasma5 experience like it is today (only based on Qt5/KF5). But, it works. I just do not advertise it.
 
3 members found this post helpful.
Old 07-11-2018, 07:59 AM   #11
hua
Member
 
Registered: Oct 2006
Location: Slovak Republic
Distribution: Slackware 14.2, current
Posts: 435

Original Poster
Rep: Reputation: 61
I've tried to reinstall everything from scratch based on the recommendations. Unfortunately I still cannot start Plasma 5.
Here is the scratch from my command history:
Code:
wget -r --no-parent http://slackware.osuosl.org/slackware64-current/slackware64/
wget -r --no-parent http://slackware.osuosl.org/slackware64-14.2/patches/packages/
cd slackware.osuosl.org/slackware64-14.2/patches/packages/
upgradepkg *.t?z
cd linux-4.4.132/
upgradepkg *.t?z
lilo
reboot
cd slackware.osuosl.org/slackware64-current/
mv slackware64 /root/slackware
upgradepkg /root/slackware/a/glibc-solibs-*.txz
upgradepkg /root/slackware/a/glibc-solibs-*.txz
upgradepkg /root/slackware/a/pkgtools-*.txz
upgradepkg /root/slackware/a/tar-*.txz
upgradepkg /root/slackware/a/xz-*.txz
upgradepkg /root/slackware/a/findutils-*.txz
upgradepkg --install-new /root/slackware/*/*.t?z
for pkg in `awk -F"/" '{ print $2 }' obsolete | awk '{ print $1 }'`; do removepkg $pkg; done
lilo
reboot

rsync -Hav --exclude=x86 rsync://slackware.nl/mirrors/alien-kde/current/testing/ testing/

removepkg /var/log/packages/*-4.14.3-*
removepkg amarok
removepkg kscreen
removepkg kactivities
removepkg kde-workspace
removepkg kdeconnect-kde
removepkg kdepim
removepkg kdepimlibs
removepkg kdev-python
removepkg kdevelop-php
removepkg kdevelop-php-docs
removepkg libkscreen
removepkg libmm-qt
removepkg libnm-qt
removepkg plasma-nm
removepkg polkit-kde-agent-1
removepkg polkit-kde-kcmodules-1
removepkg wicd-kde
removepkg libkface blogilo jovie kaccessible ksaneplugin kde-runtime
removepkg kremotecontrol kppp kfilereplace klinkstatus kopete
removepkg akonadi4 katepart4 kdepimlibs4 kfilemetadata konsolepart4
removepkg korundum kross-interpreters libkdegames4 libkexiv2_4
removepkg libkmahjongg4 libksane4 oktetapart4 perlkde perlqt pykde4
removepkg qtruby smokegen smokekde smokeqt
removepkg audiocd-kio4 kio-mtp libkcddb4 libkcompactdisc4
removepkg /var/log/packages/kde-l10n-*
removepkg kajongg
removepkg kommander
removepkg pim-storage-service-manager
removepkg kactivities
removepkg nepomuk
removepkg nepomuk-widgets
removepkg gpgmepp
removepkg kdgantt2
removepkg kde-baseapps kdepim kdewebdev
removepkg baloo
removepkg baloo-widgets
removepkg kdegraphics-strigi-analyzer
removepkg kdenetwork-strigi-analyzers
rempovepkg kdesdk-strigi-analyzers
removepkg kdepimlibs libkdeedu mplayerthumbs
removepkg /var/log/packages/noto-font-ttf-2015-09-29-noarch-1alien
removepkg kactivities-workspace
removepkg kde-workspace

upgradepkg --reinstall --install-new x86_64/deps/*.t?z
upgradepkg --reinstall --install-new x86_64/deps/telepathy/*.t?z
upgradepkg --reinstall --install-new x86_64/kde/*/*.t?z
reboot

xwmconfig
mount /dev/cdrom /media/cdrom
/media/cdrom/VBoxLinuxAdditions.run
reboot

# Login root
startx
Attaching the xorg.log however it seems to be the same as at the beginning. I tried few things - customize xorg.conf verify vboxvideo drvier, glx. However something appears to be broken.
Code:
root@slackdev:# lsmod | grep vboxvideo
vboxvideo              49152  1
ttm                   110592  1 vboxvideo
drm_kms_helper        192512  1 vboxvideo
drm                   425984  4 drm_kms_helper,vboxvideo,ttm
syscopyarea            16384  2 drm_kms_helper,vboxvideo
sysfillrect            16384  2 drm_kms_helper,vboxvideo
sysimgblt              16384  2 drm_kms_helper,vboxvideo

glxinfo
Error: unable to open display

modinfo vboxvideo
filename:       /lib/modules/4.14.53/misc/vboxvideo.ko
version:        5.2.14 r123301
license:        GPL and additional rights
description:    Oracle VM VirtualBox Graphics Card
author:         Oracle Corporation
srcversion:     5513FABA0275BB9E3F7DA31
alias:          pci:v000080EEd0000BEEFsv*sd*bc*sc*i*
depends:
retpoline:      Y
name:           vboxvideo
vermagic:       4.14.53 SMP mod_unload
parm:           modeset:Disable/Enable modesetting (int)
Attached Files
File Type: log Xorg.1.log (12.1 KB, 2 views)

Last edited by hua; 07-11-2018 at 08:06 AM.
 
Old 07-20-2018, 09:34 AM   #12
hua
Member
 
Registered: Oct 2006
Location: Slovak Republic
Distribution: Slackware 14.2, current
Posts: 435

Original Poster
Rep: Reputation: 61
OK. It seems this is some strange virtualbox/host/hw issue. I have copied the same Virtual Machine to a different host and the same plasma 5 desktop works on the other host.
The difference in the hosts is:

Host where it doesn't work:
AMD A10-8700B Radeon R6
Windows 7 64
VirtualBox 5.2.14

Host where it works:
AMD A8-7600 Radeon R7
Slackware64-14.2
VirtualBox 5.2.4

It's interesting that it only works with some display resolution only (800x600, 1024x768, 1280x768). However if I switch to 1280x1024 the Plasma 5 crashes into black screen (same blackscreen as on the other host where it doesn't work at all). It switches back to 800x600 and this segfault is in the dmesg output:
Code:
kscreen_backend[1279]: segfault at 10 ip 00007fed855a8b48 sp 00007ffed0683e10 error 4 in KSC_XRandR.so[7fed85590000+21000]
This appears to be a bug. However I don't see this segfault on the other host.

Just to add - the earlier version (KDE4) was able to handle any custom screen settings as soon as the VirtualBox guest additions were installed.

Last edited by hua; 07-20-2018 at 09:49 AM.
 
Old 08-01-2018, 06:36 AM   #13
hua
Member
 
Registered: Oct 2006
Location: Slovak Republic
Distribution: Slackware 14.2, current
Posts: 435

Original Poster
Rep: Reputation: 61
Update - I was able to start Plasma 5 with the latest live dvd on this Virtualbox host. So I am going to close this thread.
Regarding the manual installation I will wait until the Plasma 5 will be somehow officially ported into Slackware-current and test again.

On another physical desktop the same manual installation works perfectly.
 
1 members found this post helpful.
  


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
[SOLVED] Fresh 14.2 install, X won't start lawnm0wer Slackware 8 12-02-2017 10:15 AM
CLDX 10.4: after fresh install x will not start wingevil Calculate 2 07-11-2010 07:39 AM
Slackware 12.2 (fresh install) KDE will not start up tiuz Slackware 7 09-04-2009 03:55 PM
FC6 fresh install won't start from XP CD to install XP 2nd ask_save Fedora 2 11-17-2006 07:23 AM
X won't start on fresh install! ? pmzq Mandriva 4 02-12-2006 12:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:39 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration