Author |
Message |
archcarrier
|
Posted: Fri Jun 23, 2006 9:13 pm |
|
Joined: Thu Jun 22, 2006 11:40 pm
Posts: 2
|
hiya guys, i have a similar setup as FastPlymouth: an SP13000 and a PVR-250. thanks all around for the tiime and attention spent in this thread; its been invaluable for me.
im chiming in to say that ive had all the same problems up through the S-Video out garbling nonsense. ive managed to get the S-Video out half-way decent: the image is now just shaking vertically a few scanlines. i did this by simply replacing the XFree86Config-4 with the included XFree86Config-4.epia.tvout. im going to try to learn how to switch modelines, and perhaps that will fix this (im a COMPLETE linux newbie).
hope this helps someone. i'll update if i figure it out first. micah.
|
|
Top |
|
 |
archcarrier
|
Posted: Sat Jun 24, 2006 4:03 am |
|
Joined: Thu Jun 22, 2006 11:40 pm
Posts: 2
|
well, it took a full day of manual reading and config hacking, but i found the fix to the problem of S-Video working beautifully with the vesa driver, but then crapping out when the switch is made to the via driver. simply set
Option "VBEModes" "true"
in your XF86Config-4 file.
here is the description from via's manual page @ http://ftp.x.org/pub/X11R7.0/doc/html/via.4.html
The driver will set modes using BIOS similar to the way the vesa driver does. This is the default behaviour for Unichrome Pro in panel mode, which is otherwise not supported. Use this option only when the driver does not support your particular hardware.
cheers! micah.
|
|
Top |
|
 |
FastPlymouth
|
Posted: Sat Jun 24, 2006 10:22 am |
|
Joined: Sat Mar 25, 2006 9:37 am
Posts: 28
|
Thanks Micah!
I will try this out and see if it works for my issue as well. You may be on to something here (I've never heard of that setting before but it seems like letting the hardware decide the modes to use is a good idea).
K
|
|
Top |
|
 |
goonzo
|
Posted: Wed Jun 28, 2006 3:13 pm |
|
Joined: Sun Jan 08, 2006 5:13 pm
Posts: 67
Location:
Göteborg - Sweden
|
YES!
Must send lots of creds to gr8nash for this excellent howto.
Im a newbie in the linux world so this was definately needed. I hesitated a lot before buying my nano-board (N10000) since I new it would be difficult to get it working but this guide made my day! thx.
The only thing I had to do(except all the steps in the howto) was to create a file xorgVersion.h that contained
#define XORG_VERSION_MAJOR 6
then everyting went perfect.
my only issue is when watching hdtv content.. it looks alright but the cpu is working too much i think... between 80 and 100%-- is that right? no matter if i play 720p or 1080i clips.. some way to verify whats wrong?
TV and "normal" divX movies plays at 15-20% cpu
|
|
Top |
|
 |
afrosheen
|
Posted: Wed Jun 28, 2006 7:32 pm |
|
Joined: Sat Mar 26, 2005 3:49 pm
Posts: 290
|
Sounds about right to me on the hd content. Its extremely high bandwidth and cpu intensive for any chip. I think the main reason the krp dragon uses the ath64 chip is to display hd content smoothly. The fact that your mini board can do it at all is a testament to the unichrome's xvmc stuff.
|
|
Top |
|
 |
goonzo
|
Posted: Thu Jun 29, 2006 12:10 am |
|
Joined: Sun Jan 08, 2006 5:13 pm
Posts: 67
Location:
Göteborg - Sweden
|
gr8nash wrote: yes it was doing 1080i without even breathing hard VERY impressive for a 1ghz PC.
but when reading this by gr8nash i got the feeling the cpu should at least be down to 50% when playing hdtv-content? -or have i got it wrong?
|
|
Top |
|
 |
goonzo
|
Posted: Fri Jun 30, 2006 1:05 am |
|
Joined: Sun Jan 08, 2006 5:13 pm
Posts: 67
Location:
Göteborg - Sweden
|
Hi again.
Code: dpkg -i libpam0g-dev_0.79-3.1_i386.deb
I have a comment on the first step in this howto and since there is some error when doing it this might be interesting.
I apt installed midnight commander(after the via drivers according to this howto) and there was som kind of dependency problem with that exact file libpam0g-dev (_0.79-3.1)
it told me to run "apt-get -f install" first and then try to install mc again.
the libpam0g-dev (_0.79-3.1) was then replaced with with a newer version 0.79-3.2
Is this a good thing? does it screw things up or may it even indicate that this newer library should indeed be used instead in the first step of the howto?
what does this dpkg commad do anyway?
|
|
Top |
|
 |
calinb
|
Posted: Mon Jul 10, 2006 11:45 am |
|
Joined: Mon May 29, 2006 12:10 pm
Posts: 11
|
taylordtv wrote: I had to comment out the #include "xorgVersion.h" as I didn't have that file. Looking back, a cleaner way would have been to create the file with XORG_VERSION_MAJOR = 6. The result would have been the same (using the Xfree86 ansi C libs) without the compilation warning.
I tried commenting out the #include and the build completed with only warnings instead of terminating with errors, but DRM/DRI won't load. I suspect this missing include file is the reason. Could you please provide a little guidance on how to create the xorgVersion.h file with XORG_VERSION_MAJOR = 6? Or maybe you know a source for the file. Perhaps that will fix it for me.
I didn't install libpam0g, as described in the howto, because R5C7 already has a newer version.
I'm halfway to HDTV with XvMC on my ECS P4M800Pro-M. At least the via driver loaded and I've ditched vesa!
Thanks,
-Cal
Update: I made an xorgVersion.h that caintains
#define XORG_VERSION_MAJOR 6
as described by goonzo.
modprobe -l shows that via.ko and drm.ko are loading into the kernel and the path points to the versions I built, but there's an (EE) message in my XFree86 log that says's DRM is not loading. The new via driver is loading and seems to work okay, except for DRM.
|
|
Top |
|
 |
Suineko
|
Posted: Sun Jul 16, 2006 3:14 am |
|
Joined: Fri Feb 24, 2006 12:20 pm
Posts: 2
|
Required me to make xorgVersion.h containing
#define XORG_VERSION_MAJOR 6
...and...
add added
-I/usr/src/xc/programs/Xserver/hw/xfree86/os-support/shared/drm/kernel/drm.h
to the via Makefile instead of the symlink. Might be worth specifying a particular svn revision known to work with these instructions in the svn co.
_________________ --
Epia M10k, PVR350, KnoppMyth
|
|
Top |
|
 |
calinb
|
Posted: Sun Jul 16, 2006 11:37 am |
|
Joined: Mon May 29, 2006 12:10 pm
Posts: 11
|
Suineko, Woo-hoo! Thanks--got it working.
For some reason (R5C7?), DRI wouldn't load using the installers cited in this thread, from
http://dri.freedesktop.org/snapshots/
After I compiled and installed DRM as described in the "Direct Rendering Manager" section of this page
http://wiki.openchrome.org/tikiwiki/tik ... ource+code
DRI loads.
Code: export LIBGL_DEBUG=verbose glxinfo reports the coveted direct rendering: Yes and Code: glxgears
reports higher framerates
Unfortunately, mythtv doesn't seem to use the acceleration--even with the viaXvMC setting so I'm attempting to recompile myth with the --enable-xvmc-pro option. Mythtv-setup and frontend launch okay but mythbackend results in an immediate Segmentation fault.  I'm looking for a howto in the forums describing what I need to do to build myth. I've tried both the tarball and cvs and I dumped mythconverg from SQL and mythbackend still won't run.
|
|
Top |
|
 |
ajlapp
|
Posted: Mon Jul 24, 2006 8:34 pm |
|
Joined: Thu Jul 20, 2006 6:57 am
Posts: 34
|
Quote: The only thing I had to do(except all the steps in the howto) was to create a file xorgVersion.h that contained #define XORG_VERSION_MAJOR 6
after just now trying the how-to i've crashed gdm.......or at least lost display to my monitor.....
anyway, after i re-install, how and where do i make the xorgversion.h file?
i'm a complete noob, obviously.
thanks for the help.
|
|
Top |
|
 |
goonzo
|
Posted: Tue Jul 25, 2006 3:49 pm |
|
Joined: Sun Jan 08, 2006 5:13 pm
Posts: 67
Location:
Göteborg - Sweden
|
ajlapp wrote: Quote: The only thing I had to do(except all the steps in the howto) was to create a file xorgVersion.h that contained #define XORG_VERSION_MAJOR 6 after just now trying the how-to i've crashed gdm.......or at least lost display to my monitor..... anyway, after i re-install, how and where do i make the xorgversion.h file? i'm a complete noob, obviously. thanks for the help.
go trough all the steps in the howto until you get the error message something like "XORG_VERSION_MAJOR not defined"
type at prompt:
Code: nano xorgVersion.h
and write on top line: (dont forget to end line with cr, ie newline) Code: #define XORG_VERSION_MAJOR 6
press ctrl+X to exit and press Y to save file
now return to the howto and repeat the last step that failed and continue.
|
|
Top |
|
 |
ajlapp
|
Posted: Tue Jul 25, 2006 8:31 pm |
|
Joined: Thu Jul 20, 2006 6:57 am
Posts: 34
|
awesome....thanks.
if this works it will be a miracle....and it might even make me a linux believer. at this point I've almost lost hope.
|
|
Top |
|
 |
ajlapp
|
Posted: Wed Jul 26, 2006 5:02 am |
|
Joined: Thu Jul 20, 2006 6:57 am
Posts: 34
|
Code: In file included from auth.c:45: dm.h:105:31: security/pam_appl.h: No such file or directory In file included from auth.c:45: dm.h:427: error: parse error before '*' token dm.h:427: warning: type defaults to `int' in declaration of `thepamhp' dm.h:427: warning: data definition has no type or storage class dm.h:428: error: parse error before '*' token dm.h:428: warning: type defaults to `int' in declaration of `thepamh' dm.h:428: warning: data definition has no type or storage class make[4]: *** [auth.o] Error 1 make[4]: Leaving directory `/usr/src/xc/programs/xdm' make[3]: *** [all] Error 2 make[3]: Leaving directory `/usr/src/xc/programs' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/src/xc' make[1]: *** [World] Error 2 make[1]: Leaving directory `/usr/src/xc' make: *** [World] Error 2
i get this at the end of make World.......is this trouble?
|
|
Top |
|
 |
ajlapp
|
Posted: Wed Jul 26, 2006 4:18 pm |
|
Joined: Thu Jul 20, 2006 6:57 am
Posts: 34
|
something must have went wrong........xserver won't restart.
what is the bets way to diagnose the problem?
here is my dmesg
thanks
Code: hda: WDC WD1000BB-22CCB0, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Probing IDE interface ide1... hdd: SONY CD-RW CRX195E1, ATAPI CD/DVD-ROM drive ide1 at 0x170-0x177,0x376 on irq 15 hda: max request size: 128KiB hda: 195371568 sectors (100030 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(33) hda: cache flushes not supported hda: hda1 hda2 hda3 hdd: ATAPI 40X CD-ROM CD-R/RW drive, 1984kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20 libata version 1.20 loaded. mice: PS/2 mouse device common for all mice md: linear personality registered as nr 1 md: raid0 personality registered as nr 2 md: raid1 personality registered as nr 3 md: raid10 personality registered as nr 9 md: raid5 personality registered as nr 4 raid5: automatically using best checksumming function: pIII_sse pIII_sse : 2856.000 MB/sec raid5: using function: pIII_sse (2856.000 MB/sec) raid6: int32x1 171 MB/s raid6: int32x2 207 MB/s raid6: int32x4 148 MB/s raid6: int32x8 128 MB/s raid6: mmxx1 539 MB/s raid6: mmxx2 734 MB/s raid6: sse1x1 484 MB/s raid6: sse1x2 683 MB/s raid6: using algorithm sse1x2 (683 MB/s) md: raid6 personality registered as nr 8 md: multipath personality registered as nr 7 md: faulty personality registered as nr 10 md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: bitmap version 4.39 device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com NET: Registered protocol family 2 IP route cache hash table entries: 32768 (order: 5, 131072 bytes) TCP established hash table entries: 131072 (order: 8, 1572864 bytes) TCP bind hash table entries: 65536 (order: 7, 786432 bytes) TCP: Hash tables configured (established 131072 bind 65536) TCP reno registered TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 15 Using IPI No-Shortcut mode Suspend2 Core. Suspend2 Compression Driver loading. Suspend2 Encryption Driver loading. Suspend2 Swap Writer loading. Suspend2 FileWriter loading. input: AT Translated Set 2 keyboard as /class/input/input0 ACPI wakeup devices: SLPB PCI0 USB0 USB1 USB2 USB3 USB4 USB5 USB6 LAN0 AC97 MC97 UAR1 ACPI: (supports S0 S1 S4 S5) md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. RAMDISK: Compressed image found at block 0 VFS: Mounted root (ext2 filesystem). Suspend2: Initrd lacks echo > /proc/suspend2/do_resume. EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Trying to move old root to /initrd ... <6>kjournald starting. Commit interval 5 seconds okay Freeing unused kernel memory: 220k freed logips2pp: Detected unknown logitech mouse model 56 input: ImExPS/2 Logitech Explorer Mouse as /class/input/input1 ts: Compaq touchscreen protocol output Adding 293320k swap on /dev/hda2. Priority:-1 extents:1 across:293320k EXT3 FS on hda1, internal journal usbcore: registered new driver usbfs usbcore: registered new driver hub USB Universal Host Controller Interface driver v2.3 ACPI: PCI Interrupt 0000:00:10.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11 uhci_hcd 0000:00:10.0: UHCI Host Controller uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 1 uhci_hcd 0000:00:10.0: irq 11, io base 0x0000c800 hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:10.1[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11 uhci_hcd 0000:00:10.1: UHCI Host Controller uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:10.1: irq 11, io base 0x0000cc00 hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10 PCI: setting IRQ 10 as level-triggered ACPI: PCI Interrupt 0000:00:10.2[B] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10 uhci_hcd 0000:00:10.2: UHCI Host Controller uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 3 uhci_hcd 0000:00:10.2: irq 10, io base 0x0000d000 hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:10.3[B] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10 uhci_hcd 0000:00:10.3: UHCI Host Controller uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 4 uhci_hcd 0000:00:10.3: irq 10, io base 0x0000d400 hub 4-0:1.0: USB hub found hub 4-0:1.0: 2 ports detected ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. ieee1394: Initialized config rom entry `ip1394' ohci1394: $Rev: 1313 $ Ben Collins <bcollins@debian.org> ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10 ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[10] MMIO=[ea002000-ea0027ff] Max Packet=[2048] Real Time Clock Driver v1.12 ACPI: Power Button (FF) [PWRF] ACPI: Power Button (CM) [PWRB] ACPI: Sleep Button (CM) [SLPB] ACPI: Fan [FAN] (on) ACPI: Processor [CPU0] (supports 2 throttling states) ACPI: Thermal Zone [THRM] (-272 C) Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A parport: PnPBIOS parport detected. parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP] ieee1394: Host added: ID:BUS[0-00:1023] GUID[004063500005938b] Linux agpgart interface v0.101 (c) Dave Jones agpgart: Detected VIA PM800/PN800/PM880/PN880 chipset agpgart: AGP aperture is 128M @ 0xd8000000 via-rhine.c:v1.10-LK1.2.0-2.6 June-10-2004 Written by Donald Becker ACPI: PCI Interrupt 0000:00:12.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11 eth0: VIA Rhine II at 0xea001000, 00:40:63:e0:53:79, IRQ 11. eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1. Linux video capture interface: v1.00 ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11 ACPI: PCI Interrupt 0000:00:11.5[C] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11 PCI: Setting latency timer of device 0000:00:11.5 to 64 NET: Registered protocol family 17 bttv: driver version 0.9.16 loaded bttv: using 8 buffers with 2080k (520 pages) each for capture bt878: AUDIO driver version 0.0.0 loaded saa7146: register extension 'dvb'. saa7146: register extension 'budget dvb'. saa7146: register extension 'budget_ci dvb'. saa7146: register extension 'budget_av'. usbcore: registered new driver ttusb usbcore: registered new driver ttusb-dec NET: Registered protocol family 10 lo: Disabled Privacy Extensions IPv6 over IPv4 tunneling driver kjournald starting. Commit interval 5 seconds EXT3 FS on hda3, internal journal EXT3-fs: mounted filesystem with ordered data mode. eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 Warning: /proc/ide/hd?/settings interface is obsolete, and will be removed soon! lirc_dev: IR Remote Control driver registered, at major 61 ivtv: ==================== START INIT IVTV ==================== ivtv: version 0.4.3 (tagged release) loading ivtv: Linux version: 2.6.15-chw-2 SMP preempt 586 gcc-3.3 ivtv: In case of problems please include the debug info between ivtv: the START INIT IVTV and END INIT IVTV lines, along with ivtv: any module options, when mailing the ivtv-users mailinglist. ivtv0: Autodetected WinTV PVR 350 card (cx23415 based) ACPI: PCI Interrupt 0000:00:14.0[A] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10 ivtv0: Unreasonably low latency timer, setting to 64 (was 32) ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50] tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0) ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61] saa7115 1-0021: saa7115 found @ 0x42 (ivtv i2c driver #0) ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21] saa7127 1-0044: saa7129 found @ 0x88 (ivtv i2c driver #0) ivtv0: i2c attach to card #0 ok [client=saa7127, addr=44] msp3400 1-0040: chip=MSP4448G-B3 +nicam +simple +simpler +radio mode=simpler msp3400 1-0040: msp34xxg daemon started ivtv0: i2c attach to card #0 ok [client=MSP4448G-B3, addr=40] tda9887 1-0043: chip found @ 0x86 (ivtv i2c driver #0) ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43] tveeprom 1-0050: Hauppauge model 48132, rev K268, serial# 8611642 tveeprom 1-0050: tuner model is LG TAPE H001F MK3 (idx 68, type 47) tveeprom 1-0050: TV standards NTSC(M) (eeprom 0x08) tveeprom 1-0050: audio processor is MSP4448 (idx 27) tveeprom 1-0050: decoder processor is SAA7115 (idx 19) tveeprom 1-0050: has radio, has IR remote ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes) ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 bytes) ivtv0: Encoder revision: 0x02050032 ivtv0: Decoder revision: 0x02020023 ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total) ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total) ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total) ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total) ivtv0: Create encoder radio stream ivtv0: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB total) ivtv0: Allocate DMA decoder VBI stream: 512 x 2048 buffers (1024KB total) ivtv0: Create decoder VOUT stream ivtv0: Allocate DMA decoder YUV stream: 24 x 43200 buffers (1024KB total) ivtv0: loaded v4l-cx2341x-init.mpg firmware (155648 bytes) tuner 1-0061: type set to 47 (LG NTSC (TAPE series)) eth0: no IPv6 routers present ivtv0: Initialized WinTV PVR 350, card #0 ivtv: ==================== END INIT IVTV ==================== cx2388x v4l2 driver version 0.0.5 loaded lirc_i2c: chip found @ 0x18 (Hauppauge IR) ivtv0: i2c attach to card #0 ok [client=Hauppauge IR, addr=18] lirc_dev: lirc_register_plugin: sample_rate: 10 input: PC Speaker as /class/input/input2 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A 00:08: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A pci_hotplug: PCI Hot Plug PCI Core version: 0.5 shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 ACPI: PCI Interrupt 0000:00:10.4[C] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11 ehci_hcd 0000:00:10.4: EHCI Host Controller ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 5 ehci_hcd 0000:00:10.4: irq 11, io mem 0xea000000 ehci_hcd 0000:00:10.4: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 hub 5-0:1.0: USB hub found hub 5-0:1.0: 8 ports detected
|
|
Top |
|
 |