MPC-HC x64 and Optimus Bug

View previous topic View next topic Go down

MPC-HC x64 and Optimus Bug

Post by christantoan on Fri May 15, 2015 3:34 pm

After updating to KLCP 11.1.4
I got this error:


So I decided to uninstall and reinstall from KLCP 11.1.0 but now the installation stopped at the end and must be stopped using Task Manager.

Also, now the updater also stopped at the end of updating process

But every step of the installation is already completed including copying, registering files, and creating Start Menu items. That's why I'm confused why it wouldn't end successfully.
Also, reinstalling doesn't solve the madVR issue above

Thanks

UPDATE:
I noticed that the MPCHC settings is not updated according to the installation settings.
Also using EVRCP I get this error:

but the video and audio still play fine after I clicked OK.

One last thing, I also noticed that your installer forget to rename the mpc-hc64.exe and mpc-hc.exe for NVidia Optimus system.

Sorry for long post

UPDATE again:
After several uninstall and install, the KLCP installer finally manages to finish the installation process but after a long wait (or at least longer than it used to be) but the settings are applied to the MPC HC


Last edited by christantoan on Fri May 15, 2015 7:52 pm; edited 4 times in total

christantoan

Posts : 48
Join date : 2011-12-24

View user profile

Back to top Go down

Re: MPC-HC x64 and Optimus Bug

Post by christantoan on Fri May 15, 2015 4:27 pm

Hmmm, maybe add the option for forcing use of alternative filename

Renaming the files make the updater not update mpc

Here's my log file:
http://pastebin.com/g861UXtR

christantoan

Posts : 48
Join date : 2011-12-24

View user profile

Back to top Go down

Re: MPC-HC x64 and Optimus Bug

Post by christantoan on Fri May 15, 2015 7:24 pm

Okay. Finally found the culprit (at least that's what I think)
Not installing x64 version of MPC-HC and using the x86 version resolves all the crash.

And about the hanging problem from the installer, I think it tries to connect to Internet but failed and keep retrying (I use proxy and I know that some programs can't use proxy). Because when I pulled the network cable, all went quickly.


Last edited by christantoan on Fri May 15, 2015 7:32 pm; edited 1 time in total

christantoan

Posts : 48
Join date : 2011-12-24

View user profile

Back to top Go down

Re: MPC-HC x64 and Optimus Bug

Post by Admin on Fri May 15, 2015 11:16 pm

If EVR-CP fails, then MPC-HC will fall back to using another renderer. So that is why video still plays. The only thing I can suggest to fix the error is to update both the Intel and the NVidia drivers.

It is not necessary to rename MPC-HC to use the NVIDIA GPU. You can also do that by editing the application profile of MPC-HC.
1) Download NVidia Inspector
2) Run Nvidia inspector
3) Click on the "Profile settings" button at the right of the driver version field.
4) Select "Media Player Classic" in the application dropdown menu
5) Add mpc-hc64.exe to the application list of that profile if necessary (by default it only lists mpc-hc.exe and mplayerc.exe)
6) set Enable application for Optimus to SHIM_RENDERING_MODE_ENABLE (0x00000001)
7) Shim Rendering Mode Options per application for Optimus = SHIM_RENDERING_OPTIONS_ENABLE_DWM_ASYNC_PRESENT (0x00000040)

Which NVIDIA GPU do you have? Optimus drivers are very buggy, specially for the 8xx series, so problems might not all be solvable. Using the Intel GPU is more reliable at this moment.

It shouldn't hang if connection fails. Is it a normal proxy?

Admin
Admin

Posts : 2987
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: MPC-HC x64 and Optimus Bug

Post by christantoan on Fri May 15, 2015 11:24 pm

Thanks for your reply.
My drivers are already latest version, so nothing I can do for that.
Thanks for the tips, I'll definitely try it.
I have NVidia 740M.
It's a proxy used by my university. I don't know what you meant by normal though. But I know it blocks torrent and some VPNs traffic

christantoan

Posts : 48
Join date : 2011-12-24

View user profile

Back to top Go down

Re: MPC-HC x64 and Optimus Bug

Post by Admin on Fri May 15, 2015 11:45 pm

The install hang should not occur anymore in next version.

Admin
Admin

Posts : 2987
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: MPC-HC x64 and Optimus Bug

Post by christantoan on Fri May 15, 2015 11:47 pm

Nice. Thanks.
What about the madVR error in the x64 version of MPC-HC?

christantoan

Posts : 48
Join date : 2011-12-24

View user profile

Back to top Go down

Re: MPC-HC x64 and Optimus Bug

Post by Admin on Fri May 15, 2015 11:53 pm

Probably failing for same reason as EVR-CP. Try to get EVR-CP working first, it is a less complex renderer than madVR.

Admin
Admin

Posts : 2987
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: MPC-HC x64 and Optimus Bug

Post by christantoan on Fri May 15, 2015 11:58 pm

I see.
I tried using EVRCP but it still popped up the error though it will still play normally after you clicked OK button. While madVR fail to render completely.

I wonder why it still work fine in the x86 version though

christantoan

Posts : 48
Join date : 2011-12-24

View user profile

Back to top Go down

Re: MPC-HC x64 and Optimus Bug

Post by Admin on Sat May 16, 2015 12:11 am

When EVRCP gives an error, it will not get used. Does EVRCP work in the x86 version?

Admin
Admin

Posts : 2987
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: MPC-HC x64 and Optimus Bug

Post by christantoan on Sat May 16, 2015 12:14 am

Yes, it works in the x86 version

christantoan

Posts : 48
Join date : 2011-12-24

View user profile

Back to top Go down

Re: MPC-HC x64 and Optimus Bug

Post by christantoan on Sat May 16, 2015 10:42 am

Latest update solved the problem with x64 MPCHC

christantoan

Posts : 48
Join date : 2011-12-24

View user profile

Back to top Go down

Re: MPC-HC x64 and Optimus Bug

Post by christantoan on Sat May 30, 2015 6:44 pm

I tried the NVidia Inspector tips, but I still like the rename solutions better because it more permanent. Using Inspector sometimes the setting can reset by itself (I know one of the trigger is driver update but I'm sure it's not only that as it sometimes reset when I don't update the driver)

So I hope you can consider to add the options to rename MPC executable in the installer

Thank you very much

christantoan

Posts : 48
Join date : 2011-12-24

View user profile

Back to top Go down

Re: MPC-HC x64 and Optimus Bug

Post by Sponsored content Today at 10:46 pm


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum