Can't set display resolution to anything but 1280x800


#1

I inherited an oldish Windows 10 machine and set it up to dual boot with UM 18.04 LTS, but I can't set the onboard video adapter to any other resolution than 1280x800 - not in UM nor Win 10. The mother board is an ASRocks AM1H-ITX with AMD Athlon 5350 APU. The integrated video adapter is a Radeon HD 8400 R3 series.

The specs for the board claim much better resolutions should be available:
[https://www.asrock.com/mb/AMD/AM1H-ITX/]

I've tweaked what looked potentially relevant in the UEFI without luck, and I also saw a bunch of the following when I last did an apt upgrade, which looks possibly related:

Processing triggers for initramfs-tools (0.130ubuntu3.7) ...
update-initramfs: Generating /boot/initrd.img-4.18.0-17-generic
W: Possible missing firmware /lib/firmware/amdgpu/vega12_gpu_info.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_asd.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_sos.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_asd.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_sos.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_mec2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_ce.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_mec2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_ce.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_sdma1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_sdma.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_sdma1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_sdma.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_uvd.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_uvd.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_vce.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_vce.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_smc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega12_smc.bin for module amdgpu

Here's what lspci thinks:

lspci | grep VGA
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kabini [Radeon HD 8400 / R3 Series]

Software and Updates says no proprietary drivers are in use and no additional drivers are available. Seems like I need a driver but I'm not sure where to look or how to install it. Any help much appreciated.


#2

We need more info.....

Please post Model name in output of "lscpu".
Also please post output of "lscpi -nn | grep VGA" to show PCI IDs.

An A6-5350 is not Kabini......

djb


#3

@Dave_Barnes thanks very much for the reply.

Model name from lscpu is:
Model name: AMD Athlon(tm) 5350 APU with Radeon(tm) R3

Output from lspci -nn | grep VGA is:
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Kabini [Radeon HD 8400 / R3 Series] [1002:9830]


#4

Well, that's a new model on me. The Athlon 5350 is not an A6-5350.

I don't think any of those missing firmware warnings are a problem. Those are for newer GPUs.

Lets see what driver the system is using -
"sudo lshw -C display"
or
"lspci -vnn | grep VGA -A 12"

You should be using the AMDGPU driver. Usually, problems changing resolution are related to missing DDC info from the Monitor. Look through /var/log/Xorg.0.log for "DDC gathered Modelines". What follows that line are the different resolutions you monitor will support. The fact that Windows can't change resolutions leads me to believe the monitor DDC is corrupt. Seen on a number of Viewsonic LCDs.

djb


#5

@Dave_Barnes, output from your suggested commands:

:~$ sudo lshw -C display
  *-display                 
       description: VGA compatible controller
       product: Kabini [Radeon HD 8400 / R3 Series]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 1
       bus info: [email protected]:00:01.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
       configuration: driver=radeon latency=0
       resources: irq:44 memory:c0000000-cfffffff memory:d0000000-d07fffff ioport:f000(size=256) memory:ffb00000-ffb3ffff memory:c0000-dffff

and:

:~$ sudo lspci -vnn | grep VGA -A 12
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Kabini [Radeon HD 8400 / R3 Series] [1002:9830] (prog-if 00 [VGA controller])
	Subsystem: ASRock Incorporation Kabini [Radeon HD 8400 / R3 Series] [1849:9830]
	Flags: bus master, fast devsel, latency 0, IRQ 44
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Memory at d0000000 (64-bit, prefetchable) [size=8M]
	I/O ports at f000 [size=256]
	Memory at ffb00000 (32-bit, non-prefetchable) [size=256K]
	Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Root Complex Integrated Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>

Lines following "DDC gathered Modelines" in /var/log/Xorg.0.log:

[    39.118] (II) RADEON(0): EDID vendor "HWP", prod id 9872
[    39.118] (II) RADEON(0): Printing DDC gathered Modelines:
[    39.119] (II) RADEON(0): Modeline "2560x1600"x0.0  268.00  2560 2608 2640 2720  1600 1603 1609 1646 +hsync -vsync (98.5 kHz eP)
[    39.119] (II) RADEON(0): Modeline "1280x800"x0.0   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz e)

I was surprised to see only those two resolution options. The monitor is an old stalwart 30 inch HP LP3065 that I've always used on a Windows box at that 2560x1600 resolution. I tried a 22 inch Samsung monitor instead, ran the same command and saw many more resolution options. I did a bit of Googling on that HP monitor and found this troubleshooting page:

https://support.hp.com/us-en/product/hp-lp3065-30-inch-widescreen-lcd-monitor/3297215/document/c00870359

Where one of the items says:

Video card must support dual-link DVI and the input signal must be set correctly. Set input signal to 2560 x 1600 at 60 Hz. Confirm the video card and video cable support Dual-Link DVI-D. Use only the DVI-D video cables supplied with the monitor

So... I suppose that means 2560 x 1600 is not going to be an option and the adapter is falling back to the only other available resolution it can handle. Bummer. Looks like I need a new video card, or to tear the old one out of my Win 7 box, which for work reasons I can't quite do without - yet.

Thanks again for your time and expertise.


#6

Wow, that is a shame. The Kabini does support 4K resolutions just not that particular 2K resolution. It may be cheaper to get a TV -- I got a 55 inch 4K TV -- than another large monitor.

djb