elgato-gchd
elgato-gchd copied to clipboard
"what(): Failure changing states."
This was tried with a PS4 running in 720p. Usually, it happens before it can even get to start streaming. It crashes and does a core dump. When I can get it to stream and then do a CTRL-C when I'm done, I get this error and then a core dump happens. However, it rarely ever gets to the streaming part.
Once the failure and crash happen, the driver won't interface anymore in subsequent runs, hanging after "Hardware revision is V1300230" is printed.
The resulting message I get from the crash is:
terminate called after throwing an instance of 'std::runtime_error'
what(): Failure changing states.
Aborted (core dumped)
To get around the hang, I have to unplug the device from usb and re-plug it in. It may or may not help with getting it to the streaming stage.
This is done under Ubuntu 16.04, 64-bit. Hardware revision is V1300230.
I've tried this with the firmware from Game Capture 3.2 (Windows) and Game Capture 2.0.5 (Mac)
The command I use is ./gchd -of fifo -i hdmi
I also dug around a bit, and put a printf statement before the throw.
printf("Error: Expected state %x, got state %x\n", expectedState, currentState);
The result I always get, without fail is: Error: Expected state 11, got state 1f
If there's anything I can do or try, let me know.