Screen Rotation Ubuntu Core + Ubuntu-frame + wpe-mir-kiosk

Hi Guys, I am working on a project and I am using a MINIX mini PC with Ubuntu Core on it.

I can ssh into it just fine, As I am following this TUTORIAL

the issue I have is I am not able to rotate the screen to the right or left, Follow the picture of the issue.

I have tried turning the screen with the following command but no success yet.

    snap set ubuntu-frame display="
    layouts:
      default:
    cards:
    - card-id: 0
      unknown-1:
        orientation: right
    "

Some more info the screen is touch and the touch is working fine as we need it to work with touch :slight_smile: Does anyone come to this before and knows how to solve it? please?

1 Like

That indentation looks wrong. Try:

snap set ubuntu-frame display="
layouts:
  default:
    cards:
    - card-id: 0
      unknown-1:
        orientation: right
"

You should check the ubuntu-frame log for errors:

snap logs -n 100 ubuntu-frame

Hi Alan, thanks for your reply !

I did run the command you suggested there but no changes still.

Found out the name of the screen is not unknow-1 and changed that to HDMI-A based on the logs but did not help much :frowning:

And after running it the values for orientation still normal, tried with sudo as well.

@manoellopes it would be much easier to read if you cut & paste the logs instead of grabbing screenshots.

Anyway, the log just above the top of the first screenshot contains a template for the display configuration.

Hey Alan, sorry for the screenshots.

snap logs -n 100 ubuntu-frame
2022-11-30T15:17:46Z ubuntu-frame.daemon[10190]: [2022-11-30 15:17:46.208172] <information> mircommon: Loading module: /snap/ubuntu-frame/4455/usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-gbm-kms.so.20
2022-11-30T15:17:46Z ubuntu-frame.daemon[10190]: [2022-11-30 15:17:46.208268] <information> mircommon: Loading module: /snap/ubuntu-frame/4455/usr/lib/x86_64-linux-gnu/mir/server-platform/server-x11.so.20
2022-11-30T15:17:46Z ubuntu-frame.daemon[10190]: [2022-11-30 15:17:46.208332] <information> mircommon: Loading module: /snap/ubuntu-frame/4455/usr/lib/x86_64-linux-gnu/mir/server-platform/input-evdev.so.8
2022-11-30T15:17:46Z ubuntu-frame.daemon[10190]: [2022-11-30 15:17:46.212100] <information> mirserver: Found display driver: mir:gbm-kms (version 2.10.0)
2022-11-30T15:17:46Z ubuntu-frame.daemon[10190]: [2022-11-30 15:17:46.218747] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card0, driver i915
2022-11-30T15:17:46Z ubuntu-frame.daemon[10190]: [2022-11-30 15:17:46.219577] <information> gbm-kms: Failed to probe DRM device: /build/mir-hLziaV/mir-2.10.0/src/server/console/linux_virtual_terminal.cpp(167): Throw in function {anonymous}::DRMDevice::DRMDevice(mir::VTFileOperations&, const char*, std::unique_ptr<mir::Device::Observer>, const std::shared_ptr<mir::LinuxVirtualTerminal::DeviceList>&)
2022-11-30T15:17:46Z ubuntu-frame.daemon[10190]: Dynamic exception type: boost::wrapexcept<std::system_error>
2022-11-30T15:17:46Z ubuntu-frame.daemon[10190]: std::exception::what: Failed to claim DRM master: Device or resource busy
2022-11-30T15:17:46Z ubuntu-frame.daemon[10190]: [boost::errinfo_file_name_*] = /dev/dri/card0
2022-11-30T15:17:46Z ubuntu-frame.daemon[10190]: [2022-11-30 15:17:46.220212] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver
2022-11-30T15:17:46Z ubuntu-frame.daemon[10190]: [2022-11-30 15:17:46.220800] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver
2022-11-30T15:17:46Z ubuntu-frame.daemon[10190]: [2022-11-30 15:17:46.221357] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver
2022-11-30T15:17:46Z ubuntu-frame.daemon[10190]: [2022-11-30 15:17:46.222012] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver
2022-11-30T15:17:46Z ubuntu-frame.daemon[10190]: [2022-11-30 15:17:46.222171] <information> mirserver: (Unsupported by system environment)
2022-11-30T15:17:46Z ubuntu-frame.daemon[10190]: [2022-11-30 15:17:46.222239] <information> mirserver: Found display driver: mir:x11 (version 2.10.0)
2022-11-30T15:17:46Z ubuntu-frame.daemon[10190]: [2022-11-30 15:17:46.222384] <information> mirserver: (Unsupported by system environment)
2022-11-30T15:17:46Z ubuntu-frame.daemon[10190]: ERROR: /build/mir-hLziaV/mir-2.10.0/src/server/graphics/default_configuration.cpp(233): Throw in function virtual const std::vector<std::shared_ptr<mir::graphics::DisplayPlatform> >& mir::DefaultServerConfiguration::the_display_platforms()
2022-11-30T15:17:46Z ubuntu-frame.daemon[10190]: Dynamic exception type: boost::wrapexcept<std::runtime_error>
2022-11-30T15:17:46Z ubuntu-frame.daemon[10190]: std::exception::what: Exception while creating graphics platform
2022-11-30T15:17:46Z ubuntu-frame.daemon[10190]: ERROR: /build/mir-hLziaV/mir-2.10.0/src/server/graphics/platform_probe.cpp(190): Throw in function std::vector<std::pair<mir::graphics::SupportedDevice, std::shared_ptr<mir::SharedLibrary> > > {anonymous}::modules_for_device({anonymous}::ModuleType, const std::vector<std::shared_ptr<mir::SharedLibrary> >&, const mir::options::ProgramOption&, const std::shared_ptr<mir::ConsoleServices>&)
2022-11-30T15:17:46Z ubuntu-frame.daemon[10190]: Dynamic exception type: boost::wrapexcept<std::runtime_error>
2022-11-30T15:17:46Z ubuntu-frame.daemon[10190]: std::exception::what: Failed to find any platforms for current system
2022-11-30T15:17:46Z systemd[1]: snap.ubuntu-frame.daemon.service: Main process exited, code=exited, status=1/FAILURE
2022-11-30T15:17:46Z systemd[1]: snap.ubuntu-frame.daemon.service: Failed with result 'exit-code'.
2022-11-30T15:17:49Z systemd[1]: snap.ubuntu-frame.daemon.service: Scheduled restart job, restart counter is at 13.
2022-11-30T15:17:49Z systemd[1]: Stopped Service for snap application ubuntu-frame.daemon.
2022-11-30T15:17:49Z systemd[1]: Started Service for snap application ubuntu-frame.daemon.
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: + exec nohup /snap/ubuntu-frame/4455/bin/run-frame /snap/ubuntu-frame/4455/usr/local/bin/frame
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: + [ /snap/ubuntu-frame/4455/usr/local/bin/frame = --help ]
2022-11-30T15:17:49Z ubuntu-frame.daemon[10288]: + dirname /run/user/0/snap.ubuntu-frame
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: + XDG_RUNTIME_DIR=/run/user/0
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: + export XDG_RUNTIME_DIR
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: + mkdir -p /run/user/0 -m 700
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: + [ -n  ]
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: + exec /snap/ubuntu-frame/4455/usr/local/bin/frame
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: [2022-11-30 15:17:49.737660] <information> mirserver: Starting
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: [2022-11-30 15:17:49.740257] < - debug - > mirserver: Using Linux VT subsystem for session management
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: [2022-11-30 15:17:49.741721] <information> mircommon: Loading modules from: /snap/ubuntu-frame/4455/usr/lib/x86_64-linux-gnu/mir/server-platform
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: [2022-11-30 15:17:49.742117] <information> mircommon: Loading module: /snap/ubuntu-frame/4455/usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-gbm-kms.so.20
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: [2022-11-30 15:17:49.742281] <information> mircommon: Loading module: /snap/ubuntu-frame/4455/usr/lib/x86_64-linux-gnu/mir/server-platform/server-x11.so.20
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: [2022-11-30 15:17:49.742347] <information> mircommon: Loading module: /snap/ubuntu-frame/4455/usr/lib/x86_64-linux-gnu/mir/server-platform/input-evdev.so.8
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: [2022-11-30 15:17:49.746198] <information> mirserver: Found display driver: mir:gbm-kms (version 2.10.0)
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: [2022-11-30 15:17:49.754483] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card0, driver i915
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: [2022-11-30 15:17:49.755955] <information> gbm-kms: Failed to probe DRM device: /build/mir-hLziaV/mir-2.10.0/src/server/console/linux_virtual_terminal.cpp(167): Throw in function {anonymous}::DRMDevice::DRMDevice(mir::VTFileOperations&, const char*, std::unique_ptr<mir::Device::Observer>, const std::shared_ptr<mir::LinuxVirtualTerminal::DeviceList>&)
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: Dynamic exception type: boost::wrapexcept<std::system_error>
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: std::exception::what: Failed to claim DRM master: Device or resource busy
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: [boost::errinfo_file_name_*] = /dev/dri/card0
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: [2022-11-30 15:17:49.756822] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: [2022-11-30 15:17:49.757510] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: [2022-11-30 15:17:49.758233] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: [2022-11-30 15:17:49.758908] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: [2022-11-30 15:17:49.759086] <information> mirserver: (Unsupported by system environment)
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: [2022-11-30 15:17:49.759172] <information> mirserver: Found display driver: mir:x11 (version 2.10.0)
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: [2022-11-30 15:17:49.759340] <information> mirserver: (Unsupported by system environment)
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: ERROR: /build/mir-hLziaV/mir-2.10.0/src/server/graphics/default_configuration.cpp(233): Throw in function virtual const std::vector<std::shared_ptr<mir::graphics::DisplayPlatform> >& mir::DefaultServerConfiguration::the_display_platforms()
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: Dynamic exception type: boost::wrapexcept<std::runtime_error>
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: std::exception::what: Exception while creating graphics platform
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: ERROR: /build/mir-hLziaV/mir-2.10.0/src/server/graphics/platform_probe.cpp(190): Throw in function std::vector<std::pair<mir::graphics::SupportedDevice, std::shared_ptr<mir::SharedLibrary> > > {anonymous}::modules_for_device({anonymous}::ModuleType, const std::vector<std::shared_ptr<mir::SharedLibrary> >&, const mir::options::ProgramOption&, const std::shared_ptr<mir::ConsoleServices>&)
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: Dynamic exception type: boost::wrapexcept<std::runtime_error>
2022-11-30T15:17:49Z ubuntu-frame.daemon[10267]: std::exception::what: Failed to find any platforms for current system
2022-11-30T15:17:49Z systemd[1]: snap.ubuntu-frame.daemon.service: Main process exited, code=exited, status=1/FAILURE
2022-11-30T15:17:49Z systemd[1]: snap.ubuntu-frame.daemon.service: Failed with result 'exit-code'.
2022-11-30T15:17:52Z systemd[1]: snap.ubuntu-frame.daemon.service: Scheduled restart job, restart counter is at 14.
2022-11-30T15:17:52Z systemd[1]: Stopped Service for snap application ubuntu-frame.daemon.
2022-11-30T15:17:52Z systemd[1]: Started Service for snap application ubuntu-frame.daemon.
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: + exec nohup /snap/ubuntu-frame/4455/bin/run-frame /snap/ubuntu-frame/4455/usr/local/bin/frame
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: + [ /snap/ubuntu-frame/4455/usr/local/bin/frame = --help ]
2022-11-30T15:17:53Z ubuntu-frame.daemon[10466]: + dirname /run/user/0/snap.ubuntu-frame
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: + XDG_RUNTIME_DIR=/run/user/0
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: + export XDG_RUNTIME_DIR
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: + mkdir -p /run/user/0 -m 700
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: + [ -n  ]
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: + exec /snap/ubuntu-frame/4455/usr/local/bin/frame
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: [2022-11-30 15:17:53.235146] <information> mirserver: Starting
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: [2022-11-30 15:17:53.236470] < - debug - > mirserver: Using Linux VT subsystem for session management
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: [2022-11-30 15:17:53.237097] <information> mircommon: Loading modules from: /snap/ubuntu-frame/4455/usr/lib/x86_64-linux-gnu/mir/server-platform
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: [2022-11-30 15:17:53.237347] <information> mircommon: Loading module: /snap/ubuntu-frame/4455/usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-gbm-kms.so.20
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: [2022-11-30 15:17:53.237473] <information> mircommon: Loading module: /snap/ubuntu-frame/4455/usr/lib/x86_64-linux-gnu/mir/server-platform/server-x11.so.20
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: [2022-11-30 15:17:53.237540] <information> mircommon: Loading module: /snap/ubuntu-frame/4455/usr/lib/x86_64-linux-gnu/mir/server-platform/input-evdev.so.8
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: [2022-11-30 15:17:53.241821] <information> mirserver: Found display driver: mir:gbm-kms (version 2.10.0)
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: [2022-11-30 15:17:53.249537] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card0, driver i915
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: [2022-11-30 15:17:53.250383] <information> gbm-kms: Failed to probe DRM device: /build/mir-hLziaV/mir-2.10.0/src/server/console/linux_virtual_terminal.cpp(167): Throw in function {anonymous}::DRMDevice::DRMDevice(mir::VTFileOperations&, const char*, std::unique_ptr<mir::Device::Observer>, const std::shared_ptr<mir::LinuxVirtualTerminal::DeviceList>&)
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: Dynamic exception type: boost::wrapexcept<std::system_error>
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: std::exception::what: Failed to claim DRM master: Device or resource busy
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: [boost::errinfo_file_name_*] = /dev/dri/card0
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: [2022-11-30 15:17:53.250988] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: [2022-11-30 15:17:53.251477] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: [2022-11-30 15:17:53.251960] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: [2022-11-30 15:17:53.252456] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: [2022-11-30 15:17:53.252594] <information> mirserver: (Unsupported by system environment)
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: [2022-11-30 15:17:53.252662] <information> mirserver: Found display driver: mir:x11 (version 2.10.0)
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: [2022-11-30 15:17:53.252799] <information> mirserver: (Unsupported by system environment)
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: ERROR: /build/mir-hLziaV/mir-2.10.0/src/server/graphics/default_configuration.cpp(233): Throw in function virtual const std::vector<std::shared_ptr<mir::graphics::DisplayPlatform> >& mir::DefaultServerConfiguration::the_display_platforms()
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: Dynamic exception type: boost::wrapexcept<std::runtime_error>
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: std::exception::what: Exception while creating graphics platform
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: ERROR: /build/mir-hLziaV/mir-2.10.0/src/server/graphics/platform_probe.cpp(190): Throw in function std::vector<std::pair<mir::graphics::SupportedDevice, std::shared_ptr<mir::SharedLibrary> > > {anonymous}::modules_for_device({anonymous}::ModuleType, const std::vector<std::shared_ptr<mir::SharedLibrary> >&, const mir::options::ProgramOption&, const std::shared_ptr<mir::ConsoleServices>&)
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: Dynamic exception type: boost::wrapexcept<std::runtime_error>
2022-11-30T15:17:53Z ubuntu-frame.daemon[10444]: std::exception::what: Failed to find any platforms for current system
2022-11-30T15:17:53Z systemd[1]: snap.ubuntu-frame.daemon.service: Main process exited, code=exited, status=1/FAILURE
2022-11-30T15:17:53Z systemd[1]: snap.ubuntu-frame.daemon.service: Failed with result 'exit-code'.

Alan my friend thanks for the help sort it out :slight_smile:

used:

snap set ubuntu-frame display="
layouts:
# keys here are layout labels (used for atomically switching between them)
# when enabling displays, surfaces should be matched in reverse recency order
  default:                         # the default layout
    cards:
    # a list of cards (currently matched by card-id)
    - card-id: 0
      DisplayPort-1:
        # (disconnected)
      HDMI-A-1:
        # This output supports the following modes: 1920x1080@60.0, 1920x1080@59.9,
        # 1920x1080@30.0, 1920x1080@30.0, 1920x1080@50.0, 1920x1080@25.0, 1680x1050@59.9,
        # 1280x1024@75.0, 1280x1024@60.0, 1440x900@75.0, 1440x900@59.9, 1280x960@60.0,
        # 1152x864@75.0, 1280x720@60.0, 1280x720@59.9, 1280x720@50.0, 1440x576@50.0,
        # 1024x768@75.0, 1024x768@70.1, 1024x768@60.0, 800x600@75.0, 800x600@60.3,
        # 800x600@56.2, 720x576@50.0, 720x480@60.0, 720x480@59.9, 640x480@75.0,
        # 640x480@66.7, 640x480@60.0, 640x480@59.9, 720x400@70.1
        #
        # Uncomment the following to enforce the selected configuration.
        # Or amend as desired.
        #
         state: enabled        # {enabled, disabled}, defaults to enabled
         mode: 1920x1080@60.0  # Defaults to preferred mode
         position: [0, 0]      # Defaults to [0, 0]
         orientation: right   # {normal, left, right, inverted}, defaults to normal
         scale: 1
         group: 0      # Outputs with the same non-zero value are treated as a single display
      DisplayPort-2:
        # (disconnected)
      HDMI-A-2:
        # (disconnected)
"

Could you flag the topic as solved? It will help others with the same problem

1 Like

Hi all … N00b here … Trying out an Ubuntu 22 Core running a web-kiosk showing the departure board at my local station. (Running on a Raspberry 3).

The web-kiosk is not using the full display, so somehow I need to resize…

Any ideas ?

jkbkstr@ubuntu:~$ snap logs -n 100 ubuntu-frame 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.128000] mirserver: /devices/platform/soc/soc:gpu/drm/renderD128 (priority 256) 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.128090] mirserver: Found rendering driver: mir:x11 (version 2.10.0) 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.128157] mirserver: (Unsupported by system environment) 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.128472] mirserver: Selected rendering driver: mir:gbm-kms (version 2.10.0) 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.180813] < -warning- > gbm-kms: Unable to determine the current display mode. 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.186684] gbm-kms: DRM device details: 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.186960] gbm-kms: /dev/dri/card0: using driver vc4 [Broadcom VC4 graphics] (version: 0.0.0 driver date: 20140616) 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.212160] gbm-kms: Output: HDMI-A-1 (connected) 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.212382] gbm-kms: Mode: 1920×1080@60.00 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.212470] gbm-kms: Mode: 1920×1080@60.00 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.212535] gbm-kms: Mode: 1920×1080@59.94 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.212619] gbm-kms: Mode: 1920×1080@50.00 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.212681] gbm-kms: Mode: 1680×1050@59.88 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.212742] gbm-kms: Mode: 1600×900@60.00 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.212802] gbm-kms: Mode: 1280×1024@60.01 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.212862] gbm-kms: Mode: 1440×900@59.90 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.212920] gbm-kms: Mode: 1280×720@60.00 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.212983] gbm-kms: Mode: 1280×720@59.94 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.213054] gbm-kms: Mode: 1280×720@50.00 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.213113] gbm-kms: Mode: 1024×768@60.00 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.213171] gbm-kms: Mode: 800×600@60.31 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.213229] gbm-kms: Mode: 720×576@50.00 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.213287] gbm-kms: Mode: 720×480@60.00 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.213349] gbm-kms: Mode: 720×480@59.94 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.213411] gbm-kms: Mode: 640×480@60.00 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.213468] gbm-kms: Mode: 640×480@59.94 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.213526] gbm-kms: Mode: 720×400@70.08 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.213615] < - debug - > miral: Display config using layout: ‘default’ 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.213977] miral: Display config: 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: 8>< --------------------------------------------------- 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: layouts: 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: # keys here are layout labels (used for atomically switching between them) 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: # when enabling displays, surfaces should be matched in reverse recency order 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: default: # the default layout 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: cards: 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: # a list of cards (currently matched by card-id) 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: - card-id: 0 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: HDMI-A-1: 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: # This output supports the following modes: 1920x1080@60.0, 1920x1080@60.0, 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: # 1920x1080@59.9, 1920x1080@50.0, 1680x1050@59.9, 1600x900@60.0, 1280x1024@60.0, 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: # 1440x900@59.9, 1280x720@60.0, 1280x720@59.9, 1280x720@50.0, 1024x768@60.0, 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: # 800x600@60.3, 720x576@50.0, 720x480@60.0, 720x480@59.9, 640x480@60.0, 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: # 640x480@59.9, 720x400@70.1 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: # 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: # Uncomment the following to enforce the selected configuration. 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: # Or amend as desired. 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: # 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: # state: enabled # {enabled, disabled}, defaults to enabled 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: # mode: 1920x1080@60.0 # Defaults to preferred mode 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: # position: [0, 0] # Defaults to [0, 0] 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: # orientation: normal # {normal, left, right, inverted}, defaults to normal 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: # scale: 1 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: # group: 0 # Outputs with the same non-zero value are treated as a single display 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: 8>< --------------------------------------------------- 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.264217] < -warning- > gbm-kms: drmModeCrtcSetGamma failed: Function not implemented 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.377367] gbm-kms: Detected single-GPU DisplayBuffer. Rendering will be sent directly to output 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.411189] mirserver: Using hardware cursor 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: xkbcommon: ERROR: couldn’t find a Compose file for locale “C.UTF-8” 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.489505] GLRenderer: EGL vendor: Mesa Project 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.489734] GLRenderer: EGL version: 1.4 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.489820] GLRenderer: EGL client APIs: OpenGL OpenGL_ES 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.489918] GLRenderer: EGL extensions: EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.490023] GLRenderer: GL vendor: Broadcom 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.490109] GLRenderer: GL renderer: VC4 V3D 2.1 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.490169] GLRenderer: GL version: OpenGL ES 2.0 Mesa 21.2.6 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.490228] GLRenderer: GLSL version: OpenGL ES GLSL ES 1.0.16 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.490451] GLRenderer: GL extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_EGL_image GL_OES_depth_texture GL_AMD_performance_monitor GL_OES_packed_depth_stencil GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_ANGLE_pack_reverse_row_order GL_EXT_occlusion_query_boolean GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_texture_compression_astc_ldr GL_NV_pixel_buffer_object GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_separate_shader_objects GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_draw_elements_base_vertex GL_EXT_texture_border_clamp GL_KHR_context_flush_control GL_OES_draw_elements_base_vertex GL_OES_texture_border_clamp GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_KHR_parallel_shader_compile GL_MESA_tile_raster_order GL_MESA_bgra 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.490588] GLRenderer: GL max texture size = 2048 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.494845] GLRenderer: GL framebuffer bits: RGBA=0000, depth=0, stencil=0 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.496820] gbm-kms-buffer-allocator: Enabled linux-dmabuf import support 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.498643] mircommon: Loading modules from: /snap/ubuntu-frame/4459/usr/lib/aarch64-linux-gnu/mir/server-platform 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.499129] mircommon: Loading module: /snap/ubuntu-frame/4459/usr/lib/aarch64-linux-gnu/mir/server-platform/graphics-gbm-kms.so.20 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.499523] mircommon: Loading module: /snap/ubuntu-frame/4459/usr/lib/aarch64-linux-gnu/mir/server-platform/server-x11.so.20 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.499709] mircommon: Loading module: /snap/ubuntu-frame/4459/usr/lib/aarch64-linux-gnu/mir/server-platform/input-evdev.so.8 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.568667] mirserver: Selected input driver: mir:evdev-input (version: 2.10.0) 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.580616] mirserver: Mir version 2.10.0 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.594381] GLRenderer: EGL vendor: Mesa Project 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.594616] GLRenderer: EGL version: 1.4 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.594705] GLRenderer: EGL client APIs: OpenGL OpenGL_ES 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.594823] GLRenderer: EGL extensions: EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.594898] GLRenderer: GL vendor: Broadcom 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.594956] GLRenderer: GL renderer: VC4 V3D 2.1 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.595014] GLRenderer: GL version: OpenGL ES 2.0 Mesa 21.2.6 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.595079] GLRenderer: GLSL version: OpenGL ES GLSL ES 1.0.16 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.595935] GLRenderer: GL extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_EGL_image GL_OES_depth_texture GL_AMD_performance_monitor GL_OES_packed_depth_stencil GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_ANGLE_pack_reverse_row_order GL_EXT_occlusion_query_boolean GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_texture_compression_astc_ldr GL_NV_pixel_buffer_object GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_separate_shader_objects GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_draw_elements_base_vertex GL_EXT_texture_border_clamp GL_KHR_context_flush_control GL_OES_draw_elements_base_vertex GL_OES_texture_border_clamp GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_KHR_parallel_shader_compile GL_MESA_tile_raster_order GL_MESA_bgra 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.596108] GLRenderer: GL max texture size = 2048 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.596208] GLRenderer: GL framebuffer bits: RGBA=8880, depth=0, stencil=0 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.638965] mirserver: Initial display configuration: 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.640187] mirserver: * Output 1: HDMI-A connected, used 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.641113] mirserver: . |_ EDID monitor name: HP 23xi 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.641900] mirserver: . |_ EDID manufacturer: HWP 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.642646] mirserver: . |_ EDID product code: 12338 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.643316] mirserver: . |_ Physical size 23.1" 510x290mm 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.644767] mirserver: . |_ Power is on 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.645978] mirserver: . |_ Current mode 1920x1080 60.00Hz 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.647190] mirserver: . |_ Preferred mode 1920x1080 60.00Hz 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.648135] mirserver: . |_ Orientation normal 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.649007] mirserver: . |_ Logical size 1920x1080 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.649899] mirserver: . |_ Logical position +0+0 2023-01-08T17:53:16Z ubuntu-frame.daemon[7713]: [2023-01-08 17:53:16.650908] mirserver: . |_ Scaling factor: 1.00 jkbkstr@ubuntu:~$

This is the pi hardware trying to be conservative with your monitor… try setting the disable-overscan system option, that should tell the bootloader to use all screen estate: