LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Using 13.0/KDE 4 in an HTPC (https://www.linuxquestions.org/questions/slackware-14/using-13-0-kde-4-in-an-htpc-753368/)

larryhaja 09-14-2009 08:17 PM

I'm not sure what that error message really means. I have compiled XBMC 9.04 and 9.04.1 successfully on Slackware 12.2 a few months ago. Since you already have tried XBMC 8.10 then you must have the additional dependencies that are needed for Slackware 12.2 that are included in Slackware 13.0 or not needed with XBMC 9.04.1. Just in case, the required dependencies are boost, enca, faac, glew, jasper and tre for Slackware 12.2.

I know my xbmc.SlackBuild works on a full install of Slackware 13.0 if only enca is installed. It should work on 12.2. Not sure why. As far as I can remember I didn't tweak my slackbuild between versions.

lpallard 09-14-2009 09:34 PM

all right....
 
Hey here's a quick update of my adventures....

I recompiled and installed (from SlackBuilds.org) all packages and dependencies : boost, enca, faac, glew, jasper and tre but unfortunately, the problem persists.....

I even reistalled (from sources) that libiconv thing, that I downloaded from http://www.gnu.org/software/libiconv/

no error for libiconv.... but it seems that xbmc is having some problems with it... any more clues? I would appreciate!

Thanks!

larryhaja 09-14-2009 10:30 PM

What's the new error?

Woodsman 09-14-2009 11:22 PM

Quote:

BTW, thanks Woodsman for the HTPC stuff, very nice, now I am interested in building the same thing....
The project is slowly driving me crazy. I haven't been so discouraged about a computer project in a long time. :( Seems every solution requires DAYS to find answers and I don't always find answers. Often I find forum threads where people post the exact same problem I have and nobody answers. Right now I'm trying to get a signal from two different VCR players. Everything with this project has been an uphill struggle!

lpallard 09-15-2009 11:34 AM

new error...
 
larryhaja, the error is exactly the same, even the output is the same...

Code:

make: *** [xbmc.bin] Error 1
sorry for my confusing post....

Woodsman, you'll be so proud of your work when your done.... if I was starting that project now, I would be glad to help (or try...)

BTW, I read most of your posts (on your website) and being a slackware user myself, I appreciate to see that I am not alone in my bubble.... so many people around me are all talking about windows 7 or XP... its nice to see something else... some smart visions!

i'll try more things tonight and see what happens..

anybody who has ideas please come forward and let us know!

Woodsman 09-16-2009 07:11 PM

Quote:

Woodsman, you'll be so proud of your work when your done.... if I was starting that project now, I would be glad to help (or try...)
I decided to take a break from the project. :) You'll have to read the latest journal entry.

Quote:

BTW, I read most of your posts (on your website) and being a slackware user myself, I appreciate to see that I am not alone in my bubble.... so many people around me are all talking about windows 7 or XP... its nice to see something else... some smart visions!
I asked the owner of the ISP service I use how many of his customers use a Linux-based system. Other than himself (for his servers) and me, only one person. Currently I contract in an environment using XP and Office 2007. Drives me nuts most of the day. A handful of people know I do not use Windows (or Macs), and relegate me to the geek corner. But I'm almost always the first person most of them run toward to help solve problems, which are all Windows issues. :)

Slackware has at times been a bear to learn but I'm fairly comfortable nowadays. I can't imagine going back to Windows as a primary operating system, even when I get upset about things I can't solve with Slackware or free software.

lpallard 09-16-2009 07:55 PM

Quote:

I decided to take a break from the project.
maybe a break will help.. after all, I suppose its not a full time job! :)

as for linux, yeah I am myself using slack as my primary OS, in fact I have only slack on my main computer. only a virtual machine with xp, thats all, and every time I use it (for crap files in windows native formats), I re-discover why I am no longer using winblows.... everything is just slow, painful, crash , everything lag, god... :)

I still haven't managed to fix my problem with xbmc 9.04.. seems that something is really messed in my config...

next challenge will be to install an updated kernel and activate all the options I need (4GB ram +...). does anybody, including you Woodsman, have tried the latest kernel? I never compiled a kernel before so I will be very careful....

Woodsman 09-18-2009 12:57 PM

I'm using 2.6.30.5. No known problems.

Chuck56 09-27-2009 12:06 AM

A modest 1st effort
 
I put together a mid-level PC and hooked it up to my 1080p HD TV to begin the HTPC journey in my house. I initially did a full Slackware 13 32 bit install and started with KDE4.

I ran into video problems with KDE4 and my onboard ATI Radeon HD 4200 IGP even after installing the ATI proprietary drivers. The issue was really big panels with really big fonts. I never did figure out how to fix KDE4 and ended up using XFCE for the DM. Just to be sure I removed all the /kdei and /kde packages from the PC.

I don't have a TV card in the PC yet but I'm using it to watch MP4/avi encoded movies using NFS over G wireless to one of my LAN servers. I also have onboard S/PDIF (IEC958 optical) which is sent to my AV receiver for 5.1 surround sound.

So far, so good. I'll be glad to help out where I can if others go down this path. It's fun to be able to watch TV, browse the net and watch movies powered by Slackware!

vik 09-27-2009 11:17 AM

BTW, Woodsman's solution for building XBMC is fixed with the latest security patches to mesa lib. Now glxinfo works like it's supposed to--thanks adamk75. For me I had to upgrade the mesa packages and reinstall the ATI drivers for everything to work properly.

Woodsman 09-27-2009 11:41 AM

Quote:

Now glxinfo works like it's supposed to--thanks adamk75.
I suspected a patch would arrive eventually. :)

I find XBMC 9.04.1 more challenging than I expected. The app crashes often. I haven't tried to investigate the logs.

I do not find the user interface friendly with respect to configuration tasks. The context menu often is confusing to me and often does not contain the functions required. For example, I struggle with building libraries.

I also notice the scrapers for movie descriptions and thumbnails leave a lot to be desired. Having people write nfo files is nonsense. With something as potent as XBMC there should be a point-and-click method to build nominal movie descriptions.

I have not found a way to erase incorrect scrapes from the movie library.

Yes, I need to spend more time at the XBMC forums but that will have to wait for a while. :)

Chuck56 10-22-2009 10:56 PM

I thought I would add to this thread and let others know that after a few days of mad googling I have been able to get LIRC to run on Slackware 13. I'm using an Antec Veris Multi-Station Basic Internal IR with RM100 remote. It's a nice receiver that fits into a 3.5" bay or in a 5.25 bay with an adapter which is what I did. The remote is kinda small but I plan to use my Harmony remote later when I get more time.

The LIRC 0.8.6 SlackBuild was my starting point. Initially I fought with USBHID which took control of the iMON based receiver. Lots of posts say to use "quirks" to prevent the USBHID driver from capturing devices. Since I didn't see USBHID in "lsmod" I assumed it was built into the kernel but the kernel "quirks" didn't help me. I finally found a couple echo commands to unbind the device from USBHID.

1) Find the USBHID driver locations:
Code:

#ls /sys/bus/usb/drivers/usbhid
5-3:1.0 5-3:1.1 bind module new_id uevent unbind

2) Unbind USBHID from iMON device.
Code:

#echo -n "5-3:1.0" > /sys/bus/usb/drivers/usbhid/unbind
#echo -n "5-3:1.0" > /sys/bus/usb/drivers/usbhid/unbind

3) Seize iMON device with LIRC
Code:

#modprobe lirc-imon
4) Start lircd
Code:

#lircd -d /dev/lirc/0
My short term goal was to get lircmd to control the mouse in X apps and I could call it a day. I was able to use LIRC tools like mode2, irw and irrecord but still no mouse movements. More mad googling with lots of suggestions to modify the xorg.conf file but I finally learned about using "uinput".

A couple commands later the mouse started to respond.
Code:

#modprobe uinput
#lircmd --uinput

I was able to toss these commands into rc.local for the time being. I'm probably missing some UDEV or HAL magic but this works for now. My next task is to take a long weekend then come back and start working on the lircrc file and get some app specific key combos defined.

wrankzor 12-02-2009 12:53 PM

I don't know if this is the right thread to ask this, but you guys seem to be well informed about it.

When I am compiling XBMC 9.04.1 with the latest script from larryhaja on my fresh Slackware 13.0 install, I get an error saying "chmod: cannot operate on dangling symlink `/tmp/lh/package-xbmc/usr/bin/XBMCTex'" before the process just stops. It looks like it is a symlink which points to itself. Does anybody know how I can prevent this from happening and finish making the package?

Code:

[...]
Apple Movie Trailers\NR.png:              LIN_A8R8G8B8  256x64  ( 0.00% waste)
Apple Movie Trailers\NC-17.png:          LIN_A8R8G8B8  256x64  ( 0.00% waste)
Apple Movie Trailers\G.png:              LIN_A8R8G8B8  256x64  ( 0.00% waste)

Writing bundle: skin/PM3.HD/media/Textures.xpr
Uncompressed texture size:  88606kB
Compressed texture size:    62956kB
Bundle size:                17689kB

Wasted Pixels: 6713923/27168160 (24.71%)
Creating target directories in /tmp/lh/package-xbmc/usr/share/xbmc
Copying system files to /tmp/lh/package-xbmc/usr/share/xbmc
Copying XBMC binary to /tmp/lh/package-xbmc/usr/share/xbmc/xbmc.bin      k
Copying support and legal files,,,
Done!
You can run XBMC with the command 'xbmc'
Install Live CD datas in /tmp/lh/package-xbmc/usr ...
chmod: cannot operate on dangling symlink `/tmp/lh/package-xbmc/usr/bin/XBMCTex'


Sm0k3 12-20-2009 02:54 PM

Quote:

Originally Posted by Chuck56 (Post 3698228)
I ran into video problems with KDE4 and my onboard ATI Radeon HD 4200 IGP even after installing the ATI proprietary drivers. The issue was really big panels with really big fonts. I never did figure out how to fix KDE4 and ended up using XFCE for the DM. Just to be sure I removed all the /kdei and /kde packages from the PC.

Edit /etc/kde/kdm/kdmrc
Find the line "ServerArgsLocal="
append '-dpi 96' to it and save. that should fix your huge font problem. you might have to tweak the number to the size you want.

I've also been having a similar problem as discussed in this thread, I got the sound to actually play after installing the ATI proprietary drivers for my ATI Radeon HD 4200, and adding 'Option "HDMI"' to /etc/X11/Xorg.conf. This gets the sound to play over HDMI cable in both X and console. I'm hung on setting ALSA's Default output to my HDMI device... this seems to make the HDMI device not function at all. Any ideas?


All times are GMT -5. The time now is 09:06 PM.