View Poll Results: Does Joost run?

Voters
162. You may not vote on this poll
  • 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.
Page 1 of 22 12311 ... LastLast
Results 1 to 10 of 213

Thread: HOWTO: Joost (with sound)

  1. #1
    Join Date
    May 2007
    Beans
    22
    Distro
    Ubuntu 7.04 Feisty Fawn

    Post HOWTO: Joost (with sound)

    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
    Click "Ok" and then close the settings window. After the popup that comes up, telling you that you need to hit the "Reload" button, hit the "Reload" button. Close synaptic.

    In a console, type:
    Code:
    sudo apt-get build-dep wine
    Now we're going to get the build things. You don't need this step if you've compiled things before:
    Code:
    sudo apt-get install linux-headers-$(uname -r) build-essential
    Answer Y to any prompts that come up. (Thanks to foureight84 for suggesting $(uname -r))

    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
    Now make a working directory:
    Code:
    mkdir wine-src
    cd wine-src
    and get the Wine source:
    Code:
    apt-get source wine
    now cd into the directory that was just created by apt:
    Code:
    cd wine-0.9.39~winehq0~ubuntu~7.04
    and run this command to download the patches necessary to run Joost: (I'm hosting these patches, because they're easire to get this way, rather than from the appdb site)
    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
    now we need to patch using the files we downloaded:
    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
    and now that we've patched everything (everything should have gone smoothly) type:
    Code:
    dpkg-buildpackage -rfakeroot -uc -b
    This will take a LONG time (an hour or so)

    after it's done, assuming no errors,
    Code:
    cd ..
    and install:
    Code:
    sudo dpkg -i wine_0.9.39~winehq0~ubuntu~7.04-1_i386.deb
    after that's done, type:
    Code:
    winecfg
    Make sure that "Windows XP appears in the dropdown on the first page at the bottom. If it doesn't, select it.
    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
    and follow the prompts

    To start Joost type:
    Code:
    cd ~/.wine/c_drive/"Program Files"/Joost
    Then to start joost, type:
    Code:
    wine xulrunner/tvprunner.exe application.ini
    If you don't like all those 'fixme' errors, which mean nothing to most people, run the command like this:
    Code:
    WINEDEBUG=fixme-all wine xulrunner/tvprunner.exe application.ini
    It may take a couple of minutes, but you should eventually see a splash then a login window. Note that if you need to create a username (not an account, but a name associated with an email), you need to do that. When you click OK after doing what it says, you will just see in red letters "true" appear. It will not progress, but this is Ok, joost still got the info. Click Cancel, then type the name you just created.

    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
    NOTE: If you try and download the program "git" from the apt repo, it will cause problems. It is not the same git we need.

    2:
    Make and go into the wine-src folder under home.
    Code:
    cd
    mkdir wine-src
    cd wine-src
    3:
    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
    The git command will take a while. Just go grab something to eat while you wait.

    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
    5:
    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
    6:
    Commit patches to our branch.
    Code:
    git commit -a
    Vi(m) will come up (which I hate) and you will need to know a few commands.
    All command sequences start with a colon (Shift+. They end when you press enter.
    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
    This will take a long time.

    8:
    Uninstall any previous versions of wine
    If you used the instructions above, type
    Code:
    sudo dpkg remove wine
    If you used apt to install wine, type
    Code:
    sudo apt-get remove wine
    If you installed from source, cd into that directory, and type
    Code:
    sudo make uninstall

    9:
    Install the new version of wine.
    Code:
    sudo make install
    10:
    Check that wine was installed correctly
    Code:
    wine --version
    This should show something like 'wine-0.9.37-g8d159b7'

    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
    2:
    Run make again:
    Code:
    make depend && make
    This shouldn't take long, as most of the files are unchanged.

    3:
    Reinstall.
    Code:
    sudo make install
    Troubleshooting common problems (FAQ):
    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-8). If it says 'cannot find wine' then just cd into your source directory, and install using the instructions above.

    Q) Fonts don't work.
    A) Try running this:
    Code:
    sudo apt-get install msttcorefonts
    (Thanks methane)
    If that doesn't work, after installing msttcorefonts, run the command:
    Code:
    cp /usr/share/fonts/truetype/msttcorefonts/* ~/.wine/drive_c/windows/fonts/
    (Thanks tetralis)

    Q) Should I use sudo when running wine?
    A) Never.

    Q) What should I do if Joost is using all my CPU?
    Quote Originally Posted by javaJake View Post
    If anyone gets stuck with Joost running with this bug, especially after installation, run "killall -KILL tvprunner.exe" - it's the only way you'll get it to close.

    For more information, visit these links:
    http://appdb.winehq.org/appview.php?iVersionId=7821
    http://bugs.winehq.org/show_bug.cgi?id=1631

    So, to sum up, this bug is known about already, but cannot be fixed without dramatic patches.
    *** CHANGELOG ***
    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 26th, 2007 at 03:59 AM.

  2. #2
    Join Date
    Jul 2005
    Beans
    156
    Distro
    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. #3
    Join Date
    Jun 2006
    Location
    Texas, USA
    Beans
    59
    Distro
    Ubuntu 7.04 Feisty Fawn

    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. #4
    Join Date
    Feb 2007
    Location
    USA
    Beans
    141
    Distro
    Hardy Heron (Ubuntu Development)

    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 06:43 AM.

  5. #5
    Join Date
    Feb 2006
    Beans
    65

    Re: HOWTO: Joost (with sound)

    Hi, i could use an invite too, sent to hugo1000 at the gmails.

  6. #6
    Join Date
    Apr 2006
    Beans
    22

    Re: HOWTO: Joost (with sound)

    everything worked for me, but the font on the data-entry screen is totally messed up. Can't even read the buttons.
    I'm assuming that this is because I don't have the extra Windows Fonts installed. I'll try that later.
    Otherwise, thanks!
    edit: I'm running Feisty Kubuntu, BTW.

    edit: install the fonts like so:
    Code:
    sudo apt-get install msttcorefonts
    and it works for me.
    Last edited by methane; May 11th, 2007 at 12:21 AM.

  7. #7
    Join Date
    May 2007
    Beans
    22
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: Joost (with sound)

    Go into winecfg, and under the audio tab, there should be a tree of audio devices. I found mine under "OSS Driver -> Wave In"

    You should find yours under one of the "Wave Out" devices. On two computers, I never found it under ALSA, but it must be there for a reason, so it might be the alsa driver you need. Just uncheck OSS driver, and check the appropriate driver.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Screenshot-Wine desktop.png 
Views:	5284 
Size:	30.2 KB 
ID:	32219  

  8. #8
    Join Date
    Apr 2007
    Beans
    16

    Re: HOWTO: Joost (with sound)

    I have trouble compiling
    Some time after i've started
    Code:
    dpkg-buildpackage -rfakeroot -uc -b
    I get this:
    Code:
    i486-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DWINE_UNICODE_API="" -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -Wall -g -O2 -fno-stack-protector  -o c_949.o c_949.c
    c_949.c:9301: internal compiler error: Segmentation fault
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://gcc.gnu.org/bugs.html> for instructions.
    For Debian GNU/Linux specific bug reporting instructions,
    see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
    The bug is not reproducible, so it is likely a hardware or OS problem.
    make[3]: *** [c_949.o] Error 1
    make[3]: Leaving directory `/home/dercas/wine-src/wine-0.9.36~winehq0~ubuntu~7.04/libs/wine'
    make[2]: *** [wine] Error 2
    make[2]: Leaving directory `/home/dercas/wine-src/wine-0.9.36~winehq0~ubuntu~7.04/libs'
    make[1]: *** [libs] Error 2
    make[1]: Leaving directory `/home/dercas/wine-src/wine-0.9.36~winehq0~ubuntu~7.04'
    make: *** [build-stamp] Error 2
    dercas@RSmaster:~/wine-src/wine-0.9.36~winehq0~ubuntu~7.04$
    What to do?

  9. #9
    Join Date
    Aug 2006
    Location
    Poland
    Beans
    Hidden!

    Re: HOWTO: Joost (with sound)

    Could somebody upload a compiled .deb file?

  10. #10
    Join Date
    May 2007
    Beans
    3

    Re: HOWTO: Joost (with sound)

    my fonts are also broken when I run Joost... can't read any of the text or buttons

    the .deb file is too big to upload, but I could email it to anyone who is having issues compiling their own

    mine is for AMD_64 only

Page 1 of 22 12311 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •