Playing video on 6.14

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Message
Author
User avatar
Samu-kun
King of Moé
Posts: 2262
Joined: Mon Sep 03, 2007 3:49 pm
Organization: Love in Space Inc
Location: United States
Contact:

Playing video on 6.14

#1 Post by Samu-kun »

Ah. I never posted in this part of the forum before so I don't know if I'm doing this right.

To figure out if the video issues in 6.13 have been fixed, I've made a little test game. Basically, all you have to do is download the game, press "start" and see if the video plays properly.

What you want to be seeing once you press start is this:
http://www.youtube.com/watch?v=JKg_P0Kt0_c

Unfortunately, on renpy 6.13 playing a video causes renpy to crash for half the people who attempt to view it. So I made this to figure out if the bug's been fixed in 6.14. So please download and tell me what happens. =w=

DOWNLOAD>>>
http://dl.dropbox.com/u/2113235/Video%2 ... .0-all.zip

User avatar
Victoria Jennings
Miko-Class Veteran
Posts: 715
Joined: Mon Jul 02, 2012 9:40 am
Contact:

Re: Playing video on 6.14

#2 Post by Victoria Jennings »

Crashed right at the beginning. "Koisu-su-su-su-su-su-su-"... you get the picture.

EDIT: Right, Windows 7 Home Premium, 64 bit, with an AMD Athlon II X4 630 processor.
Last edited by Victoria Jennings on Tue Jul 31, 2012 12:56 am, edited 1 time in total.

redeyesblackpanda
Eileen-Class Veteran
Posts: 1006
Joined: Thu Dec 22, 2011 4:26 am
Projects: Eternal Memories, plot bunnies that won't die.
Organization: HellPanda Studios
Location: United States
Contact:

Re: Playing video on 6.14

#3 Post by redeyesblackpanda »

This ran on my Windows 7 Home Premium (64 bit). Testing on Ubuntu and Windows 7 Ultimate (both 64 bit). Will update with results.

Edit: Worked with Windows 7 Ultimate (64 bit) but I got a DirectX update warning even though DirectX should have been up to date. Once I clicked through, it ran with no problem. (It's pretty epic no matter how many times I watch it :lol: )

Edit: I'm not sure how relevant my results are, as I'm having no trouble playing the original Homeward on this computer either. I'll test it on my Vista 32 bit laptop and see if it works there, since it didn't before.

Edit: Windows Vista home basic (32 bit) had the same error for this as it did for the original Homeward. It ran on Ubuntu (64 bit) no problem though. I'm testing to see if the original Homeward would have worked on it though. Once I'm done, I'll compile all these results so that they're actually presentable.

Last edit: Alright, here's what a summary:

Windows 7 Home Premium (64 bit) Homeward [runs] Test [runs]
Windows 7 Ultimate (64 bit) (VM same laptop) Homeward [runs] Test [runs]
Ubuntu (64 bit) (VM same laptop) Homeward [cannot run .sh file] Test [runs]
Windows Vista (32 bit) (different laptop) Homeward [video error] Test [video error]
(All projects currently on a hiatus of sorts. I blame life.)
Tsundere VN
Not really checking the forums any more due to time constraints, so if you want to contact me, PM. I'll get a notification and log in. :mrgreen:
Also, I've been hit and run posting, which means I don't see many replies. If you want to respond to something I've said, also feel free to PM me.

NOTE: if you've got questions about vnovel or things like that, it's Leon that you should be contacting. Leon's been pretty much handling everything, but due to various reasons, I've had to withdraw entirely.

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Playing video on 6.14

#4 Post by PyTom »

It crashes on my new laptop! And it only crashes on the Intel GPU, not the nvidia one.

That's a good thing - it means I can debug it and see what's going on.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
Deji
Cheer Idol; Not Great at Secret Identities
Posts: 1592
Joined: Sat Oct 20, 2007 7:38 pm
Projects: http://bit.ly/2lieZsA
Organization: Sakevisual, Apple Cider, Mystery Parfait
Tumblr: DejiNyucu
Deviantart: DejiNyucu
Location: Chile
Contact:

Re: Playing video on 6.14

#5 Post by Deji »

Works on my MacBook pro with OS X 10.7.4 and AMD Radeon 6750M with 512 MB.
It also runs without problems in my Parallels virtual machine with Windows 7.

(:
Image
Tumblr | Twitter
Forever busy :')
When drawing something, anything, USE REFERENCES!! Use your Google-fu!
Don't trust your memory, and don't blindly trust what others teach you either.
Research, observation, analysis, experimentation and practice are the key! (:

User avatar
Ziassan
Veteran
Posts: 231
Joined: Thu Jun 09, 2011 8:14 pm

Re: Playing video on 6.14

#6 Post by Ziassan »

Crash on my side : http://puu.sh/N59.jpg
The first seconds play and it immediatly goes white and not responding, while the sound bugs on a short loop like "de-de-de-de-de".

32bit - Processor Intel® Pentium® P6100 (2,0 GHz) - 1366 x 768 pixels - 2048 Mo RAM - Chipset graphic Intel HD Graphics.
Last edited by Ziassan on Mon Jul 30, 2012 4:49 pm, edited 1 time in total.

redeyesblackpanda
Eileen-Class Veteran
Posts: 1006
Joined: Thu Dec 22, 2011 4:26 am
Projects: Eternal Memories, plot bunnies that won't die.
Organization: HellPanda Studios
Location: United States
Contact:

Re: Playing video on 6.14

#7 Post by redeyesblackpanda »

For the computer that mine worked off of it was running off an NVIDIA GeForce GT 650M.
For the one where it didn't work, I was running it with an ATI Radeon X1200.
(All projects currently on a hiatus of sorts. I blame life.)
Tsundere VN
Not really checking the forums any more due to time constraints, so if you want to contact me, PM. I'll get a notification and log in. :mrgreen:
Also, I've been hit and run posting, which means I don't see many replies. If you want to respond to something I've said, also feel free to PM me.

NOTE: if you've got questions about vnovel or things like that, it's Leon that you should be contacting. Leon's been pretty much handling everything, but due to various reasons, I've had to withdraw entirely.

User avatar
Samu-kun
King of Moé
Posts: 2262
Joined: Mon Sep 03, 2007 3:49 pm
Organization: Love in Space Inc
Location: United States
Contact:

Re: Playing video on 6.14

#8 Post by Samu-kun »

Hmmmmmm... Does it only work on 64-bit processors? Because it works fine for my 64-bit laptop.
Whatever it is, it doesn't seem like 6.14 made a difference.

User avatar
Ziassan
Veteran
Posts: 231
Joined: Thu Jun 09, 2011 8:14 pm

Re: Playing video on 6.14

#9 Post by Ziassan »

Based on what PyTom just said, it seems more linked the the Graphic Processor, so the video card it self.
It would crash on the Intel chipset but not on the nvidia ones for instance.

User avatar
Samu-kun
King of Moé
Posts: 2262
Joined: Mon Sep 03, 2007 3:49 pm
Organization: Love in Space Inc
Location: United States
Contact:

Re: Playing video on 6.14

#10 Post by Samu-kun »

Could be it. I'm using Nvidia GeForce 310M. It seems like Nvidia is one of the safe graphics cards?

User avatar
Nuxill
Veteran
Posts: 464
Joined: Sat Sep 25, 2010 4:50 pm
Projects: No Friend
Tumblr: nuxill
itch: nuxill
Contact:

Re: Playing video on 6.14

#11 Post by Nuxill »

For me the video stays on the first frame until around 11 seconds in.... but that's what happened to me in 6.13. I've got a four year old macbook with a Intel GMA X3100 chip.

User avatar
Camille
Eileen-Class Veteran
Posts: 1227
Joined: Sat Apr 23, 2011 2:43 pm
Completed: Please see http://trash.moe
Projects: the head well lost
Organization: L3
Tumblr: narihira
Deviantart: crownwaltz
itch: lore
Contact:

Re: Playing video on 6.14

#12 Post by Camille »

It worked perfectly fine for me. I'm on a 2011 iMac with an AMD Radeon HD 6970M graphics card.

User avatar
Kuroneko_rg
Veteran
Posts: 294
Joined: Sat Oct 22, 2011 8:39 pm
Projects: Dark Pleasures, Kiss of Blood, Midnight Park
Organization: Black Cat Alleyway
Location: Yomi
Contact:

Re: Playing video on 6.14

#13 Post by Kuroneko_rg »

Take this from someone who uses a lot of emulators. Intel graphic drivers are a plague. They usually have awful results when
handling shaders, being these wrong graphic rendering or just crashing the whole program.

I don't know what kind of method Ren'Py uses for video playback, but has anyone with Intel chipset based PCs tried doing
so using software and directx renderer?

I'm just guessing, but if video playback works in software/directx renderers, then the problem might be in how Intel chipsets handles OpenGL. (The only reason I'm guessing this, is because Intel drivers seems to work fine with most Direct3D games).

I'm using Ren'Py 6.13.7 and video playback works fine to me in all renderers.
My graphic card is an Nvidia GT240.

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Playing video on 6.14

#14 Post by nyaatrap »

No trouble with win7 64bit corei3 laptop (Intel HD graphics)
Though I updated the graphic driver an half year ago because it had some problem with ren'py. Its laptop is released 1 year ago, but the graphic driver was 2 years ago when I checked its version. I guess even recent released PCs are using old drivers and still causing problems.

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Playing video on 6.14

#15 Post by PyTom »

So, to make a long story short, there's two bugs at work here.

The first is that when we got far enough behind on video, the video queue would fill up, and the parser thread would stop running. The audio thread would then starve for data, and sit there holding the audio lock - which the main thread requires to ask if the video is still playing.

A change to the way we lock things, and that's fixed.

There's still a big problem, though - the video decode should not be slowing down this much. So I need to look at that and see what's going on there. I don't know if I can fix it with small changes - which I can push into 6.14 - or if it will require a rewrite of the way movies are played back.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: No registered users