Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have recently built myself a new desktop machine. I put an AMD Ryzen 3 3200G (with Radeon Vega 8 graphics) on an Asrock B450M-HDV R4.0 motherboard. Everything I read before the build led me to believe that this combination should be able to provide HDMI, DVI, and VGA outputs concurrently. Each output works fine individually, but I can't seem to get more than one output to work at a time. When I check xrandr, no matter what I've tried, it only shows one output. I'm running MX Linux on that machine, in case that makes a difference.
I have tried copying, independently, 10-amdgpu.conf and 10-radeon.conf from /usr/share/X11/xorg.conf.d/ to /etc/X11/xorg.conf.d/, but neither of them worked. Both times I got only a blank screen with a flashing cursor in the upper left corner, instead of starting the GUI. I did check the output of inxi -G, and found that the amdgpu driver showed as "unloaded" when I tried to use it, but the radeon driver did not. The generated /etc/X11/xorg.conf was quite generic, and only called for the vesa driver. I tried substituting amdgpu and radeon there, but with the same disappointing results. I even tried to put together my own xorg.conf, with the monitor specs and such, but that didn't work either. I wasn't 100% certain of what I was doing with that, however. I tried to follow the examples I could find, but I kept feeling that there was something I just wasn't getting.
The output of uname -r is:
Code:
4.19.0-1-amd64
The output of lspci is:
Code:
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15d0
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 15d1
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15db
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15dc
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e8
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e9
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ea
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15eb
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ec
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ed
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ee
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ef
01:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 43d5 (rev 01)
01:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] Device 43c8 (rev 01)
01:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43c6 (rev 01)
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43c7 (rev 01)
02:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43c7 (rev 01)
02:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43c7 (rev 01)
02:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43c7 (rev 01)
02:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43c7 (rev 01)
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
08:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 15d8 (rev c9)
08:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15de
08:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 15df
08:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e0
08:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e1
08:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Device 15e3
09:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 61)
Have you tried arandr? I have zero knowledge of these things but arandr always did the trick for me like magic. Run, enable screens, position them, save, done.
Have you tried with no /etc/X11/xorg.conf and no non-default files in /etc/X11/xorg.conf.d/? Automagic X configuration works with most hardware and should for yours too. Do you have the FOSS amdgpu X driver installed? Upstream's name for it is xf86-video-amdgpu, while what you don't want used for AMD so new is the radeon DDX. What DDX is in use according to /var/log/Xorg.?.log(s)? What does
Code:
inxi -GxxSza
report run from any Xterm or equivalent terminal emulator? Are you booting without KMS disabled?
Have you tried arandr? I have zero knowledge of these things but arandr always did the trick for me like magic. Run, enable screens, position them, save, done.
I've never used arandr, but I believe that it's only a visual frontend for xrandr, which I have been using. The problem I'm having is that there simply isn't anything, beyond the one monitor at a time, being detected for xrandr to work with. Thanx anyway.
Have you tried with no /etc/X11/xorg.conf and no non-default files in /etc/X11/xorg.conf.d/? Automagic X configuration works with most hardware and should for yours too. Do you have the FOSS amdgpu X driver installed? Upstream's name for it is xf86-video-amdgpu, while what you don't want used for AMD so new is the radeon DDX. What DDX is in use according to /var/log/Xorg.?.log(s)? What does
Code:
inxi -GxxSza
report run from any Xterm or equivalent terminal emulator? Are you booting without KMS disabled?
I hadn't tried it without any of the xorg.conf files (including those in /etc/X11/xorg.conf.d), but I have done it since. Things did change, but it didn't fix the problem.
The output of inxi -GxxSza before removing the xorg.conf files:
I have, and have tried to get the system to use, /usr/lib/xorg/modules/drivers/amdgpu_drv.so, which I believe is the correct driver. For some reason, when I put 10-amdgpu.conf into /etc/X11/xorg.conf.d, inxi -G showed that the amdgpu driver had been unloaded. I don't understand why that would happen, but it did. That driver wasn't even mentioned otherwise.
I couldn't find "DDX" anywhere in /var/log/Xorg.0.log.
As far as booting without KMS disabled, a little quick googling makes me think you're talking about kernel mode setting. I honestly don't know how to go about finding that information, much less changing it if necessary.
DDX is not a term anyone will find in a log. The middle D means driver. DDX is a way to distinguish a named "driver" used in X, such as radeon, intel, nouveau, and for your GPU, amdgpu, from kernel modesetting drivers, some of which are named the same, e.g. radeon, nouveau and amdgpu. DDXes depend on kernel modesetting functionality.
/usr/lib/xorg/modules/drivers/amdgpu_drv.so, provided by xserver-xorg-video-amdgpu (upstream: xf86-video-amdgpu), is indeed the DDX your GPU wants. Inxi is reporting the DDX provided by xserver-xorg-video-ati (upstream: xf86-video-ati), /usr/lib/xorg/modules/drivers/ati_drv.so is the active X driver. Consequently, Xorg.0.log would be expected to have many lines that include the string RADEON(0) (which may be in lower case). Purging your system of xserver-xorg-video-ati should be sufficient to cause use of the amdgpu DDX, which should show up in Xorg.0.log as AMDGPU(0) instead of RADEON(0).
Inxi is puzzlingly also reporting use of the generic, limited functionality, non-accelerated, framebuffer driver, which in the log would show up as endlessly repeated FBDEV(0). That you definitely do not want to see. The only driver you want to see immediately following "Display: x11 server: X.Org 1.19.2 driver:" in inxi output is amdgpu. All others should follow "unloaded: " A possible exception would be the multi-GPU modesetting DDX (upstream's default, provided by xserver-xorg-core), which should support your display's native mode, and produce respectable performance, but not as good as the amdgpu DDX.
Inxi shows that KMS is not being disabled. If it was, its parameters line would include nomodeset or amdgpu*=0.
Are firmware-linux-free and firmware-amd-graphics installed? If not, either could be the reason /usr/lib/xorg/modules/drivers/amdgpu_drv.so is not the DDX already being used. libdrm-amdgpu1 is also a requirement.
Have you ensured that you're using all the bells and whistles for your GPU? I had to install extra firmware to enable an external monitor for my AMD GPU.
$ glxinfo | grep -i direct
Make sure DRI = yes, or you're definitely NOT using your GPU to it's abilities. It would probably help if you output the output from xrandr. I would suspect some sort of EDID quirk. Especially if you're using something like a DVI to HDMI adapter.
<snip>
Purging your system of xserver-xorg-video-ati should be sufficient to cause use of the amdgpu DDX, which should show up in Xorg.0.log as AMDGPU(0) instead of RADEON(0).
<snip>
Are firmware-linux-free and firmware-amd-graphics installed? If not, either could be the reason /usr/lib/xorg/modules/drivers/amdgpu_drv.so is not the DDX already being used. libdrm-amdgpu1 is also a requirement.
I found firmware-amd-graphics listed in /var/log/dpkg.log.1, but not firmware-linux-free. Firmware-linux-nonfree was listed, if that makes a difference.
I renamed /usr/lib/xorg/modules/drivers/ati_drv.so so that it wouldn't be used, edited /etc/X11/xorg.conf to use amdgpu instead of vesa, and was disappointed (but not surprised) to end up with a blank screen. The /var/log/Xorg.0.log file this attempt generated reads:
Code:
[ 22.341]
X.Org X Server 1.19.2
Release Date: 2017-03-02
[ 22.341] X Protocol Version 11, Revision 0
[ 22.341] Build Operating System: Linux 4.9.0-8-amd64 x86_64 Debian
[ 22.341] Current Operating System: Linux azkadellia 4.19.0-1-amd64 #1 SMP Debian 4.19.5-2~mx17+1 (2018-12-12) x86_64
[ 22.341] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.19.0-1-amd64 root=######### ro vga=794 quiet splash
[ 22.341] Build Date: 03 November 2018 03:09:11AM
[ 22.341] xorg-server 2:1.19.2-1+deb9u5 (https://www.debian.org/support)
[ 22.341] Current version of pixman: 0.34.0
[ 22.341] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 22.341] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 22.341] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Oct 9 21:31:47 2019
[ 22.449] (==) Using config file: "/etc/X11/xorg.conf"
[ 22.450] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 22.450] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 22.634] (==) No Layout section. Using the first Screen section.
[ 22.634] (**) |-->Screen "Screen0" (0)
[ 22.634] (**) | |-->Monitor "Monitor0"
[ 22.695] (**) | |-->Device "AMD"
[ 22.695] (==) Automatically adding devices
[ 22.695] (==) Automatically enabling devices
[ 22.695] (==) Automatically adding GPU devices
[ 22.695] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 22.839] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 22.840] Entry deleted from font path.
[ 22.889] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[ 22.889] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 22.889] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 22.889] (II) Loader magic: 0x55b718c84e00
[ 22.889] (II) Module ABI versions:
[ 22.889] X.Org ANSI C Emulation: 0.4
[ 22.889] X.Org Video Driver: 23.0
[ 22.889] X.Org XInput driver : 24.1
[ 22.889] X.Org Server Extension : 10.0
[ 22.890] (++) using VT number 7
[ 22.890] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 22.892] (--) PCI:*(0:8:0:0) 1002:15d8:1002:15d8 rev 201, Mem @ 0xe0000000/268435456, 0xf0000000/2097152, 0xfcc00000/524288, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[ 22.892] (II) LoadModule: "glx"
[ 23.080] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 23.257] (II) Module glx: vendor="X.Org Foundation"
[ 23.257] compiled for 1.19.2, module version = 1.0.0
[ 23.257] ABI class: X.Org Server Extension, version 10.0
[ 23.257] (II) LoadModule: "amdgpu"
[ 23.257] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[ 23.459] (II) Module amdgpu: vendor="X.Org Foundation"
[ 23.459] compiled for 1.19.2, module version = 18.1.0
[ 23.459] Module class: X.Org Video Driver
[ 23.459] ABI class: X.Org Video Driver, version 23.0
[ 23.459] (II) AMDGPU: Driver for AMD Radeon:
All GPUs supported by the amdgpu kernel driver
[ 23.480] (II) AMDGPU(0): [KMS] drm report modesetting isn't supported.
[ 23.480] (EE) Screen 0 deleted because of no matching config section.
[ 23.480] (II) UnloadModule: "amdgpu"
[ 23.480] (EE) Device(s) detected, but none match those in the config file.
[ 23.480] (EE)
Fatal server error:
[ 23.480] (EE) no screens found(EE)
[ 23.480] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 23.480] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 23.481] (EE)
[ 23.498] (EE) Server terminated with error (1). Closing log file.
I tried googling "[KMS] drm report modesetting isn't supported," and read a few articles/posts from various sources, but none of them seemed to be all that informative, much less helpful.
I renamed /usr/lib/xorg/modules/drivers/ati_drv.so so that it wouldn't be used
VESA is a low-performace, limited function, fallback driver. Making it impossible to use won't help make an appropriate driver work.
Quote:
X.Org X Server 1.19.2 Release Date: 2017-03-02
This is older than your GPU, so may be your obstacle. 1.19.0, and drivers compiled for it, was released 15 November 2016. 1.20.0 was released 10 May 2018.
Quote:
Using config file: "/etc/X11/xorg.conf"
This file is rarely needed with current and recent X versions and kernels. It's often an obstacle to desired functionality.
I tried googling "[KMS] drm report modesetting isn't supported," and read a few articles/posts from various sources, but none of them seemed to be all that informative, much less helpful.
Amdgpu, as Intel and Nouveau and ATI, depends on kernel modesetting.
It's generally tough or impossible going with new hardware and software older than the hardware.
both monitors work in windows so it is not them. when i switch to fedora, only one lights. i do temporarily have one on a hdmi and one on a display port because my last nvidia card only had one of each. i will switch to display soon. i have read through this post and here are some of the info. to point out, mrmazda mentinoed xorg 1.19 vs xorg 1.2, mine is 1.2...
[ 14.138] (--) Log file renamed from "/var/log/Xorg.pid-1894.log" to "/var/log/Xorg.0.log"
[ 14.139]
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[ 14.139] Build Operating System: 5.1.16-200.fc29.x86_64
[ 14.139] Current Operating System: Linux Bor 5.2.18-200.fc30.x86_64 #1 SMP Tue Oct 1 13:14:07 UTC 2019 x86_64
[ 14.139] Kernel command line: BOOT_IMAGE=(hd7,gpt2)/vmlinuz-5.2.18-200.fc30.x86_64 root=/dev/mapper/fedora_localhost--live-root ro resume=/dev/mapper/fedora_localhost--live-swap rd.lvm.lv=fedora_localhost-live/root rd.lvm.lv=fedora_localhost-live/swap rhgb quiet
[ 14.139] Build Date: 10 September 2019 05:03:01PM
[ 14.139] Build ID: xorg-x11-server 1.20.5-7.fc30
[ 14.139] Current version of pixman: 0.38.0
[ 14.139] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 14.139] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 14.139] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Oct 14 17:44:16 2019
[ 14.140] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 14.140] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 14.141] (==) No Layout section. Using the first Screen section.
[ 14.141] (==) No screen section available. Using defaults.
[ 14.141] (**) |-->Screen "Default Screen Section" (0)
[ 14.141] (**) | |-->Monitor "<default monitor>"
[ 14.141] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 14.141] (==) Automatically adding devices
[ 14.141] (==) Automatically enabling devices
[ 14.141] (==) Automatically adding GPU devices
[ 14.141] (==) Automatically binding GPU devices
[ 14.141] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 14.141] (==) FontPath set to:
catalogue:/etc/X11/fontpath.d,
built-ins
[ 14.141] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 14.141] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 14.141] (II) Loader magic: 0x558e521d3e00
[ 14.141] (II) Module ABI versions:
[ 14.141] X.Org ANSI C Emulation: 0.4
[ 14.141] X.Org Video Driver: 24.0
[ 14.141] X.Org XInput driver : 24.1
[ 14.141] X.Org Server Extension : 10.0
[ 14.141] (++) using VT number 1
this same set up (monitor wise) worked on my old computer which had fedora 30 on a nvidia geforce 660 ti. so it has to be with the amd driver right?
For hardware as new as yours it absolutely needs to read amdgpu instead of ati,vesa. Since the official release of Navi was subsequent to the release of Fedora 30, I wouldn't expect that to be possible. You're probably going to do a lot better by installing Fedora 31 beta, which is targeted for release before the end of this month. With the beta you'll be able to automatically have the final release through the normal updates process when the release becomes official.
Quote:
from my xorg.0.log
"from" won't do. Most of what's important is missing from what you pasted. Upload the whole file to a pastebin and paste in your new thread the URL to where you pasted if you are interested in acquiring useful help.
I agree with mrmazda, because people will be more likely to see your problem in an original post of its own vs in a reply somewhere in another thread.
Quote:
Originally Posted by mrmazda
Unless using the exact same OS, motherboard and GPU/APU, you really should start your own thread instead of hijacking another's.
Besides, this thread is pretty much done for the time being. I've pulled the graphics card from my old machine and put it in this one so that I can run dual monitors while I patiently wait for the necessary software to properly operate my hardware.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.