Results 1 to 3 of 3

Thread: Correct screen resolution only with a certain kernel

  1. #1
    Join Date
    Jan 2023
    Beans
    12

    Correct screen resolution only with a certain kernel

    Hi

    I have an IdeaPad 5G-14Q8X05 with SoC Snapdragon 8cx gen 2 with limited ubuntu-linux support. However, I was able to install ubuntu arm 24.04 and mate desktop. All worked well with the following kernel:

    Code:
    6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 02:53:31 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
    Code:
    xrandr 
    Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 1920 x 1200
    Virtual-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
       1024x768      60.00 +
       1920x1080     60.00* 
       1600x1200     60.00  
       1680x1050     59.95    59.88  
       1400x1050     59.98    59.95  
       1600x900      60.00  
       1280x1024     60.02  
       1440x900      59.89    59.90  
       1280x960      60.00  
       1366x768      59.79    60.00  
       1360x768      60.02  
       1280x800      59.81    59.91  
       1280x768      59.87    59.99  
       1280x720      60.00  
       800x600       60.32    56.25  
       848x480       60.00  
       640x480       59.94
    After upgrading the kernel with
    Code:
    apt-get install --install-recommends linux-generic-hwe-24.04
    Code:
    6.8.0-36-generic #36-Ubuntu SMP PREEMPT_DYNAMIC Mon Jun 10 13:20:23 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
    
    apt list --installed | grep linux-image
    
    
    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
    
    
    linux-image-6.8.0-11-generic/now 6.8.0-11.11 arm64 [installed,local]
    linux-image-6.8.0-36-generic/noble-updates,noble-security,now 6.8.0-36.36 arm64 [installed,automatic]
    linux-image-generic-hwe-24.04/noble-updates,noble-security,now 6.8.0-36.36 arm64 [installed,automatic]
    I have a screen resolution problem:

    Code:
    xrandr: Failed to get size of gamma for output default
    Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768
    default connected primary 1024x768+0+0 0mm x 0mm
           1024x768       0.00*
    The session is x11
    Code:
    loginctl show-session c2 -p Type
    Type=x11
    and there are no additional drivers to install

    Code:
    sudo ubuntu-drivers install
    All the available drivers are already installed.
    Do you have any suggestions?
    Thank you

  2. #2
    currentshaft Guest

    Re: Correct screen resolution only with a certain kernel

    You didn't "upgrade" the kernel, you installed Hardware Enablement Kernel (HWE).

    Why did you run "apt-get install --install-recommends linux-generic-hwe-24.04"? What problem were you trying to solve?

  3. #3
    Join Date
    Jan 2023
    Beans
    12

    Re: Correct screen resolution only with a certain kernel

    Quote Originally Posted by currentshaft View Post
    You didn't "upgrade" the kernel, you installed Hardware Enablement Kernel (HWE).

    Why did you run "apt-get install --install-recommends linux-generic-hwe-24.04"? What problem were you trying to solve?
    Since the kernel is old (February 2024), I tried installing a newer version. From the official documentation:
    The Ubuntu LTS enablement, or Hardware Enablement (HWE), stack provides the newer kernel and X11 display support for existing Ubuntu LTS releases. That stack can be enabled manually, but may also be pre-enabled with an Ubuntu LTS release.

    I can go back to the standard kernel with:
    Code:
    sudo apt install --install-recommends linux-generic


    What do you suggest to do?
    Thank you

    P.S.
    I went back with the above command, however the 6.8.0-36-generic kernel still has problems
    Code:
    dpkg --list | egrep -i --color 'linux-image|linux-headers|linux-modules' | awk '{ print $2 }'
    linux-headers-6.8.0-11
    linux-headers-6.8.0-11-generic
    linux-headers-6.8.0-36
    linux-headers-6.8.0-36-generic
    linux-headers-generic
    linux-image-6.8.0-11-generic
    linux-image-6.8.0-36-generic
    linux-image-generic
    linux-modules-6.8.0-11-generic
    linux-modules-6.8.0-36-generic
    linux-modules-extra-6.8.0-11-generic
    linux-modules-extra-6.8.0-36-generic
    Last edited by alfredino; July 7th, 2024 at 05:39 PM.

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
  •