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.
Hey all!
Recently I got new old machine which I'm trying to make my temporary workstation as I don't have access to my personal computer. I've installed Debian 12 (also I tried antiX, XM, xubuntu with same problems) and when machine starts, screen turns off. It looks that the problem is with GPU driver as when I add "nomodeset" or "radeon.modeset=0" to grub, system starts correctly (only with 640x480 option). I've tried installing Nvidia drivers following this instructons with no success: https://wiki.debian.org/NvidiaGraphicsDrivers
At the moment I wiped out system and reinstalled it, so I'm trying everything from scratch. Slowly I'm loosing hope...
Debian 12 with GNOME
Motherboard: Gigabyte GA-880GM-UD2H,
Processor: AMD Athlon( II X3 445
Graphic card: Radeon HD 4850
I will grateful for any help
Last edited by radeonobscure; 01-30-2024 at 05:54 AM.
Go to BIOS and check whether onboard graphics of GA-880GM-UD2H is completely disabled.
Radeon HD 4850 GPU is too old for amdgpu driver. radeon driver must be used instead. Ensure that your distro doesn't try to load amdgpu. Blacklist it.
I choosed Linux x86 64-Bit version of it and followed the GUI installer. I had to install GCC and Make, also I had to install Linux headers. There was also problem with missing "/lib/modules/6.1.0-17-amd64/build/include/linux/version.h" so I've created manually "linux" folder and copied verion.h like:
So couldn't do anything and reinstalled entire OS once again. Right now I've blacklisted admgpu as well as disabled onboard VGA and still looking for solution...
There is no supported proprietary driver for these cards. The proprietary driver stopped being developed like a decade ago, and is no longer even mildly compatible with current kernels.
I BELIEVE the HD 4850 should use the built-in Radeon driver and will offer full 3d acceleration with it. You won't want to have Catalyst/FGLRX or any Nvidia proprietary drivers installed, and you may need to blacklist the amdgpu drivers to get Radeon to properly load.
It MAY be possible to use amdgpu drivers with this card, as I really don't remember when they made the transition, but I think this predates that support even with attempting to force it.
Last edited by Timothy Miller; 01-31-2024 at 11:34 AM.
Still nothing. I can login to the system (black screen doesn't show up) but I still see *-display UNCLAIMED and can't change resolution (it's only 640x480).
Last edited by radeonobscure; 01-31-2024 at 12:08 PM.
There's two modules for Radeon: the older one that you can probably use is called "ATI Radeon" in the kernel configs and "radeon" as a module the other is AMD GPU, called "amdgpu" as a module. That's CONFIG_DRM_RADEON vs CONFIG_DRM_AMDGPU. I'd try "radeon" first. The X11 support will likely be xf86-video-ati. Assuming you have the kernel and its modules, you shouldn't have to download any outside drivers. I've had alot of Radeons and always used the in-kernel support.
There's two modules for Radeon: the older one that you can probably use is called "ATI Radeon" in the kernel configs and "radeon" as a module the other is AMD GPU, called "amdgpu" as a module. That's CONFIG_DRM_RADEON vs CONFIG_DRM_AMDGPU. I'd try "radeon" first. The X11 support will likely be xf86-video-ati. Assuming you have the kernel and its modules, you shouldn't have to download any outside drivers. I've had alot of Radeons and always used the in-kernel support.
I'm not sure how I can switch them? In grub file?
Code:
user@debian:~$ sudo modprobe radeon
modprobe: ERROR: could not insert 'radeon': Invalid argument
Last edited by radeonobscure; 01-31-2024 at 12:18 PM.
Followed the link you mentioned and still black screen.
Also I checked resolutions with xrandr and this is the output.
Code:
user@debian:~$ xrandr -q
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 400, current 640 x 480, maximum 720 x 480
default connected primary 640x480+0+0 0mm x 0mm
640x480 0.00*
720x400 0.00
720x480 0.00
and lspci -nnk
Code:
user@debian:~$ lspci -nnk
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] RS880 Host Bridge [1022:9601]
Subsystem: Advanced Micro Devices, Inc. [AMD] RS880 Host Bridge [1022:9601]
00:02.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (ext gfx port 0) [1022:9603]
Subsystem: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (ext gfx port 0) [1022:9601]
Kernel driver in use: pcieport
00:0a.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 5) [1022:9609]
Subsystem: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 5) [1022:9601]
Kernel driver in use: pcieport
00:11.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] [1002:4391]
Subsystem: Gigabyte Technology Co., Ltd GA-78/880-series motherboard [1458:b002]
Kernel driver in use: ahci
Kernel modules: ahci
00:12.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
Subsystem: Gigabyte Technology Co., Ltd GA-78/880-series motherboard [1458:5004]
Kernel driver in use: ohci-pci
Kernel modules: ohci_pci
00:12.1 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller [1002:4398]
Subsystem: Gigabyte Technology Co., Ltd GA-MA78GM-S2H motherboard [1458:5004]
Kernel driver in use: ohci-pci
Kernel modules: ohci_pci
00:12.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
Subsystem: Gigabyte Technology Co., Ltd GA-78/880-series motherboard [1458:5004]
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:13.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
Subsystem: Gigabyte Technology Co., Ltd GA-78/880-series motherboard [1458:5004]
Kernel driver in use: ohci-pci
Kernel modules: ohci_pci
00:13.1 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller [1002:4398]
Subsystem: Gigabyte Technology Co., Ltd GA-MA78GM-S2H motherboard [1458:5004]
Kernel driver in use: ohci-pci
Kernel modules: ohci_pci
00:13.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
Subsystem: Gigabyte Technology Co., Ltd GA-78/880-series motherboard [1458:5004]
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller [1002:4385] (rev 3c)
Subsystem: Gigabyte Technology Co., Ltd GA-770/78-series motherboard [1458:4385]
Kernel modules: i2c_piix4, sp5100_tco
00:14.1 IDE interface [0101]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller [1002:439c]
Subsystem: Gigabyte Technology Co., Ltd GA-MA78GM-S2H motherboard [1458:5002]
Kernel driver in use: pata_atiixp
Kernel modules: pata_atiixp, ata_generic
00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) [1002:4383]
Subsystem: Gigabyte Technology Co., Ltd GA-880GMA-USB3 [1458:a102]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller [1002:439d]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller [1002:439d]
00:14.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge [1002:4384]
00:14.5 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller [1002:4399]
Subsystem: Gigabyte Technology Co., Ltd GA-78/880-series motherboard [1458:5004]
Kernel driver in use: ohci-pci
Kernel modules: ohci_pci
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor HyperTransport Configuration [1022:1200]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Address Map [1022:1201]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor DRAM Controller [1022:1202]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Miscellaneous Control [1022:1203]
Kernel driver in use: k10temp
Kernel modules: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Link Control [1022:1204]
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RV770 [Radeon HD 4850] [1002:9442]
Subsystem: ASUSTeK Computer Inc. RV770 [Radeon HD 4850] [1043:036e]
Kernel modules: radeon, amdgpu
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] RV770 HDMI Audio [Radeon HD 4850/4870] [1002:aa30]
Subsystem: ASUSTeK Computer Inc. RV770 HDMI Audio [Radeon HD 4850/4870] [1043:aa30]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 03)
Subsystem: Gigabyte Technology Co., Ltd Onboard Ethernet [1458:e000]
Kernel driver in use: r8169
Kernel modules: r8169
03:0e.0 FireWire (IEEE 1394) [0c00]: Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link) [104c:8024]
Subsystem: Gigabyte Technology Co., Ltd Motherboard [1458:1000]
Kernel driver in use: firewire_ohci
Kernel modules: firewire_ohci
Last edited by radeonobscure; 02-01-2024 at 04:44 AM.
I don't have any Debian installed with my HD4650, but I do have Mageia 9, Fedora 39, and openSUSE Tumbleweed, Slowroll and Leap 15.5 installed on it, and I have an HD3470 with Bookworm. All are working normally on pure OOTB software packages, and no special graphics setup. I suggest to check if you have GDM installed and enabled, and if you do, switch to something else, such as LightDM or TDM. I use only TDM here on all my Debians. The required kernel module is radeon. The better X display driver is the newer technology upstream default, modesetting, but the radeon provided by xserver-xorg-video-ati should work as well. The modesetting is not separately packaged, and is enabled by simply not having xserver-xorg-video-ati installed, and successfully loading the radeon kernel module. The following are from properly functioning installations:
There have been various difficult issues for some users of recent Bookworm kernels. 6.1.0-18 is expected soon if it hasn't already arrived. If it hasn't, it might be worth trying something older, e.g. 6.1.0-13:
Hmmm, switched to TDE and the problem is still the same. Also 'Linux 6.1.0-13-amd64 x86_64' didn't work. I'm wondering, if it can be the problem with the cable support or something? As I checked on different screen and it shows "no cable connected". This Radeon has only two DVI outputs and I'm using DVI-HDMI cable. Maybe I should switch to DVI-VGA? Is it possible that it's the problem with the cable? The problem not showing with nomodeset.
Last edited by radeonobscure; 02-01-2024 at 07:14 AM.
Hmmm, switched to TDE and the problem is still the same. Also 'Linux 6.1.0-13-amd64 x86_64' didn't work. I'm wondering, if it can be the problem with the cable support or something? As I checked on different screen and it shows "no cable connected". This Radeon has only two DVI outputs and I'm using DVI-HDMI cable. Maybe I should switch to DVI-VGA? Is it possible that it's the problem with the cable? The problem not showing with nomodeset.
Finally I've solved the problem. I found on one Windows 10 forum problem with displaying image wrong on DVI-HDMI. What I didn't know is that on the back of the card are two outputs and both are used to different connections:
- white for DVI-VGA
- yellow for DVI-HDMI
I was using the white one during installation. When I switched to yellow one and reinstalled OS from scratch it worked OOTB. I'm not exactly sure why after installation on white one switching outputs didn't help, but I guess it was wrongly configured.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.