| Summary: |
By default with XF/xorg(for several years) when I play movies it doesn't work but someone from #xorg-devel told me how to fix the problem. |
| Product: |
xorg
|
Reporter: |
Yoda <MasterJediYoda> |
| Component: |
Driver/Radeon | Assignee: |
Xorg Project Team <xorg-team> |
| Status: |
RESOLVED
DUPLICATE
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
low
|
|
|
| Version: |
7.1 (2006.05) | |
|
| Hardware: |
x86 (IA32) | |
|
| OS: |
Linux (All) | |
|
| Whiteboard: |
|
|
i915 platform:
|
|
i915 features:
|
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
ok, it's been several years since I could use the "ati" driver from x.org AND watch movies. I use ati for 3d accel, and I like to watch movies. So I would switch to vesa or do mplayer -fs -vo x11 -zoom file; But I joined #xorg-devel and they told me to do "sudo apt-get install xvattr; xvattr -a XV_SWITCHCRT -v 1;" and this fixed the problem. And benh said it was a problem with the driver. And I asked if I should file a bug, and airlied said yes so here it is. The log is below with them talking with me, maybe that is better to understand then what I wrote so far. 21:33 < Jones_> benh: here? 21:35 < benh> Jones_: yes 21:37 < Jones_> benh: I have this R200 QM Radeon 9100 card, and I can't play movies(libxv1?). It's been like this for a few years. From Fedora Core(a few years ago), through debian and now on Ubuntu edgy. 21:37 < Jones_> I'm using the x.org "ati" driver on it. 21:38 < Jones_> I'm sshed into this box, and I did gdb /opt/xorg-debug/Xorg pid; but I'm not sure how to get information from gdb, about the driver or such. 21:38 < airlied> Jones_: what does it do? crash when you play the movie or just display garbage? 21:38 < benh> 9100 isn't r200 is it ? 21:38 < benh> it's rv250 no ? 21:38 < benh> or 280 even 21:39 < benh> not sure which 21:39 < Jones_> youtube/flash work fine with videos, and if I switch to "vesa" that works also. Or I can do in mplayer, "mplayer -fs -vo x11 -zoom file" but with if I just click on a movie with the "ati" driver, I get a black screen with audio working fine.(been like this for years) 21:39 < Jones_> benh: Radeon 9100 21:39 < benh> looks like an Xv issue ... hrm... 21:39 < benh> yeah, maybe wrong crtc 21:40 < Jones_> benh: not sure, I'm physically looking at the card and it says "Radeon 9100 128M DDR V/D/VO" on the sticker. 21:40 < airlied> there is an XV_SWITCHCRT attrib.. 21:40 < Jones_> But lspci shows me "01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R200 QM [Radeon 9100]" 21:40 < Jones_> no, I just have one lcd monitor. 21:40 < benh> yeah, it's probably unrelated to the card model, let me find this xattr thing 21:41 < Jones_> The video card has dvi an s-video. And the blue one(vga?), I always use the blue one. 21:41 < Jones_> I don't know that much about hardware. 21:41 < benh> it's possible that it's outputing video to the DVI instead or something like that 21:41 < benh> let me check 21:41 < airlied> try installing xvattr 21:41 < Jones_> k 21:41 < airlied> apt-get install xvattr 21:41 < airlied> hopefully it exists in debian or ubuntu.. 21:42 < Jones_> yes it's installing 21:42 < benh> xvattr -a XV_SWITCHCRT -v 0 21:42 < benh> or 21:42 < benh> xvattr -a XV_SWITCHCRT -v 1 21:42 < airlied> 9100 is an R200 alright.. 21:44 < Jones_> http://www.rafb.net/paste/results/mbZVOY12.html 21:44 < airlied> try one, then play movie, if it doesn't work try the other.. 21:45 < Jones_> k 21:46 < Jones_> When I switch to 1 it works 21:46 < Jones_> aww, this is awesome 21:46 < Jones_> So libxv1 tried to output to 0? But it should have outputted to 1? 21:47 < Jones_> Do I file a bug on the package libxv1? 21:47 < airlied> Jones_: not really sure what the best way to fix it, the driver should be better at guessing.. 21:49 < benh> it's not libxv fault 21:49 < Jones_> Well as far as I'm concerned it's fixed. 21:49 < benh> airlied: well, the driver might not know he's using the analog output... 21:49 < Jones_> If I need to run a script on startup that's fine. But if I can file a bug so it's fixed for others with this card I want to do that. 21:50 < benh> or rather on which crt he's connected 21:50 < benh> he might have a picture at all by luck :) 21:50 < benh> bad output routing 21:50 < benh> Jones_: it might work for others depending on where the monitor is plugged too or other bits like that 21:50 < Jones_> So it could be a defective card?(I got it from newegg about 4 years ago) 21:50 < benh> Jones_: or other OEM cards with the same chip wired differently 21:50 < benh> no 21:50 < benh> it's the driver being a bit dumb 21:50 < Jones_> And I've been too cheap to replace it.(but thankfully I didn't replace it since it works awesome with aiglx/compiz hehe) 21:52 < airlied> benh: true..... 21:52 < Jones_> Well I got the ati driver from x.org, and I checked the changelog, and I saw benh _*_AT_*_ kernel.crashing.org had the most significant changes to the ati driver, so I whoised benh on freenode and came here and asked. heh 21:55 < benh> hehe 21:55 < benh> I didn't play with Xv bits tho :)_ 22:00 < Jones_> So do I do this command everytime I restart? or is it saved in a config file somewhere now? 22:02 < airlied> Jones_: on restart.. 22:03 < Jones_> airlied: Do you know the config file to change so this is permanent? Or just dump a 2 line script in /etc/init.d/xv_fix.sh; then add link in /etc/rc2.d? 22:04 < airlied> Jones_: you have to do it after X starts.. 22:04 < Jones_> ahh ok, So I'll have gnome do it I guess. 22:05 < airlied> Jones_: I'm not sure if there is an xorg.conf option.... 22:07 -!- HuntsMan_ [n=hunts@pc-72-70-83-200.cm.vtr.net] has joined #xorg-devel 22:07 < Jones_> k, well thanks a lot for the help airlied / benh; I really appreciate the help. 22:07 -!- HuntsMan [n=hunts@pc-72-70-83-200.cm.vtr.net] has quit [Read error: 104 (Connection reset by peer)] 22:07 < Jones_> Should I file a bug with bugzilla.freedesktop.org ? 22:08 < airlied> Jones_: I think we know about it already but no harm filing it.. 22:08 < Jones_> k 22:08 < airlied> it's just difficult to fix.. 22:11 < Jones_> I don't see "Driver/ati" listed in bugzilla. Should I do "Driver/Radeon"? 22:11 < airlied> Jones_: yes... 22:14 < Jones_> k