Mickolodias wrote: ↑Sat Oct 01, 2022 10:01 amThis is truely awesome!!!
@Puukka ’s Citation X instruments could totally use this as well.
@jph Possibly this paves the way for custom hardware glass instruments using an Rpi!
@Corjan oooooo - by tablets… do you mean…. Ipad/android support as well!?
Video_stream_add
-
- Posts: 69
- Joined: Mon Sep 13, 2021 3:21 am
Re: Video_stream_add
I'm one of 'those' mac guys. (and I have no idea why I can't afford to eat)
Re: Video_stream_add
That's really interesting Corjan. thanks.!
It will be good to see how much performance hit there is in generating the data for the devices that can be accessed externally is actually there and also if the instrument math and texture generation in XP can be offloaded to a second XP machine.
Joe
Mickolodias - RPI.. naw, use a PC any day
It will be good to see how much performance hit there is in generating the data for the devices that can be accessed externally is actually there and also if the instrument math and texture generation in XP can be offloaded to a second XP machine.
Joe
Mickolodias - RPI.. naw, use a PC any day
Joe. CISSP, MSc.
Re: Video_stream_add
Hi,
Yeah, that would also includes iPad and Android.
We tested the stream on a Pi, and it was able to keep up with a decent framerate.
Don't expect to run multiple streams though.
On my 11800H processor, when running 4 streams at once, the AM process uses about 2% CPU.
This is quite a high end machine, but I don't expect to much trouble on the performance side.
There might be some GPU driver issues though... but we just have to see how that plays out,
Corjan
Yeah, that would also includes iPad and Android.
We tested the stream on a Pi, and it was able to keep up with a decent framerate.
Don't expect to run multiple streams though.
On my 11800H processor, when running 4 streams at once, the AM process uses about 2% CPU.
This is quite a high end machine, but I don't expect to much trouble on the performance side.
There might be some GPU driver issues though... but we just have to see how that plays out,
Corjan
Re: Video_stream_add
2% for 4 streams on an 11800 is very respectable.
I am sure there will be GPU driver issues due to Vulkan but they will sort that out.
Great info.
I am sure there will be GPU driver issues due to Vulkan but they will sort that out.
Great info.
Joe. CISSP, MSc.
Re: Video_stream_add
Hi,
No, in fact the X-plane API keeps using the openGL functions.
They have some kind of translation layer to Vulkan it seems.
When they would leave openGL for plugins, a lot of plugins would break instantly,
Corjan
No, in fact the X-plane API keeps using the openGL functions.
They have some kind of translation layer to Vulkan it seems.
When they would leave openGL for plugins, a lot of plugins would break instantly,
Corjan
Re: Video_stream_add
I am surprised at that. I thought they insisted that the plugins were updated, but I am only going from memory. Is the translation part of Vulkan or is it some fudge they are doing ? The translation surely must be part of Vulkan ? (I hope it is - it would be a bit of a nightmare otherwise )
Joe. CISSP, MSc.
Re: Video_stream_add
Is it the equivalent of XTexture extractor?
Great job Corjan, if you can make it work.
Especially if the texture can be streamed to a remote PC or Raspi
Jacques
Great job Corjan, if you can make it work.
Especially if the texture can be streamed to a remote PC or Raspi
Jacques
My YouTube Chanel on the A320 (Real SOPs by an Airline Pilot IRL):
https://www.youtube.com/playlist?list=P ... 0Q6SBASRqJ
https://www.youtube.com/playlist?list=P ... 0Q6SBASRqJ
Re: Video_stream_add
It's on some way the same. But in this case you can directly request which texture you want, the user doesn't have to search for the right texture.
The streaming across the network is already working. This means that you can also show it on for example an iPad.
It uses H264 compression, so there's very little data going across.
The streaming across the network is already working. This means that you can also show it on for example an iPad.
It uses H264 compression, so there's very little data going across.
Re: Video_stream_add
This is my main concern - if it is like XTexture extractor as far as the panel rendering - then (for the notes for XTE)
It would (for me) need to be able to selectively render specific instruments only - not the whole panel.
Ah, we overlapped Ralph, are you saying you can specify only SPECIFIC instruments to be rendered- and not the whole panel ? - it still sounds a little like the whole panel may be rendered but you can more easily specify which to stream - but still from the whole list. That is one hell of a lot of processing. (if that is the case)
Having the panel rendered is a definite concern as it is a huge frame rate hit (with triple monitors especially)The plugin requires the cockpit to be rendered, so only works with internal and not external views. If you need an external view, start from within a cockpit view, and move the camera outside the aircraft. This will cause X-Plane to render the cockpit panels, and allow the plugin to work.
It would (for me) need to be able to selectively render specific instruments only - not the whole panel.
Ah, we overlapped Ralph, are you saying you can specify only SPECIFIC instruments to be rendered- and not the whole panel ? - it still sounds a little like the whole panel may be rendered but you can more easily specify which to stream - but still from the whole list. That is one hell of a lot of processing. (if that is the case)
Joe. CISSP, MSc.
Re: Video_stream_add
Hi,
Not sure how X-plane does it internally. but the API lets you request a certain avionics device.
It is also working when the virtual cockpit is turned off.
If they where smart about it, they wouldn't render any avionics if the virtual cockpit is turned off and no requests have been done through the API.
But then again, I am not a X-plane programmer
Corjan
Not sure how X-plane does it internally. but the API lets you request a certain avionics device.
It is also working when the virtual cockpit is turned off.
If they where smart about it, they wouldn't render any avionics if the virtual cockpit is turned off and no requests have been done through the API.
But then again, I am not a X-plane programmer
Corjan