LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Radeon issues with Debian 12 (https://www.linuxquestions.org/questions/linux-hardware-18/radeon-issues-with-debian-12-a-4175733352/)

radeonobscure 01-30-2024 05:45 AM

Radeon issues with Debian 12
 
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

pan64 01-30-2024 06:27 AM

Why did you install nvidia driver? That will surely not help on it.
probably something like this can help: https://wiki.debian.org/AMDGPUDriverOnStretchAndBuster2

Arnulf 01-30-2024 12:31 PM

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.

radeonobscure 01-31-2024 11:24 AM

I tried installing this driver: https://www.amd.com/en/support/graph...eon-hd-4850-x2

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:
Code:

cp -v /usr/include/linux/version.h /lib/modules/$(uname -r)/build/include/linux
But after installation it totally corrupted my system and I got this screen (with and without "nomodeset" in GRUB): https://i0.wp.com/www.thetqweb.com/w...ng?w=659&ssl=1

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...

Timothy Miller 01-31-2024 11:32 AM

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.

radeonobscure 01-31-2024 11:59 AM

Still having problems. I tried many things and nothing.

Code:

user@debian: sudo modprobe amdgpu
amdgpu              9601024  0
gpu_sched              53248  1 amdgpu
drm_buddy              20480  1 amdgpu
video                  65536  1 amdgpu
i2c_algo_bit          16384  1 amdgpu
drm_display_helper    184320  1 amdgpu
drm_ttm_helper        16384  1 amdgpu
ttm                    94208  2 amdgpu,drm_ttm_helper
drm_kms_helper        204800  2 drm_display_helper,amdgpu
drm                  614400  7 gpu_sched,drm_kms_helper,drm_display_helper,drm_buddy,amdgpu,drm_ttm_helper,ttm

Code:

user@debian: sudo lshw -C display
*-display UNCLAIMED     
      description: VGA compatible controller
      product: RV770 [Radeon HD 4850]
      vendor: Advanced Micro Devices, Inc. [AMD/ATI]
      physical id: 0
      bus info: pci@0000:01:00.0
      version: 00
      width: 64 bits
      clock: 33MHz
      capabilities: pm pciexpress msi vga_controller bus_master cap_list
      configuration: latency=0
      resources: memory:d0000000-dfffffff memory:fdfe0000-fdfeffff ioport:ee00(size=256) memory:c0000-dffff

Code:

user@debian: lspci -k | grep -iEA5 'vga|3d'
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV770 [Radeon HD 4850]
        Subsystem: ASUSTeK Computer Inc. RV770 [Radeon HD 4850]
        Kernel modules: radeon, amdgpu
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RV770 HDMI Audio [Radeon HD 4850/4870]
        Subsystem: ASUSTeK Computer Inc. RV770 HDMI Audio [Radeon HD 4850/4870]
        Kernel driver in use: snd_hda_intel

Code:

user@debian: sudo dmesg | grep -i 'amdgpu\|radeon'
gave nothing

Code:

user@debian: sudo lsmod | grep -i 'amd\|radeon'
edac_mce_amd          40960  0

I also made some changes in grub following this topic: https://ubuntuforums.org/showthread....0#post14152990

Code:

GRUB_CMDLINE_LINUX_DEFAULT="--- splash radeon.modeset=0 amdgpu.noretry=0 amdgpu.dc=1 video=uvesafb:1920x1080-32@60,mtrr:3,ywrap,noblank"
Code:

GRUB_GFXMODE=1920x1080x32
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).

jayjwa 01-31-2024 12:10 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.

radeonobscure 01-31-2024 12:16 PM

Quote:

Originally Posted by jayjwa (Post 6480502)
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


jayjwa 01-31-2024 12:34 PM

Make sure you have the module first (modinfo radeon). Then probably like this: https://askubuntu.com/questions/1080...-amdgpu-driver
I'm not on Debian so I can't say exactly how.

radeonobscure 01-31-2024 12:51 PM

Quote:

Originally Posted by jayjwa (Post 6480506)
Make sure you have the module first (modinfo radeon). Then probably like this: https://askubuntu.com/questions/1080...-amdgpu-driver
I'm not on Debian so I can't say exactly how.

Code:

user@debian:~$ sudo modinfo radeon
filename:      /lib/modules/6.1.0-17-amd64/kernel/drivers/gpu/drm/radeon/radeon.ko
license:        GPL and additional rights
description:    ATI Radeon
author:        Gareth Hughes, Keith Whitwell, others.
firmware:      radeon/R520_cp.bin
firmware:      radeon/RS600_cp.bin
firmware:      radeon/RS690_cp.bin
firmware:      radeon/R420_cp.bin
firmware:      radeon/R300_cp.bin
firmware:      radeon/R200_cp.bin
firmware:      radeon/R100_cp.bin
firmware:      radeon/SUMO2_me.bin
firmware:      radeon/SUMO2_pfp.bin
firmware:      radeon/SUMO_me.bin
firmware:      radeon/SUMO_pfp.bin
firmware:      radeon/SUMO_rlc.bin
firmware:      radeon/PALM_me.bin
firmware:      radeon/PALM_pfp.bin
firmware:      radeon/CYPRESS_smc.bin
firmware:      radeon/CYPRESS_rlc.bin
firmware:      radeon/CYPRESS_me.bin
firmware:      radeon/CYPRESS_pfp.bin
firmware:      radeon/JUNIPER_smc.bin
firmware:      radeon/JUNIPER_rlc.bin
firmware:      radeon/JUNIPER_me.bin
firmware:      radeon/JUNIPER_pfp.bin
firmware:      radeon/REDWOOD_smc.bin
firmware:      radeon/REDWOOD_rlc.bin
firmware:      radeon/REDWOOD_me.bin
firmware:      radeon/REDWOOD_pfp.bin
firmware:      radeon/CEDAR_smc.bin
firmware:      radeon/CEDAR_rlc.bin
firmware:      radeon/CEDAR_me.bin
firmware:      radeon/CEDAR_pfp.bin
firmware:      radeon/R700_rlc.bin
firmware:      radeon/R600_rlc.bin
firmware:      radeon/RV710_smc.bin
firmware:      radeon/RV710_me.bin
firmware:      radeon/RV710_pfp.bin
firmware:      radeon/RV740_smc.bin
firmware:      radeon/RV730_smc.bin
firmware:      radeon/RV730_me.bin
firmware:      radeon/RV730_pfp.bin
firmware:      radeon/RV770_smc.bin
firmware:      radeon/RV770_me.bin
firmware:      radeon/RV770_pfp.bin
firmware:      radeon/RS780_me.bin
firmware:      radeon/RS780_pfp.bin
firmware:      radeon/RV670_me.bin
firmware:      radeon/RV670_pfp.bin
firmware:      radeon/RV635_me.bin
firmware:      radeon/RV635_pfp.bin
firmware:      radeon/RV620_me.bin
firmware:      radeon/RV620_pfp.bin
firmware:      radeon/RV630_me.bin
firmware:      radeon/RV630_pfp.bin
firmware:      radeon/RV610_me.bin
firmware:      radeon/RV610_pfp.bin
firmware:      radeon/R600_me.bin
firmware:      radeon/R600_pfp.bin
firmware:      radeon/ARUBA_rlc.bin
firmware:      radeon/ARUBA_me.bin
firmware:      radeon/ARUBA_pfp.bin
firmware:      radeon/CAYMAN_smc.bin
firmware:      radeon/CAYMAN_rlc.bin
firmware:      radeon/CAYMAN_mc.bin
firmware:      radeon/CAYMAN_me.bin
firmware:      radeon/CAYMAN_pfp.bin
firmware:      radeon/CAICOS_smc.bin
firmware:      radeon/CAICOS_mc.bin
firmware:      radeon/CAICOS_me.bin
firmware:      radeon/CAICOS_pfp.bin
firmware:      radeon/TURKS_smc.bin
firmware:      radeon/TURKS_mc.bin
firmware:      radeon/TURKS_me.bin
firmware:      radeon/TURKS_pfp.bin
firmware:      radeon/BTC_rlc.bin
firmware:      radeon/BARTS_smc.bin
firmware:      radeon/BARTS_mc.bin
firmware:      radeon/BARTS_me.bin
firmware:      radeon/BARTS_pfp.bin
firmware:      radeon/si58_mc.bin
firmware:      radeon/banks_k_2_smc.bin
firmware:      radeon/hainan_k_smc.bin
firmware:      radeon/hainan_smc.bin
firmware:      radeon/hainan_rlc.bin
firmware:      radeon/hainan_mc.bin
firmware:      radeon/hainan_ce.bin
firmware:      radeon/hainan_me.bin
firmware:      radeon/hainan_pfp.bin
firmware:      radeon/HAINAN_smc.bin
firmware:      radeon/HAINAN_rlc.bin
firmware:      radeon/HAINAN_mc2.bin
firmware:      radeon/HAINAN_mc.bin
firmware:      radeon/HAINAN_ce.bin
firmware:      radeon/HAINAN_me.bin
firmware:      radeon/HAINAN_pfp.bin
firmware:      radeon/oland_k_smc.bin
firmware:      radeon/oland_smc.bin
firmware:      radeon/oland_rlc.bin
firmware:      radeon/oland_mc.bin
firmware:      radeon/oland_ce.bin
firmware:      radeon/oland_me.bin
firmware:      radeon/oland_pfp.bin
firmware:      radeon/OLAND_smc.bin
firmware:      radeon/OLAND_rlc.bin
firmware:      radeon/OLAND_mc2.bin
firmware:      radeon/OLAND_mc.bin
firmware:      radeon/OLAND_ce.bin
firmware:      radeon/OLAND_me.bin
firmware:      radeon/OLAND_pfp.bin
firmware:      radeon/verde_k_smc.bin
firmware:      radeon/verde_smc.bin
firmware:      radeon/verde_rlc.bin
firmware:      radeon/verde_mc.bin
firmware:      radeon/verde_ce.bin
firmware:      radeon/verde_me.bin
firmware:      radeon/verde_pfp.bin
firmware:      radeon/VERDE_smc.bin
firmware:      radeon/VERDE_rlc.bin
firmware:      radeon/VERDE_mc2.bin
firmware:      radeon/VERDE_mc.bin
firmware:      radeon/VERDE_ce.bin
firmware:      radeon/VERDE_me.bin
firmware:      radeon/VERDE_pfp.bin
firmware:      radeon/pitcairn_k_smc.bin
firmware:      radeon/pitcairn_smc.bin
firmware:      radeon/pitcairn_rlc.bin
firmware:      radeon/pitcairn_mc.bin
firmware:      radeon/pitcairn_ce.bin
firmware:      radeon/pitcairn_me.bin
firmware:      radeon/pitcairn_pfp.bin
firmware:      radeon/PITCAIRN_smc.bin
firmware:      radeon/PITCAIRN_rlc.bin
firmware:      radeon/PITCAIRN_mc2.bin
firmware:      radeon/PITCAIRN_mc.bin
firmware:      radeon/PITCAIRN_ce.bin
firmware:      radeon/PITCAIRN_me.bin
firmware:      radeon/PITCAIRN_pfp.bin
firmware:      radeon/tahiti_smc.bin
firmware:      radeon/tahiti_rlc.bin
firmware:      radeon/tahiti_mc.bin
firmware:      radeon/tahiti_ce.bin
firmware:      radeon/tahiti_me.bin
firmware:      radeon/tahiti_pfp.bin
firmware:      radeon/TAHITI_smc.bin
firmware:      radeon/TAHITI_rlc.bin
firmware:      radeon/TAHITI_mc2.bin
firmware:      radeon/TAHITI_mc.bin
firmware:      radeon/TAHITI_ce.bin
firmware:      radeon/TAHITI_me.bin
firmware:      radeon/TAHITI_pfp.bin
firmware:      radeon/mullins_sdma.bin
firmware:      radeon/mullins_rlc.bin
firmware:      radeon/mullins_mec.bin
firmware:      radeon/mullins_ce.bin
firmware:      radeon/mullins_me.bin
firmware:      radeon/mullins_pfp.bin
firmware:      radeon/MULLINS_sdma.bin
firmware:      radeon/MULLINS_rlc.bin
firmware:      radeon/MULLINS_mec.bin
firmware:      radeon/MULLINS_ce.bin
firmware:      radeon/MULLINS_me.bin
firmware:      radeon/MULLINS_pfp.bin
firmware:      radeon/kabini_sdma.bin
firmware:      radeon/kabini_rlc.bin
firmware:      radeon/kabini_mec.bin
firmware:      radeon/kabini_ce.bin
firmware:      radeon/kabini_me.bin
firmware:      radeon/kabini_pfp.bin
firmware:      radeon/KABINI_sdma.bin
firmware:      radeon/KABINI_rlc.bin
firmware:      radeon/KABINI_mec.bin
firmware:      radeon/KABINI_ce.bin
firmware:      radeon/KABINI_me.bin
firmware:      radeon/KABINI_pfp.bin
firmware:      radeon/kaveri_sdma.bin
firmware:      radeon/kaveri_rlc.bin
firmware:      radeon/kaveri_mec2.bin
firmware:      radeon/kaveri_mec.bin
firmware:      radeon/kaveri_ce.bin
firmware:      radeon/kaveri_me.bin
firmware:      radeon/kaveri_pfp.bin
firmware:      radeon/KAVERI_sdma.bin
firmware:      radeon/KAVERI_rlc.bin
firmware:      radeon/KAVERI_mec.bin
firmware:      radeon/KAVERI_ce.bin
firmware:      radeon/KAVERI_me.bin
firmware:      radeon/KAVERI_pfp.bin
firmware:      radeon/hawaii_k_smc.bin
firmware:      radeon/hawaii_smc.bin
firmware:      radeon/hawaii_sdma.bin
firmware:      radeon/hawaii_rlc.bin
firmware:      radeon/hawaii_mc.bin
firmware:      radeon/hawaii_mec.bin
firmware:      radeon/hawaii_ce.bin
firmware:      radeon/hawaii_me.bin
firmware:      radeon/hawaii_pfp.bin
firmware:      radeon/HAWAII_smc.bin
firmware:      radeon/HAWAII_sdma.bin
firmware:      radeon/HAWAII_rlc.bin
firmware:      radeon/HAWAII_mc2.bin
firmware:      radeon/HAWAII_mc.bin
firmware:      radeon/HAWAII_mec.bin
firmware:      radeon/HAWAII_ce.bin
firmware:      radeon/HAWAII_me.bin
firmware:      radeon/HAWAII_pfp.bin
firmware:      radeon/bonaire_k_smc.bin
firmware:      radeon/bonaire_smc.bin
firmware:      radeon/bonaire_sdma.bin
firmware:      radeon/bonaire_rlc.bin
firmware:      radeon/bonaire_mc.bin
firmware:      radeon/bonaire_mec.bin
firmware:      radeon/bonaire_ce.bin
firmware:      radeon/bonaire_me.bin
firmware:      radeon/bonaire_pfp.bin
firmware:      radeon/BONAIRE_smc.bin
firmware:      radeon/BONAIRE_sdma.bin
firmware:      radeon/BONAIRE_rlc.bin
firmware:      radeon/BONAIRE_mc2.bin
firmware:      radeon/BONAIRE_mc.bin
firmware:      radeon/BONAIRE_mec.bin
firmware:      radeon/BONAIRE_ce.bin
firmware:      radeon/BONAIRE_me.bin
firmware:      radeon/BONAIRE_pfp.bin
firmware:      radeon/bonaire_uvd.bin
firmware:      radeon/BONAIRE_uvd.bin
firmware:      radeon/TAHITI_uvd.bin
firmware:      radeon/SUMO_uvd.bin
firmware:      radeon/CYPRESS_uvd.bin
firmware:      radeon/RV710_uvd.bin
firmware:      radeon/RV770_uvd.bin
firmware:      radeon/RS780_uvd.bin
firmware:      radeon/R600_uvd.bin
firmware:      radeon/BONAIRE_vce.bin
firmware:      radeon/TAHITI_vce.bin
alias:          pci:v00001002d00004C64sv*sd*bc*sc*i*
alias:          pci:v00001002d00004C5Asv*sd*bc*sc*i*
alias:          pci:v00001002d00004C59sv*sd*bc*sc*i*
alias:          pci:v00001002d00004C58sv*sd*bc*sc*i*
alias:          pci:v00001002d00004C57sv*sd*bc*sc*i*
alias:          pci:v00001002d00004B4Csv*sd*bc*sc*i*
alias:          pci:v00001002d00004B4Bsv*sd*bc*sc*i*
alias:          pci:v00001002d00004B4Asv*sd*bc*sc*i*
alias:          pci:v00001002d00004B49sv*sd*bc*sc*i*
alias:          pci:v00001002d00004B48sv*sd*bc*sc*i*
alias:          pci:v00001002d00004A54sv*sd*bc*sc*i*
alias:          pci:v00001002d00004A50sv*sd*bc*sc*i*
alias:          pci:v00001002d00004A4Fsv*sd*bc*sc*i*
alias:          pci:v00001002d00004A4Esv*sd*bc*sc*i*
alias:          pci:v00001002d00004A4Dsv*sd*bc*sc*i*
alias:          pci:v00001002d00004A4Csv*sd*bc*sc*i*
alias:          pci:v00001002d00004A4Bsv*sd*bc*sc*i*
alias:          pci:v00001002d00004A4Asv*sd*bc*sc*i*
alias:          pci:v00001002d00004A49sv*sd*bc*sc*i*
alias:          pci:v00001002d00004A48sv*sd*bc*sc*i*
alias:          pci:v00001002d00004967sv*sd*bc*sc*i*
alias:          pci:v00001002d00004966sv*sd*bc*sc*i*
alias:          pci:v00001002d00004437sv*sd*bc*sc*i*
alias:          pci:v00001002d00004337sv*sd*bc*sc*i*
alias:          pci:v00001002d00004336sv*sd*bc*sc*i*
alias:          pci:v00001002d00004242sv*sd*bc*sc*i*
alias:          pci:v00001002d00004237sv*sd*bc*sc*i*
alias:          pci:v00001002d00004156sv*sd*bc*sc*i*
alias:          pci:v00001002d00004155sv*sd*bc*sc*i*
alias:          pci:v00001002d00004154sv*sd*bc*sc*i*
alias:          pci:v00001002d00004153sv*sd*bc*sc*i*
alias:          pci:v00001002d00004152sv*sd*bc*sc*i*
alias:          pci:v00001002d00004151sv*sd*bc*sc*i*
alias:          pci:v00001002d00004150sv*sd*bc*sc*i*
alias:          pci:v00001002d0000414Bsv*sd*bc*sc*i*
alias:          pci:v00001002d0000414Asv*sd*bc*sc*i*
alias:          pci:v00001002d00004149sv*sd*bc*sc*i*
alias:          pci:v00001002d00004148sv*sd*bc*sc*i*
alias:          pci:v00001002d00004147sv*sd*bc*sc*i*
alias:          pci:v00001002d00004146sv*sd*bc*sc*i*
alias:          pci:v00001002d00004145sv*sd*bc*sc*i*
alias:          pci:v00001002d00004144sv*sd*bc*sc*i*
alias:          pci:v00001002d00004137sv*sd*bc*sc*i*
alias:          pci:v00001002d00004136sv*sd*bc*sc*i*
alias:          pci:v00001002d00003E54sv*sd*bc*sc*i*
alias:          pci:v00001002d00003E50sv*sd*bc*sc*i*
alias:          pci:v00001002d00003155sv*sd*bc*sc*i*
alias:          pci:v00001002d00003154sv*sd*bc*sc*i*
alias:          pci:v00001002d00003152sv*sd*bc*sc*i*
alias:          pci:v00001002d00003151sv*sd*bc*sc*i*
alias:          pci:v00001002d00003150sv*sd*bc*sc*i*
alias:          pci:v00001002d0000131Dsv*sd*bc*sc*i*
alias:          pci:v00001002d0000131Csv*sd*bc*sc*i*
alias:          pci:v00001002d0000131Bsv*sd*bc*sc*i*
alias:          pci:v00001002d00001318sv*sd*bc*sc*i*
alias:          pci:v00001002d00001317sv*sd*bc*sc*i*
alias:          pci:v00001002d00001316sv*sd*bc*sc*i*
alias:          pci:v00001002d00001315sv*sd*bc*sc*i*
alias:          pci:v00001002d00001313sv*sd*bc*sc*i*
alias:          pci:v00001002d00001312sv*sd*bc*sc*i*
alias:          pci:v00001002d00001311sv*sd*bc*sc*i*
alias:          pci:v00001002d00001310sv*sd*bc*sc*i*
alias:          pci:v00001002d0000130Fsv*sd*bc*sc*i*
alias:          pci:v00001002d0000130Esv*sd*bc*sc*i*
alias:          pci:v00001002d0000130Dsv*sd*bc*sc*i*
alias:          pci:v00001002d0000130Csv*sd*bc*sc*i*
alias:          pci:v00001002d0000130Bsv*sd*bc*sc*i*
alias:          pci:v00001002d0000130Asv*sd*bc*sc*i*
alias:          pci:v00001002d00001309sv*sd*bc*sc*i*
alias:          pci:v00001002d00001307sv*sd*bc*sc*i*
alias:          pci:v00001002d00001306sv*sd*bc*sc*i*
alias:          pci:v00001002d00001305sv*sd*bc*sc*i*
alias:          pci:v00001002d00001304sv*sd*bc*sc*i*
depends:        ttm,drm,drm_kms_helper,drm_display_helper,drm_ttm_helper,i2c-algo-bit,video
retpoline:      Y
intree:        Y
name:          radeon
vermagic:      6.1.0-17-amd64 SMP preempt mod_unload modversions
sig_id:        PKCS#7
signer:        Debian Secure Boot CA
sig_key:        32:A0:28:7F:84:1A:03:6F:A3:93:C1:E0:65:C4:3A:E6:B2:42:26:43
sig_hashalgo:  sha256
signature:      84:D2:14:04:E0:B8:A4:DA:B2:59:68:CA:B5:3B:94:3D:A5:BB:A5:DD:
                C5:0B:C3:12:8F:FD:5D:B8:6C:65:5A:69:AC:DA:EA:97:70:89:96:AB:
                80:A3:C3:99:83:36:15:DE:1E:21:32:AC:0B:F8:AF:63:D3:62:17:0E:
                67:CE:B1:5C:4E:DB:2D:FD:48:F4:28:C6:B1:E6:56:13:93:49:DA:5E:
                8B:E1:BC:25:3D:2C:0A:DA:6D:59:42:42:38:93:47:1D:44:73:41:A7:
                FC:91:0C:A8:D8:9F:0B:09:F0:05:9C:2F:B5:77:F3:2A:A1:8B:A0:FD:
                BD:17:10:20:A0:8F:3B:3F:14:B7:59:34:D9:71:20:29:27:B8:1B:B5:
                EE:30:94:2B:E0:C3:02:75:8D:A8:AD:13:45:F8:EA:BE:45:C4:DC:57:
                07:A9:38:22:1B:68:C4:64:C0:B1:F8:85:B4:FB:97:E6:EE:09:C5:21:
                48:54:4C:FE:9F:64:DE:85:82:AF:9A:86:5E:92:FE:AF:4B:7B:4B:D5:
                B8:B6:24:A1:7E:71:28:F3:70:95:CF:54:05:39:C3:9B:80:81:87:BD:
                8A:EB:36:3D:DB:B8:F8:BE:28:C0:2B:48:91:4F:B1:24:C5:A5:1B:BD:
                F3:D1:7D:72:4E:D7:1D:24:3C:85:93:16:66:39:89:20
parm:          no_wb:Disable AGP writeback for scratch registers (int)
parm:          modeset:Disable/Enable modesetting (int)
parm:          dynclks:Disable/Enable dynamic clocks (int)
parm:          r4xx_atom:Enable ATOMBIOS modesetting for R4xx (int)
parm:          vramlimit:Restrict VRAM for testing, in megabytes (int)
parm:          agpmode:AGP Mode (-1 == PCI) (int)
parm:          gartsize:Size of PCIE/IGP gart to setup in megabytes (32, 64, etc., -1 = auto) (int)
parm:          benchmark:Run benchmark (int)
parm:          test:Run tests (int)
parm:          connector_table:Force connector table (int)
parm:          tv:TV enable (0 = disable) (int)
parm:          audio:Audio enable (-1 = auto, 0 = disable, 1 = enable) (int)
parm:          disp_priority:Display Priority (0 = auto, 1 = normal, 2 = high) (int)
parm:          hw_i2c:hw i2c engine enable (0 = disable) (int)
parm:          pcie_gen2:PCIE Gen2 mode (-1 = auto, 0 = disable, 1 = enable) (int)
parm:          msi:MSI support (1 = enable, 0 = disable, -1 = auto) (int)
parm:          lockup_timeout:GPU lockup timeout in ms (default 10000 = 10 seconds, 0 = disable) (int)
parm:          fastfb:Direct FB access for IGP chips (0 = disable, 1 = enable) (int)
parm:          dpm:DPM support (1 = enable, 0 = disable, -1 = auto) (int)
parm:          aspm:ASPM support (1 = enable, 0 = disable, -1 = auto) (int)
parm:          runpm:PX runtime pm (1 = force enable, 0 = disable, -1 = PX only default) (int)
parm:          hard_reset:PCI config reset (1 = force enable, 0 = disable (default)) (int)
parm:          vm_size:VM address space size in gigabytes (default 4GB) (int)
parm:          vm_block_size:VM page table size in bits (default depending on vm_size) (int)
parm:          deep_color:Deep Color support (1 = enable, 0 = disable (default)) (int)
parm:          use_pflipirq:Pflip irqs for pageflip completion (0 = disable, 1 = as fallback, 2 = exclusive (default)) (int)
parm:          bapm:BAPM support (1 = enable, 0 = disable, -1 = auto) (int)
parm:          backlight:backlight support (1 = enable, 0 = disable, -1 = auto) (int)
parm:          auxch:Use native auxch experimental support (1 = enable, 0 = disable, -1 = auto) (int)
parm:          uvd:uvd enable/disable uvd support (1 = enable, 0 = disable) (int)
parm:          vce:vce enable/disable vce support (1 = enable, 0 = disable) (int)
parm:          si_support:SI support (1 = enabled (default), 0 = disabled) (int)
parm:          cik_support:CIK support (1 = enabled (default), 0 = disabled) (int)

Below command gives nothing now:
Code:

lsmod | grep amdgpu
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


mrmazda 02-01-2024 04:49 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:
Code:

# pinxi -GSaz --vs --zl --hostname
pinxi 3.3.31-36 (2023-12-29)
System:
  Host: big31 Kernel: 6.1.0-16-amd64 arch: x86_64 bits: 64 compiler: gcc
    v: 12.2.0 clocksource: tsc avail: hpet,acpi_pm parameters: ro
    root=LABEL=<filter> net.ifnames=0 ipv6.disable=1 noresume
    plymouth.enable=0 consoleblank=0 mitigations=off
  Desktop: Trinity v: R14.1.1 tk: Qt v: 3.5.0 info: kicker wm: Twin v: 3.0
    vt: 7 dm: 1: TDM 2: XDM Distro: Debian GNU/Linux 12 (bookworm)
Graphics:
  Device-1: AMD RV620 PRO [Radeon HD 3470] vendor: Dell C120D driver: radeon
    v: kernel alternate: amdgpu arch: TeraScale code: R6xx/RV6xx/RV7xx
    process: TSMC 55-65nm built: 2005-13 pcie: gen: 1 speed: 2.5 GT/s
    lanes: 16 ports: active: DP-1,DP-2 empty: none bus-ID: 01:00.0
    chip-ID: 1002:95c0 class-ID: 0300 temp: 81.0 C
  Display: x11 server: X.Org v: 1.21.1.7 compositor: Twin v: 3.0 driver: X:
    loaded: modesetting alternate: fbdev,vesa dri: r600 gpu: radeon
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 4240x1440 s-dpi: 120 s-size: 897x304mm (35.31x11.97")
    s-diag: 947mm (37.29")
  Monitor-1: DP-1 pos: primary,left model: Acer K272HUL serial: <filter>
    built: 2018 res: 2560x1440 hz: 60 dpi: 109 gamma: 1.2
    size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 modes:
    max: 2560x1440 min: 720x400
  Monitor-2: DP-2 pos: right model: Dell P2213 serial: <filter> built: 2012
    res: 1680x1050 hz: 60 dpi: 90 gamma: 1.2 size: 473x296mm (18.62x11.65")
    diag: 558mm (22") ratio: 16:10 modes: max: 1680x1050 min: 720x400
  API: EGL v: 1.5 hw: drv: amd r600 platforms: device: 0 drv: r600 device: 1
    drv: swrast gbm: drv: r600 surfaceless: drv: r600 x11: drv: r600
    inactive: wayland
  API: OpenGL v: 3.3 compat-v: 3.0 vendor: x.org mesa v: 22.3.6 glx-v: 1.4
    es-v: 3.0 direct-render: yes renderer: AMD RV620 (DRM 2.50.0 /
    6.1.0-16-amd64 LLVM 15.0.6) device-ID: 1002:95c0 memory: 250 MiB
    unified: no
#

Code:

# pinxi -GSaz --vs --zl --hostname
pinxi 3.3.31-57 (2024-01-19)
System:
  Host: hpg33 Kernel: 6.6.11-1-default arch: x86_64 bits: 64 compiler: gcc
    v: 13.2.1 clocksource: tsc avail: hpet,acpi_pm
    parameters: root=LABEL=<filter> ipv6.disable=1 net.ifnames=0 noresume
    consoleblank=0 mitigations=off
  Desktop: KDE v: 3.5.10 tk: Qt v: 3.3.8c info: kicker wm: kwin vt: 7 dm:
    1: KDM 2: XDM Distro: openSUSE Tumbleweed 20240118
Graphics:
  Device-1: AMD RV730 PRO [Radeon HD 4650] vendor: Micro-Star MSI
    driver: radeon v: kernel alternate: amdgpu arch: TeraScale
    code: R6xx/RV6xx/RV7xx process: TSMC 55-65nm built: 2005-13 pcie: gen: 1
    speed: 2.5 GT/s lanes: 16 ports: active: DVI-I-1,HDMI-A-1 empty: VGA-1
    bus-ID: 04:00.0 chip-ID: 1002:9498 class-ID: 0300 temp: 54.5 C
  Display: x11 server: X.Org v: 21.1.11 compositor: kwin driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: r600 gpu: radeon
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3600x1200 s-dpi: 120 s-size: 762x254mm (30.00x10.00")
    s-diag: 803mm (31.62")
  Monitor-1: DVI-I-1 pos: right model: Dell P2213 serial: <filter>
    built: 2012 res: 1680x1050 hz: 60 dpi: 90 gamma: 1.2
    size: 473x296mm (18.62x11.65") diag: 558mm (22") ratio: 16:10 modes:
    max: 1680x1050 min: 720x400
  Monitor-2: HDMI-A-1 mapped: HDMI-1 pos: primary,left model: NEC EA243WM
    serial: <filter> built: 2011 res: 1920x1200 hz: 60 dpi: 94 gamma: 1.2
    size: 519x324mm (20.43x12.76") diag: 612mm (24.1") ratio: 16:10 modes:
    max: 1920x1200 min: 640x480
  API: EGL v: 1.5 hw: drv: amd r600 platforms: device: 0 drv: r600 device: 1
    drv: swrast gbm: drv: r600 surfaceless: drv: r600 x11: drv: r600
    inactive: wayland
  API: OpenGL v: 4.5 compat-v: 3.3 vendor: mesa v: 23.2.1 glx-v: 1.4
    direct-render: yes renderer: AMD RV730 (DRM 2.50.0 / 6.6.11-1-default LLVM
    17.0.6) device-ID: 1002:9498 memory: 1000 MiB unified: no
#

Pinxi is simply the devel version of inxi.

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:
Code:

# pinxi -GSaz --vs --zl --hostname
pinxi 3.3.30-09 (2023-10-23)
System:
  Host: big31 Kernel: 6.1.0-13-amd64 arch: x86_64 bits: 64 compiler: gcc
    v: 12.2.0 clocksource: tsc available: hpet,acpi_pm parameters: ro
    root=LABEL=<filter> net.ifnames=0 ipv6.disable=1 noresume
    plymouth.enable=0 consoleblank=0 mitigations=off
  Desktop: Trinity v: R14.1.1 tk: Qt v: 3.5.0 info: kicker wm: Twin v: 3.0
    vt: 7 dm: 1: TDM 2: XDM Distro: Debian GNU/Linux 12 (bookworm)
Graphics:
  Device-1: AMD RV620 PRO [Radeon HD 3470] vendor: Dell C120D driver: radeon
    v: kernel alternate: amdgpu arch: TeraScale code: R6xx/RV6xx/RV7xx
    process: TSMC 55-65nm built: 2005-13 pcie: gen: 1 speed: 2.5 GT/s
    lanes: 16 ports: active: DP-1,DP-2 empty: none bus-ID: 01:00.0
    chip-ID: 1002:95c0 class-ID: 0300 temp: 82.0 C
  Display: x11 server: X.Org v: 1.21.1.7 driver: X: loaded: modesetting
    alternate: fbdev,vesa dri: r600 gpu: radeon display-ID: :0 screens: 1
  Screen-1: 0 s-res: 4240x1440 s-dpi: 120 s-size: 897x304mm (35.31x11.97")
    s-diag: 947mm (37.29")
  Monitor-1: DP-1 pos: primary,left model: Acer K272HUL serial: <filter>
    built: 2018 res: 2560x1440 hz: 60 dpi: 109 gamma: 1.2
    size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 modes:
    max: 2560x1440 min: 720x400
  Monitor-2: DP-2 pos: right model: Dell P2213 serial: <filter> built: 2012
    res: 1680x1050 hz: 60 dpi: 90 gamma: 1.2 size: 473x296mm (18.62x11.65")
    diag: 558mm (22") ratio: 16:10 modes: max: 1680x1050 min: 720x400
  API: EGL v: 1.5 hw: drv: amd r600 platforms: device: 0 drv: r600 device: 1
    drv: swrast gbm: drv: r600 surfaceless: drv: r600 x11: drv: r600
    inactive: wayland
  API: OpenGL v: 3.3 compat-v: 3.0 vendor: x.org mesa v: 22.3.6 glx-v: 1.4
    es-v: 3.0 direct-render: yes renderer: AMD RV620 (DRM 2.50.0 /
    6.1.0-13-amd64 LLVM 15.0.6) device-ID: 1002:95c0 memory: 250 MiB
    unified: no
#


radeonobscure 02-01-2024 06:46 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.

radeonobscure 02-01-2024 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.

jayjwa 02-01-2024 12:01 PM

A few other things I'd try.
  • Delete the Grub GRUB_CMDLINE_LINUX_DEFAULT line. Try without setting video options that might be causing trouble
  • Boot to command line if possilbe instead of GUI
  • Check syslogs to see what's going on
  • Work with a known-good monitor

radeonobscure 02-02-2024 08:03 AM

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.

Anyway, problem solved :)


All times are GMT -5. The time now is 01:42 PM.