Jump to content

devries

Members
  • Posts

    4118
  • Joined

  • Last visited

Posts posted by devries

  1. Login as root and try 'urpmi apollon' again. And make sure you have added PLF. Else what takes only a minute (installing apollon) will cost you many precious hours of your life......................

  2. No it won't run faster. Mandrake does an amazing job creating their kernels. Don't think you can beat them :P

     

    Some people don't like bloat (for what ever reason) and build a kernel just for their needs but then they buy a new soundcard and have to recompile the kernel. Then they get a new videocard and they have to compile again. Then a TV card etc etc.. Others like the bleeding edge (my kernel is newer then yours).

     

    Personnaly I see only one good reason (other then learning stuff) for compiling your own kernel and that is when your hardware isn't supported by earlier versions.

     

    But if you like to play around with your PC and want to get a real understanding of Linux then go ahead. Building your own kernel is very enlightning :thumbs:

  3. Good to hear (almost) everything works again... :D

     

    In your $HOME you find a .fonts (hidden) folder, a .fonts.conf (with the location of the fonts) and a .fonts.cache-1 (which you can delete).

     

    If I remember correctly when people had problems with 'Sans' they changed to 'Luxi sans' (use the kde control center for that).

     

    (BVC :D )

  4. Let me guess... You didn't max your upload? :wall: And you have a router? :wall:

     

    I use the Shadow's client and I get my maximum download speed all the time. Make sure you forward ports 6881 and the next few (dependent how many downloads you have open) and max your upload at 80% (if you can upload 15kB put it at 11 or 12kB. (with Shadows I just choose connection type dialup/isdn, it doesn't effect my download speed (still 150kB) Most connections get screwed up when unlimited connections are allowed, limiting your download speed)

     

    Most downloads start slow but after awhile you'll see the speed pick up.

     

    Good luck.

  5. I use twniview (option "clone"). I have a composite cable running from my videocard to the TV, but just for video. Sound is still coming from my PC speakers.

     

    Section "Monitor"

        Identifier "monitor1"

        VendorName "Plug'n Play"

        HorizSync 24-60

        VertRefresh 56-75

       

        # Sony Vaio C1(X,XS,VE,VN)?

        # 1024x480 @ 85.6 Hz, 48 kHz hsync

        # ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563 -hsync -vsync

       

        # TV fullscreen mode or DVD fullscreen output.

       # 768x576 @ 79 Hz, 50 kHz hsync

       ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630

       

        # 768x576 @ 100 Hz, 61.6 kHz hsync

       #  ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616

    EndSection

     

    Section "Monitor"

       Identifier "TV"

       HorizSync 30-50

       VertRefresh 60

    EndSection

     

    Section "Device"

        Identifier "device1"

        VendorName "nVidia Corporation"

        BoardName "NVIDIA GeForce4 (generic)"

        Driver "nvidia"

        Option "ConnectedMonitor" "DFP"

    #   Option "RenderAccel" "1"

    #   Option "NvAgp" "1"

        Option "DPMS"

    EndSection

     

    Section "Screen"

        Identifier "screen1"

        Device "device1"

        Monitor "monitor1"

        DefaultColorDepth 24

        Option "TwinView" "On"

        Option "TVStandard" "PAL-B"

        Option "SecondMonitorHorizSync" "30-50"

        Option "SecondMonitorVertRefresh" "60"

        Option "MetaModes" "1024x768,1024x768;800x600,800x600;640x480,640x480"

        Option "TwinViewOrientation" "Clone"

    #   Option "ConnectedMonitor" "CRT,TV"

      

     

    Hope this helps :)

  6. Browse: [About the FAQ Forum] [Table of Contents] [FAQs] [Contribute] [SI: Software Installation]

     

    SI-05: HOWTO: Personal Video Recorder

     

    Software Needed:

     

    For watching and recording TV: Freevo

    For grabbing TV guide listings: XMLTV

    For video-editing: GOPchop and mencoder

     

    Money

     

    If you are like me and have an electricity bill going through the roof you'll be glad to find out that you can save money by doing away with your VCR (and when you don't mind a small screen even with your TV :) ). A computer and TV card are all you need.

     

    Freevo

     

    For watching and recording TV I use Freevo. It's in 'Contrib' so installing is 'urpmi freevo'. That will take care of all the dependancies.

     

    Ugly hack:

    The Freevo version in 'Contrib' is 1.4.1-12mdk and I couldn't get the recording to work. (I use a Hauppauge WinTV PVR 250 and the 'ivtv' driver). However later versions from CVS and the 1.5.0-pre1 worked fine (I haven't used 1.5.0-rc1). So if you use the ivtv driver I suggest you use the freevo 1.5.0 series.

     

    -Just leave the 1.4.1 installation in place and download freevo 1.5.0.

     

    -Untar it and copy the Freevo folder to /usr/local/.

     

    -Edit /etc/freevo/boot_config (FREEVO_HOME="/usr/local/freevo")

     

    -To start the 'good' Freevo version you will have to give the complete path /usr/local/freevo/freevo.

     

    The 'local_conf.py':

    This file in you $HOME/.freevo folder contains all the settings and you will have to edit it to get freevo working. This is not easy :(. It took me quite awhile to understand what it was all about so I sugest you take your time with it. I'll post below some of my settings as a pointer, but it will still be difficult.

     

    CONFIG_VERSION  = 5.06

     

     

    # ======================================================================

    # General freevo settings:

    # ======================================================================

     

    AUDIO_DEVICE        = '/dev/dsp'      # e.g.: /dev/dsp0, /dev/audio, /dev/alsa/?

    # AUDIO_INPUT_DEVICE  = '/dev/dsp1'     # e.g.: /dev/dsp0, /dev/audio, /dev/alsa/?

    # MAJOR_AUDIO_CTRL    = 'VOL'           # Freevo takes control over one audio ctrl

    #                                       # 'VOL', 'PCM' 'OGAIN' etc.

    CONTROL_ALL_AUDIO   = 0               # Should Freevo take complete control of audio

    MAX_VOLUME          = 90              # Set what you want maximum volume level to be.

    DEFAULT_VOLUME      = 70              # Set default volume level.

    TV_IN_VOLUME        = 90              # Set this to your preferred level 0-100.

    VCR_IN_VOLUME       = 70              # If you use different input from TV

     

    START_FULLSCREEN_X  = 0               # Start in fullscreen mode if using x11 or xv.

     

    CONFIRM_SHUTDOWN    = 0               # ask before shutdow

     

    MENU_ARROW_NAVIGATION = 0

     

     

     

    # ======================================================================

    # Plugins:

    # ======================================================================

     

     

     

    # Use this ivtv_record instead if you have an ivtv based card (PVR-250/350)

    # and want freevo to do everthing for you.  TV_SETTINGS must be set

    # correctly.  To use you need the following two lines in local_conf.py:

    plugin.remove('tv.generic_record')

    plugin_record = plugin.activate('tv.ivtv_record')

     

    MPLAYER_ARGS = { 'ivtv' : '-cache 5000'}

     

    TV_SETTINGS  = 'pal television europe-west /dev/video0'

    TV_VCR_SETTINGS = 'pal television europe-west /dev/video0'

     

    # if using the persitant record_server

    TV_RECORD_SCHEDULE = '%s/record_schedule.xml' % FREEVO_CACHEDIR

     

    TV_RECORD_SERVER_IP = 'localhost'

    TV_RECORD_SERVER_PORT = XXXXX

     

     

    # Settings for ivtv based cards such as the WinTV PVR-250/350.

    #

    # XXX TODO: Add descriptions and valid settings for each option.

    # bitrate in bps

    # stream type

    # Options are: 0 (mpeg2_ps), 1 (mpeg2_ts), 2 (mpeg1), 3 (mpeg2_pes_av),

    #              5 (mpeg2_pes_v), 7 (mpeg2_pes_a), 10 (dvd)

     

    TV_IVTV_OPTIONS = {

    #     'input'         : 4,

         'resolution'    : '720x576',

         'aspect'        : 2,

         'audio_bitmask' : 233,

         'bframes'       : 3,

         'bitrate_mode'  : 1,

         'bitrate'       : 4000000,

         'bitrate_peak'  : 4000000,

         'dnr_mode'      : 0,

         'dnr_spatial'   : 0,

         'dnr_temporal'  : 0,

         'dnr_type'      : 0,

         'framerate'     : 0,

         'framespergop'  : 15,

         'gop_closure'   : 1,

         'pulldown'      : 0,

         'stream_type'   : 10,

    }

     

     

    VIDEO_GROUPS = [

          VideoGroup(vdev='/dev/video0',

                     adev='/dev/dsp',

                     input_type='tuner',

                     input_num=4,

       tuner_norm='PAL',

                     tuner_chanlist='europe-west',

                     tuner_type='internal',

                     desc='TV kaart',

                     group_type='ivtv',

                     recordable='True'),

    ]

     

     

     

    # FREQUENCY_TABLE - This is only used when Freevo changes the channel natively.

    # This is only the case if you are using V4L2 and any of the following plugins:

    # timeshift, ivtv_record, ivtv_basic_tv.

    # For the standard frequancy tables see src/tv/freq.py.  To add your own just

    # replace tuner_id in the following example with a valid tuner id (ie: '5' or

    # 'BBC1') and a frequency in KHz.  You may have as many entries as you like,

    # anything here will simply override a coresponding entry in your standard

    # frequency table and you can also have entries here that are not present i

    # there.

     

    FREQUENCY_TABLE = {

       '11-'   :  216000,

       '6+'    :  184000,

       '7+'    :  192000,

     

    }

     

    #

    # The TV_CHANNELS-list can look like this:

    #

    TV_CHANNELS = [('1.tvgids.nl', 'Nederland 1', '11-'),

      ('2.tvgids.nl', 'Nederland 2', '6+'),

      ('3.tvgids.nl', 'Nederland 3', '7+'),

      ('4.tvgids.nl', 'RTL 4', '12-'),

     

    These quotes from my local_conf.pyare only a help . Best is to start Freevo from a terminal the first few times and watch the error messages you get. These can help you find a solution more easily.

     

    The Freevo recordserver:

    This is a service that is needed to start and end a recording.You can find it in the MCC. However when you start it from there it won't work. (It's the 1.4.1 version). It must be started manually. Just like Freevo, start it the first time from a terminal as root (/usr/local/freevo/freevo recordserver).When it works use 'Alt-F2' (as root).

     

    Stability:

    I have the recordserver on 24/7 now for more then 2 weeks without problems. The same goes for Freevo. It's on one of my 4 desktops and I only shut it down when I exit X.

     

    XMLTV

     

    To get tv listings you need a grabber. Add Thac's RPM's as one of you repositories and do 'urpmi XMLTV'.

     

    To use it open a terminal get the grabber for your country:tv_grab_XX --output /tmp/TV.xml --days X. The --slow option will give you more information (what a movie is about etc), but it's... slow :).

     

    Freevo expects the TV.xml in /tmp

     

    Video editing

     

    There isn't a really good video editor for Linux yet. KdenLive and Avidemux don't work with MPEG2 files and Cinelerra is unstable. The only program usuable for me is GOPchop. I use it to cut commercials and bits at the beginning and the end of a program. There is no RPM that i'm aware of so you have to compile it yourself (./configure-make-make install straightforward stuff)

     

    For compressing a file there is mencoder (urpmi mencoder). The commands I use are :

     

    mencoder *.mpeg -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac copy -o outputfile.avi

    mencoder *.mpeg -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -oac copy -o outputfile.avi

    .

     

    But if you're making a DVD use of course the MPEG2 file.

     

    Conclusion

     

    It is possible to use Mandrake as a PVR. With the steps I have described you can turn your computer in a television and VCR. I haven't gone into the use of Freevo but it has many nifty features. One of the things I use most is listing a program as 'favorite'. That means Freevo will record the show every time it's on without me having to do anything. The only thing I need now is more time to watch all my recordings :)

  7. Sorry, I was bit to quick there. Forget the part about libwidget_gtk.so :oops: .

     

    I checked where I had libwidget_gtk2.so. It's in the nvu-0.20/components folder. It also comes with mozilla (/usr/lib/mozilla-1.6/components/).

     

    Look if you have it in your components folder, if you have, try installing mozilla.

     

    Good luck

  8. Browse: [About the FAQ Forum] [Table of Contents] [FAQs] [Contribute] [GE: Games-Emulation]

     

    GE-03: HOWTO: Arcade Emulation

     

    Always wanted to play those old arcade games again? Want to relive your youth by playing 'Galaxian', 'Pole Position' and 'Jungle King'? Here's a HOWTO....

     

    Getting the emulator

     

    To play these games we have to use an emulator and the one I like best is xmame. Go download/untar the source.

     

    Compiling the emulator

    To compile the program we have to edit the 'makefile.unix'. I won't say much about this because it's different for each and everyone but if you're not sure just follow the defaults. When your done editing you give 'make -f makefile.unix' and watch xmame being compiled.

     

    If everything goes as it should go you'll end up with an 'xmame.x11' file. I don't bother with installing so I sugest you don't either :).

     

    Installing the GUI

    Next we need a GUI. You can use the command line but I find that this soon becomes very tedious. The best GUI I have found is KAF. Download the binaries or the source just as you like. Both work fine. I don't bother installing KAF either. Just put a link in your $PATH and your set.

     

    How to set PATH

     

    Path can be set in the file ~/.bash_profile. Below is an example of assigning things to PATH:

     

    PATH=$PATH:$HOME/bin

     

    To add entries to PATH, you append them to the end of this line after a colon. For instance, to add the directory '/randomdirectory' to your path (just as an example), you would do this to the previous line.

     

    PATH=$PATH:$HOME/bin:/randomdirectory

     

    Now we need the game information. Download the 'mameinfo.dat' from here.

     

    Getting some games...

     

    Last we need the games. This is a bit difficult. There are some legal questions about using ROMS. If you're not sure about the legality of this I suggest you stop here :(. Otherwise, you can find some games on the xmame site, you can buy CD's with games or you can try Suprnova.org. They usually have (X)MAME roms on offer.

     

    The games come in zip files. You don't need to unzip them.

     

    We now have evrything to get started so fire up KAF, press F8 (or choose mame, paths and make sure all the paths are correct (xmame=/home/yourname/....../xmame.x11, same for the dat file, roms, etc etc). KAF will now begin to build a gameslist and after that's done you only have to load the games by pressing F5 (searching for available games).

     

    You're ready now to play. You can edit the options (rapid fire is always usefull :), fullscreen or windowed etc etc) but it's not really neccesary (with esc you end the game if you're stuck fullscreen :))

     

    Happy Playing

     

    (**Warning** There are 'adult' games (it's a category). If you download roms better make sure you get what you want and nothing more)

  9. Browse: [About the FAQ Forum] [Table of Contents] [FAQs] [Contribute] [HW: Hardware, drivers...]

     

     

    HW-02: Using Hauppauge WinTV PVR250/350 with Mandrake 10

     

     

    As I having nothing else to do today I decided to write a little HOWTO install the ivtv driver used by the Hauppauge WinTV PVR250/350 tv-cards.

     

    Getting a new kernel

     

    First, I found that I could not change channels when I had compiled the ivtv driver using the standard Mandrake 10.0 2.6.3-4mdk kernel so we need the 2.6.4 (that's the one I used). In Contrib we find the 2.6.4-1.tmb.6mdk kernel (you may see another but it shouldn't matter) and that's the one we are going to use. Download the kernel-source with urpmi. (I'll assume you know how to compile a kernel. There is one important thing. The ivtv driver actually comes with this kernel but it didn't work form me. Make sure you don't build it when you compile the kernel).

     

    You can find more information about compiling and installing kernels here.

     

    Getting the "ivtv" driver and firmware

     

    Second, we now need the driver. You can download it from the ivtv website. Make sure you download 0.1.10pre2. Untar the source and change to the 'utils' folder.

     

    Third, we need the firmware. With 'wget http://hauppauge.lightpath.net/software/pv..._21288.exe' you can download it. Login as root and with './ivtvfwextract.pl pvr250_17_21288.exe' we install it. Now cd to the 'driver' folder.

     

    Building and installing the driver

     

    Fourth, we have to build the driver. First make sure we are using the correct Makefile by 'mv Makefile2.6 Makefile'. Login as root and give 'make'. You'll see the driver getting build probably with a few errors. Ignore them :).

     

    Fifth, install the driver by 'make install' (still logged in as root).

     

    Sixth and seventh, load the drivers by 'modprobe ivtv' (it didn't work for me so I'll assume it won't work for you either. To make sure do a 'modprobe r ivtv' and try again with 'make reload' (still in the drivers folder logged in as root). Test if it works by a 'cat /dev/video(0)'.

     

    If you see a lot of funny things happening it works. If you get an error message post it and I'll try to help you. :) Hope you could use some of my advice.

     

    To watch TV I advise Freevo (Tvtime, Xawtv don't work with this driver).

     

    Maybe I'll write another HOWTO about getting Freevo to work.

  10. I checked it (well just the nvu-0.20-pc-fedora2t1.tar.gz) and it workd as I described it.

     

    In the folder nvu-0.20 there is a script called 'nvu' that wll start the program.

     

    Ofcourse compiling yourself will optimize the programme somewhat :)

     

    Good luck

×
×
  • Create New...