FIX Missing or Change Screen Resolutions on Linux VMs / Computers by using XRANDR. (Linux Beginners)

Поділитися
Вставка
  • Опубліковано 18 вер 2024
  • Learn How to FIX Missing / Change Screen Resolutions on Linux VMs / Computers by using XRANDR. This video was intended for Linux Beginners or users who are trying to fix their resolution in virtual machines. (Hyper-V, VMware, and VirtualBox) without installing Guest Additions tools. XRANDR can help add or modify existing screen resolutions quickly through the command line.
    My Linux Cheat Sheet and 25 Page Checklist here:
    📚 learn.savvynik...
    Share this free tool and support Small UA-camrs
    editbulk.com
    (I made this tool to help creators)
    Useful Links/Commands:
    Discord Link: / discord
    #linux #admin #command

КОМЕНТАРІ • 70

  • @austinoquinn815
    @austinoquinn815 3 роки тому +9

    Your videos are so high quality. Hope your channel continues to grow!

    • @SavvyNik
      @SavvyNik  3 роки тому +1

      I appreciate that, Austin!! Means a lot. I'll keep them coming ;)

  • @poro167
    @poro167 6 місяців тому +1

    Way better than the virtual box addition method and it worked perfectly. Great video

  • @thelinuxpub
    @thelinuxpub 7 місяців тому +2

    I wish i had seen this video before. Thanks bro

  • @chromerims
    @chromerims Рік тому +1

    Excellent video 👍
    What is distinct about this video compared to another is:
    xrandr --output which flips the resolution real-time.
    Kindest regards, neighbours.

  • @muralikrishnan6806
    @muralikrishnan6806 2 роки тому +7

    I'm facing 'Xrandr failed to get size of gamma for output' error. Pls help me 🥺

    • @ericneo2
      @ericneo2 Рік тому +2

      Just more broken linux... I'm so tired of everything in linux being busted by default.

    • @ali_linux5097
      @ali_linux5097 Рік тому

      @@ericneo2 did u find any solution

    • @ericneo2
      @ericneo2 Рік тому +1

      @@ali_linux5097 Yep, I dropped the distro like a brick and went back to ubuntu. From all the googling I did the only answer I could find was either the GPU or the XRANDR implementation was done incorrectly enforcing an unchangeable default value. Even if you manually created new configs with new values they would be ignored.

  • @ajharulislam1165
    @ajharulislam1165 Рік тому +2

    Thanks for the help ❤

  • @y0xviii
    @y0xviii 2 роки тому +4

    bro i need help
    i changed the resolution but the ratio is messed up can you help me

    • @y0xviii
      @y0xviii 2 роки тому +1

      Someone liked but didn't gave the answer how can I fix it?🥲

  • @Lotzuho
    @Lotzuho 2 роки тому +1

    What desktop (and distro) are you using at the beginning of the video?

    • @SavvyNik
      @SavvyNik  2 роки тому

      Here's a video with my setup - ua-cam.com/video/LBNEW4ZKvEc/v-deo.html

  • @Vale91kk
    @Vale91kk 2 роки тому +3

    Error of failed request: BadMatch (invalid parameter attributes) ((

  • @ismaelfernandezmendez1664
    @ismaelfernandezmendez1664 Рік тому +1

    Solved my problem. I'm using a Lenovo Legion 5 15ITH6H with a Dual Boot with Windows 11. I only use Windows 11 to game, so I rarely get to Windows, but Windows seems to be killing my Ubuntu 22.04 LTS somehow, if that makes sense.
    Not so long ago, I had a serious issue. Normally, I use my Ubuntu as a workspace so I connect an external display via HDMI, but when I game on Windows I normally don't use the other monitor since it's 60 HZ and it's junk compared to the built-in 165 Hz monitor of the laptop. But one day I got to Windows using both displays, and for whatever reason Windows made that "driver updated/installed" noise, but I ignored it and continued gaming. So when I got back to Ubuntu, the second monitor wasn't getting detected. I researched on AskUbuntu (I'm not a Linux pro, this is why I chose Ubuntu over other distros, because it has a huge community and it helps in this occasions) and I tried almost everything. I messed up real good, I followed an answer telling me to uninstall Intel drivers, so I did, and when I restarted the built-in display didn't even work and it only worked on the external monitor, but even then, WiFi wasn't working which was a big mess. Hopefully, I have an USB with Ubuntu 22.04 LTS in it with me so it wasn't a big problem to recover it.
    However, it happened again about two weeks ago, same thing, got to Windows, you know the rest. This time, I didn't uninstall Intel drivers but I purged my Linux NVIDIA drivers so I could manually install an stable version that works for me (525.60.11). Everything got back as expected but I couldn't choose between 60 and 165 HZ anymore, which annoys me since Linux it's not really that battery-friendly with Laptops and I don't really care about the refresh rate if I can save some battery. I researched again and I found some post about modifying EDID on Windows, but I found that it was a bit overcomplicated, and at the end I found this video.
    OSTechHelp video 'How to add custom screen resolution permanently on Ubuntu | Fix missing resolution in display Linux' did the trick for me to made it permanent again.

    • @SavvyNik
      @SavvyNik  Рік тому

      Thanks for sharing the exp

  • @khaisarameena4109
    @khaisarameena4109 11 місяців тому +1

    Virtual1 what is this mean???
    Xrandr :cannot find output "Virtual1"
    Plz help me come out this problem

    • @SalmanMehmoodShah
      @SalmanMehmoodShah Місяць тому +1

      For your it can be different type xrandr in terminal and see what is written to the left of connected display

  • @EchoTheTechDude
    @EchoTheTechDude 2 роки тому +1

    Thanks this help with cutefish display settings not working im using rebornOS with the cutefish DE

  • @Yadnesh_
    @Yadnesh_ Рік тому +1

    Sir my is not selecting 1080p resolution please help me

  • @muhammadwaizrehman643
    @muhammadwaizrehman643 Рік тому +1

    Last step error in my desktop
    xrandr: cannot find output "Virtual1"
    Plz help me Plz Plz

    • @ashishhembrom3905
      @ashishhembrom3905 Рік тому +1

      Thats because your monitor is not Virtual1. Type in xrandr and it will give "display name" connected primary.
      That display name is what you should type in when adding commands for output.

  • @romeorajkumar2937
    @romeorajkumar2937 8 місяців тому +1

    It really worked🎉🎉

  • @vinay814
    @vinay814 4 місяці тому

    what to do with ultrawide monitors, can I get 3440x1440 with 21:9 ratio. Currently my screen looks stretched….

  • @joshuak6968
    @joshuak6968 2 місяці тому

    I did this with Linux Mint and I got an "unknown display virtual 1" message in the top left, and I cannot get rid of it.

    • @zero8969
      @zero8969 14 годин тому

      Well there are different names of displays
      Some have hdmi some have vga some have virtual
      So first do xrandr --verbose
      Do it after --newmode
      And you will see your display which you want to set and after that there will be some things like Vga-1 or smt smt
      So that's your display type
      Hence instead of write
      Xrandr --addmode virtual1 1920*1080
      You can do
      Xrandr --addmode your display your resolution

  • @thelinuxpub
    @thelinuxpub 6 місяців тому

    It worked well in Arch based distros but in Parrot OS it mentioned CTRC

  • @atharva3562
    @atharva3562 Рік тому

    bro what should i do ...i am using linux mint ( mate ) latest ......... at commond -- /.profile its saying unknown....?

  • @AlAmin-vp7me
    @AlAmin-vp7me Рік тому

    this is not working in my case .
    1920*1080 is coming but it's not woking after a few second
    what can i do

  • @yaboiZ1230
    @yaboiZ1230 3 роки тому +1

    I have a question, my computer was running slower when i used linux than when i use windows, do you know why?

    • @SavvyNik
      @SavvyNik  3 роки тому +2

      No idea. It could be a lot of things. Perhaps you have a NVidia graphics card and need to install the proprietary drivers.

    • @yaboiZ1230
      @yaboiZ1230 3 роки тому +2

      @@SavvyNik ok, thanks

    • @y0xviii
      @y0xviii 2 роки тому

      check the drivers

    • @thelinuxpub
      @thelinuxpub 7 місяців тому +1

      It depends on Kernel Type, Amount Of programs, Desktop Environment etc. When Windows was unable to move my PC linux revived it. Probably you may be using KDE plasma as desktop environment. Before Installing any Linux Distro, read System Requirements.

  • @youtoobeast
    @youtoobeast 11 місяців тому +1

    thank you very much

  • @arjunk9726
    @arjunk9726 2 роки тому +1

    Thanks Bro....😍😍

  • @chaz_pounder
    @chaz_pounder 8 місяців тому

    TY! was stuck at 60hz with a 165 monitor

  • @irekmaster187
    @irekmaster187 Рік тому +1

    great tip. Thank you

  • @viniciusmarins9248
    @viniciusmarins9248 2 роки тому +1

    Dont work in pop os =/

  • @nahidislam6880
    @nahidislam6880 8 місяців тому

    Everything is okay, But when I reboot my pc then again undo all of thing

  • @Mrmaratha-z3i
    @Mrmaratha-z3i Рік тому

    Bro my is not working plz help I am not able to get 1080p resolution

  • @drej14
    @drej14 5 місяців тому

    Xrandr says can't open display 😢 please help

  • @yumyum3242
    @yumyum3242 3 роки тому +3

    _yum was here_

  • @andyby
    @andyby 2 роки тому

    Nice video! I was hoping it would fix my problem, but it doesn't seem to. I could add the resolution just fine, but trying to change resolution at all just won't stick. I can select the resolution I want to use, I hit apply and for a brief second it changes resolution, then it just reverts back. Running Debian with KDE on VirtualBox. Any clue what might be wrong?

    • @andyby
      @andyby 2 роки тому +1

      Of course I ended up finding the fix right after commenting. If anyone else stumbles over this, running KDE in a VM has a known issue where you're unable to change screen resolution. Disabling KScreen2 fixes the problem.

    • @mdhyderalikhan8725
      @mdhyderalikhan8725 15 днів тому

      Help me im new to linux i installed Cutefish OS
      i want to go to 720p but my it is on 1080p by default
      after following the steps from the video
      nothings changes

  • @berhankarakas8154
    @berhankarakas8154 3 роки тому

    Hello i have out of range problem how can i fix?

    • @y0xviii
      @y0xviii 2 роки тому

      just choose a resolution supported by your monitor

  • @Mimohastam
    @Mimohastam Рік тому

    Does this work in wayland too?

    • @SavvyNik
      @SavvyNik  Рік тому +1

      No xrandr is a x windowing system tool

  • @niflag
    @niflag Рік тому

    cvt not found

  • @unnamed3533
    @unnamed3533 Рік тому

    Too much words. Trying to make the video as long as possible.

    • @SavvyNik
      @SavvyNik  Рік тому

      Maybe, maybe not

    • @unnamed3533
      @unnamed3533 Рік тому

      @@SavvyNik I watched your video at 1.5 speed and it still wasn't enough.

    • @unnamed3533
      @unnamed3533 Рік тому

      @@SavvyNik and besides, it didn't even help.

    • @SavvyNik
      @SavvyNik  Рік тому

      Yeah totally sucked

  • @mattmeyers8523
    @mattmeyers8523 Рік тому

    Slow down