Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider becoming a contibuting member by either clicking this text or the Patreon link on the right.

Patreon

Tom Speirs

Owner
  • Posts

    19655
  • Joined

  • Last visited

  • Days Won

    1076

Everything posted by Tom Speirs

  1. yes, again it is to be expected right now. I am working on a directx11 solution with ChaptGPT. if it is producing good code it shouldn't be long.
  2. yeah the fallback video player code is not hardware accelarated. im aware. lower resolution and framerate of videos is required or go back to the old nvidia driver. Its looking like i will have directx 11 and VR support done very soon though anyway. im killing it wirh ChatGPT.
  3. Still working with chatgpt. i had to upgrade to pro. here is the prompt so far. convert all my files and include all to use sharpdx directx 11 using same function names and parameters target .net framework 4 with option strict on and option infer off and provide download. Also within that project provide a directx11 function equivalent to directx9 stretchrect that is fast.. Add the equivalent of directx9 render target support and provde a set render target function in device.vb, this is to be used alongside the existing getrendertarget function. video player that includes play, pause, stop, dispose, , render and seek using media foundation and sharpdx. reading the samples should occur via a callback with an option to use a thread instead. it should also play the audio in the video with an option to turn off audio. there should be a fuction in the video playback to return the last frame as a texture and also a surface as defined in surface.vb. the texture and surface should be created on upon loading the video. there should also be a function to get the position, duration, framerate and aspect ratio. Also Create the appropriate draw functions in surface.vb and device.vb to support 3d x and y rotation. use full namespace for system.drawing.rectangle, system.drawing.color, sharpdx.color and sharpdx.color4. Also add openvr compatible vr headset support via a compiler directive. create a pinball room and provide images. Provide complete visual studio 2019 solution. also add an x file format loader and renderer that works with direct2d.surface. the reference to Sharpdx.wic is wrong it should be shardx.direct2d1. fix Type 'IDisposable' is not defined. error. Create a demo project that renders and plays a video.
  4. It just happened so I have not checked it out but ChatGPT (paid version) converted all my code from directx9 to directx11 in 15 minutes. Wow!
  5. if anyone is interested, I did pursue with coding with help from AI. It does allow you to find out and do absolutely anything with code. What I found is when it is wrong and it often is you just have to tell it is wrong, then it agrees and produces the correct code. This often needs several attempts and does require you to see and try for yourself. On the plus side I can get an answer and code for practically anything for free and dont need someone to help me. When it is challenged it will provide valid results. On the negative, it is often wrong and overconfident. This is what takes up unnecessary time at this point I compare it to an incredibly talented employee but a very lazy one who needs a constant kick. I can understand how it has put junior developers out of work but it is going to be a while before it replaces all developers and consultants because you need to know when it is wrong and it often I, at least for free View the full article
  6. Sorry, not helpful, but i have not noticed it.. Hopefully it can be figured out. Thanks, Tom.
  7. I assume I fixed it and not Nvidia or Microsoft but full screen exclusive mode is fixed and the default again. View the full article
      • 1
      • Like
  8. I assume I fixed it and not Nvidia or Microsoft but full screen exclusive mode is fixed and the default again. View the full article
  9. I spent about 40 hours trying to implement another video playback solution without lots of work because NVidia recently broke VMR 9 support. I thought I found another solution via ChatGPT which was the first time I tried it. It looked amazing but it gave me absolute horseshit over and over. How AI is replacing coders seems hard to believe. It seemed hopeless when experienced people need help. I tried Direct9Ex with DXVA2 and media foundation which it completely lied about. I also tried the same but not hardware accelerated which was valid but It did not work because the current Microsoft codecs don’t support RGB output. Although also legacy DirectX9Ex with FlipEx seemed like a good move on its own and I have it working well, then had problems recreating the device which is a big issue for a front end. I have this code done if I find a solution. Maybe waiting for DWM to be ready or somehow resetting it could be a solution. FFMpeg may be a way to go for video playback and should perform well, and I may try that Of note both AMD and Intel previously removed or broke VMR 9 support but then put it back. Which is why there was already a fallback in place PinballX and GameEx do have the option to switch to a more legacy video solution and normally this is automatically detected. However, Nvidia neglected to tell the operating system they removed VMR 9 support so the automatic fallback was not working. Maybe they are using AI coding too! Also of note when questioning the Brave search AI if there were issues with the solutions ChatGPT it gave the correct response. I can recommend the Brave AI. With these two new versions of GameEx and PinballX I check for Nvidia driver versions, so it is now again automatic as it was with intel and AMD. This release also correctly identifies physical CPU cores. I assume I fixed it and not Nvidia or Microsoft but full screen exclusive mode is fixed and working in GameEx so this may resolve issues in PinballX. View the full article
  10. I spent about 40 hours trying to implement another video playback solution without lots of work because NVidia recently broke VMR 9 support. I thought I found another solution via ChatGPT which was the first time I tried it. It looked amazing but it gave me absolute horseshit over and over. How AI is replacing coders seems hard to believe. It seemed hopeless when experienced people need help. I tried Direct9Ex with DXVA2 and media foundation which it completely lied about. I also tried the same but not hardware accelerated which was valid but It did not work because the current Microsoft codecs don’t support RGB output. Although also legacy DirectX9Ex with FlipEx seemed like a good move on its own and I have it working well, then had problems recreating the device which is a big issue for a front end. I have this code done if I find a solution. Maybe waiting for DWM to be ready or somehow resetting it could be a solution. FFMpeg may be a way to go for video playback and should perform well, and I may try that Of note both AMD and Intel previously removed or broke VMR 9 support but then put it back. Which is why there was already a fallback in place PinballX and GameEx do have the option to switch to a more legacy video solution and normally this is automatically detected. However, Nvidia neglected to tell the operating system they removed VMR 9 support so the automatic fallback was not working. Maybe they are using AI coding too! Also of note when questioning the Brave search AI if there were issues with the solutions ChatGPT it gave the correct response. I can recommend the Brave AI. With these two new versions of GameEx and PinballX I check for Nvidia driver versions, so it is now again automatic as it was with intel and AMD. This release also correctly identifies physical CPU cores. I assume I fixed it and not Nvidia or Microsoft but full screen exclusive mode is fixed and working in GameEx so this may resolve issues in PinballX.
      • 6
      • Like
      • Thanks
  11. I spent about 20 hours trying to implement another video playback solution without lots of work because NVidia recently broke VMR 9 support. I thought I found another solution via ChatGPT which was the first time I tried it. It looked amazing but it gave me absolute horseshit over and over. How AI is replacing coders seems hard to believe. It seemed hopeless when experienced people need help. I tried Direct9Ex with DXVA2 and media foundation which it completely lied about. I also tried the same but not hardware accelerated which was valid but It did not work because the current Microsoft codecs dont support RGB output. Although also legacy DirectX9Ex with FlipEx seemed like a good move on its own and I have it working well, then had problems recreating the device which is a big issue for a front end. I have this code done if I find a solution. Maybe waiting for DWM to be ready or somehow resetting it could be a solution. FFMpeg may be a way to go for video playback and should perform accept it did involve a memory copy well, and I may try that but probably no better than what I have Of note both AMD and Intel previously removed or broke VMR 9 support but then put it back. Which is why there was already a fallback in place PinballX and GameEx do have the option to switch to a more legacy video solution and normally this is automatically detected. However, Nvidia neglected to tell the operating system they removed VMR 9 support so the automatic fallback was not working. Maybe they are using AI coding too! Also of note when questioning the Brave search AI if there were issues with the solutions ChatGPT it gave the correct response. I can recommend the Brave AI. With these two new versions of GameEx and PinballX I check for Nvidia driver versions, so it is now again automatic as it was with intel and AMD. View the full article
      • 1
      • Like
  12. I spent about 20 hours trying to implement another video playback solution without lots of work because NVidia recently broke VMR 9 support. I thought I found another solution via ChatGPT which was the first time I tried it. It looked amazing but it gave me absolute horseshit over and over. How AI is replacing coders seems hard to believe. It seemed hopeless when experienced people need help. I tried Direct9Ex with DXVA2 and media foundation which it completely lied about. I also tried the same but not hardware accelerated which was valid but It did not work because the current Microsoft codecs dont support RGB output. Although also legacy DirectX9Ex with FlipEx seemed like a good move on its own and I have it working well, then had problems recreating the device which is a big issue for a front end. I have this code done if I find a solution. Maybe waiting for DWM to be ready or somehow resetting it could be a solution. FFMpeg may be a way to go for video playback and should perform accept it did involve a memory copy well, and I may try that but probably no better than what I have Of note both AMD and Intel previously removed or broke VMR 9 support but then put it back. Which is why there was already a fallback in place PinballX and GameEx do have the option to switch to a more legacy video solution and normally this is automatically detected. However, Nvidia neglected to tell the operating system they removed VMR 9 support so the automatic fallback was not working. Maybe they are using AI coding too! Also of note when questioning the Brave search AI if there were issues with the solutions ChatGPT it gave the correct response. I can recommend the Brave AI. With these two new versions of GameEx and PinballX I check for Nvidia driver versions, so it is now again automatic as it was with intel and AMD. View the full article
  13. i wasted about 2 days on it an got nowhere. ChatGPT is awful.
  14. Looks like a combination of media foundation and dxva 2 will work with Directx 9. Also need to move to directx9ex which is already done whilst keeping compatibility with windows xp. First time i used ai for code, believe it or not.
  15. Do the ini and ill put it right for you. Thanks.
  16. game to video ratio needs to be 'just play videos' but i will do something more logical for the next release. thanks.
  17. Okay, I just resolved this and released a new version. If you have attract mode also play videos and play all videos it will work even if no emulators used. As for the volume, i have also seen this issue but it was never persistent for me. Cheers. Tom.
  18. i just wanted to let you know i should have an update out for you soon. I have not forgotten.
  19. It is already in GameEx. You not see it? (Sample grabber workaround).
  20. yes, i understand. i know exactly what the issue is. Cheers, Tom.
  21. Must be a bug on the screensaver if mame is not used. I will take a look. For the volume, probably reboot.
  22. Thank you. i agree. Multithreading is just a general roadblock with unity not video playback specifically. VLC has an API but i don't think the others do. They are just players. From what I can see h265 not an issue now on latest windows 11. That is a plus. ps: looks like that is lav codecs doing that. DirectX 11 it is.
  23. Moving to directx11 may be a much quicker fix for this. This will require much less work. The main work is with the video playback code itself as the other display work has been handled by my own external library for a long time. ive been a bit distracted with other things but i will get to it. We will lose support for all older versions of Windows and maybe lose h265 for free. vlc is an option but from what ive researched no hardware acceleration. of note: Intel broke this too with 12th gen then did actually fix it. I cant put latest drivers on my laptop as they break it but amd on board was or is still broken too. The issue is with directshow vmr9 renderless output. its obviously a lot of overhead for them to still support i guess or they broke it. unity conversion requires much more work than directx 11. The main issue with unity is no multithreading support but for windows support only not too bad. i need to get busy with it! What do you guys think? What should i focus on? Unity brings steps toward cross platform support and DirectX 11 will be quicker to do but little value. vlc is no better than the sample grabber workaround already in place. its automatic detection normally and in gameex too but nvidia obviously wanted to be difficult or hoped nobody would notice! 1080p 60fps videos work fine for me on a Ryzen 9 7845hx (laptop cpu) with the fallback sample grabber. I get the occasional black video which ive seen before and know about. 4k 60fps are too slow.
  24. same difference buddy.
×
×
  • Create New...