Port XBMC to BSD based operating-system like FreeBSD, PC-BSD, or NetBSD?

  Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
jnordlund Offline
Junior Member
Posts: 2
Joined: Dec 2010
Reputation: 0
Post: #16
Wooooohooooooooooo!!!!

Call for testers for xbmc 10.0 on freebsd.
http://lists.freebsd.org/pipermail/freeb...11423.html

Edit: Works for me on amd64 8.1 Release
(This post was last modified: 2010-12-13 22:26 by jnordlund.)
find quote
garthus Offline
Junior Member
Posts: 2
Joined: Apr 2010
Reputation: 0
Post: #17
sweet, i decided to try and port it this weekend too. I got to the point where configure was not detecting libjasper.
find quote
judmarc Offline
Junior Member
Posts: 1
Joined: Dec 2010
Reputation: 0
Post: #18
Very nice initial test port. Won't build on my 8-STABLE amd64 system if vdpau support is selected. Apologies that I didn't preserve the exact error message, but if I remember correctly it was during the configure stage of one of the later dependencies when config halted, not finding the linux flavor of something. Installation succeeded after changing the port config to leave out vdpau support.
find quote
jnordlund Offline
Junior Member
Posts: 2
Joined: Dec 2010
Reputation: 0
Thumbs Up   
Post: #19
Wink
now in ports
http://www.freshports.org/multimedia/xbmc/
find quote
ELSE Offline
Junior Member
Posts: 1
Joined: Jan 2011
Reputation: 0
Post: #20
Hello! I have already installed XBMC on FreeBSD 8.1#amd64 with ASRock A330ION motherboard from port. It works!!! It has a lot of depences and more of them I installed by pkg_add.
Also I have already installed nvidia driver for ION chipset.
I have no any problem during installation.
Now I use startx and do xbmc to launch it. I have some problems:
1. Russian charsets are not work (I am using an english now)
2. Cannot get sound through HDMI port. Video works as well.
3. I cannot find any way to get USB MCE Remote Control (based on Philips receiver) works.

Now I am testing it. If any problem will be appeared I will post here.
find quote
Fneufneu Offline
Team-XBMC BSD Developer
Posts: 40
Joined: Aug 2010
Reputation: 0
Location: Paris
Post: #21
ELSE Wrote:Hello! I have already installed XBMC on FreeBSD 8.1#amd64 with ASRock A330ION motherboard from port. It works!!! It has a lot of depences and more of them I installed by pkg_add.
Also I have already installed nvidia driver for ION chipset.
I have no any problem during installation.
Now I use startx and do xbmc to launch it. I have some problems:
1. Russian charsets are not work (I am using an english now)
2. Cannot get sound through HDMI port. Video works as well.
3. I cannot find any way to get USB MCE Remote Control (based on Philips receiver) works.

Now I am testing it. If any problem will be appeared I will post here.

Hi,

1/ start xbmc with:
LANG=ru_RU.UTF-8 xbmc
with git version, locale are directly handle in code

2/ you can try to play with
sysctl hw.snd.default_unit
(cat /dev/sndstat to list all units)
and keep normal /dev/dsp sound output

3/ is it LIRC device ? because i need to spend some time on it to get it work.

hf
find quote
mixalis_sp Offline
Junior Member
Posts: 3
Joined: Feb 2011
Reputation: 0
Post: #22
Just finished installing xbmc on freebsd. Installed from ports. Looks good except mouse and keyboard are moving so slow! like you are on a remote desktop. Why is this ? IS there any fix - thanx
find quote
mixalis_sp Offline
Junior Member
Posts: 3
Joined: Feb 2011
Reputation: 0
Post: #23
found it as a package for amd 64 in FREE BSD 8.2 RC2. Gonna try the package after i upgrade the os
find quote
mixalis_sp Offline
Junior Member
Posts: 3
Joined: Feb 2011
Reputation: 0
Post: #24
Installed it as a package in 8.2 relase amd 64. It looks awesome, but goes slow again. Something is wrong.
find quote
johndoe2000 Offline
Junior Member
Posts: 11
Joined: Dec 2008
Reputation: 0
Post: #25
Any progress ? Combining ZFS and xbmc would create the ultimate htpc/fileserver solution!
find quote
bluetick Offline
Junior Member
Posts: 3
Joined: Sep 2011
Reputation: 0
Post: #26
I have installed xbmc on FreeBSD 8.2 i386 from the ports. When I run xbmc it stalls the computer. Top from a ssh session show 100% cpu usage from xbmc.

I will provide more details if you tell me what you need to know. thanks

xbmc.log below

Code:
23:00:11 T:731910464 M:3121098752  NOTICE: -----------------------------------------------------------------------
23:00:11 T:731910464 M:3121094656  NOTICE: Starting XBMC, Platform: FreeBSD (8.2-RELEASE i386). Built on Sep 17 2011 (Git:Unkn
23:00:11 T:731910464 M:3121086464  NOTICE: special://xbmc/ is mapped to: /usr/local/share/xbmc
23:00:11 T:731910464 M:3121086464  NOTICE: special://xbmcbin/ is mapped to: /usr/local/lib/xbmc
23:00:11 T:731910464 M:3121086464  NOTICE: special://masterprofile/ is mapped to: /home/username/.xbmc/userdata
23:00:11 T:731910464 M:3121086464  NOTICE: special://home/ is mapped to: /home/username/.xbmc
23:00:11 T:731910464 M:3121086464  NOTICE: special://temp/ is mapped to: /home/username/.xbmc/temp
23:00:11 T:731910464 M:3121086464  NOTICE: The executable running is: /usr/local/lib/xbmc/xbmc.bin
23:00:11 T:731910464 M:3121086464  NOTICE: Log File is located: /home/username/.xbmc/temp/xbmc.log
23:00:11 T:731910464 M:3121086464  NOTICE: -----------------------------------------------------------------------
23:00:11 T:731910464 M:3121070080  NOTICE: Setup SDL
23:00:11 T:731910464 M:3120656384  NOTICE: load settings...
23:00:12 T:731910464 M:3120459776  NOTICE: special://profile/ is mapped to: special://masterprofile/
23:00:12 T:731910464 M:3120459776  NOTICE: loading special://masterprofile/guisettings.xml
23:00:12 T:731910464 M:3120283648  NOTICE: Getting hardware information now...
23:00:12 T:731910464 M:3120283648  NOTICE: Checking resolution 12
23:00:12 T:731910464 M:3120283648  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.x
23:00:12 T:731910464 M:3120242688  NOTICE: Loaded playercorefactory configuration
23:00:12 T:731910464 M:3120242688  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory
23:00:12 T:731910464 M:3120242688  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
23:00:12 T:731910464 M:3120242688  NOTICE: No advancedsettings.xml to load (special://masterprofile/advancedsettings.xml)
23:00:12 T:731910464 M:3120242688  NOTICE: Default DVD Player: dvdplayer
23:00:12 T:731910464 M:3120242688  NOTICE: Default Video Player: dvdplayer
23:00:12 T:731910464 M:3120242688  NOTICE: Default Audio Player: paplayer
23:00:12 T:731910464 M:3120242688  NOTICE: Loading media sources from special://masterprofile/sources.xml
23:00:12 T:731910464 M:3117957120  NOTICE: Enabled Joystick: /dev/uhid0
23:00:12 T:731910464 M:3117957120  NOTICE: Details: Total Axis: 0 Total Hats: 0 Total Buttons: 0
23:00:12 T:731910464 M:3117957120  NOTICE: Enabled Joystick: /dev/uhid1
23:00:12 T:731910464 M:3117957120  NOTICE: Details: Total Axis: 0 Total Hats: 0 Total Buttons: 0
23:00:13 T:731910464 M:3115917312  NOTICE: Using visual 0x11b
23:00:13 T:731910464 M:3111018496  NOTICE: GL_VENDOR = Mesa Project
23:00:13 T:731910464 M:3111018496  NOTICE: GL_RENDERER = Software Rasterizer
23:00:13 T:731910464 M:3111018496  NOTICE: GL_VERSION = 2.1 Mesa 7.4.4
23:00:13 T:731910464 M:3111018496  NOTICE: GL_SHADING_LANGUAGE_VERSION = 1.20
23:00:13 T:731910464 M:3111018496  NOTICE: GL_EXTENSIONS = GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL
23:00:13 T:731910464 M:3111014400   ERROR: GLX: Same window as before, refreshing context
23:00:13 T:731910464 M:3100102656  NOTICE: HAL: Generating global device list
23:00:13 T:731910464 M:3100098560  NOTICE: start dvd mediatype detection
23:00:13 T:731910464 M:3100082176  NOTICE: initializing playlistplayer
23:00:13 T:731910464 M:3100065792  NOTICE: DONE initializing playlistplayer
23:00:14 T:731910464 M:3091943424  NOTICE: initialize done
23:00:14 T:731910464 M:3091939328  NOTICE: Running the application...
23:00:14 T:731910464 M:3091931136  NOTICE: ES: Starting event server
23:00:14 T:731910464 M:3091918848  NOTICE: DS: Starting dbus server
23:00:14 T:809494272 M:3091795968  NOTICE: DS: Starting DBUS server in Run Application aka thread
23:00:14 T:731910464 M:3091705856  NOTICE: starting zeroconf publishing
23:00:14 T:809494592 M:3091668992  NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
23:00:14 T:809494592 M:3091615744  NOTICE: UDP: Listening on port 9777
23:00:24 T:809492032 M:3073273856 WARNING: FillBuffer: curl failed with code 28
23:00:24 T:809492032 M:3073273856   ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
23:00:24 T:809492032 M:3073273856   ERROR: WEATHER: Weather download failed!
23:02:50 T:731910464 M:3068002304   ERROR: convert_checked failed from UTF-8 to WCHAR_T, errno=86
23:02:50 T:731910464 M:3068002304   ERROR: convert_checked failed from WCHAR_T to UTF-8, errno=86
23:02:50 T:731910464 M:3068002304   ERROR: convert_checked failed from UTF-8 to WCHAR_T, errno=86
23:02:58 T:731910464 M:3074625536   ERROR: Previous line repeats 1 times.
23:02:58 T:731910464 M:3074625536   ERROR: convert_checked failed from WCHAR_T to UTF-8, errno=86
23:02:58 T:731910464 M:3074625536   ERROR: convert_checked failed from UTF-8 to WCHAR_T, errno=86
23:03:07 T:731910464 M:3074600960   ERROR: Previous line repeats 1 times.
23:03:07 T:731910464 M:3074600960   ERROR: convert_checked failed from WCHAR_T to UTF-8, errno=86
23:03:07 T:731910464 M:3074600960   ERROR: convert_checked failed from UTF-8 to WCHAR_T, errno=86
23:05:10 T:731910464 M:3071819776  NOTICE: Storing total System Uptime
23:05:10 T:731910464 M:3071893504  NOTICE: Saving settings
23:05:10 T:731910464 M:3072118784  NOTICE: stop all
23:05:10 T:731910464 M:3072118784  NOTICE: ES: Stopping event server
23:05:10 T:731910464 M:3072114688  NOTICE: stopping zeroconf publishing
23:05:10 T:809494272 M:3072114688  NOTICE: DS: DBUS server stopped
23:05:10 T:809494592 M:3072282624  NOTICE: ES: UDP Event server stopped
23:05:10 T:731910464 M:3072282624  NOTICE: stop dvd detect media
23:05:10 T:731910464 M:3072282624  NOTICE: stop sap announcement listener
23:05:10 T:731910464 M:3072282624  NOTICE: clean cached files!
23:05:10 T:731910464 M:3072282624  NOTICE: unload skin
23:05:10 T:731910464 M:3079548928  NOTICE: stop python
23:05:10 T:731910464 M:3088007168  NOTICE: stopped
23:05:10 T:731910464 M:3088007168  NOTICE: destroy
23:05:10 T:731910464 M:3088076800  NOTICE: unload sections
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,468
Joined: Feb 2008
Reputation: 64
Post: #27
maybe your computer is too slow ?


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
bluetick Offline
Junior Member
Posts: 3
Joined: Sep 2011
Reputation: 0
Post: #28
It may be, but I don't think thats the problem.


Code:
FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011
    [email protected]:/usr/obj/usr/src/sys/GENERIC i386
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) II X4 640 Processor (3013.54-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x100f53  Family = 10  Model = 5  Stepping = 3
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLU​SH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x802009<SSE3,MON,CX16,POPCNT>
  AMD Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!>
  AMD Features2=0x37ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT>
  TSC: P-state invariant
real memory  = 4294967296 (4096 MB)
avail memory = 3403907072 (3246 MB)
ACPI APIC Table: <082410 APIC1744>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
cpu2 (AP): APIC ID:  2
cpu3 (AP): APIC ID:  3
]
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,468
Joined: Feb 2008
Reputation: 64
Post: #29
HAHAH, you have plenty on ponies there.


23:00:13 T:731910464 M:3111014400 ERROR: GLX: Same window as before, refreshing context

That's 1st thing I notice. gdb it and see where it's spending time. I'd suspect atomics or pthread sleeps not working.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
bluetick Offline
Junior Member
Posts: 3
Joined: Sep 2011
Reputation: 0
Post: #30
Working well, I had to enable dri and opengl video driver.
find quote