Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Basically anything released by Intel or AMD will work, but try to avoid that absolutely newest of either since the drivers are often...less than wonderful.
The problem with NVidia cards is NVidia only recently started providing specifications necessary for FOSS driver developers to write drivers fully capable of supporting all NVidia functionality, which means they perform less well than they could for those using entirely FOSS software. Since it only just started, it only applies to the newest NVidia models. NVidia didn't make the provision retroactive to older models. OTOH, NVidia's drivers are proprietary, non-FOSS, making their users dependent on the whim of NVidia to keep them compatible with kernel development. They constantly lag to varying extent, which complicates the normal process of keeping a system up-to-date.
Most NVidia GPUs can work with FOSS drivers, but their sub-par performance can't justify their premium cost.
Both AMD and Intel participate directly in FOSS driver development for their products.
Another point to consider is many laptops are provided with two GPUs, typically one from Intel and another from NVidia, termed "Optimus", but sometimes it's AMD+NVidia or Intel+AMD. Any of these result in more complicated maintenance, and very commonly difficulty in initial installation. To keep life its simplest, stick to one GPU from AMD or Intel a minimum of 6 months or more old, to give bleeding edge hardware users time to find all the bugs the developers must fix.
Last edited by mrmazda; 03-21-2024 at 08:08 PM.
Reason: misspell fix, twice
Basically, what Timothy Miller said. I been fortunate enough to have been able to purchase native Linux computers for the last decade or so, and every one of them has been Intel inside.
Thank you for your replies.
I'm fleshing out a HP EliteDesk 800 G2 SFF barebones. So far it's got Debian 12.4, kernal 6.1.0-18, KDE Plasma wayland, an i5 6600 processor and 16GB RAM. I put an AMD Radeon R5 340X 2GB GDDR3 PCIe graphics card into it and the max scrreen resolution is 1024 x 768 through the DVI 24+5 port. The monitor says to increase resolution to 1440 x 900. When I use the VGA port the resolution is 1440 x 900. I tried another GPU and it's back to 1024 x 768.
Eventually, there will be 2 displays. Does anyone have ideas on how to get 1440 x 900 resolution from the GPU? How can I determine what driver goes with what GPU?
Thanks in advance.
Here is the lspci:
michael@debian:~$ su
Password:
root@debian:/home/michael# lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Thermal Subsystem (rev 31)
00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)
00:16.3 Serial controller: Intel Corporation 100 Series/C230 Series Chipset Family KT Redirection (rev 31)
00:17.0 SATA controller: Intel Corporation Q170/Q150/B150/H170/H110/Z170/CM236 Chipset SATA Controller [AHCI Mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #6 (rev f1)
00:1c.6 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #7 (rev f1)
00:1d.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #9 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Q170 Chipset LPC/eSPI Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31)
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-LM (rev 31)
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Oland XT [Radeon HD 8670 / R5 340X OEM / R7 250/350/350X OEM] (rev 83)
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series]
You should be able to get exactly the right resolution from two displays with that Radeon automatically, as long as the right firmware and drivers are installed. I have a Radeon that differs little from yours:
Note the kernel cmdline parameters I have in Grub, which I have bolded. They are required to ensure use of the amdgpu kernel device module, rather than the older radeon. Officially, the amdgpu module for our GPUs is "experimental". It may be that you haven't installed the required firmware-amd-graphics. If you wish to use the amdgpu display driver you need xserver-xorg-video-amdgpu installed. If you wish to use the radeon display driver, then you need xserver-xorg-video-radeon installed. The modesetting display driver, not separately packaged, is the upstream display driver default that is supposed to work with either of the kernel modules, so requires neither xserver-xorg-video-amdgpu nor xserver-xorg-video-radeon. If you wish use of the radeon display driver, you need the kernel cmdline options I use switched from 0 and 1 to 1 and 0 to make it clear which you wish loaded. Also, your PC BIOS may need adjustment to ensure the discrete GPU is used rather than the Intel CPU's integrated GPU. Finally, you must connect the displays to the ports on your radeon, not those on the motherboard.
To be clear in summary:
available, applicable kernel device modules (drivers) suitable are provided with each kernel, and named amdgpu and radeon
required GPU device firmware for Oland and kin is provided by firmware-amd-graphics
available, applicable X display drivers suitable are three:
modesetting (default; not separately packaged)
radeon, inexplicably provided by both xserver-xorg-video-ati and xserver-xorg-video-radeon (either will suffice)
amdgpu, provided by xserver-xorg-video-amdgpu
The complication of choices here only applies to two generations of Radeons. Yours and my Olands are GCN#1. The other is GCN#2. Setup is simpler for both older and newer Radeons.
As far as I can remember there was only really one time at which even dared to contemplate using the proprietary NVidia drivers under Li on a computer that was a birthday gift aimed at my desire to play games like Age of Empires 1 and II as well as the Unreal tournament series of title a games of the early 200s.
Since then I've tried my darnedest to avoid NVidia card like they are the plague.
We would all benefit a great deal if the OP would go into greater detail about the glitch or problems that they are exasperating via a look into the requisite log files either via the code blocks feature provided here on LQ or a third party service like pastebin.com.
I followed the suggestions and am still stuck at 1024 x 768 resolution. I've tried the other PCI slot and it's the same. The only other thing I can think is the DVI-1 24+5 to VGA adapter is somehow limiting the screen resolution. For what it's worth, here's the log:
17:29:16 gnome-logs: Error retrieving the sender timestamps: Cannot assign requested address
17:29:01 xdg-desktop-por: xdp-kde-settings: Namespace "org.gnome.desktop.a11y.interface" is not supported
17:29:01 gnome-logs: Unknown key gtk-modules in /home/michael/.config/gtk-4.0/settings.ini
17:29:01 systemd: Started app-org.gnome.Logs-b385786ecbd441eeb926657d4f87c4b9.scope - Logs - Log Viewer.
17:28:58 plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.kicker/contents/ui/ItemListDialog.qml:73: TypeError: Value is null and could not be converted to an object
17:28:55 kwin_x11: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 57870, resource id: 65011725, major code: 18 (ChangeProperty), minor code: 0
17:28:52 kded5: QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
17:28:43 systemd: Started gvfs-metadata.service - Virtual filesystem metadata service.
17:28:43 dbus-daemon: [session uid=1000 pid=992] Successfully activated service 'org.gtk.vfs.Metadata'
17:28:43 systemd: Starting gvfs-metadata.service - Virtual filesystem metadata service...
17:28:43 dbus-daemon: [session uid=1000 pid=992] Activating via systemd: service name='org.gtk.vfs.Metadata' unit='gvfs-metadata.service' requested by ':1.84' (uid=1000 pid=2083 comm="/usr/libexec/tracker-extract-3")
17:28:43 systemd: Started tracker-extract-3.service - Tracker metadata extractor.
17:28:43 dbus-daemon: [session uid=1000 pid=992] Successfully activated service 'org.freedesktop.Tracker3.Miner.Extract'
17:28:43 systemd: Starting tracker-extract-3.service - Tracker metadata extractor...
17:28:43 dbus-daemon: [session uid=1000 pid=992] Activating via systemd: service name='org.freedesktop.Tracker3.Miner.Extract' unit='tracker-extract-3.service' requested by ':1.14' (uid=1000 pid=1111 comm="/usr/libexec/tracker-miner-fs-3")
17:28:27 polkit-kde-auth: Finish obtain authorization: true
17:28:17 plasma-discover: file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/globaltoolbar/ToolBarPageHeader.qml:86:13: QML Binding: Binding loop detected for property "value"
17:28:09 systemd: Started app-org.kde.discover-f88a3505e380408cb81d81fe2b936ecb.scope - Discover - Software Center.
17:28:09 kwin_x11: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 52064, resource id: 65011724, major code: 18 (ChangeProperty), minor code: 0
17:27:49 systemd: app-org.kde.khelpcenter-c8a69856beb2499a88adf16eb2cc8e33.scope: Consumed 1.537s CPU time.
17:27:49 kwin_x11: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 46859, resource id: 73400372, major code: 18 (ChangeProperty), minor code: 0
17:27:37 systemd: Started app-org.kde.khelpcenter-c8a69856beb2499a88adf16eb2cc8e33.scope - Help - Help Center.
17:27:37 kwin_x11: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 44075, resource id: 35651978, major code: 18 (ChangeProperty), minor code: 0
17:26:55 plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.kicker/contents/ui/ItemListDialog.qml:73: TypeError: Value is null and could not be converted to an object
17:26:28 kwin_x11: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 32245, resource id: 14699263, major code: 15 (QueryTree), minor code: 0
17:25:39 pkexec: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
17:25:39 polkit-kde-auth: Finish obtain authorization: true
17:25:34 systemd: Started app-synaptic-f708213e196d417d9fb70957e12a9db7.scope - Synaptic Package Manager - Package Manager.
17:25:34 kwin_x11: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 18346, resource id: 35651855, major code: 18 (ChangeProperty), minor code: 0
17:25:31 plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.kicker/contents/ui/ItemListDialog.qml:73: TypeError: Value is null and could not be converted to an object
17:25:25 kwin_x11: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 14691, resource id: 35651799, major code: 18 (ChangeProperty), minor code: 0
17:25:25 systemd: app-systemsettings-7eaa19b535284224ba60dd4c89c95559.scope: Consumed 3.256s CPU time.
17:25:25 kwin_x11: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 14682, resource id: 14680247, major code: 18 (ChangeProperty), minor code: 0
17:25:14 systemsettings: qml: The item SubCategoryPage_QMLTYPE_74(0x55675bdd7cb0) is already in the PageRow
17:24:50 kwin_x11: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 9068, resource id: 35651798, major code: 18 (ChangeProperty), minor code: 0
17:24:50 systemd: Started app-systemsettings-7eaa19b535284224ba60dd4c89c95559.scope - System Settings - System Settings.
17:24:47 plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.kicker/contents/ui/ItemListDialog.qml:73: TypeError: Cannot call method 'hasOwnProperty' of null
17:24:36 systemd: Startup finished in 25.247s.
17:24:35 dbus-daemon: [session uid=1000 pid=992] Successfully activated service 'org.freedesktop.Tracker3.Miner.Files'
17:24:35 plasmashell: Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml"
17:24:34 systemd: Started gvfs-goa-volume-monitor.service - Virtual filesystem service - GNOME Online Accounts monitor.
17:24:34 dbus-daemon: [session uid=1000 pid=992] Successfully activated service 'org.gtk.vfs.GoaVolumeMonitor'
17:24:34 systemd: Starting gvfs-goa-volume-monitor.service - Virtual filesystem service - GNOME Online Accounts monitor...
17:24:34 dbus-daemon: [session uid=1000 pid=992] Activating via systemd: service name='org.gtk.vfs.GoaVolumeMonitor' unit='gvfs-goa-volume-monitor.service' requested by ':1.14' (uid=1000 pid=1111 comm="/usr/libexec/tracker-miner-fs-3")
17:24:34 systemd: Started gvfs-afc-volume-monitor.service - Virtual filesystem service - Apple File Conduit monitor.
17:24:34 dbus-daemon: [session uid=1000 pid=992] Successfully activated service 'org.gtk.vfs.AfcVolumeMonitor'
17:24:34 systemd: Starting gvfs-afc-volume-monitor.service - Virtual filesystem service - Apple File Conduit monitor...
17:24:34 dbus-daemon: [session uid=1000 pid=992] Activating via systemd: service name='org.gtk.vfs.AfcVolumeMonitor' unit='gvfs-afc-volume-monitor.service' requested by ':1.14' (uid=1000 pid=1111 comm="/usr/libexec/tracker-miner-fs-3")
17:24:34 systemd: Started gvfs-mtp-volume-monitor.service - Virtual filesystem service - Media Transfer Protocol monitor.
17:24:34 dbus-daemon: [session uid=1000 pid=992] Successfully activated service 'org.gtk.vfs.MTPVolumeMonitor'
17:24:34 systemd: Starting gvfs-mtp-volume-monitor.service - Virtual filesystem service - Media Transfer Protocol monitor...
The log in comment #11 appears to begin only after X setup has finished as best it can, after Plasma has started, unhelpful to debugging of being stuck at 1024x768.
The log to start with is usually Xorg.0.log, found either in /var/log/ or in ~/.local/share/xorg/, unless trying to use Wayland, in which case it may not exist and logging might be extractable from the journal. The comment #7 inxi command can also be telling. Stuck at 1024x768 is a typical result of required driver(s) not loading, The Oland-required drivers radeon or amdgpu depend on firmware-amd-graphics being installed and working.
I attempted to post the xorg log here however it did not post probably due to size.
The verbage I'm referring to is,"Note the kernel cmdline parameters I have in Grub, which I have bolded". I thought GRUB is where it came from because it was mentioned.
This is what I've done so far:
Uninstalled and re-installed drivers.
Tried a different OS.
Tried a different GPU card.
Re-installed Debian 12.4
The output from the integrated graphics via the VGA port is 1440 x 900.
The output from the card is limited to 1024 x 768.
I'm using a DVI 24+5 to a VGA adapter which may explain why the monitor doesn't see the DVI but does see D-bus.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.