The upgrade steps below are based on the assumption you have SlaXBMC64 13.37 installed on your HTPC and the upgrade process is taking place there; however the upgrade would work equally well on a full Slackware64 13.37 configured system with the extra (xbc/xsc) packages from the SlaXBMC64 13.37 distribution ISO.
NOTE: Those of you who have followed the SlaXBMC Eden RC2 upgrade cycle please Fast Forward to Step 7b :)
So lets get on with it...
- Revert the current XBMC skin back to the XBMC default (Confluence) where applicable
- Exit XBMC to desktop
- Right click on the Desktop and start-up an XTerm console
- Install the latest Slackware64 security patches
If you get the following information message:root@SlaXBMC64:~#slackpkg update
" You do not have any mirror selected in /etc/slackpkg/mirrors
Please edit that file and uncomment ONE mirror. Slackpkg
only works with ONE mirror selected."
Then perform the following bullet-point process and try again on completion:root@SlaXBMC64:~#cd /etc/slackpkg
root@SlaXBMC64:~#mc- Browse to the file mirrors using the arrow keys and press F4
- Use the arrow keys to navigate down the list of Slackware64 13.37 FTP and HTTP mirrors
- Delete the # character at the beginning of ONE FTP or HTTP mirror listing
- Press on F2 and select Save
- Press twice F10 followed by Yes
root@SlaXBMC64:~#cd
root@SlaXBMC64:~#slackpkg upgrade patches
- Remove obsolete packages
root@SlaXBMC64:~#removepkg xbmc-10.1-x86_64-1xsb.txz libmms-0.6.2-x86_64-1xsb.txz a52dec-0.7.4-x86_64-1xsb.txz faac-1.28-x86_64-1xsb.txz faad2-2.7-x86_64-1xsb.txz
- Install required package from the official Slackware repositories
root@SlaXBMC64:~#slackpkg install ruby-1.9.1_p431-x86_64-1
root@SlaXBMC64:~#slackpkg install jdk-6u25-x86_64-1 - a) Upgrading from XBMC 10.1 Dharma directly into XBMC 11.0 Eden:
Download the upgrade files shown below in a local folder of your choice (for the purpose of this manual we'll assume /lost+found)
b) Upgrading from XBMC Eden 11.0 RC2 directly into XBMC Eden 11.0:
Download the upgrade files shown below in a local folder of your choice (for the purpose of this manual we'll assume /lost+found)
In that folder remove the previously installed (Eden RC2) version before installing the final (Eden) release as shown below:json-c-0.9-x86_64-1xsb.txz f29c3072afe109be17a47edac16cafb4 pulseaudio-1.1-x86_64-1xsb.txz 97f36fea52dd0f44c02bad4510704931 xbmc-11.0-x86_64-1xsb.txz 4ade845d450960bc915249f3fa5dda0c
Upgrade complete... :)root@SlaXBMC64:~#cd /lost+found
root@SlaXBMC64:~#removepkg xbmc-11.0-Eden_rc2-x86_64-1xsb.txz
root@SlaXBMC64:~#installpkg json-c-0.9-x86_64-1xsb.txz
root@SlaXBMC64:~#upgradepkg pulseaudio-1.1-x86_64-1xsb.txz
root@SlaXBMC64:~#installpkg xbmc-11.0-x86_64-1xsb.txz - Install the packages (from /lost+found)
root@SlaXBMC64:~#cd /lost+found
root@SlaXBMC64:~#installpkg l*.txz
root@SlaXBMC64:~#upgradepkg ConfData-1.0-x86_64-2xsb.txz
root@SlaXBMC64:~#upgradepkg pulseaudio-1.1-x86_64-1xsb.txz
root@SlaXBMC64:~#installpkg junit-4.10-x86_64-1xsb.txz apache-ant-1.8.2-x86_64-1xsb.txz rtmpdump-2.4-x86_64-1xsb.txz json-c-0.9-x86_64-1xsb.txz xbmc-11.0-x86_64-1xsb.txz
Right click on the desktop and select Start XBMC to get a glimpse of Eden ;)
NOTE: A complete list of the Packages shown above and their Source (including Slackbuild scripts) is also available here.
NOTE: Older XBMC Eden upgrade instructions are available here (Dharma to Eden Beta1), here (Dharma/Eden Beta1 to Eden Beta2), here (Dharma/Eden Beta2 to Eden Beta3), here (Dharma/Eden Beta3 to Eden RC1) and here (Dharma/Eden RC1 to Eden RC2).
30 comments:
Just noticed that nano seems to not work on this Distro.
Comes up with
nano : error while loading shared libraries: libmagic.so.1: cannot open shared object file: No such file or directory
Any ideas?
Hi Callum,
You will have to install the "file-5.09-x86_64-1_slack13.37.txt" package from an official Slackware mirror (there's an updated version under patches!). In case you don't use slackpkg you can download it from http://slackware.osuosl.org
Analekto
Thanks Analekto - your support is awesome!
I know it's totally off topic, but is there any chance that you could help me with something else?
I'm trying to install MythTV (0.24.1) from slackbuilds. I've installed all the dependancies, but when I try to run the slackbuild script I get the message :
Error: libXxf86vm not found
However, slackpkg tells me that all the libXxf86vm packages are installed.
Where am I going wrong?
Hi Callum,
I've never attempt to compile/setup MythTV on the past but I would assume you have missing dependencies. If HD space is not an issue I would be inclined to install all packages not installed from the list generated:
#slackpkg search libX
and,
#slackpkg search libdrm
Good luck :)
Analekto
#slackpkg search libX produces;
The list below shows all packages with name matching "libX".
[ installed ] - libX11-1.4.3-x86_64-2
[ installed ] - libXScrnSaver-1.2.1-x86_64-1
[ installed ] - libXau-1.0.6-x86_64-1
[ installed ] - libXaw-1.0.9-x86_64-1
[ installed ] - libXcomposite-0.4.3-x86_64-1
[ installed ] - libXcursor-1.1.11-x86_64-1
[ installed ] - libXdamage-1.1.3-x86_64-1
[ installed ] - libXdmcp-1.1.0-x86_64-1
[ installed ] - libXevie-1.0.3-x86_64-1
[ installed ] - libXext-1.2.0-x86_64-1
[ installed ] - libXfixes-5.0-x86_64-1
[ installed ] - libXfont-1.4.3-x86_64-1
[ installed ] - libXfontcache-1.0.5-x86_64-1
[ installed ] - libXft-2.2.0-x86_64-1
[ installed ] - libXi-1.4.2-x86_64-1
[ installed ] - libXinerama-1.1.1-x86_64-1
[ installed ] - libXmu-1.1.0-x86_64-1
[ installed ] - libXp-1.0.1-x86_64-1
[ installed ] - libXpm-3.5.9-x86_64-1
[ installed ] - libXrandr-1.3.1-x86_64-1
[ installed ] - libXrender-0.9.6-x86_64-1
[ installed ] - libXres-1.0.5-x86_64-1
[ installed ] - libXt-1.1.1-x86_64-1
[ installed ] - libXtst-1.2.0-x86_64-1
[ installed ] - libXv-1.0.6-x86_64-1
[ installed ] - libXvMC-1.0.6-x86_64-1
[ installed ] - libXxf86dga-1.1.2-x86_64-1
[ installed ] - libXxf86misc-1.0.3-x86_64-1
[ installed ] - libXxf86vm-1.1.1-x86_64-1
and #slackpkg search libdrm produces;
The list below shows all packages with name matching "libdrm".
[ installed ] - libdrm-2.4.23-x86_64-1
So apparently I have all the relevant packages installed.
When i get the following error;
ERROR: libXxf86vm not found
I can hit locate up and it spits out the following;
/usr/doc/libXxf86vm-1.1.1
/usr/doc/libXxf86vm-1.1.1/ChangeLog
/usr/doc/libXxf86vm-1.1.1/COPYING
/usr/doc/libXxf86vm-1.1.1/README
/usr/doc/libXxf86vm-1.1.1/INSTALL
/usr/lib64/libXxf86vm.la
/usr/lib64/libXxf86vm.so.1
/usr/lib64/libXxf86vm.so.1.0.0
/usr/lib64/libXxf86vm.so
/var/log/packages/libXxf86vm-1.1.1-x86_64-1
/var/log/scripts/libXxf86vm-1.1.1-x86_64-1
Which would seem to indicate that it's installed.
I've cracked open the mythtv.tar.gz and looked at the configure file (which is being executed by the slackbuild script) and found the following lines;
if enabled x11; then
require libXxf86vm X11/extensions/xf86vmode.h XF86VidModeSetClientVersion -lXxf86vm
require libXinerama X11/extensions/Xinerama.h XineramaQueryExtension -lXinerama
require libXext X11/extensions/Xext.h XMissingExtension -lXext
fi
This seems to be the only mention of the libXxf86vm module.
What I can't figure out at this point is *where* it's checking to see if this module exists.
Any additional thoughts?
Hi Callum,
I went through the compile process on my SlaXBMC64 VBox. The package you are missing is "xf86vidmodeproto".
Happy compiling ;)
Analekto
Analekto,
You have made my day.
Do you have a project donation link or a wish list somewhere?
My little box has been compiling away for the last hour (MythTV is a monster!) and shows no signs of slowing down :)
Glad to be of help, Rock on... };)
Hey Analekto,
How did you run the MythTV compile process so quickly on your machine?
I spent nearly a day installing the dependencies for myth using slackbuild scripts.
Is there a magic way to resolve all the dependancies in slackware?
What am I missing?
Hi Callum,
Your approach to solving the problem was right...
The hiccup was you didn't persist on debugging further the .config and forgot to read the error log it generates when/if there is an error. From that point on it was few lines on almighty Google...
As for the dependencies related tool, to my knowledge there's no such thing. If you compile from source, the package(s) will guide you through the requirements.
So the trick is to always follow the White Rabbit (i.e. errors/error logs/any logs) };)
Analekto
Hi Analekto,
I have another rabbit to follow, but I'm not sure where to look.
I've just done a fresh install of the SlaXBMC 13.37 (x86_64) ISO and followed the instructions for installing the NVIDIA drivers and the libvdpau libs, however when the machine reboots I see a brief glimpse of the desktop followed by a black screen.
Any pointers on where I should be looking to work this out?
Hi Callum,
I suspect the NVidia driver is not fully installed for some reason; Fyi, the VDPAU include files package need to be installed before the NVidia proprietary driver...
Try one more time in the following order:
1. Edit /etc/modprobe.d/blacklist.conf and append at the end of the file the line blacklist nouveau (if not there already!)
2. Install the NVidia Include file provided here. If you have this installed already, remove it and try again.
3. Download the latest proprietary NVidia linux driver from here and install it on the system.
To overcome the initial "Black Screen" problem so you can apply the above modifications without re-installing SlaXBMC64 try the following:
During boot-up when you see the Slackware logo press the up/down key to stop the boot-up countdown. Then write down the name of the first line appearing on the top right of the lilo Slackware boot-up screen under the OS Selection(that's the alias of the kernel your booting into). Now press the Tab key.
At the boot: line type:
your_kernel_alias root=/dev/your_dev rdinit= ro vga=normal
i.e hugesmp.s root=/dev/sda1 rdinit= ro vga=normal
Good luck };)
NOTE: If for any reason you have installed SlaXBMC64 on a USB stick append on the "boot:" line rootdelay=20. That should give your kernel enough time to initialize the USB bus before mounting the linux partition ;)
Hi Analekto,
Thanks for the response. In the time between my original post and now, I have worked out that if I break out of X (Ctrl + Alt + Backspace) and then type "startx", the whole thing starts out without any issue.
I'm sure that I have the correct drivers installed.
So it appears that the system is loading the drivers and booting up just fine.
However it's only when the machine first boots into XBMC that I get the black screen.
Killing X and starting it again from the command line seems to work without issue.
Any further thoughts?
Ooops disregard the last debug support it's related to a blank screen during boot-up problem rather than what you experience...
I think I came across the blank screen you're on about recently when building the x86_64 Eden package on VirtualBox. At the end I manage to get the typical XBMC Confluence interface after pressing the ESC/Up/Down keys couple of times then I exit XBMC to the desktop and installed in fluxbox the nvidia includes (even though they were not relevant to the setup) and the VBox graphic drivers all over again for good measure. That seem to do the trick...
Instead of Ctrl+Alt+Backspace and startx, try Ctrl+Alt+F2 to drop into a console, login as root and execute QuitXBMCtoDesktop twice. Then again press Alt+F7 to get back to the X session without XBMC and redo the includes/drivers installation in fluxbox.
Let me know if that solve the problem...
Unfortunately - nope.
It still boots to a black screen. Quitting X and restarting loads it up just fine. (Or just quit xbmc and start xbmc again works also).
Hmmm, it sound like a challenging problem :)
Next thing to try is [btw, apologies for the detail mode, you don't seem to need it..but might be helpful to other *nix friends]:
1. Get XBMC up and running the "inconvenient" way mentioned above.
2. Export your Video/Music libraries to a single file somewhere in your system.
3. Exit XBMC to Desktop (fluxbox)
4. Start up an xterm on fluxbox (right-mouse-click menu)
5. Type in mv ~/.xbmc ~/.xbmc_old and press enter
6. Start xbmc from the fluxbox right-mouse-click menu to recreate the configuration files
7. Reboot to test if it solve the problem...
As you probably know by now with the above you will loose your xbmc settings so you will have to re-configure it and load your Video/Music libraries should this prove to be a viable solution.
To Undo - Restart the above process replacing step 5 with the following two commands:
rm -rf ~/.xbmc
mv ~/.xbmc_old ~/.xbmc
(obviously run one command line at a time in the xterm)
Good luck };)
Thanks Analekto.
I haven't tried the above yet, but while we are chatting - do you use a remote with your system?
If so, how did you configure the remote to work with lirc / xbmc?
Thanks,
I don't really use lirc even though I have compiled it with all possible modules in SlaXBMC.
I use a hybrid wireless remote control. It's one of those generic HID MCE remotes identified on Slack as HOLTEK USB keyboard by Denver Electronics . Most multimedia keys were working out of the box but I had to overwrite the rest (i.e. number buttons) using ~/.xbmc/userdata/keymaps/keyboard.xml to get more functionality out of them...
What do you use?
{Hmmmm maybe I should add an open forum on the site when I get the time ;)}
Hello Callum,
I'm on the same boat you where on Apr 19 - blank screen, quitting X and restarting it doesn't even work for me either. Did you resolved your issue? If you did kindly share how you where able to troubleshoot it.
Hi jojogabi,
What methods have you tried so far from the ones mentioned above?
What type of GPU do you have on your XBMC system? Do you use SlaXBMC64 upgraded from Dharma to Eden?
Regards,
Analekto
Hello Analekto,
I have followed your advise to install nvidia includes and re-install the 64bit driver.
I have a zotac mobo w/ nvidia geforce 6100 and yes I di d use SlaXBMC64 upgraded from Dharma to Eden. All help is much appreciated.
Best,
Jojo
Hi Jojo,
Can you get on the Desktop (Ctrl+Alt+F7) after killing XBMC from console (Ctrl+Alt+F2) using QuitXBMCtoDesktop?
If you can get there then please try the process mentioned on the April 18th message above starting in your case from Step 4.
Regards,
Analekto
Hi Analekto,
I have tried it once again to see if it's going to help to no avail.
Thanks for your response.
Best,
Jojo
Analekto,
I type too soon... After the reboot screen it momentarily goes to fluxbox then to blank screen (xbmc). I reverted to fluxbox and launch XBMC - success! Though it only comes up windowed and setting it up on full screen goes to blank screen. Any thoughts?
Best,
Jojo
Hi Jojo,
Could you please post the output of the following four command for me (you will need to run them while on an xterm in fluxbox):
cat /var/log/Xorg.0.log|grep nvidia|head -n 8
lsmod |grep nvidia
glxinfo|grep OpenGL
glxinfo|head -n 15
Regards,
Analekto
Hello Analekto,
Here are the outputs requested:
bash-4.1# cat /var/log/Xorg.0.log|grep nvidia|head -n 8
[ 7279.933] (II) LoadModule: "nvidia"
[ 7279.933] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 7279.975] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 7280.076] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[ 7280.076] (II) NVIDIA(0): "nvidia-auto-select"
[ 7280.081] (II) NVIDIA(0): Setting mode "nvidia-auto-select"
[ 7280.191] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
bash-4.1# lsmod |grep nvidia
nvidia 12256957 48
agpgart 28874 1 nvidia
i2c_core 19769 2 nvidia,i2c_nforce2
bash-4.1# glxinfo|grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 6150SE nForce 430/integrated/SSE2
OpenGL version string: 2.1.2 NVIDIA 295.40
OpenGL shading language version string: 1.20 NVIDIA via Cg compiler
OpenGL extensions:
bash-4.1# glxinfo|head -n 15
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
GLX_EXT_swap_control, GLX_EXT_texture_from_pixmap, GLX_ARB_create_context,
GLX_ARB_create_context_profile, GLX_EXT_create_context_es2_profile,
GLX_ARB_create_context_robustness, GLX_ARB_multisample,
GLX_NV_float_buffer, GLX_ARB_fbconfig_float
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
I reinstalled Slackware 13.37 from a DVD 64bit on an Xfce w/ pkgs xbs/xcs and I'm still having the same issue.
XBMC starts on a blank screen because it loads way too slow. As usual, all help is much appreciated. Tnx!
Best,
Jojo
Hi Jojo,
Hmmm your output looks ok...
Could you please try installing an older version of the NVIdia driver (give it a go with 295.33). It has been reported the version of the driver you use (295.40) cause lots of problems.
Regards,
Analekto
Hi Analekto,
It was the Nvidia 295.40 that's causing the issues - slow to load, launching multiple instances of xbmc etc. As per your advise I installed the preceding version 295.33 and voila! It worked. Thank you for all your help and may your tribe increase!
Best
Jojo
Rock on };)
Post a Comment