wormyrocks wrote: ↑
Fri Jan 11, 2019 5:53 pm
I've run this script on a clean install
of the latest version of Raspbian, following the instructions exactly
- when I try to run mpv, I get the following error..... Could not get DISPMANX objects.
One of the great things about computer science is that it's a "hard" science like physics or chemistry. Unlike a "softer" science like psychology or climatology, most claims can be verified in a truly definitive way. The biggest test of all is a simple one: Under the same conditions, can the results be fully replicated?
We obviously don't have two Earths on which to conduct comparative studies – nor can we take a 40-year-old back to the womb to see how different the outcome would be if we changed a key behavior in the mother or father.
To be clear, I'm not knocking the "softer" sciences even slightly – I'm simply stating a fact. Sure, we can create supercomputer simulations of multiple Earths and "experiment" on them. We can also look at "twin studies" of genetically identical siblings who were separated at birth to get a good understanding of nature vs. nurture.
These methods, however – though extremely insightful – are hardly as "concrete" and "verifiable" as dropping a steel ball in separate laboratories in London and Tokyo and demonstrating that both objects drop at exactly the same speed to an extreme degree of precision. [Under vacuum conditions while accounting for local variations in the gravitational field, of course.]
That's the beauty of the Raspberry – it brings computer science to life in a fully testable, verifiable, inexpensive, and widely available way. This is especially true if two or more people – or laboratories – both begin with completely identical, clean copies of the Raspbian operating system!
So, just a few minutes ago, I used that scientific principle to test your claim:
I completely nuked an SD card, reinstalled the latest version of Raspbian Desktop, and then followed my own instructions without any assumed knowledge. In other words, I did everything as though I were completely brand-new to the Raspberry.
Now why would I bother doing that if I'm so confident about the perfection of my script? In fact, not a single person – until you came along – has claimed my script didn't work on a truly clean installation of Raspbian.
I did it because there's always the THEORETICAL
possibility that the Raspberry Pi Foundation – at any moment – during one of their frequently-issued system updates – could suddenly change a fundamental system component that inadvertently "breaks" my script. So far, this has never happened – but I obviously have no control over what goes on in Cambridge, England.
Well guess what? I'm pleased to report that my script still works perfectly!
To put it mildly, this raises severe doubts about your claim that you've "run this script on a clean install of the latest version of Raspbian, following the instructions exactly".
I'm even more dubious about your claim because the exact error message you report can indeed be replicated – but only if you don't follow my instructions!
For example, if you change the Raspberry's default video driver to the EXPERIMENTAL
OpenGL driver – namely Full KMS – mpv will generate the exact same error message you report! Perhaps you recently installed Raspbian – and only made this one "minor" change – thus in your mind
, it remained an entirely "clean" copy that fully complied with my instructions. There's just one problem with that perspective: I explicitly stated in my "requirements" section that those experimental drivers will NOT
work! It certainly wouldn't be the first time that someone didn't carefully read my comprehensive instructions.
Am I saying that's what you did? Not at all! I'm not the NSA, so I'm not about to make any specific assumptions about what you may or may not have done. Perhaps you tinkered with your system and made some other fundamental change that triggered the same error message by coincidence. Either way, it's not my concern – because none of these scenarios would involve a truly clean, completely standard copy of Raspbian, now would they?
Oh, and just in case you're thinking about switching your Raspberry back to the standard default "legacy" video driver via sudo raspi-config | Advanced Options | GL Driver, there's a bit of a bug in Raspbian that you should know about. When the experimental drivers are switched on, raspi-config will "secretly" change the /boot/config.txt file back to the 64 MB default setting for the GPU memory allocation without telling you! So if you switch back to the default video driver to try and get things working, be sure to re-do my instructions and move your GPU memory back to 128 MB – because if you don't do that, you'll be treated to a whole new batch of error messages that also have nothing to do with my script!
Better yet, if you're not completely sure what you may or may not have done, just nuke your entire system and start all over again from scratch! Otherwise, you could end up wasting several hours because of some obscurity deep inside your system that you don't understand.
Finally, I can't help but mention a supreme irony about your claim: Thanks to your unique but recycled screen name, it only took me a minute to discover that 8 days ago – on January 5, 2019 UTC – you tweeted a sarcastic message about me that says "this guy really likes the shell script he wrote". The irony is that if only you had followed my instructions to the letter, you would have realized just how good my script really is!
But I get it. Some don't like my confident tone – a tone that's clearly evident in my writing style. It's a tone I'm fully aware of, by the way.
I worked hard to achieve what I've done – the proof is in the pudding. I feel zero shame in defending my high-quality contribution – a contribution I've donated for FREE
. In fact, I'm the guy that brought a fully GPU-enabled software suite of the world's leading media engine, top-notch encoders, and a truly modern media player to the Raspberry Pi – and presented the whole thing in a clearly-written manner that almost anyone can follow. No one had done all that until I came along.
Knowing that the Raspberry is now a truly historic machine – the best-selling general-purpose computer in the history of the world – eclipsed only by the Mac and PC – makes my contribution even more significant.
Do I sound a bit boastful in the way I phrase things? I certainly hope so – because it's entirely deliberate. When I put a ton of effort into something I know is significant, I'm not about to sacrifice it at the alter of false "modesty" and let it disappear into the noise.
If anyone looks through this giant thread, they'll see that for more than a year, I've had to fight off multiple bogus claims to defend my work. It's amazing how any random person on the Internet can just come along and say WHATEVER! So if people perceive me as having an aggressive posture, they're not mistaken. What some fail to understand, however, is that it's a special kind of aggression – a justified aggression to stand up for what I know to be true!