Lukasz.dk Personal homepage of Lukasz Bruun

28Jan/091

lzrt – Lukasz’ Ray Tracer

Posted by Lukasz Bruun

As part of my master thesis in computer science I developed a ray tracing application called lzrt - Lukasz' Ray Tracer for the Cell processor. Besides from running on the Cell processor, lzrt also runs on x86 and PowerPC. I'm releasing the source code, test scenes and other information regarding lzrt for those interested in the technical details. The ray tracer does not have any advanced graphical features, as my focus was on optimizing the search for the nearest triangle a ray hits, using a kd-tree as an acceleration structure for scenes where the 3D objects move.

ss01-cell

For more information, click here.

Filed under: Cell, Programming 1 Comment
25Jan/093

Ubuntu and Winfast 2000XP EXPERT (LR6611)

Posted by Lukasz Bruun

After a clean install of Ubuntu 8.10 my OEM TV tuner card called LR6611 (came with a AOpen XC Cube EA 65-II) was no longer working and I had forgotten how I made it work years ago. The cx88xx video4linux driver is correctly loaded, but the card is not detected.  S-video and video works in tvtime out of the box, but the quality is poor.

Below is the output from lspci -vnn

01:06.0 Multimedia video controller [0400]: Conexant Systems, Inc.
CX23880/1/2/3 PCI Video and Audio Decoder [14f1:8800] (rev 05)
    Subsystem: AOPEN Inc. Device [a0a0:6f05]
    Flags: bus master, medium devsel, latency 32, IRQ 17
    Memory at e3000000 (32-bit, non-prefetchable) [size=16M]
    Capabilities: <access denied>
    Kernel driver in use: cx8800
    Kernel modules: cx8800

After some searching I found some information on this card on the  video4linux-list. Turns out that this card is a Leadtek Winfast 2000XP Expert OEM variant, which you can also conclude from searching for 'LR6611' in Google.

I used the information from the video4linux-list to configure the card by the following line to /etc/modprobe.d/options

options cx88xx i2c_scan=1 card=5 tuner=38

Now the card will be correctly configured when booting Ubuntu. You can also test the card without rebooting, by entering the following commands in a shell.

sudo rmmod cx8800
sudo rmmod cx88xx
sudo modprobe cx88xx
sudo modprobe cx8800

You can watch TV channels in tvtime now. When scanning for channels, do not worry about the "no signal" message, the scanner will eventually find the available channels.

tvtime

S-video and video input quality has also greatly improved compared to the default cx88xx settings for this card.

Filed under: Ubuntu 3 Comments