Low resolution problem on the machine installed with MAAS

I am installing “ubuntu-desktop” package to convert the ubuntu2204 server that I installed with MAAS to workstation, but at the end of the installation I have a low resolution problem(stuck with 1024*768) with kernel 5.15.0.73.

However, when I install ubuntu2204 server + “ubuntu-desktop” + 5.15.0.73 kernel combination via “usb”, there is no resolution problem. What are the points I should look for to solve the problem?

Thanks.

I tried these combinations:
Ubuntu 2204 Desktop(kernel 6x) then installed kernel 5.15.0-73 - OK (with USB boot)
Ubuntu 2204 Server + ubuntu-desktop + kernel 5.0.73generic - OK (with USB boot)
Ubuntu 2204 Server + ubuntu-desktop + kernel 5.0.73 - LOW Resolution (with MAAS Installed)

Additional information:

Graphics: llvmpipe(LLVM 15.0.7, 256 bits)
Windowing System : X11

HW Infos:
Motherboard: Asus x670-e
CPU : Ryzen 5 7600

OUTPUT(RESOLUTION IS OK) ubuntu2204 server(default kernel 5.15.0-83) + ubuntu-desktop + kernel 5.0.73 (usb installed): lshw -C video

sudo lshw -C video
  *-display UNCLAIMED       
       description: VGA compatible controller
       product: Advanced Micro Devices, Inc. [AMD/ATI]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:0f:00.0
       version: c6
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi msix vga_controller bus_master cap_list
       configuration: latency=0
       resources: iomemory:fc0-fbf iomemory:fc0-fbf memory:fce0000000-fcefffffff memory:fcf0000000-fcf01fffff ioport:e000(size=256) memory:fce00000-fce7ffff
  *-graphics
       product: EFI VGA
       physical id: 1
       logical name: /dev/fb0
       capabilities: fb
       configuration: depth=32 resolution=1680,1050

OUTPUT(LOW RESOLUTION PROBLEM) ubuntu2204 server + ubuntu-desktop + kernel 5.0.73 (maas installed): lshw -C video

sudo lshw -C video
  *-display UNCLAIMED       
       description: VGA compatible controller
       product: Advanced Micro Devices, Inc. [AMD/ATI]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:0f:00.0
       version: c6
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi msix vga_controller bus_master cap_list
       configuration: latency=0
       resources: iomemory:fc0-fbf iomemory:fc0-fbf memory:fce0000000-fcefffffff memory:fcf0000000-fcf01fffff ioport:e000(size=256) memory:fce00000-fce7ffff
  *-graphics
       product: EFI VGA
       physical id: 1
       logical name: /dev/fb0
       capabilities: fb
       configuration: depth=32 resolution=1024,768

Update:
I just created a custom image with “ubuntu-desktop” package installed and deployed this image with MAAS (kernel 5.15.0-83), then I installed the kernel I wanted (5.15.0.73) and there is no low resolution problem. In this way I got the desired result, but I still wonder why I have low resolution problem when I install “ubuntu-desktop” on 2204 server image.

Hi @elperro

Just to summarize my understanding:

  • You deployed a ubuntu-server image and then installed the ubuntu-desktop package -> you got resolution issues
  • You crafted a ubuntu-server image with ubuntu-desktop package using packer-maas and you deployed it -> no resolution issues

is that correct?

Exactly with 5.15.0-73 kernel.

Did you check in the display settings that there was no higher resolution available?

Of course I checked. There are no options other than 1024x768.

Yesterday I tried on a VM and by default it was set to 1024x768 but there were other options. I might be wrong but you might have to install some drivers then