Stuck on 800x600 Resolution

I’ve been stuck on this for a little while now. I’ve recently installed Leap 15 on a ThinkCentre M725s and can’t seem to get any other resolution to display except for 800x600. I’ve tried adding new modes in xrandr with the following:


> cvt 1920 1080 60
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

Then I tried


> xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
xrandr: Failed to get size of gamma for output default

Here’s the output of just running “xrandr”:


xrandr: Failed to get size of gamma for output default
Screen 0: minimum 800 x 600, current 800 x 600, maximum 800 x 600
default connected primary 800x600+0+0 0mm x 0mm
   800x600       75.00* 
  1920x1080_60.00 (0x370) 173.000MHz -HSync +VSync
        h: width  1920 start 2048 end 2248 total 2576 skew    0 clock  67.16KHz
        v: height 1080 start 1083 end 1088 total 1120           clock  59.96Hz

Here’s the output of another command I see in a lot of other threads regarding similar issues -


> sudo lspci -k | grep -iEA5 'vga|3d'
01:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 43d5 (rev 01)
    Subsystem: Lenovo Device 3141
    Kernel driver in use: xhci_hcd
    Kernel modules: xhci_pci
01:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] Device 43c8 (rev 01)
    Subsystem: Lenovo Device 3141
--
0b:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Radeon Vega 8 Mobile (rev d3)
    Subsystem: Lenovo Device 3141
0b:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15de
    Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device 15de
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel

I also tried the options under “Troubleshooting things to try” in the official docs: https://en.opensuse.org/SDB:Configuring_graphics_cards

Can anyone help me out? I’m running out of things to try and I have work to get done. Any help would be very much appreciated!

Maybe a newer kernel would help:
https://download.opensuse.org/repositories/Kernel:/stable/standard/

I ran


zypper ar -f https://download.opensuse.org/repositories/Kernel:/stable/standard/ kernel-default

followed by


zypper dup -r kernel-desktop

then rebooted. That got me from 4.12.14-lp150.11-default to 4.12.14-lp150.12.48-default but no changes on the resolution issue. I reran xrandr and got the following output -


xrandr: Failed to get size of gamma for output default
Screen 0: minimum 800 x 600, current 800 x 600, maximum 800 x 600
default connected primary 800x600+0+0 0mm x 0mm
   800x600       75.00* 

Is it possible your cvt or xrandr is wrong version - see if they match mine for 15.0 - mine work fine.


> sum -r /usr/bin/cvt
40813    15
> sum -r /usr/bin/xrandr
33016    63
> 

Also make sure you are on the correct kernel - I went back to 45 as 48 has CIFS issues Yours will have a 48 where mine is 45. Upgrading a Kernel does not guarantee that it is the one that boots up.


> uname -a
Linux VM1 4.12.14-lp150.12.45-default #1 SMP Mon Jan 14 20:29:59 UTC 2019 (7a62739) x86_64 x86_64 x86_64 GNU/Linux
> 

Thanks larryr. The output of those sum commands match what you posted. Running “uname -a” outputs the following


> uname -a
Linux linux-2sev 4.12.14-lp150.12.48-default #1 SMP Tue Feb 12 14:01:48 UTC 2019 (268f014) x86_64 x86_64 x86_64 GNU/Linux

Do you know how to downgrade to 45? I’m pretty new to messing around with kernels.

The command should have been


zypper dup --from kernel-default

since you named the repo kernel-default, not kernel-desktop

Thanks Knurpht that’s actually a typo. It was in fact “kernel-default”, not “kernel-desktop”. I looked through my bash history to be sure.

Absent any typos in comment #3, the kernel that should have been installed is:

http://download.opensuse.org/repositories/Kernel:/stable/standard/x86_64/kernel-default-5.0.1-2.1.g8c6a826.x86_64.rpm

To check what actually became available, you can do:

sudo zypper se -s nel-def | grep table | egrep -v 'src|debu|deve|586'

and should see:

v  | kernel-default                 | package    | 5.0.1-2.1.g8c6a826     | x86_64 | <yourreponame>
   | kernel-default-base            | package    | 5.0.1-2.1.g8c6a826.2.3 | x86_64 | <yourreponame>

If that is in fact the result, then you can install this way:

sudo zypper in kernel-default-5.0.1

Rather than lspci as you used

inxi -Gxx

would better identify your GPU/APU, giving us the PCI ID, without the clutter of USB, Audio and SATA; better done within your X session than on a vtty, so that we can see your DDX driver status. More than likely it will need to be installed first:

sudo zypper in inxi

Thanks mrmazda that did the trick! I now have several options to switch between when looking at screen resolutions in the Display settings.

Thank you all for your help!

As root or sudu

zypper in -f kernel-default-4.12.14-lp150.12.45.1

will install it - you will have to select it from grub2 menu as grub usually defaults to the largest number kernel (newest) to boot from

else download it from the repo with this link kernel-default-devel-4.12.14-lp150.12.45.1.x86_64.rpm and change directory (cd) to your download directory and

zypper in -f kernel-default-4.12.14-lp150.12.45.1.x86_64.rpm to install it