How to Rotate Raspberry Pi Video Display / Screen

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ม.ค. 2025

ความคิดเห็น • 122

  • @harveymadison7528
    @harveymadison7528 5 ปีที่แล้ว +2

    Thank you for pointing out the difference between "display" and "lcd" - I have a non-touchscreen and couldn't figure out what I was doing wrong. Problem solved!

  • @chellochamber7839
    @chellochamber7839 6 ปีที่แล้ว +2

    THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I've been typing "lcd_rotate=2" for the last 2 hours!

    • @Chris-wq3pe
      @Chris-wq3pe 6 ปีที่แล้ว +1

      my problem too! it's weird how many places on the web say to use lcd_rotate when it's actually display_rotate you should be using !

  • @arturzabiegala6985
    @arturzabiegala6985 5 ปีที่แล้ว +5

    For touch screan is : lcd_rotate=2 not : lcd_rotate-2

  • @TheStartobecome
    @TheStartobecome 3 ปีที่แล้ว +2

    Hi! Thank you for this video. I have a lcd display without the raspberry pi cause I only need the lcd to monitoring my pc. The thing is that to fit on my pc I have to turn the screen upside down. Is it possible to reverse the image on the lcd screen ?

  • @Zagnotoft
    @Zagnotoft 5 ปีที่แล้ว +1

    So this definitely isn't working for me. It makes it vertical, but the 16:9 aspect ratio remains. Meaning I physically have to turn the monitor to see the display, BUT half of it is hanging off the monitor since it's still a widescreen aspect ratio. Instead of making it 9:16. Any ideas? Also, this makes my Pi UNGODLY slow. It takes 5 minutes to just revert back because every stroke of the keyboard takes up to 30 seconds to update. It's completely unusable.

  • @Whigu
    @Whigu 7 ปีที่แล้ว +12

    This is bit scary... Just few hours ago I was searching is it possible to rotate the display using that config file and now you uploaded this video :-D

  • @proxlamuz4591
    @proxlamuz4591 2 ปีที่แล้ว

    Thank you! this helped for my Pi4! you rock

  • @OvertakeGT
    @OvertakeGT 7 ปีที่แล้ว +12

    Also for the 7inch Touch screen, use *lcd_rotate=2* (This also flips the touch interface as well as the display) :)

    • @Core-Electronics
      @Core-Electronics  7 ปีที่แล้ว +1

      Thanks for the tip!

    • @davenilson8613
      @davenilson8613 5 ปีที่แล้ว +1

      this only works on DSI attached displays. not HDMI

    • @mosfet303
      @mosfet303 4 ปีที่แล้ว +1

      Didn't work for mine. Did nothing. Display_rotate=2 worked but lcd_rotate=2 flipped back upside down.

    • @mosfet303
      @mosfet303 4 ปีที่แล้ว

      @@IcesHouse actually I did, I moved that chunk of code to very top of file, before anything. Then worked great

  • @W3D69
    @W3D69 2 ปีที่แล้ว

    Thank you for sharing this bro,
    Can made a video about how to calibrate the touchscreen?

  • @hikenadventure
    @hikenadventure 5 ปีที่แล้ว

    May have said this before but a massive help, thank you.

  • @itsvarengan5042
    @itsvarengan5042 6 ปีที่แล้ว +3

    Thank you, this helped me a lot! I’m happy 😊

  • @MiTekneek
    @MiTekneek 4 ปีที่แล้ว

    Excellent work bruv direct and to the point!!

  • @jackwebb2425
    @jackwebb2425 5 ปีที่แล้ว

    A million thanks for this video. I modded an Arcade1up cab with RaspberryPi and my display was rotated 270deg. I added the line you suggested and used "3"...WORKED perfectly!!! thank you so much.

  • @xRANDALLxFLAGG
    @xRANDALLxFLAGG 5 ปีที่แล้ว +2

    thank you for this. Now I can play a TON of vertical games on my pac man arcade 1up!

  • @MirkoKay
    @MirkoKay 5 ปีที่แล้ว +8

    display_rotate=1 works fine, but what about the toucharea that you talk about in the beginning. The toucharea is not rotated. How am I doing that?

  • @giusepearturo
    @giusepearturo ปีที่แล้ว

    thanks from Colombia :)

  • @cyberstar251
    @cyberstar251 6 ปีที่แล้ว +1

    is it possible to use a script and a gyroscope to automatically rotate the screen? cause i have an old dvd player that i wanna use as a case and it has a screen that turns 180 on a hinge.

  • @rkvenom7699
    @rkvenom7699 3 ปีที่แล้ว +1

    Hello, how do you lower the brightness of the touch screen?

  • @RockinJohnnyaitken
    @RockinJohnnyaitken 4 ปีที่แล้ว

    Thank you so much I been trying to work that one out for days, as you can guess am new to programming and the raspberry pi

  • @markgiles8527
    @markgiles8527 2 ปีที่แล้ว

    I'm trying to rotate the lcd screen. I'm using lcd_rotate=2. When the pi boots up the screen is orientated the correct way. The Bright Red in the top left corner. The the blinking line in the top left corner. Then the Welcome Screen. When it finishes the boot process the screen is upside down again. So I have the rotate=2 and I have had to invert the image in Screen Configuration. Is this normally the way?

  • @MALEKBAFADHLAKE
    @MALEKBAFADHLAKE 3 ปีที่แล้ว

    Thanks. Worked well

  • @McGuinness89
    @McGuinness89 3 ปีที่แล้ว +1

    Not working on Raspberry pi 4. Any fix?

  • @CodingWithBen
    @CodingWithBen 4 ปีที่แล้ว

    Thank you so much. Needed to rotate my screen as it has a stand but if you stand it up it’s e wrong way. I used this to fix it 😃 👍

  • @davenilson8613
    @davenilson8613 5 ปีที่แล้ว +1

    Great succinct video. Is there a way to rotate an HDMI connected touchscreen 180 degrees, so that the touchscreen still works? thanks!

    • @AX-Lucid
      @AX-Lucid ปีที่แล้ว

      He said it in the video, use “lcd_rotate=#”

  • @HomeGymDad
    @HomeGymDad 2 ปีที่แล้ว

    Hi, followed your instructions with a 7'' touch screen, the screen flips on boot correctly but then stays a black screen? Any ideas how to get the raspberry pi 4 to work after that (nano 5.4 used) - thanks

  • @ckjjclan
    @ckjjclan 3 ปีที่แล้ว

    Can you rotate AND flip or reverse the screen, so you could put the monitor under a teleprompter ?

  • @hgreenleaf
    @hgreenleaf 4 ปีที่แล้ว +1

    I'm trying to run an image on a Pi4 and when I rotate the screen using display_rotate=3, and disable_overscan=1. It does rotate but the image is half way off the screen to the right. How do I center the image? Thanks, good video.

    • @camulrich465
      @camulrich465 4 ปีที่แล้ว

      Did you find a solution? I'm dealing with the same issue

    • @hgreenleaf
      @hgreenleaf 4 ปีที่แล้ว

      @@camulrich465 Yes, thank you for the response.

  • @Dillon1791
    @Dillon1791 ปีที่แล้ว

    This config.txt mod isn't working with my updated raspberry pi 4 (4gb) with open auto loaded. I also don't have a mouse cursor in the OS.
    Any help?

  • @mktaia
    @mktaia 6 ปีที่แล้ว

    Hi, I loved your video. I would like to know if how would the procedure to rotate the screen in the RetrorangePi system, I use an orange pi zero. because there is no config.txt file. thank you.

  • @futurepower89
    @futurepower89 5 ปีที่แล้ว

    Awesome video!! Very rare to find clarity with these kinds of things. Is there a way to adjust rotation in individual screens especially now with Rasp pi 4's dual HDMI out?

  • @MetaDualidad
    @MetaDualidad 2 หลายเดือนก่อน

    y en la Orange Pi con display MPI3508? probe configuraciones de display que no permiten girar este display, probe con xdrard, probe a modificar el config.txt y nada..

  • @dexterding4780
    @dexterding4780 3 ปีที่แล้ว

    Hi! Cant seem to rotate it. Also when i delete overscan the black line borders comes is. Using a raspberry PI 4 module B.

  • @KRS_5150
    @KRS_5150 4 ปีที่แล้ว

    I can not get mine to go the correct way. I’ve tried literally everything here. I have it plugged into a monitor with micro hmdi to hdmi. It’s either sideways or upside down but won’t go the right way. Any ideas????? Thanks in advance

  • @veerendrababubommakanti5463
    @veerendrababubommakanti5463 2 ปีที่แล้ว

    Hello Bro, I looking for the tutorial as same but not exactly. In my case HMI console is flipped but when i enable GUI its actually good Do any one have an idea that how to invert or flip the console terminal or tty only it should not rotate GUI screen!

  • @dabalance
    @dabalance 6 ปีที่แล้ว

    How would I go about using this for a HUD setup?

  • @samanehrabieniaharatbar7604
    @samanehrabieniaharatbar7604 5 ปีที่แล้ว

    I was wondering is it the same for RPi picture?

  • @alexanders2654
    @alexanders2654 4 ปีที่แล้ว

    would this command work the same for Kali? I didn't get the same results

  • @lordlobo9798
    @lordlobo9798 4 ปีที่แล้ว

    how do you change the display when you have kali as an os ?

  • @tillmerlinschmiedl9178
    @tillmerlinschmiedl9178 6 ปีที่แล้ว

    Yes man thanks for this information😊👍👏

  • @Chris-wq3pe
    @Chris-wq3pe 6 ปีที่แล้ว

    thanks!! i could not get my screen rotated at all as everywhere I had read, even in many config.txt help file pages said to use lcd_rotate. A lot of bad info out there! your tip to use display_rotate worked right away. I realise lcd_rotate will rotate touch controls but most people are not using touch controls. display_rotate should be the default tip out there, and it doesn't seem to be. weird!
    liked and subbed. great video well done.

  • @jerospace
    @jerospace 6 ปีที่แล้ว

    This is genius! Thank you so much and I’m subscribing now!

  • @volkinaxe
    @volkinaxe 3 ปีที่แล้ว

    this got me into the .txt boot but it was blank and i have no clue what to do now ?

  • @yatto2377
    @yatto2377 6 ปีที่แล้ว

    i have a small spi lcd which colors are iverted it happens whith all of them i tested using 7 of them and 3 different raspberry pi

  • @furiouspy1
    @furiouspy1 7 ปีที่แล้ว

    Great video ! Thanks a lot

  • @carter_v8760
    @carter_v8760 6 ปีที่แล้ว

    I just recently purchased one of these monitors and I cannot get the image to fit the screen. It seems to be extremely enlarged and I can only see the top left of the display. I do have bezels on the image I don't know if that has anything to do with it but the bezels and everything or display properly but the actual image of the game in retropie does not fit the space in the center it just shows it very enlarged and only the left top corner

  • @dhmu5tang71
    @dhmu5tang71 3 ปีที่แล้ว

    When I hit the ctrl + x it takes my cursor away and it dont pop up save?

  • @MicahHidlebaugh
    @MicahHidlebaugh 5 ปีที่แล้ว

    ctrl+shift+plus sign, to enlarge the terminal, then ctrl+ minus sign, to make the terminal text smaller.

  • @jackburton9507
    @jackburton9507 6 ปีที่แล้ว

    thank you ,excellent tutorial ,I just rotated a 22 inch monitor for a magic mirror type setup ..JB

    • @jackburton9507
      @jackburton9507 6 ปีที่แล้ว

      also just rotated my pi foundation 7" LCD so i could hang it under a shelf above my desk

  • @jacksonmorgan8291
    @jacksonmorgan8291 3 ปีที่แล้ว

    thanks my neck was getting sore trying to figure out how to do this

  • @stevealbon6745
    @stevealbon6745 2 ปีที่แล้ว

    Done it, screen configuration then layout screens DSI ORIENTATION inverted

  • @junmorales5507
    @junmorales5507 3 ปีที่แล้ว

    Thank you Thank you very much

  • @bibeksingh7773
    @bibeksingh7773 3 ปีที่แล้ว

    Could you help me rotate the touch?

  • @geekconnoisseur
    @geekconnoisseur 6 ปีที่แล้ว

    How to rotate to vertical for ONLY shoot'em up games?

  • @perryhutchlee3743
    @perryhutchlee3743 3 ปีที่แล้ว +1

    Sick video man much appreciated!👍🏼👍🏼👍🏼

  • @gothicghost1970
    @gothicghost1970 4 ปีที่แล้ว

    how do you rotate the 7inch official screen running RECALBOX on Raspberry Pi 4 8gb ram ????

  • @Jokamutta
    @Jokamutta ปีที่แล้ว

    I tried both lcd_rotate=2 and display_rotate=2 but does not work in my HDMI connected touch screen for some reason :(

  • @masonhetherington8175
    @masonhetherington8175 4 ปีที่แล้ว

    When I try and rotate the screen 270⁰ it works but a third of the screen from the right side over is cropped off and if I move my cursor too close my screen stretches and freezes. Any solutions?

  • @jadonwilliams9194
    @jadonwilliams9194 6 ปีที่แล้ว

    Finally. Thank you.

  • @Monarky777
    @Monarky777 3 ปีที่แล้ว

    its lcd_rotate=2 doing display_rotate and teh new software didnt seem to work

  • @tomyracing78
    @tomyracing78 5 ปีที่แล้ว

    hello is very good how to rotate the screen, but how broken the touchscreen? greetings and thanks

  • @aminouali3084
    @aminouali3084 3 ปีที่แล้ว

    hello, I liked your project. I also have a similar project but I cannot rotate the screen. in my "config.txt" file there is no "display_rotate" please help me.

  • @markburch9039
    @markburch9039 6 ปีที่แล้ว

    So i have the 3.5 inch touch screen and have been trying to do the lcd_rotate=2 command and then rebooting it but it hasn’t worked. What should i do
    I just tried the display_rotate and it flipped my hdmi screen but still nothing with my 3.5 inch display
    Its like it doesn’t recognize that i have an lcd display connected

  • @alexbatkalin3048
    @alexbatkalin3048 ปีที่แล้ว

    if I somehow removed the date and time from raspberry pi how can I put them back?

  • @andrewkirk1112
    @andrewkirk1112 3 ปีที่แล้ว

    how would you do this on a pi4 this command does not work thanks

  • @markrogercabadsan1127
    @markrogercabadsan1127 7 ปีที่แล้ว

    is this applicable too for the raspbian jessie? cause I had tried lcd_rotate=1 but it didn't changed anything :/

    • @punroonraungrit4136
      @punroonraungrit4136 6 ปีที่แล้ว

      i think it because it got to be display_rotate=1 not lcd_rotate=1

    • @minghiatv
      @minghiatv 6 ปีที่แล้ว

      I tried both but my screen is the right way around but the screen is being rendered as if it was still the old way.

  • @eddiesanmarcosr8301
    @eddiesanmarcosr8301 2 ปีที่แล้ว

    Need instructions for SD card in laptop and not Linux if you can please. Nothing I've tried is working to far. I have the Arcade1up cabinet and display i'm using

  • @jorv1971
    @jorv1971 6 ปีที่แล้ว

    What is the difference between"rotate" and"flip"?

  • @KJ7JHN
    @KJ7JHN 4 ปีที่แล้ว

    Hey Sam, great stuff: I have a question for you. How can I split the screen on the raspberry for VR use? I expect it is similar to this video. Any suggestions would be awesome. Keep up the awesome work.

    • @KJ7JHN
      @KJ7JHN 4 ปีที่แล้ว

      More specifically, i'm using a lcd with driver board connected to a raspberry pi. This setup is mounted in a gear vr. I'd like to be able to connect to create.arduino.cc and program online. The split screen is more for programming, than gaming.

    • @cedric6941
      @cedric6941 4 ปีที่แล้ว

      I sadly dont think the raspberry pi can handle vr, depends on if you have the 4th one though. Im not sure how to split it

    • @KJ7JHN
      @KJ7JHN 4 ปีที่แล้ว

      @@cedric6941 Yeah, it isn't able to handle VR in the gaming sense. I was hoping more for splitting the screen. So I can load create.arduino.cc and program while in bed, or on lunch break. The screen just needs to be duplicated. I've looked into Xamarin, or C#, for android, ei yei yei. I might give in and just create an android app using the C# runtime. left eye is the primary data, right eight is just a copy. I've also thought about the possibility of transmitting the buffer to each eye, then allow transformations if needed. The song "where have all the cowboys gone" but programmers instead, keeps playing in my head. I've been lookin' to learn c#. dot . dot . dot .

    • @cedric6941
      @cedric6941 4 ปีที่แล้ว

      @@KJ7JHN I sadly dont really know how to do so, but you can try finding your answer here : lb.raspberrypi.org/forums/viewtopic.php?t=121254

  • @davinderwilliams4774
    @davinderwilliams4774 ปีที่แล้ว

    I just tried this, but after rotating the screen once I'm now stuck on the welcome screen whenever I turn on the raberry PI. Any idea how to fix this?

  • @arielbertinatti2791
    @arielbertinatti2791 6 ปีที่แล้ว

    muchas gracias,saludos desde argentina

  • @shadowsilhouette8499
    @shadowsilhouette8499 4 ปีที่แล้ว

    I can get it to flip upside down with lcd_rotate=2, but I need it on it's side like portrait, and it won't do that with =1 or =3. errr.....

  • @jamesmonaco5306
    @jamesmonaco5306 3 ปีที่แล้ว

    Thanks Sam....

  • @arionex
    @arionex 2 ปีที่แล้ว

    Thank you

  • @stevealbon6745
    @stevealbon6745 2 ปีที่แล้ว

    Mine only works using the Legacy version

  • @gregregister7334
    @gregregister7334 5 ปีที่แล้ว

    Where can a LIST OF ALL COMMANDS be found

  • @dolphinman5390
    @dolphinman5390 3 ปีที่แล้ว

    It isn’t working for me I’m using raspian that has retro pie also built on top of it

  • @Tezca-39
    @Tezca-39 3 ปีที่แล้ว

    I tried both and it is still not workin. Am I missing a driver or something?

  • @ramakrishnamishra8179
    @ramakrishnamishra8179 6 ปีที่แล้ว +4

    This method causes performance drop.

  • @Robbzillaaa
    @Robbzillaaa 3 ปีที่แล้ว

    I’ve tried on my pi4 tried and double check still no result

  • @drummer4hire12
    @drummer4hire12 4 ปีที่แล้ว

    Thank you!!!!!

  • @violencejack750
    @violencejack750 3 ปีที่แล้ว

    works with my raspberry Pi1 but not the Raspberry pi 4.

  • @mrfabulous1978
    @mrfabulous1978 3 ปีที่แล้ว

    It didn’t work
    I have done it before but now it makes no change

  • @loungeroomdave7575
    @loungeroomdave7575 6 ปีที่แล้ว

    Thanks mate

  • @SO42
    @SO42 2 ปีที่แล้ว +1

    tysm

  • @Fullscreen007
    @Fullscreen007 3 ปีที่แล้ว

    UPDATE:
    Ok have found the right command (display_lcd_rotate=3), but the Touch is still not working right.
    Use a RPi4 with Kali Linux AMD original 7" touch display

  • @afistfulofpimples1745
    @afistfulofpimples1745 5 ปีที่แล้ว +1

    No....this causes a huge performance drop. Why didn't you mention this?

  • @antonioferro4424
    @antonioferro4424 4 ปีที่แล้ว

    Bro please help me. I rotated 90 deg and now my pi screen is distorted and i cant even move my mouse. its stuck!

  • @KatyMcVay
    @KatyMcVay 5 ปีที่แล้ว

    worked great to flip my 7" LCD 180, thanks

  • @kevinvanveelen9386
    @kevinvanveelen9386 6 ปีที่แล้ว

    I see how he comment it out. But he went sooooooo fast. How did he save the change?

    • @minghiatv
      @minghiatv 6 ปีที่แล้ว +2

      Isn't just Ctrl X and hit the y key?

  • @soulrock6454
    @soulrock6454 6 ปีที่แล้ว

    Thanks!!!!

  • @jdaudiomastering8617
    @jdaudiomastering8617 4 ปีที่แล้ว

    fyi if you are using a vpn on your raspberry pi and have no idea why is not rotating, is because it only rotates on the hdmi display

  • @willgates6620
    @willgates6620 3 ปีที่แล้ว

    Please help!!!!

  • @lukas_FPV_X
    @lukas_FPV_X 10 หลายเดือนก่อน

    doesnt work nowdays bruh

  • @garysmith2389
    @garysmith2389 6 ปีที่แล้ว

    does anyone know how to configure a LCD touch screen to work with a HDMI monitor, in other words make a Raspberry work in Dual screen mode?

  • @slappymcphee
    @slappymcphee 4 ปีที่แล้ว

    you fail to talk about the biggest challenge for people with 16:9 screens which is most of them. this does not work as others have mentioned because it will not fill the screen as a 9:16. Your video title and description are misleading and therefore you are gaining revenue from people watching your video not getting the help they actually need.

  • @narumango22
    @narumango22 3 ปีที่แล้ว

    Didn't work

  • @angelo327able
    @angelo327able 5 ปีที่แล้ว

    Can you talk any faster and move on before anyone not speeding can actually digest what you said.

    • @UNDERDOGMMA
      @UNDERDOGMMA 4 ปีที่แล้ว

      Michael Angelo that’s why there is pause, fast forward, rewind etc. try to keep up

  • @antonnewalker6488
    @antonnewalker6488 3 ปีที่แล้ว

    Didnt work