Turbo charge your Headless Raspberry Pi. GPU acceleration

Поделиться
HTML-код
  • Опубликовано: 24 янв 2025

Комментарии • 113

  • @Colin_Ames
    @Colin_Ames 2 года назад +8

    I never use my Pi in a headless configuration, but for those who do, this video seems very useful.

  • @beergeekcom
    @beergeekcom 2 года назад +7

    Do a search for “raspberry pi slow headless” - there are software / OS changes that will fix this.

    • @musicontv6791
      @musicontv6791 2 года назад +5

      which one works?There are thousand of sugggestions, i tried two but the Pi didn't boot..

    • @seb5689
      @seb5689 2 года назад

      thank you! I need to test these

  • @jamiespeight7746
    @jamiespeight7746 2 года назад +1

    Great, dummy plug ordered via the link. Cheers 👍

  • @ytbone9430
    @ytbone9430 2 года назад +9

    Maybe don't use the HDMI dummy dongles, use the HDMI "Sink" ones, they work as a dummy and also pass through the HDMI signal, so you can connect/disconnect a monitor and the computer won't notice, it will think a monitor is continuously connected. This also helps to prevent display numbers and layout from changing in Windows e.g, whenever you dis/connect a monitor. It also can help to recognize displays when using display port to hdmi adapters. It's same price as less useful HDMI dummy.

    • @timezonewall
      @timezonewall 2 года назад

      Can you give an product example of what you are talking about? The only thing I found that _might_ be what you are describing was 4x the price.

    • @timmooney7528
      @timmooney7528 2 года назад

      @@timezonewall I think I did what is being said with an HDMI to VGA converter. I used the adapter to first set up the Pi before going headless. I disconnected it then tried to connect remotely and received a message about resolution not available or out of range. I plugged in the adapter without the monitor, then I was able to get a display that I could adjust in VNC. I didn't have the problem on my Pi4

    • @ytbone9430
      @ytbone9430 2 года назад

      @@timezonewall Ahw man, just double checked to see if my comment went through, but as nearly always, it did not. Shame on you RUclips, this is not fun anymore. I don't tend to write comments anymore because of this, should keep it that way, sorry Zeric!

    • @ytbone9430
      @ytbone9430 2 года назад

      @@timezonewall Not sure what words to avoid to prevent censorship on this platform, so excuse me for not being overly detailed about what shop, article-id and what not.. see you! o)

    • @timezonewall
      @timezonewall 2 года назад

      @@ytbone9430 I was looking for the brand and name of an example product, or even a just description that will find that type of product in a search. I tried HDMI sink and hdmi dummy sink, because you used the word "sink" in the original comment, but it didn't get anywhere.

  • @NOX-ID47
    @NOX-ID47 2 года назад +2

    I've got quite a few of the same brand of dummy plugs, they've also got display port variants. Haven't used any on a Pi because none of them run a GUI, but I've got six of them in my stack "rack" of m93p's.

  • @OldMan_PJ
    @OldMan_PJ 2 года назад +2

    Useful on any headless system, great tip!

  • @beauslim
    @beauslim 2 года назад +2

    I haven't played with this stuff for a couple years, so something may have changed with the Pi4 or Wayland or whatever, but you used to be able to set up stuff like this in software without a dongle. Try "hdmi_force_hotplug=1" and forcing a mode and screen size in your config.txt

    • @leepspvideo
      @leepspvideo  2 года назад

      Its still doesn’t use the GPU. Raspberry PiOS is such a light desktop environment its less noticeable.

  • @TV-kj3gi
    @TV-kj3gi 2 года назад +1

    An tutorial about the settings to be made to stream the dummy plug on other devices will be appreciated.

  • @iblackfeathers
    @iblackfeathers 2 года назад +1

    on my rpi 400 i use a hyperpixel 4 connected to the gpio and sometimes an hdmi portable lcd monitor (tablet sized) and tablet such as an ipad via ssh connected vnc, depending on my current usecase. it also sometimes runs headless. since there are two mini hdmi ports, i could also use that dongle on the second port for the vnc part but i really see no lag at the moment or issue where i would need it. plus my rpi isn't a multimedua machine like i may use other devices.
    i'm sticking with bullseye at the moment on dark mode for software compatibility with various debian-based software.
    i'm looking into stemma connectors when adafruit has certain parts in stock to experiment with audio alongside the hyperpixel with a 3d printed frame to hold them all as one piece. then it could be portable with just a mouse and powerbank.

  • @SlowMenThinking
    @SlowMenThinking 2 года назад

    There are some times you need a screen, as a display for something like PowerPoint where you only need to share the out put via say OBS. Any where you need to trick the system which is what you are doing. The Raspberry when booted with out the screen does not put out a graphics output at all, Try plugin in a screen after boot... I've used HDMI capture devices to fake screens in the past...

  • @Kohega
    @Kohega 2 года назад +1

    I'm using one of them for my main Windows PC. Using them for remote gaming with Moonlight, while my screen is off and getting nice performance

  • @iam.jasonhoward
    @iam.jasonhoward 2 года назад +1

    I haven’t used my pi as a desktop in quite some time. But this may be worth revisiting. 💯

  • @daanota
    @daanota 2 года назад

    If i remember it right, VNC can be configured to view headless using the screen resolution of the ipad. NO need to pinch or zoom.

  • @RandomJunk99
    @RandomJunk99 2 года назад

    We use two on remote Windows PCs - if you use Remote Desktop to connect the remote pc, you can use both screens on the local PC.

  • @timmooney7528
    @timmooney7528 2 года назад

    Nice to know. I set up a Pi3 with Pi-hole, and i noticed at first it wouldn't display or it would give an error about resolution if no display was attached. I left he HDMI - VGA adapter plugged in and I was able to set it up with 1920x1080 in VNC

  • @srvuk
    @srvuk 2 года назад +1

    Very useful and productive tip.

  • @ovarb12
    @ovarb12 2 года назад

    Thanks for another great video!

  • @W4TRI_Ronny
    @W4TRI_Ronny 2 года назад

    Just got 3! Thanks!

  • @tarnaigy
    @tarnaigy 2 года назад +6

    Wouldn't hdmi_force_hotplug=1 in config.txt have the same effect as the plug?

    • @musicontv6791
      @musicontv6791 2 года назад

      not completely..

    • @leepspvideo
      @leepspvideo  2 года назад +4

      It doesn’t, my build already has it enabled. I added the line as it seems to more reliably wake up my monitor.

  • @JonathanSteadman2003
    @JonathanSteadman2003 2 года назад +1

    Thats pretty awesome. :)

  • @H-W
    @H-W 2 года назад +1

    You can resize the screen without the hdmi thing. It's built in vnc

  • @AndrewAHayes
    @AndrewAHayes 2 года назад

    That is just madness!

  • @musicontv6791
    @musicontv6791 2 года назад +1

    Remote view with kde enviroment was my problem too, even with hdmi cable attached sometimes (but not active in the monitor).I'll buy these two items..thanks P.S. Strange that with Pi OS Lxde doesn't happen.

    • @leepspvideo
      @leepspvideo  2 года назад

      It’s such a simple basic desktop with Raspberry Pi os to run on older devices. I don’t think it’s as noticeable. The Pi 4 400 can use a much more intuitive and feature rich environment like KDE and Gnome. That’s when the lack of gpu acceleration seems to be needed with a Remote Desktop.

  • @ericlawrence9060
    @ericlawrence9060 2 года назад

    the HDMI ports on these mini's should just be wired up for the sink type port where they are like pass thru dummies.

  • @paulh0029
    @paulh0029 2 года назад

    If you remove the vc4 driver from config.txt the hdmi monitor will also switch on. But the PI VNC assumes you use a desktop, which I don't. There are vnc servers for the PI which work with framebuffer, the only issue I have is that you also need a dummy touch screen. Framebuffer VNC need a touch screen to forward touch commands.

  • @Nobe_Oddy
    @Nobe_Oddy 2 года назад +1

    awww your kitty is sooooo cute!! he/she looks JUST like My Emily!!! (except Emily is like TWICE the size of your kitty.. and every other 'normal' kitty or Earth LOL she refuses ANY food except what are supposed to be 'treats LMAO)
    anyway... I have been thinking of getting a tablet JUST for the stuff you are doing here... EXCEPT I want to be able to gett he tablet to switch the input on my TV (i don't think I can do that on my monitor... no remote control :( ) So I can switch over to my Pi from my desktop, or to my PS4 without using my remote..... PLUS I want to be able to cast my desktop to it and use it as a controller (mouse & KB) AND be able to read txt on the screen without having to turn window scaling up to 175% (I keep my desktop at 4K on my TV and a secondary display at 1440p with my 165hx monitor.. for games... that I never play lol)
    BUT... aside from all that, I REALLY want a way to turn on my monitor with out getting up (i sit on my bed across the room and use a wireless mouse & KB with my 4K TV as my main screen and the 1440p 165hz as a secondary) But getting up to on it on or off is a real P.I.T.A. because it's hard to reach over the stuff I have on the floor (including my Kitty's bed lol) ...
    so do you think there is a way to incorporate a Pi to do it?? idk if I would need a power switch that the pi would control.... nah, prolly overkill..... this is prolly not the right place to be figuring this out... I dont think I would need a pi for this.... but if you know of something give me a shout :)
    Oh and see if you can find a way to lower the latency on the screen of the tablet... probably lowering the resolution would do it... and then you can shrink the scaling on the pi (text, icon, window, mouse size) like in windows... I';m pretty sure Linux has it but I can't remember off hand.....
    damn I'm yap[pin WAY TOOO MUCH!! lol sry :)

    • @leepspvideo
      @leepspvideo  2 года назад

      My Sony TV is completely controlled with an App. Most smart TV’s have a WiFi remote control app.
      A Pi can be switched on via LAN.
      www.instructables.com/Raspberry-Pi-As-Wake-on-LAN-Server/

  • @pavan13
    @pavan13 2 года назад

    You don't need any dummy dongle just enable headless resolution on raspberry configuration then set your preferred resolution. Lower is much better

    • @leepspvideo
      @leepspvideo  2 года назад

      I think you still need it for gpu acceleration

  • @slave288
    @slave288 2 года назад

    Not sure I understand, you can use RASPI-CONFIG to setup your display resolution for headless operations and in my experience, the lag is nothing like you have shown, works great for me.

    • @leepspvideo
      @leepspvideo  2 года назад +1

      Raspberry Pi os is very lightweight and doesn’t rely on the GPU much at all for a Desktop environment. Other environments have more features that are better with gpu acceleration

  • @marklewus5468
    @marklewus5468 2 года назад

    This was a very useful video for me. I have a suggestion. I tried to follow your affiliate link to buy the product in a way that would benefit you, but it opens the Amazon UK page. Suggest you add a US link to your affiliate products for those of us in the United States.

    • @leepspvideo
      @leepspvideo  2 года назад

      Thanks, it should open in the regions store. I have tried a different link.👍🏻

  •  2 года назад

    At around 8:45 in the video a cat appears very briefly in the bottom right corner. Why?

    • @leepspvideo
      @leepspvideo  2 года назад

      To show what made the noise.

  • @youuniverse9228
    @youuniverse9228 2 года назад +1

    i like your videos ❤

  • @Lp-ze1tg
    @Lp-ze1tg 2 года назад

    Great recommendation, it would be useful if I have an external monitor and use it with ny ipad on the road.
    have you tried it with a pi zero 2 w?

    • @leepspvideo
      @leepspvideo  2 года назад

      I haven’t. It should work fine

  • @Pl89uk
    @Pl89uk 2 года назад

    Tight vnc works fine for me without a monitor on the pi 4.

  • @cyberblaze
    @cyberblaze 2 года назад

    Love the thunder log-in screen, where can I find it please?

    • @leepspvideo
      @leepspvideo  2 года назад +1

      It’s from KDE plasma themes. I made my current setup downloadable. I think the process is shown in one of these videos
      My current Linux OS Setup. Raspberry Pi 4 / 400. Download Links.
      ruclips.net/video/zuo84DRhJPc/видео.html
      My Linux setup part 2 64bit KDE plasma Raspberry Pi 4 / 400. Download Links.
      ruclips.net/video/_FDgsDC4FU0/видео.html
      My new Linux Desktop. Raspberry Pi 4.
      ruclips.net/video/36rOvqaFCLs/видео.html

  • @THE-CRT
    @THE-CRT 2 года назад +1

    What OS do you have there?

    • @leepspvideo
      @leepspvideo  2 года назад +1

      My Linux setup part 2 64bit KDE plasma Raspberry Pi 4 / 400. Download Links.
      ruclips.net/video/_FDgsDC4FU0/видео.html

  • @subomni
    @subomni 2 года назад

    I always thought that the only vncserver that would mirror your monitor/display was x11vnc but online it looks like raspi-config installs realvnc. Is this mirroring feature new in realvnc? I often use tiny TFT displays connected via GPIO and use adafruit's "console configuration" (without X). I then run X applications (and bring up X) only through remote desktop, so I'm wondering if I can somehow take advantage of this speedup. Does the speedup only happen if the rpi thinks that it is also connected (and running X) via hdmi to a real monitor in this mirroring mode?

    • @leepspvideo
      @leepspvideo  2 года назад

      Others have mentioned it is possible with software. I have haven’t found it yet

  • @alanscallycooper5334
    @alanscallycooper5334 2 года назад

    Hi, what iPad App do you use for your VNC desktop please?
    Al.

    • @leepspvideo
      @leepspvideo  2 года назад +1

      apps.apple.com/gb/app/vnc-viewer-remote-desktop/id352019548

  • @brewman467
    @brewman467 9 месяцев назад

    Which Plasma theme do you use?

    • @leepspvideo
      @leepspvideo  9 месяцев назад +1

      Now I use this
      KDE Plasma Pi 5
      ruclips.net/p/PLMJAjiTgBtFnJ4563mevOckNsz5Cm45LH
      With Pi 4 I was using Mars I think. Its in this playlist
      KDE Plasma, 64bit Raspberry Pi OS. custom build downloads available.
      ruclips.net/p/PLMJAjiTgBtFlz0j9xdQwNmLgqmaBscT1T

  • @MrSkyTown
    @MrSkyTown 2 года назад

    Does that streaming run local on your home network or is it cloud based

    • @leepspvideo
      @leepspvideo  2 года назад

      In this video local.
      The Hdmi dummy’s would also help from another location
      Access Raspberry Pi from Anywhere. Remote Desktop.
      ruclips.net/video/CKl7uXfOSrQ/видео.html
      Smart Plug powered Remote Desktop. Raspberry Pi 4.
      ruclips.net/video/LQ__StSwrFs/видео.html

  • @taranagnew436
    @taranagnew436 2 года назад

    can you connect dummy plug to a pi and display it on your main computer (via connect) on windows?

    • @leepspvideo
      @leepspvideo  2 года назад

      You can use vnc viewer on Windows with a dummy plug in the Pi.

  • @markloughtonUK
    @markloughtonUK 2 года назад +1

    I use Microsoft Remote Desktop to connect to mine (using an Android tablet) and don't get that issue. I have nothing plugged in to my Pi's HDMI ports.

    • @musicontv6791
      @musicontv6791 2 года назад

      What OS do you use?

    • @terrydaktyllus1320
      @terrydaktyllus1320 2 года назад

      @@musicontv6791 Isn't the clue in the word "Microsoft"?

    • @musicontv6791
      @musicontv6791 2 года назад

      @@terrydaktyllus1320 i intended what Os in Raspberry pi..

    • @markloughtonUK
      @markloughtonUK 2 года назад

      @@musicontv6791 I use the official Raspberry OS (with GUI). I installed XRDP on the Pi then use the official Microsoft RD Client to connect from an Android tablet.

    • @leepspvideo
      @leepspvideo  2 года назад

      Raspberry Pi OS is so stripped down I don’t think it’s that noticeable if you aren’t using gpu acceleration. I run KDE Plasma as I much prefer the Desktop environment.

  • @lakhdariyahia8492
    @lakhdariyahia8492 2 года назад

    don't give up!, there are more difficult programs then tNice tutorials one

  • @dktol56
    @dktol56 2 года назад

    Can you get sound out of your TV when you do the Chromecast in this setup?

    • @leepspvideo
      @leepspvideo  2 года назад

      I did find a guide to enable it. VNC doesn’t have sound. I think you would need to use a different Remote Desktop

  • @andreweastland9634
    @andreweastland9634 2 года назад

    Does this affect all versions of the pi or only some of them? or is it a software issues affecting a particular version of rasbian? A little detail would be useful pls.

    • @leepspvideo
      @leepspvideo  2 года назад

      Raspberry Pi OS doesn’t seem to suffer as much as it has such a basic desktop environment. I couldn’t find much on older Pi models. I think it’s probably more important now as we can run more complex and feature rich desktop environments on the Pi 4 / 400 benefitting from gpu acceleration.
      See Tim Mooney comment, works with Pi 3

  • @FOSSware_360
    @FOSSware_360 2 года назад

    Hey, would you mind checking whether directly connecting a Pi over USB-C to my iPad with the USB to ethernet mod enabled bypasses the slow speed or would I still need a dummy plug?

    • @leepspvideo
      @leepspvideo  2 года назад

      You would still need a dummy plug as the Pi doesn’t think it’s plugged into a monitor. Usb c iPads don’t accept video input signals.
      Other commenters have mentioned Raspberry Pi os works well even without gpu acceleration as it’s such a light weight desktop environment. I just miss all the window snapping and app searching etc.

    • @FOSSware_360
      @FOSSware_360 2 года назад

      @@leepspvideo Hey, sorry for replying at this point, I was busy yesterday, but I would like to know whether force_hdmi_hotplug affects it in any way? My Raspberry Pi is in a surgery(soldering job) rn (power led broke off coz my bro was being a little piece of b***h) and Can you help me answer this question??

    • @leepspvideo
      @leepspvideo  2 года назад

      @@FOSSware_360 it was enabled throughout my video before and after the dummy plug was used. I would be sure gpu acceleration isn’t enabled

  • @W4TRI_Ronny
    @W4TRI_Ronny 2 года назад

    What does the dongle default to as "Native max resolution?"

  • @tortysoft
    @tortysoft 2 года назад

    I have a monitor which I seldom turn on but which is plugged in. It does the same as the dongle. Booting without the screen plugged in gives me the too large screen. I can get a proper size screen by launching a second VNC server. 192,168.0.x:1 It is totally separate. You could have many screens with different server instances, all of them don't notice the external monitor by default. Launch another VNC server from the terminal ( or via SSH ) by typing vncserver. Follow with :6 for a screen called 6 !

  • @jyvben1520
    @jyvben1520 2 года назад

    would connecting a unpowered dead rpi in place of the dongle work ?

    • @leepspvideo
      @leepspvideo  2 года назад

      I doubt it as the working Pi needs to think it’s connected to a monitor.

  • @nowaynoway1798
    @nowaynoway1798 Год назад

    without realvnc, and with tightvnc, is it possible for GPU acceleration?

  • @pendragonscode
    @pendragonscode 2 года назад +1

    Wtf niceeee

  • @pavan13
    @pavan13 2 года назад

    This is actually really weird I am using my PI 3B+ as an sever for more than 2 years and I do not have hdmi plugged and when i vnc into into the Pi its really smooth that i might be beacuse i have enabled headless resultion and set it to 1280x720 beacuse lower the resultion its beacomes smooth

    • @leepspvideo
      @leepspvideo  2 года назад +1

      Raspberry Pi OS has a different window manager and a much simpler interface. I guess it doesn’t need gpu acceleration, especially at lower resolutions. I find KDE Plasma to offer a much better desktop experience for me.

  • @MarkBuildGood
    @MarkBuildGood 2 года назад

    Couldn’t you just change the config.txt and force hdmi hot plug?

    • @leepspvideo
      @leepspvideo  2 года назад

      It doesn’t work. My KDE build already had this enabled throughout the video

  • @DavidSmithakaTubaDave
    @DavidSmithakaTubaDave 2 года назад +1

    This could be useful for displaying kiosks or smart mirrors.

    • @terrydaktyllus1320
      @terrydaktyllus1320 2 года назад

      Not on a Raspberry Pi, surely? The whole point of the Pi is that it's cheap and small, so you can deploy a lot of them cheaply and quickly. Even a Pi 4 is going to have limited power to do multiple VNC sessions across multiple kiosks, it's different if you were using a high-powered server in a data centre somewhere to provide multiple VNC sessions.
      Kiosks tend to use web interfaces anyway and every smart mirror design that I have seen has the Pi locally on the back of the mirror - usually a Pi Zero variant.

  • @jokejam700
    @jokejam700 2 года назад

    Geht das auf konsole wenn ja wie

    • @leepspvideo
      @leepspvideo  2 года назад

      I would think it’s only needed with a gui

  • @terrydaktyllus1320
    @terrydaktyllus1320 2 года назад +1

    Thanks for at least making a video on this, from a purely technical aspect it is of interest.
    But I couldn't use a Raspberry Pi like that. Linux is amazing and has been my main OS since 2003 but its desktop interface does not work well with "touchscreens for kiddies" interface, whatever the tablet or phone. As far as I am concerned, with a headless machine you're much better off accessing it with SSH and network file systems. I could not work with that awful touchscreen VNC session.
    I have no real love of smartphones or tablets anyway, they are merely "expensive toys" and are not designed for serious computing - it's why the kiddies love them playing their Disney videos in the back of the car. Any that I do have are de-Googled anyway, and I just have them for phone calls, texts, email and a bit of media consumption.
    For proper computing, nothing beats a desktop or laptop computer with a screen, mouse and keyboard - plus I do my computing when I want to and sat down with a coffee, not when the device in my pocket is badgering me for attention and turning me into a complete ignoramus as I go through life peering down at a tiny screen and not looking where I am going.
    I shall file this video under "computing for kiddies".

    • @leepspvideo
      @leepspvideo  2 года назад +2

      LumaFusion on iPad is the video editing app I use for editing all my videos. I’m sure I paid less than £10 for it. It’s paid for itself multiple times over. I can edit in the car while I’m waiting, relaxing on the sofa or in the garden on a deck chair.
      With computers it’s what works for you, I personally feel I would be less productive editing videos with a mouse and keyboard.

    • @stephenvalente3296
      @stephenvalente3296 2 года назад

      @@leepspvideo I agree. There's not always the facility or inclination to drag a laptop around with you. Need to get this going with my multiple underutilised Pi's so can take one when travelling to my Dad's as my work laptop doesn't allow access to everything for security reasons, whereas a headless Pi and iPad would.

    • @timezonewall
      @timezonewall 2 года назад

      I don't like using a tablet to remotely access a headless GUI either, but the video is still useful for those that access the GUI of a headless system from a desktop.

  • @Powergeek2011
    @Powergeek2011 2 года назад

    why don't you connect your ipad directly to the pi through USB c?

    • @leepspvideo
      @leepspvideo  2 года назад +1

      I do already. A tablet is much nicer to use when nothing is plugged in.
      Linux on iPad without a network. Raspberry Pi Zero 2W or Pi4. VNC Direct.
      ruclips.net/video/h-dh2L3X2bs/видео.html

  • @musicontv6791
    @musicontv6791 2 года назад

    I'm using now these parameters found on the web on config.txt and it seems to work headless "
    # uncomment if hdmi display is not detected and composite is being output
    hdmi_force_hotplug=1
    # uncomment to force a specific HDMI mode (this will force VGA)
    hdmi_group=2
    hdmi_mode=82
    # Enable DRM VC4 V3D driver
    dtoverlay=vc4-fkms-v3d
    max_framebuffers=2
    "
    P.S. note fkms instead of kms on dtoverlay

    • @leepspvideo
      @leepspvideo  2 года назад

      Have you tested to see if the performance is better? The dongle made a noticeable improvement with KDE Plasma.

    • @musicontv6791
      @musicontv6791 2 года назад

      @@leepspvideo it's not laggish, as i would have the cable attached but I'm not sure if this is a definitive solution.You can make a try to confirm it and says what is better.