Page 1 of 2
[Bug 2.2b1] FMVs not playing properly
Posted: 04 Apr 2009, 09:38
by Project Dark Fox
I'd hate to register just for a bug report. But I'm not sure if anyone else is encountering this.
Each time a video plays, the screen goes black. But, I still get all of the audio. I even get the text supplement. However, I still get no video whatsoever. Is there a problem with my video codecs? Because I know that OGGs are also used for a great variety of audio projects...
WIndows XP SP3
Intel Core2Duo 1.66x2 GHz
ATi Mobile Radeon X1400 (256mb)
3 GB RAM
EDIT: I saw a ticket regarding OGG to be renamed for OGM on the bug tracker, that would probably fix my issue.
.... and I can't delete this thread.
Re: [Bug 2.2b1] FMVs not playing properly
Posted: 04 Apr 2009, 15:11
by Zarel
Project Dark Fox wrote:EDIT: I saw a ticket regarding OGG to be renamed for OGM on the bug tracker, that would probably fix my issue..
No, it won't. It's most likely an issue with our code interacting with your video card. Have you tried installing the latest drivers for your video card?
Re: [Bug 2.2b1] FMVs not playing properly
Posted: 05 Apr 2009, 19:09
by Project Dark Fox
Zarel wrote:No, it won't. It's most likely an issue with our code interacting with your video card. Have you tried installing the latest drivers for your video card?
I have, actually, many times. However, that's "tried"; I'm using the same video drivers for the video card as what came with the computer, as the ATI site doesn't even HAVE drivers for Media Center Edition.
I should note one thing real quick. Double-clicking the videos themselves normally will just open Win-Amp and play them as if their audio files -- just like what I'm describing except for the black screen. If I play them as OGM files, they play
normally.
Re: [Bug 2.2b1] FMVs not playing properly
Posted: 06 Apr 2009, 01:50
by Zarel
Project Dark Fox wrote:I have, actually, many times. However, that's "tried"; I'm using the same video drivers for the video card as what came with the computer, as the ATI site doesn't even HAVE drivers for Media Center Edition.

Um, you realize drivers for Windows XP should work for Windows XP Media Center Edition, right?
Going through the ATI website - wow, they're silly. Grab the X1300 drivers.
Project Dark Fox wrote:I should note one thing real quick. Double-clicking the videos themselves normally will just open Win-Amp and play them as if their audio files -- just like what I'm describing except for the black screen. If I play them as OGM files, they play normally.
That's because ogg files are usually audio only.
Re: [Bug 2.2b1] FMVs not playing properly
Posted: 06 Apr 2009, 08:51
by Thyranim
Windows XP Pro/Home Mobility Radeon X1400 Driver doesn't work ?
Re: [Bug 2.2b1] FMVs not playing properly
Posted: 08 Apr 2009, 19:50
by Project Dark Fox
Thyranim wrote:Windows XP Pro/Home Mobility Radeon X1400 Driver doesn't work ?
No, it does not, it will refuse to install. Let me try X1300 real quick and see if that does anything cool.
EDIT: It won't install, saying it couldn't find a driver compatible with my hardware and OS. I do believe I may be SOL.
Re: [Bug 2.2b1] FMVs not playing properly
Posted: 09 Apr 2009, 03:10
by cybersphinx
Might be the rectangular textures used for the videos. I think there should be a stdout.txt somewhere, with a message about that in it.
Re: [Bug 2.2b1] FMVs not playing properly
Posted: 09 Apr 2009, 04:13
by Project Dark Fox
stderr.txt wrote:error |03:54:14: [screenInitialise] Radar will not be displayed without support for texture rectangle extension!
warning |03:54:51: [video_write] You got some really crappy hardware! GL_TEXTURE_RECTANGLE_ARB not supported!
warning |03:54:51: [video_write] Video will not show!
Regarding the first error, I do have radar.
Re: [Bug 2.2b1] FMVs not playing properly
Posted: 09 Apr 2009, 13:10
by EvilGuru
Project Dark Fox wrote:Regarding the first error, I do have radar.
The radar code was changed so that it no longer required it.
Regards, Freddie.
Re: [Bug 2.2b1] FMVs not playing properly
Posted: 09 Apr 2009, 15:07
by Zarel
EvilGuru wrote:The radar code was changed so that it no longer required it.
Can we do the same for FMVs?
I mean, we can display a lot of other 2D gfx (like backdrops) without TEXTURE_RECTANGLE... why not FMVs?
Re: [Bug 2.2b1] FMVs not playing properly
Posted: 09 Apr 2009, 15:28
by cybersphinx
Zarel wrote:Can we do the same for FMVs?
I mean, we can display a lot of other 2D gfx (like backdrops) without TEXTURE_RECTANGLE... why not FMVs?
Some time ago I changed it to use normal textures, no problem. Then I tried to rebase the patch from trunk to 2.2, screwed it up and it was gone. Well, I'll write to the mailing list about that, since my approach was a bit hacky (not that the current version isn't).
The backdrops are done by "cheating", by the way, the images are rescaled to be square so the code can use square textures.
Re: [Bug 2.2b1] FMVs not playing properly
Posted: 09 Apr 2009, 16:43
by Zarel
cybersphinx wrote:Some time ago I changed it to use normal textures, no problem. Then I tried to rebase the patch from trunk to 2.2, screwed it up and it was gone. Well, I'll write to the mailing list about that, since my approach was a bit hacky (not that the current version isn't).
The backdrops are done by "cheating", by the way, the images are rescaled to be square so the code can use square textures.
Oh, I remember the backdrop cheat now.
But what about the other interface images? intfac1-intfac5? Same thing? Can we use the same "cheat" for the FMVs, then?
Re: [Bug 2.2b1] FMVs not playing properly
Posted: 09 Apr 2009, 19:38
by EvilGuru
Most of our 2D stuff has x and y dimensions which are powers of 2. This is the requirement put forward by old OpenGL versions. (Texture rectangle is a bit of a misnomer.)
It is not worth the time supporting systems without TEXTURE_RECTANGLE support. Usually if the driver developers can't be bothered to implement a decade old extension they are usually not competent enough to write decent drivers, period.
Rather than telling us how we can hack FMVs not to require the extension why not tell the driver developers.
Regards, Freddie.
Re: [Bug 2.2b1] FMVs not playing properly
Posted: 10 Apr 2009, 01:24
by Zarel
EvilGuru wrote:Most of our 2D stuff has x and y dimensions which are powers of 2. This is the requirement put forward by old OpenGL versions. (Texture rectangle is a bit of a misnomer.)
It is not worth the time supporting systems without TEXTURE_RECTANGLE support. Usually if the driver developers can't be bothered to implement a decade old extension they are usually not competent enough to write decent drivers, period.
Rather than telling us how we can hack FMVs not to require the extension why not tell the driver developers.
Because the users blame us, not the driver developers. If it's still
possible to have video playback working without TEXTURE_RECTANGLE, even if it's a hack, then why not? The driver developers may not be competent enough to write decent drivers, but we shouldn't let their incompetence prevent our users from playing Warzone.
Re: [Bug 2.2b1] FMVs not playing properly
Posted: 10 Apr 2009, 06:04
by Project Dark Fox
Zarel wrote:Because the users blame us, not the driver developers.
Those without a scrap of how programming works, perhaps. I knew I was #%&$ed from the get-go, having attempted to upgrade my drivers way back when I got HL2Ep1. The way I see it, it's not your fault that Dell screwed up my computer or that ATi doesn't support my OS with a certain card, it's all theirs. Probably the last computer I get from Dell until they get their act together.
But if you actually can hack it in -- as cleanly as you can, please -- that would be a nice side bonus for my otherwise ailing machine.