Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Mac Mini resolution out of range at grub and desktop enviroment

  1. #1
    Join Date
    Apr 2009
    Location
    Italy
    Beans
    11
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Mac Mini resolution out of range at grub and desktop enviroment

    Hi, I have a trouble with a computer where I installed Ubuntu 20.04, which doesn't recognize my display properly. I managed to set a proper resolution adding following xrandr commands to my .profile file:

    Code:
    xrandr --newmode "1600x900_60.00"  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync
    xrandr --addmode HDMI-3 1600x900_60.00
    xrandr --output HDMI-3 --mode 1600x900_60.00
    Now I'd like at least to set proper resolution to gnome, in order to correctly display the login screen (at the moment I have just one user with automatic access just to set things right, but I'm planning to add two more user each with its password). I edited /etc/gdm3/Init/default but nothing changed, I have a message on my monitor saying "out of range" resolution. I also copied my ~/.config/monitors.xlm to /var/lib/gdm3/.config folder but again, with no result

    Plus, I'd like to be able to see the grub menu, even in a lower than native resolution, but editing the config file and setting the GRUB_GFXMODE and GRUB_GFXPAYLOAD variables gave no results.

    It seems that the computer believes that the correct output should be 1920x1080, but it's obviously wrong because maximum resolution is 1600x900. I'm suspecting that it could have something to do with the framebuffer and some kernel module but I'm not that skilled to mess with those things.

    How can I troubleshoot this problem? Any help is much appreciated.

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: resolution out of range at grub and desktop enviroment

    You may have to install read-edid.
    Monitor EDID
    sudo get-edid | parse-edid
    http://askubuntu.com/questions/81370...from-a-monitor

    What brand/model system?
    What video card/chip?
    What monitor, although above command should show details.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Apr 2009
    Location
    Italy
    Beans
    11
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: resolution out of range at grub and desktop enviroment

    Hi fred, thank you for your reply and sorry me for the late answer.
    Answering your questions:
    - System is a Mac Mini
    - Video card is integrated Intel graphics:
    Code:
    description: VGA compatible controller
           product: 2nd Generation Core Processor Family Integrated Graphics Controller
    - Monitor is an HP model 2009v

    I tried to install the utility you suggested me and the output was:
    Code:
    Section "Monitor"
        Identifier "HP 2009"
        ModelName "HP 2009"
        VendorName "HWP"
        # Monitor Manufactured week 38 of 2009
        # EDID version 1.3
        # Digital Display
        DisplaySize 440 250
        Gamma 2.20
        Option "DPMS" "true"
        Horizsync 24-85
        VertRefresh 48-76
        # Maximum pixel clock is 150MHz
        #Not giving standard mode: 1280x1024, 60Hz
        #Not giving standard mode: 248x155, 60Hz
    
        #Extension block found. Parsing...
        Modeline     "Mode 12" 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync 
        Modeline     "Mode 0" 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync 
        Modeline     "Mode 1" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
        Modeline     "Mode 2" 
        Modeline     "Mode 3" 74.250 1280 1390 1420 1650 720 725 730 750 +hsync +vsync
        Modeline     "Mode 4" 
        Modeline     "Mode 5" 
        Modeline     "Mode 6" 
        Modeline     "Mode 7" 27.027 720 736 798 858 480 489 495 525 -hsync -vsync
        Modeline     "Mode 8" 
        Modeline     "Mode 9" 
        Modeline     "Mode 10" 
        Modeline     "Mode 11" 
        Option "PreferredMode" "Mode 12"
    EndSection
    But I don't know at all what does this command do and how it can help solving my problem. What should I do now?

  4. #4
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: resolution out of range at grub and desktop enviroment

    It says it sees your monitor.
    And Intel video should just work.

    But Apple Mac are different.
    Moving to Apple subforum.

    I saved some old threads, do not have much that is new. But do not know details of Macs.

    [SOLVED] Video performance of Ubuntu 16.04 on 2007 Mac Mini 2,1 (Intel Integrated 945GM/GMS)
    https://ubuntuforums.org/showthread.php?t=2349732
    Ubuntu 15.04 on Mac Mini 2,1 with EFI boot (2007 Intel)
    https://ubuntuforums.org/showthread.php?t=2287767
    Mac Mini
    http://heeris.id.au/2014/ubuntu-plus-mac-pure-efi-boot/
    http://askubuntu.com/questions/56340...without-refind
    http://ubuntuforums.org/showthread.p...0#post13355890
    http://www.ubuntu.com/download/deskt...ick-on-mac-osx
    http://askubuntu.com/questions/58020...14-10-on-a-mac
    https://help.ubuntu.com/community/MacBookPro
    Bugs Ubuntu fails to properly boot on Macbook Air 2013 6,1 & 6,2 - Use UEFI not CSM
    https://bugs.launchpad.net/ubuntu/+s...x/+bug/1197451
    Post #6 booting Kubuntu 12.10 in EFI mode on my Mac, by trogdor1138
    Boot Ubuntu from efi with Mac lpost by trogdor1138
    http://ubuntuforums.org/showthread.php?t=2091257
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #5
    Join Date
    Apr 2009
    Location
    Italy
    Beans
    11
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Mac Mini resolution out of range at grub and desktop enviroment

    Hi oldfred, thank you for your kind reply and sorry for my late answer. If you need further details about this kind of mac, it's this one:
    https://support.apple.com/kb/SP632?locale=en_US
    I browsed the links you posted but unfortunately I didn't find anything useful....

  6. #6
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Mac Mini resolution out of range at grub and desktop enviroment

    Do not know Mac, and those links are about all I can help with.
    Hopefully someone with Mac will respond.

    You can bump after 12 hours to move thread up and then those in different time zones may see it.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  7. #7
    Join Date
    Oct 2008
    Location
    Chicago
    Beans
    241
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Mac Mini resolution out of range at grub and desktop enviroment

    Have you tried editing grub config file and modifying GRUB_CMDLINE_LINUX to add vga=xxx parameter? Plus the changes you mentioned above.
    Look here:
    https://linuxhint.com/set_screen_res...x_kernel_boot/

    and don't forget to run sudo update-grub after changes (sorry - if this is what you did before)

  8. #8
    Join Date
    Apr 2009
    Location
    Italy
    Beans
    11
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Mac Mini resolution out of range at grub and desktop enviroment

    hi @gsahli, thank you for your message. I already read the article you posted but the very strange thing is that if I boot with another monitor (my LCD TV) and then switch the video cable to my PC monitor (the HP one), when i get to the console it looks like (when I run the vbeinfo command) the only supported resolution is 1920x1080, which is actually not supported by the HP monitor (max res is 1600x900). If I keep the video cable connected to the TV, instead, grub console says the only one supported video resolution is 1360x768, which is of course supported since my television is a full HD certified one. That's very weird and I don't know how could I force with some low level command any resolution (even lower than 1600x900) which could be supported by my HP monitor....
    This is for the grub part. When comes the time for gdm3, instead, I am sure that I can be able to force the 1600x900 resolution since with xrandr commands I managed to set a proper resolution in the user session. The only thing I am missing now is setting 1600x900 resolution at the login screen, which means editing some global configuration file (which is unknown to me at the moment)

  9. #9
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Mac Mini resolution out of range at grub and desktop enviroment

    If you look at grub.cfg it has several places where video or font are set.
    function load_video
    if loadfont $font ; then
    set gfxmode=auto
    And you set gfxmode in /etc/default/grub

    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    #GRUB_GFXMODE=640x480
    You can uncomment the gfxmode and change to the X by Y setting that you want.
    Then
    sudo update grub.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  10. #10
    Join Date
    Apr 2009
    Location
    Italy
    Beans
    11
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Mac Mini resolution out of range at grub and desktop enviroment

    Hi oldfred, I know that parameter of the grub config file and I already tried setting several video resolution, including 640x480, 800x600 and 1024x768 but none of them has worked (of course every time I updated grub via the sudo update-grub command). I'm wondering if it exists another way beyond setting the GRUB_GFXMODE parameter to set the video resolution.

    In order to summarize the current situation, at the moment my mac behaves like this:
    - Mac powers on, boot apple chime sound at efi boot: screen says resolution out of range
    - grub menu: resolution is out of range
    - ubuntu startup & splash screen: resolution is out of range
    - ubuntu login screen: resolution is out of range
    - ubuntu user session (I have just one user with auto login): resolution is correctly set at 1600x900 via xrandr commands added to the gdm3 config file

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •