cancel
Showing results for 
Search instead for 
Did you mean: 

Drivers & Software

bcode
Adept I

AMD A8-7680 Ubuntu

Hi,

I am trying to build a computer with the following hardware:

MOBO: ASUS A68HM-Plus

CPU: AMD A8-7680

RAM: 16GB (2x8 GB) Patriot Viper 3, DDR3 1600 MHz

DISPLAY: LG 25UM58

SSD: SAMSUNG 1TB


I had problems to make it working with Ubuntu 18.04 so I moved back to 16.04. The first think I had to face was the blank screen at login, so I added "nomodeset" to Grub as suggested by several blog entries. Then, once the system is up and running, from terminal I checked the video driver in use by using the command  lshw -c video  but there is no  "driver=" at "configuration:" entry. Then I also used  lspci -nnk | grep -i vga -A3  and indeed amdgpu was listed in "Kernel modules:"  but no entry for "Kernel driver in use:". The amdgpu driver should be pre-installed in Ubuntu 16.04+ but I tried also to reinstall: nothing changed. As result, the video is only at 1024x768.

Thank you

1 Solution

After compiling my experience with Web knowledge, the problem may be Secure Boot set to Enabled.

For your motherboard, this option should be in BIOS (UEFI) in the Boot section (top bar). Secure Boot option. Set Secure Boot to Disabled. Save the settings, start Ubuntu and run these two commands again and show the results.

View solution in original post

24 Replies

Thanks for opening a Thread.

I believe billy72‌ is knowledgeable about Ubuntu and might be able to give you some tips if possible.

0 Likes
tomkasz
Adept II

Hello,

Paste all the results of the commands you write about. What does any configuration look like in the bios of this motherboard, in the advanced tab, cpu configuration and nb configuration. Is/was there any other operating system installed on this computer?

If you are experienced in Ubuntu I will keep you in mind if other Ubuntu Users posts questions.

I have some experience. On PC I use mainly Ubuntu. I will be happy to help.

No other OS installed. Please find below the output of commands above.

sudo lshw -c video
*-display UNCLAIMED
description: VGA compatible controller
product: Wani [Radeon R5/R6/R7 Graphics]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 1
bus info: pci@0000:00:01.0
version: e2
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list
configuration: latency=0
resources: memory:e0000000-efffffff memory:f0000000-f07fffff ioport:f000(size=256) memory:feb00000-feb3ffff memory:c0000-dffff

sudo lspci -k | grep -EA3 'VGA|3D|Display'
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] (rev e2)
Subsystem: ASUSTeK Computer Inc. Carrizo
Kernel modules: amdgpu
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio

If necessary, I will screenshot the bios.

0 Likes

After compiling my experience with Web knowledge, the problem may be Secure Boot set to Enabled.

For your motherboard, this option should be in BIOS (UEFI) in the Boot section (top bar). Secure Boot option. Set Secure Boot to Disabled. Save the settings, start Ubuntu and run these two commands again and show the results.

Hi Tom. It worked!! Thank you so much!!

Just last point... executing the commands above, I still get the same output. It is like the "driver in use" is not set with APUs (?!)

My next step is to install nvidia GPU. I need that for computation only with CUDA. I will keep you informed. :-)

Ciao

Luigi

0 Likes

Hello Luigi,

Then what started to work? I think I didn't understand. Is the amdgp still not working?

0 Likes

Hi Tom,

the output of  lshw and lspci did not change, but now I can modify the display resolution up to 1920x1080 that is supported by the display. How may I check what is the driver in use?

Ciao

Luigi

0 Likes

Hello Luigi,

sudo apt install mesa-utils hwinfo

uname -r && cat /etc/os-release |grep VERSION= && lspci -k | grep -EA3 'VGA|3D|Display' && sudo lshw -c video |grep display && sudo lshw -c video |grep driver && glxinfo |grep rendering

hwinfo --gfxcard

Hi Tom,

thank you. The output is the following:

hwinfo --gfxcard
12: PCI 01.0: 0300 VGA compatible controller (VGA)              
  [Created at pci.366]
  Unique ID: vSkL.Ig9G330_dF4
  SysFS ID: /devices/pci0000:00/0000:00:01.0
  SysFS BusID: 0000:00:01.0
  Hardware Class: graphics card
  Model: "ATI Carrizo"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0x9874 "Carrizo"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x85cb
  Revision: 0xe2
  Memory Range: 0xd0000000-0xdfffffff (ro,non-prefetchable)
  Memory Range: 0xf2000000-0xf27fffff (ro,non-prefetchable)
  I/O Ports: 0xf000-0xf0ff (rw)
  Memory Range: 0xfe400000-0xfe43ffff (rw,non-prefetchable)
  Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
  IRQ: 11 (no events)
  Module Alias: "pci:v00001002d00009874sv00001043sd000085CBbc03sc00i00"
  Driver Info #0:
    Driver Status: amdgpu is not active
    Driver Activation Cmd: "modprobe amdgpu"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

15: PCI 100.0: 0300 VGA compatible controller (VGA)
  [Created at pci.366]
  Unique ID: VCu0.aObGJ1ngOKC
  Parent ID: w+J7.avaQEwPdmR2
  SysFS ID: /devices/pci0000:00/0000:00:03.1/0000:01:00.0
  SysFS BusID: 0000:01:00.0
  Hardware Class: graphics card
  Model: "nVidia VGA compatible controller"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x1d81
  SubVendor: pci 0x10de "nVidia Corporation"
  SubDevice: pci 0x1218
  Revision: 0xa1
  Memory Range: 0xfd000000-0xfdffffff (rw,non-prefetchable,disabled)
  Memory Range: 0xe0000000-0xefffffff (ro,non-prefetchable,disabled)
  Memory Range: 0xf0000000-0xf1ffffff (ro,non-prefetchable,disabled)
  I/O Ports: 0xe000-0xe07f (rw,disabled)
  Memory Range: 0xfe000000-0xfe07ffff (ro,non-prefetchable,disabled)
  IRQ: 15 (no events)
  Module Alias: "pci:v000010DEd00001D81sv000010DEsd00001218bc03sc00i00"
  Driver Info #0:
    Driver Status: nvidiafb is not active
    Driver Activation Cmd: "modprobe nvidiafb"
  Driver Info #1:
    Driver Status: nouveau is active
    Driver Activation Cmd: "modprobe nouveau"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #6 (PCI bridge)

Primary display adapter: #12

Now the problem that i get is that the display LG 25M58 is generally recognized only at 1024x768. Sometimes at 1920x1080. I did not understand under which circumstances. The resolution should be 2560x1080.

Any idea what could be the problem?

Ciao

Luigi

0 Likes

UPDATE: After an upgrade to UBUNTU 18.04, the graphics works fine. 

0 Likes

Hello Luigi,

If it works on 18.04 then we can say that the problem is completely solved?

0 Likes

Hi Tom!

I've try to install same drivers and i have same problems. Secure boot is disabled and other steps was completed. Now i trying to enable drivers via modprobe. 

modprobe: ERROR: ../libkmod/libkmod-module.c:832 kmod_module_insert_mo
dule() could not find module by name='off'
modprobe: ERROR: could not insert 'off': Unknown symbol in module, or
unknown parameter (see dmesg)

Can you help me?

0 Likes

Hello!

I can try .

Please install:

sudo apt install mesa-utils hwinfo

then send the command results:

 

uname -r && cat /etc/os-release |grep VERSION= && lspci -k | grep -EA3 'VGA|3D|Display' && sudo lshw -c

video |grep display && sudo lshw -c video |grep driver && glxinfo |grep rendering

hwinfo --gfxcard

0 Likes

Here wego:

uname -r && cat /etc/os-release |grep VERSION= && lspc
i -k | grep -EA3 'VGA|3D|Display' && sudo lshw -c video |grep display
&& sudo lshw -c video |grep driver && glxinfo |grep rendering
5.0.0-25-generic
VERSION="5.16"
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/A
TI] Wani [Radeon R5/R6/R7 Graphics] (rev e2)
       Subsystem: ASUSTeK Computer Inc. Carrizo
       Kernel modules: amdgpu
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HD
MI/DP Audio
 *-display UNCLAIMED

--------------------------------------------------------------------------------------------------------------------------

hwinfo --gfxcard
13: PCI 01.0: 0300 VGA compatible controller (VGA)               
 [Created at pci.378]
 Unique ID: vSkL.Ig9G330_dF4
 SysFS ID: /devices/pci0000:00/0000:00:01.0
 SysFS BusID: 0000:00:01.0
 Hardware Class: graphics card
 Model: "ATI Carrizo"
 Vendor: pci 0x1002 "ATI Technologies Inc"
 Device: pci 0x9874 "Carrizo"
 SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
 SubDevice: pci 0x85cb  
 Revision: 0xe2
 Memory Range: 0xe0000000-0xefffffff (ro,non-prefetchable)
 Memory Range: 0xf0000000-0xf07fffff (ro,non-prefetchable)
 I/O Ports: 0xf000-0xf0ff (rw)
 Memory Range: 0xfeb00000-0xfeb3ffff (rw,non-prefetchable)
 Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
 IRQ: 11 (no events)
 I/O Port: 0x00 (rw)
 Module Alias: "pci:v00001002d00009874sv00001043sd000085CBbc03sc00i00
"
 Driver Info #0:
   Driver Status: amdgpu is not active
   Driver Activation Cmd: "modprobe amdgpu"
 Config Status: cfg=new, avail=yes, need=no, active=unknown

Primary display adapter: #13
-------------------------------------------------------------------------------------------------------------------------

Same problem, and i can't change resolution.

0 Likes

  1. Check again to disable Secure Boot.
  2. Do you use KDE Neon 5.16 based on Ubuntu 18.04 with HWE kernel from 19.04?
  3. Did you install AMD amdgpu driver or do you use kernel amdgpu driver?
0 Likes

1. Checked, still disabled.

2. Yes, it's 5.16 version based on ubuntu 18.04, but with HWE kernel version 18.04, because there is no 19.04 version in repository. 

3. After installing xserver-xorg-video-amdgpu-hwe-18.04, packages of xserver-xorg-video-amdgpu was automatically removed.

VERSION="5.16"
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/A
TI] Wani [Radeon R5/R6/R7 Graphics] (rev e2)
       Subsystem: ASUSTeK Computer Inc. Carrizo
       Kernel modules: amdgpu
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HD
MI/DP Audio
 *-display UNCLAIMED

---------------------------------------------------------------------------------------------------

13: PCI 01.0: 0300 VGA compatible controller (VGA)               
 [Created at pci.378]
 Unique ID: vSkL.Ig9G330_dF4
 SysFS ID: /devices/pci0000:00/0000:00:01.0
 SysFS BusID: 0000:00:01.0
 Hardware Class: graphics card
 Model: "ATI Carrizo"
 Vendor: pci 0x1002 "ATI Technologies Inc"
 Device: pci 0x9874 "Carrizo"
 SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
 SubDevice: pci 0x85cb  
 Revision: 0xe2
 Memory Range: 0xe0000000-0xefffffff (ro,non-prefetchable)
 Memory Range: 0xf0000000-0xf07fffff (ro,non-prefetchable)
 I/O Ports: 0xf000-0xf0ff (rw)
 Memory Range: 0xfeb00000-0xfeb3ffff (rw,non-prefetchable)
 Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
 IRQ: 11 (no events)
 I/O Port: 0x00 (rw)
 Module Alias: "pci:v00001002d00009874sv00001043sd000085CBbc03sc00i00
"
 Driver Info #0:
   Driver Status: amdgpu is not active
   Driver Activation Cmd: "modprobe amdgpu"
 Config Status: cfg=new, avail=yes, need=no, active=unknown

Primary display adapter: #13
-----------------------------------------------------------------------------------------------------

Any suggestions?

0 Likes

You have a kernel 5.0.0-25 which is actually 18.04 HWE (18.04.3) which comes from 19.04 .

If you haven't updated your kernel and X with complex commands:

sudo apt-get install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04

 

do it please, restart and check. Check the result of the command and upload it:

uname -r && cat /etc/os-release |grep VERSION= && lspci -k | grep -EA3 'VGA|3D|Display' && sudo lshw -c video |grep display && sudo 
lshw -c video |grep driver && glxinfo |grep rendering

 

If this doesn't help, try installing the AMDGPU driver from AMD:

Radeon™ Software for Linux® 19.30 Release Notes | AMD

./amdgpu-pro-install -y --opencl=pal,legacy

 

0 Likes

Gpu doesn't want to work. The terminal displays the same ouputs as before, nothing has changed. When installing the driver from a link, the installer claims that I have an unsupported operating system. How ironic. When packages are installed manually, there are unresolved dependencies. Since these are working computers, I will simply reshuffle and install windows on these machines. I have spent almost two weeks troubleshooting this problem. This is the last time I worked with AMD products.

Thank you very much, Tom, for your time and effort.

0 Likes

I'm afraid I didn't help. I'm glad I gained some knowledge about KDE Neon. For me AMD graphics cards are great, also because under Linux they work without any problems and that's on the drivers built into the kernel ... . If you ever want to try again, I recommend Kubuntu, currently version 18.04.3. The APU card should work immediately after the installation (in fact, even during the installation).

0 Likes

Try: sudo modprobe amdgpu

Next would be setting the active display adapter to the amdgpu. I don't know the command for this...

It appears linux is giving you a generic frame buffer for whatever you have the monitor plugged into. I assume it's the Apu.

0 Likes
jdrobinson314
Challenger

One of the good things about Linux is that there are so many variants that can be tried out for compatibility with hardware.

But, first, it looks like that APU is a relatively newer model which most motherboards didn't originally include support for - this means that your motherboard may only partially recognize the CPU...it's rare that this happens like it does. Usually, the chip won't post at all.

It looks like the bios verson 2006 added support for this APU, there's a new version 2011 also. I would check the bios version. Updating this is not tirvial using linux, but most updates can be done over the web directly from asus bios ( which may or may not work ), and also by USB - be careful here, as the bios file name must be specific to the board or very bad things can go wrong. I would try updating the bios from the web if possible. edit: By specific, I mean it has to have a specific file name, you will have to look this up, as I don't know if it comes like this when downloaded.

Other problem might be that the on board graphics isn't the primary graphics, but I wouldn't know why you would get picture or display from it with such basic functionality. Maybe try increasing available memory window for it to something like 1gb, or 2gb.

The other problem may the kernel version and the new APU - you should aim for a distro with at least version 4.6 or better. I know that's an unusual kernel version, but 4.6 is where all the good vulkan stuff started to get added. You could possibly test the system with Manjaro ( this is a rolling release version, there is a live usb version / iso available ). The have both 4.15 and 5.1+ kernel version. Although I'm not sure how to live boot into 5.1 kernel unless it's an option in the startup.

Hi. Thank you for your comment. The first problem is solved... now I am going to test the coexistence with Nvidia GPU for CUDA. :-)