![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
| View Poll Results: Does Joost run? | |||
| Yes, everything works (even if it's slow). |
|
49 | 30.25% |
| No, video doesn't work. |
|
16 | 9.88% |
| No, sound doesn't work. |
|
14 | 8.64% |
| No, fonts don't work. |
|
3 | 1.85% |
| No, Something else doesn't work (pleas post) |
|
18 | 11.11% |
| No, nothing works. |
|
69 | 42.59% |
| Multiple Choice Poll. Voters: 162. You may not vote on this poll | |||
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 | |
|
5 Cups of Ubuntu
![]() Join Date: May 2007
Beans: 22
Ubuntu 7.04 Feisty Fawn
|
You need to recompile wine for this to work, and it takes a while. If you're afraid of doing this, you probably want to stop now.
This is for Ubuntu 7.04 First you need to get a few things ready for the install: first and foremost, download a copy of the most recent Joost program from Joost open Synaptic, click on "Settings --> Repositories" Click on the "3rd Party Tab" click "Add" at the bottom. In the box that comes up, type this (or copy it): Code:
deb-src http://wine.budgetdedicated.com/apt feisty main In a console, type: Code:
sudo apt-get build-dep wine Code:
sudo apt-get install linux-headers-$(uname -r) build-essential Now get some dependencies: Code:
sudo apt-get install fakeroot libasound2-dev libaudiofile-dev libesd0-dev libaudio-dev libcapi20-dev liblcms1-dev libcupsys2-dev libsane-dev libhal-dev libdbus-1-dev freeglut3-dev libc6-dev libexpat1-dev libfontconfig1-dev libfreetype6-dev libgcrypt11-dev libglib1.2-dev libglib2.0-dev libgpg-error-dev libice-dev libieee1284-3-dev libjpeg62-dev libldap2-dev libltdl3-dev libmad0-dev libmng-dev libncurses5-dev libogg-dev libopencdk8-dev libpng12-dev libqt3-mt-dev libsm-dev libusb-dev libvorbis-dev libx11-dev libxcursor-dev libxext-dev libxft-dev libxi-dev libxml2-dev libxmu-dev libxrandr-dev libxrender-dev libxslt1-dev libxt-dev libxv-dev render-dev unixodbc-dev x-dev zlib1g-dev xlibs-dev libxxf86dga-dev libxxf86vm-dev libjack0.100.0-dev libicu34-dev libungif4-dev libssl-dev Code:
mkdir wine-src cd wine-src Code:
apt-get source wine Code:
cd wine-0.9.39~winehq0~ubuntu~7.04 Code:
wget http://witt.michael.googlepages.com/patch2.patch http://witt.michael.googlepages.com/patch3.patch http://witt.michael.googlepages.com/patch4.patch http://witt.michael.googlepages.com/patch5.patch http://witt.michael.googlepages.com/patch6.patch http://witt.michael.googlepages.com/patch7.patch http://witt.michael.googlepages.com/patch8.patch Code:
patch -p1 < patch2.patch patch -p1 < patch3.patch patch -p1 < patch4.patch patch -p1 < patch5.patch patch -p1 < patch6.patch patch -p1 < patch7.patch patch -p1 < patch8.patch Code:
dpkg-buildpackage -rfakeroot -uc -b after it's done, assuming no errors, Code:
cd .. Code:
sudo dpkg -i wine_0.9.39~winehq0~ubuntu~7.04-1_i386.deb Code:
winecfg Next click on the audio tab. Make sure that only "OSS Driver" is checked. At the bottom, turn DirectSound Hardware Acceleration to "Emulated" and check the checkbox that says "Driver Emulation" Now go into the graphics tab, and check "Emulate a virtual desktop" and enter a size of 800x600. Uncheck "Allow the window manager to control windows" Click "Apply" then "Ok" Now to install joost: Code:
cd cd Desktop wine JoostSetup-FriendsEdition-0.10.4.exe To start Joost type: Code:
cd ~/.wine/c_drive/"Program Files"/Joost Code:
wine xulrunner/tvprunner.exe application.ini Code:
WINEDEBUG=fixme-all wine xulrunner/tvprunner.exe application.ini You should now have Joost up and running. (Troubleshooting section at bottom) ![]() === METHOD 2 === GIT === This is a secondary method, using git to get the latest and greatest wine (which is not dependent upon a repo). We get the latest code (which might be unstable) and patch it. It is also faster when upgrading, as the files that are unchanged do not need to be recompiled. WARNING: This method uses code snapshots, WHICH MAY BE UNSTABLE. USE AT YOUR OWN RISK. Step 1: First, download and install git (note that the version that is in the apt repo for dapper will NOT work; it's too old) Code:
sudo apt-get install cogito 2: Make and go into the wine-src folder under home. Code:
cd mkdir wine-src cd wine-src Use git to fetch the latest wine-source, then go into the directory. Code:
git clone git://source.winehq.org/git/wine.git wine-git cd wine-git 4: Use wget to download the patches: (As of 0.9.37 patch1.patch is no longer required, however all of the others are.) Code:
wget http://witt.michael.googlepages.com/patch2.patch http://witt.michael.googlepages.com/patch3.patch http://witt.michael.googlepages.com/patch4.patch http://witt.michael.googlepages.com/patch5.patch http://witt.michael.googlepages.com/patch6.patch http://witt.michael.googlepages.com/patch7.patch http://witt.michael.googlepages.com/patch8.patch Apply patches: Code:
patch -p1 < patch2.patch patch -p1 < patch3.patch patch -p1 < patch4.patch patch -p1 < patch5.patch patch -p1 < patch6.patch patch -p1 < patch7.patch patch -p1 < patch8.patch Commit patches to our branch. Code:
git commit -a All command sequences start with a colon (Shift+ To exit, use "quit" if you've changed something and want to quit without saving, use "quit!" To save, use the command "write" For the commits, uncomment the names of all of the first set of files. (they should all end with ".c") 7: Make wine. Code:
./configure make depend && make 8: Uninstall any previous versions of wine If you used the instructions above, type9: Install the new version of wine. Code:
sudo make install Check that wine was installed correctly Code:
wine --version 11: Continue by using the instructions above to install and run Joost. How to use git to update the source (and save a lot of time recompiling): 1: Type Code:
git fetch git rebase origin Run make again: Code:
make depend && make 3: Reinstall. Code:
sudo make install Q) Video doesn't work A) If you have an nVidia card, try installing the latest beta drivers (for an x86: http://www.nvidia.com/object/linux_d...100.14.03.html) (Thanks to georgie for that answer) For a tutorial:http://ubuntuforums.org/showthread.php?t=296933(Thanks Syosoft) Also, if you use Beryl, set it to metacity, it will run better. A2) Make sure that "Virtual Desktop" is checked, with a resoulution of 800x600. In more recent versions, unchecking Virtual Desktop (so NONE of the options are checked) sometimes works (and sometimes doesn't). It will play in fulscreen if it works, but can freeze if it doesn't. If it freezes, just hit Ctrl+Alt+Backspace and it will restart GDM (but you'll loose any work you may have done in the background. Q) Sound doesn't work: A) In winecfg, under the audio tab, try selecting different drivers; one should work. Also, make sure that "Hardware Acceleration" is set to Emulation, and not any of the other options. Also try checking the box that says "Emulate Sound driver) Q) It won't start. A) Go into a console and type 'wine --version' If it says anything less than 0.9.36 (if you've done it recently it should say 0.9.37) then you haven't installed your new wine, or an older version is taking control. Type "sudo apt-get remove wine" and then cd into your wine directory, and and install using the directions above. Then when you type 'wine --version' it should come up with 0.9.37. If it says that and still won't run, make sure you've patched everything (patches 2- Q) Fonts don't work. A) Try running this: Code:
sudo apt-get install msttcorefonts If that doesn't work, after installing msttcorefonts, run the command: Code:
cp /usr/share/fonts/truetype/msttcorefonts/* ~/.wine/drive_c/windows/fonts/ Q) Should I use sudo when running wine? A) Never. Q) What should I do if Joost is using all my CPU? Quote:
May 11, 2007: Initaial Revision May 12, 2007: Added git method, updated to reflect newest version of wine. May 14, 2007: Added ./configure to git method because of a suggestion. Also added Troubleshooting/FAQ section. May 16, 2007: Fixed linux-headers section. May 20, 2007: Added more info to troubleshooting. May 22, 2007: More info added. May 24, 2007: Joost has been updated! Brought tutorial up to speed. May 26, 2007: See message at the top. June 3, 2007: Changed to reflect Version 0.9.38 of wine. June 9, 2007: Updated to reflect Joost 0.10.4 June 12, 2007: Added method to get rid of 'fixme' errors. June 16, 2007: Removed link at top to invites; no more left. June 18, 2007: Updated to reflect version 0.9.39 of wine in repo. June 25, 2007: Minor typos corrected; clarified instructions. Last edited by mikewitt; June 25th, 2007 at 10:59 PM.. |
|
|
|
|
|
|
#2 |
|
Gee! These Aren't Roasted!
![]() Join Date: Jul 2005
Beans: 155
Ubuntu 9.04 Jaunty Jackalope
|
Re: HOWTO: Joost (with sound)
can't wait to try this (need to upgrade first), looks awesome, thanks for posting
|
|
|
|
|
|
#3 |
|
Just Give Me the Beans!
![]() |
Re: HOWTO: Joost (with sound)
never heard of joost before. sounds cool. i want to try it. would someone mind sending me an invite thrasher.basher@gmail.com
thanks in advance |
|
|
|
|
|
#4 |
|
Gee! These Aren't Roasted!
![]() |
Re: HOWTO: Joost (with sound)
![]() I keep getting that screen even though I followed your directions on what to set on the Audio page for winecfg. edit: this is what I get with version 0.9.2 ![]() Last edited by pingpongboss; May 10th, 2007 at 01:43 AM.. |
|
|
|
|
|
#5 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2007
Beans: 2
|
Re: HOWTO: Joost (with sound)
|
|
|
|
|
|
#6 |
|
First Cup of Ubuntu
![]() Join Date: May 2007
Beans: 11
Xubuntu 7.04 Feisty Fawn
|
Re: HOWTO: Joost (with sound)
Try Alsa driver instead of OSS in winecfg.
|
|
|
|
|
|
#7 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2007
Beans: 2
|
Re: HOWTO: Joost (with sound)
hmm, tried that, no luck.
this is the errors the terminal puts out: fixme:font:GetCharacterPlacementW flags 0x00000132 ignored fixme:font:GetCharacterPlacementW flags 0x00000132 ignored fixme:font:GetCharacterPlacementW flags 0x00000132 ignored fixme:font:GetCharacterPlacementW flags 0x00000132 ignored seems to be something with the fonts, but i'm seeing everything fine, so idk... |
|
|
|
|
|
#8 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2007
Beans: 5
|
Hi there Mike thanks for the reply.
Unfortunaltey that produced no output at all, the Joost diaglog came up the same as before, but no errors on the command line at all Is there a way to increase the debugging value? Many thanks for your help/# edit i tried with winedbg, and it quite quickly just started doing this: First chance exception: page fault on read access to 0x01b60020 in 32-bit code (0x00f6f01a). the memory values appear to change everytime, i'm really not that experienced with winedbg..... ------------- also i should note that everytime i've installed Wine, (from anywhere it seems) i get this msg : ldconfig: /usr/lib/libphysfs-1.0.so.1 is not a symbolic link Last edited by bofh80; June 11th, 2007 at 09:37 PM.. Reason: updates |
|
|
|
|
|
#9 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2007
Beans: 2
|
no video streams? hint, please...
Excellent guide, thank you.
I seem to have some issues, though. The biggest is that Joost doesn't seem to be able to download any video data. I can choose channel and program and everything, but no video ever comes up. Anyone has any idea how to debug that? I don't get much in the way of errors. Maybe someone can show me a netstat over Joost to see if I have all the proper network connections running or give me a hint on how to trace what's going wrong? Or a link to some wine-network-and-sound-testing-software? The second problem is that I don't get any sounds. Joost never complains about that either (neither OSS nor Alsa gives any complaints; turning off emulation does). But that might follow from the fact I don't get any video either - don't know if it has default sounds that plays anyway... Joost starts fine within seconds, by the way. No five minute wait. But no video stream, even in hours... Wine 0.9.38, Joost 10.4. I would like to try with Joost 10.3, anyone has that somewhere still? (Also, 10.4 works fine on a windows computer on the same network.) /Mirar wine output: fixme:wave:ALSA_AddCaptureDevice Add support for DSCapture fixme:iphlpapi:NotifyAddrChange (Handle 0x7cbae958, overlapped 0x7cbae93c): stub fixme:keyboard:BlockInput (1): stub fixme:font:GetCharacterPlacementW flags 0x00000132 ignored [...N times...] fixme:font:GetCharacterPlacementW flags 0x00000132 ignored fixme:d3d:IWineD3DDeviceImpl_SetMultithreaded No thread safety in wined3d yet fixme:d3d:IWineD3DDeviceImpl_GetAvailableTextureMe m (0x174ac00) : stub, simulati ng 64MB for now, returning 64MB left fixme:font:GetCharacterPlacementW flags 0x00000132 ignored [...inf times...] |
|
|
|
|
|
#10 |
|
5 Cups of Ubuntu
![]() Join Date: Mar 2007
Beans: 32
|
Re: HOWTO: Joost (with sound)
I get a "Runtime Error!
Program C:\Program Files\Joost\xulrunner\tvprunner.exe R6031 -Attempt to initialize the CRT more than once. This indicaes a bug in your application Any thoughts? THis is when running either of the above commands to initialize Joost. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|