View previous topic :: View next topic |
Author |
Message |
joaz n00b
Joined: 23 Jul 2002 Posts: 7
|
Posted: Thu Apr 24, 2003 6:39 am Post subject: XFree86 4.3 and trident cyberblade |
|
|
Hi,
after reading in this forum that the 4.3 version of xfree would fix scrambled output of xine (-V Xv) for trident cyberblade graphic cards, I updated x11-base package. But under xfree 4.3 I still have the same problems.
Do I need to install the DRM package as well (not that I'd know what this means )? Or is there anything else I missed. BTW, I do not see the icons directory where I can setup transparent mouse cursor, as well.
Thanks very much for any hints. |
|
Back to top |
|
|
yardbird l33t
Joined: 20 Apr 2002 Posts: 689 Location: nl.leiden
|
Posted: Thu Apr 24, 2003 9:11 am Post subject: |
|
|
Hi,
what kind of cyberblade do you have? If you have a cyberblade i1 there's a nice xvidix driver for MPlayer (http://www.mplayerhq.hu) which works even better than Xv (no pink or blue lines or other weird things..). I also noticed that Xv has not been fixed well for CyberBlade chipsets in 4.3.. And I think that DRM would change something only if you have a CyberBlade XP, synce it is the only card supported.. |
|
Back to top |
|
|
joaz n00b
Joined: 23 Jul 2002 Posts: 7
|
Posted: Thu Apr 24, 2003 9:21 am Post subject: |
|
|
yardbird wrote: | Hi,
what kind of cyberblade do you have? If you have a cyberblade i1 there's a nice xvidix driver for MPlayer (http://www.mplayerhq.hu) which works even better than Xv (no pink or blue lines or other weird things..). I also noticed that Xv has not been fixed well for CyberBlade chipsets in 4.3.. And I think that DRM would change something only if you have a CyberBlade XP, synce it is the only card supported.. |
I don't have a Cyberblade XP, so I'll give it a try with mplayer.
Thanks for your help! |
|
Back to top |
|
|
d3c3it l33t
Joined: 01 Mar 2003 Posts: 765 Location: Manchester, UK
|
Posted: Thu Apr 24, 2003 12:56 pm Post subject: |
|
|
i got the same errors aswell and ive got a cyberblade xp when i try drm thou X basically doesnt work for me anymore:/
and whats this about a xvidix driver? time to investigate because i get those bluelines, i just thought it was because my chip sucked *after all it is a laptop* _________________ Some people go to counselling,
others use linux |
|
Back to top |
|
|
yardbird l33t
Joined: 20 Apr 2002 Posts: 689 Location: nl.leiden
|
Posted: Thu Apr 24, 2003 5:09 pm Post subject: |
|
|
You can find more about xvidix on Mplayer site.
I don't know if the vidix driver can work on other chips than Cyberblade i1 (e.g. i7 or XP). On my laptop it works great: same quality as Xv (maybe better), same CPU load, and no graphic corruptions. I had to tweak a bit the driver to make it recognise my card (I just had to add my chipset to the supported ones in a header file...)
More info about the driver:
http://www.blackfiveservices.co.uk/EPIAVidix.shtml |
|
Back to top |
|
|
joaz n00b
Joined: 23 Jul 2002 Posts: 7
|
Posted: Thu Apr 24, 2003 7:28 pm Post subject: |
|
|
yardbird wrote: | You can find more about xvidix on Mplayer site.
I don't know if the vidix driver can work on other chips than Cyberblade i1 (e.g. i7 or XP). On my laptop it works great: same quality as Xv (maybe better), same CPU load, and no graphic corruptions. I had to tweak a bit the driver to make it recognise my card (I just had to add my chipset to the supported ones in a header file...)
More info about the driver:
[url]http://www.blackfiveservices .co.uk/EPIAVidix.shtml[/url] |
emerged mplayer 0.90rc5 so the vidix driver should be present, yet, I'm not successful. It doesn't recognize the card.
I had a look at /proc/pci telling me:
VGA compatible controller: PCI device 1023:8620 (Trident Microsystems) (rev 93).
How can I tweak the driver you mentioned and where can I find the source code to make it work for my garphic card? |
|
Back to top |
|
|
cybermans Apprentice
Joined: 04 Apr 2003 Posts: 193
|
Posted: Thu Apr 24, 2003 7:33 pm Post subject: |
|
|
What did u XFxonfig file says?
I got my trident cyberblade i7 working after i snatched the XFconfig-4 file from knoppix. Btw i have a compaq presario 1200xl103. Small change u have the same but if you have we can share some confs maybe. _________________ My weBlog
Linux compability list (hardware) |
|
Back to top |
|
|
joaz n00b
Joined: 23 Jul 2002 Posts: 7
|
Posted: Thu Apr 24, 2003 8:13 pm Post subject: |
|
|
I got a natcomp KN6480iPTD-01 laptop and my XFConfig looks like:
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
# This loads the Type1 and FreeType font modules
Load "type1"
Load "speedo"
Load "freetype"
# Load "xtt"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/truetype/"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
FontPath "/opt/ttfonts"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "ServerFlags"
Option "AllowNonLocalModInDev"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "acpi"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection
Section "InputDevice"
# Identifier and driver
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/mouse"
Option "Emulate3Buttons"
EndSection
Section "Monitor"
Identifier "My Monitor"
HorizSync 31.5 - 48.5
VertRefresh 50-90
EndSection
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vga"
EndSection
# Device configured by xf86config:
Section "Device"
Identifier "Trident CyberBlade (generic)"
Driver "trident"
#VideoRam 8192
# Insert Clocks lines here if appropriate
EndSection
Section "Screen"
Identifier "Screen 1"
Device "Trident CyberBlade (generic)"
Monitor "My Monitor"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection |
|
Back to top |
|
|
d3c3it l33t
Joined: 01 Mar 2003 Posts: 765 Location: Manchester, UK
|
Posted: Thu Apr 24, 2003 8:38 pm Post subject: |
|
|
well mines like this for a cyberblade xp
Code: | # **********************************************************************
# Module section -- this section is used to specify
# **********************************************************************
Section "Module"
Load "xtt"
Load "glx"
Load "type1"
Load "speedo"
Load "freetype"
Load "dbe"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
EndSection
# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************
Section "Files"
FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"
FontPath "/usr/X11R6/lib/X11/fonts/freefont/"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/local/share/fonts/ttfonts"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
ModulePath "/usr/X11R6/lib/modules"
EndSection
# **********************************************************************
# Server flags section.
# **********************************************************************
Section "ServerFlags"
Option "blank time" "30"
EndSection
# **********************************************************************
# Input devices
# **********************************************************************
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "gb"
EndSection
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
Option "Resolution" "150"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/mouse"
Option "Resolution" "150"
EndSection
# **********************************************************************
# Monitor section
# **********************************************************************
Section "Monitor"
Identifier "LCD"
HorizSync 48.3 - 60.0
VertRefresh 60.0 - 75.0
EndSection
# **********************************************************************
# Graphics device section
# **********************************************************************
Section "Device"
Identifier "Standard VGA"
Driver "vga"
VendorName "Unknown"
BoardName "Unknown"
EndSection
Section "Device"
Identifier "CyberbladeXP"
Driver "trident"
ChipSet "cyberbladeXPAi1"
BusID ""
EndSection
# **********************************************************************
# Screen sections
# **********************************************************************
Section "Screen"
Identifier "Screen 1"
Device "CyberbladeXP"
Monitor "LCD"
DefaultDepth 24
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
# **********************************************************************
# ServerLayout sections
# **********************************************************************
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "USB Mouse" "SendCoreEvents"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection |
_________________ Some people go to counselling,
others use linux |
|
Back to top |
|
|
yardbird l33t
Joined: 20 Apr 2002 Posts: 689 Location: nl.leiden
|
Posted: Thu Apr 24, 2003 11:08 pm Post subject: |
|
|
This is how I get my card working with xvidix.
1) Download MPlayer source (latest stable is 0.90) and unpack it;
2) open the file:
Code: | <path-to-MPlayer-source>/vidix/drivers/cyberblade_vid.c |
3) substitute:
Code: | static unsigned short cyberblade_card_ids[] =
{
DEVICE_TRIDENT_CYBERBLADE_I1
}; |
with:
Code: | static unsigned short cyberblade_card_ids[] =
{
DEVICE_TRIDENT_CYBERBLADE_I1,
DEVICE_TRIDENT_CYBERBLADE_I12
}; |
4) Compile and install MPlayer as usual (./configure;make;make install), making sure that vidix drivers have been built.
5) You need root privileges in order to use xvidix. You can do this setting the suid bit on Mplayer executable:
Code: | chmod +s path/to/mplayer/executable |
6) Run:
Code: | mplayer -vo xvidix mymovie.avi |
Note: this only works with cyberblade i1 cards. Run lspci to see if you have such card.
Maybe the driver works with other cyberblade chipsets without modifications. To try this, look for your card into
Code: | <path-to-MPlayer-source>/libdha/pci_ids.h |
and modify cyberblade_vid.c adding your card's id, like I just did above. |
|
Back to top |
|
|
joaz n00b
Joined: 23 Jul 2002 Posts: 7
|
Posted: Mon Apr 28, 2003 8:12 pm Post subject: |
|
|
IT WORKS !!!
I've been offline over the weekend so I could try your suggestion just now. As my cyberblade comes with card ID 0x8620 I had to change the code as follows:
Code: |
static unsigned short cyberblade_card_ids[] =
{
DEVICE_TRIDENT_CYBERBLADE_I1,
DEVICE_TRIDENT_CYBERBLADE_I12,
DEVICE_TRIDENT_CYBERBLADE_I13 /* that's mine */
};
|
Thank you very much! |
|
Back to top |
|
|
magicben n00b
Joined: 30 Apr 2003 Posts: 1
|
Posted: Wed Apr 30, 2003 9:27 pm Post subject: |
|
|
cybermans wrote: | What did u XFxonfig file says?
I got my trident cyberblade i7 working after i snatched the XFconfig-4 file from knoppix. Btw i have a compaq presario 1200xl103. Small change u have the same but if you have we can share some confs maybe. |
Hey,
I have (almost) the same set-up as you do, my compaq being a presario 1200xl111, and I've had a few problems getting my cyberblade i7 to work properly under linux. I get a green screen with mplayer and dvd seems to be out of the question. If you could help me out that would be great, thanks.
PS I don't know what kind of info from my config you'd want to see, first time on linux |
|
Back to top |
|
|
lizardloop Apprentice
Joined: 16 Mar 2003 Posts: 278
|
Posted: Mon Jun 02, 2003 8:29 pm Post subject: |
|
|
I'm using a trident cyberblade driver for my epia 800 and using xvidix output for mplayer, works beautifully. |
|
Back to top |
|
|
pinr Apprentice
Joined: 26 Jan 2003 Posts: 241 Location: Monterrey, Mexico
|
Posted: Fri Sep 05, 2003 1:55 am Post subject: |
|
|
Don't know if this thread is still active but I've been running mplayer 0.90-r2 with a cyberblade il and using the xvidix fine for a few months. Today I upgraded to mplayer 0.91 and now the xvidix doesn't work.
with mplayer -vo xvidix:
I get:
No vidix driver name provided, probing available ones!
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
vo: couldn't open the X11 display (:0.0)!
Error opening/initializing the selected video_out (-vo) device.
and with
I'm pulling my hair out I can't go back to .90 as it is not in portage. I have tried downloading various .90 ebuilds from different sources but I can't get anything to compile a series of different errors. I've tried compling .90-r4 from source same problem. I really need to get back to .90-r2 why did they remove it from protage? with out that I have no video on my pc as the Xv drivers are totally buggy on this card. I just want the thing back the way it was before I was stupid enougth to type:
emerge -pu mplayer
this morning |
|
Back to top |
|
|
lizardloop Apprentice
Joined: 16 Mar 2003 Posts: 278
|
Posted: Fri Sep 05, 2003 10:05 am Post subject: |
|
|
pinr wrote: | No vidix driver name provided, probing available ones!
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
vo: couldn't open the X11 display (:0.0)!
|
From what I can tell it looks like mplayer cant get permission to access the Xserver, are you running mplayer as the user as the one with the current display?
Unfortunately I dont know an awful lot about Xserver and how it handles permissions and such like so I may be horribley wrong. |
|
Back to top |
|
|
pinr Apprentice
Joined: 26 Jan 2003 Posts: 241 Location: Monterrey, Mexico
|
Posted: Fri Sep 05, 2003 12:47 pm Post subject: |
|
|
lizardloop wrote: |
From what I can tell it looks like mplayer cant get permission to access the Xserver, are you running mplayer as the user as the one with the current display?
Unfortunately I dont know an awful lot about Xserver and how it handles permissions and such like so I may be horribley wrong. |
Well you aren't horribly wrong. As you know the vidix driver needs to be run as root. with .90-r2 it was a simple matter of su. I run x windows as root and got a different message.
No vidix driver name provided, probing available ones!
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local display)
[mga] No supported cards found
[mga] No supported cards found
vosub_vidix: Couldn't find working VIDIX driver
Error opening/initializing the selected video_out (-vo) device.
So two problems
1) I can no longer run mplayer using su
2) the vidix driver no longer recognises my card, it did before. The card is a Trident Microsystems CyberBlade/i1 (rev 106) |
|
Back to top |
|
|
lizardloop Apprentice
Joined: 16 Mar 2003 Posts: 278
|
Posted: Fri Sep 05, 2003 1:10 pm Post subject: |
|
|
Very strange why it has suddenly decided your card is no longer supported, all I can suggest is try some googling on vidix and the model of your card, see if there is some kind of patch or something out there. Maybe find an mplayer forum or mailing list and see if they have any ideas.
Or try www.linitx.org its a forum dedicated to linux and mini-itx systems, I use it and it can be quite good. |
|
Back to top |
|
|
Tuna Guru
Joined: 19 Jul 2002 Posts: 485 Location: Berlin
|
Posted: Sat Jun 19, 2004 8:51 am Post subject: |
|
|
old topic.. even older latop.. same question
i had xfree 4.3 installed and the xv driver was working sometimes. then the overlay 'freezed' and i only get that one still picture. sometimes it was just garbled. i tried xorg-xfree now. and now the xv overlay is completely pink.
i cant get the xvidix driver to work. mplayer only reports that it cant find any chips. i already tried the patch to include the 2 other pci ids.
mplayer is 1.0pre4
lspci gives
Quote: | 0000:01:00.0 VGA compatible controller: Trident Microsystems CyberBlade/i1 (rev 5d) | and returning the pci id:
Quote: | 0000:01:00.0 Class 0300: 1023:8620 (rev 5d) |
according to the mplayer pci_ids.h this matches the 3rd cyberblade card.. but still.. why does it not find the card? any help apreciated!
[EDIT]
ok i figured out i can at least use xv overlay when im not loading my enlightenment window manager but stay with the default fwm2. how can it be that a wm screws up the xv overlay? any hints welcome. |
|
Back to top |
|
|
|