Modesetting driver

Slowroll with the Xfce desktop was installed to a thumbdrive to see how it runs and I find it runs well. Relating to my X11 Intel thread, I noticed Slowroll (with an AMD Radeon RS780L (Radeon 3000) on the motherboard) is also using ‘modesetting’ as the driver.

However, with Tumbleweed on the same physcial hardware, but installed to the internal HDD, it is using ‘radeon’ instead. At the time (late 2023), I installed Tumbleweed with KDE, but have since installed and now use Xfce.

In an attempt to get Tumbleweed to also use ‘modesetting’, I uninstalled ‘xf86-video-ati’ and rebooted, to an error ‘no screens found’. Upon reinstalling ‘xf86-video-ati’, it successfully booted into SDDM. Xfce uses LightDM.

Why would Slowroll use ‘modesetting’ and Tumbleweed use ‘radeon’, on the same hardware? I looked for a package with ‘modesetting’ or ‘modeset’ in the name and found nothing, so I don’t know what is providing ‘modesetting’ on Slowroll.

inxi output from Tumbleweed:

~> inxi -G
Graphics:
Device-1: Advanced Micro Devices [AMD/ATI] RS780L [Radeon 3000]
driver: radeon v: kernel
Display: x11 server: X.Org v: 21.1.14 with: Xwayland v: 24.1.4 driver: X:
loaded: radeon dri: r600 gpu: radeon resolution: 1920x1080~60Hz
API: EGL v: 1.5 drivers: kms_swrast,r600,swrast
platforms: gbm,x11,surfaceless,device
API: OpenGL v: 4.5 compat-v: 3.3 vendor: mesa v: 24.3.1 renderer: AMD
RS780 (DRM 2.50.0 / 6.11.8-1-default LLVM 19.1.5)
API: Vulkan Message: No Vulkan data available.

inxi output from Slowroll:

~> inxi -G
Graphics:
Device-1: Advanced Micro Devices [AMD/ATI] RS780L [Radeon 3000]
driver: radeon v: kernel
Display: x11 server: X.org v: 1.21.1.14 driver: X: loaded: modesetting
unloaded: vesa dri: r600 gpu: radeon resolution: 1920x1080~60Hz
API: OpenGL v: 3.3 compat-v: 3.0 vendor: mesa v: 24.3.0 renderer: AMD
RS780 (DRM 2.50.0 / 6.6.65-1.gfbcee5f-longterm LLVM 19.1.4)
API: Vulkan Message: No Vulkan data available.

Thank you in advance.

Those using X11 should have a log file with clues when things go wrong, Xorg.0.log, in either /var/log/ or in ~/.local/share/xorg/. If you don’t see anything obvious in yours after trying without xf86-video-ati installed, you can upload it using susepaste command, or paste it at either https://paste.opensuse.org/ or elsewhere.

Possibly the installer may have put optional file(s) in /etc/X11/xorg.conf.d/ that expressly direct use of radeon driver (contains ‘Driver “radeon”’ line). If so, either remove the file, or comment the driver line, or replace ‘radeon’ with ‘modesetting’, or change the filename name to not end in .conf, then restart X.

It’s impossible for the modesetting driver to not be available as long as you have a working X. It’s bundled in the xorg-x11-server rpm. Upstream, it’s the default for most non-antique AMD/ATI, Intel, & NVidia GPUs.

I have old Radeons both older and newer than your rv610 running TW, Slowroll & Leap, including a Mac with an RV610. Only much older ones refuse to use the modesetting driver.

Inxi produces better graphics troubleshooting info thus: inxi -GSaz. Yours show more differences between SR and TW than I would expect. There could be some change in TW I haven’t encountered yet with any of my old Radeons, or a bug. If the above doesn’t help you, I’ll give my RV620 with TW a looksee later or tomorrow.

# inxi -GSaz --vs --za
inxi 3.3.36-00 (2024-09-04)
System:
  Kernel: 6.11.8-1-default arch: x86_64 bits: 64 compiler: gcc v: 14.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 Plasma v: 5.27.10 tk: Qt v: 5.15.12 info: frameworks
    v: 5.115.0 wm: kwin_x11 vt: 7 dm: 1: KDM 2: XDM Distro: openSUSE Tumbleweed
    20241217
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] 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: 76.0 C
  Display: x11 server: X.Org v: 21.1.14 with: Xwayland v: 24.1.4
    compositor: kwin_x11 driver: X: loaded: modesetting 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: DP-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
  Monitor-2: DP-2 pos: right model: Dell P2213 serial: <filter> built: 2013
    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: 4.5 compat-v: 3.3 vendor: mesa v: 24.3.1 glx-v: 1.4
    direct-render: yes renderer: AMD RV620 (DRM 2.50.0 / 6.11.8-1-default LLVM
    19.1.5) device-ID: 1002:95c0 memory: 250 MiB unified: no
  API: Vulkan v: 1.3.296 layers: 2 device: 0 type: cpu name: llvmpipe (LLVM
    19.1.5 128 bits) driver: N/A device-ID: 10005:0000 surfaces: xcb,xlib
#

All good with RV620, so yours surely must have something interfering, or forcing radeon driver. Or, there could be an issue with the RS780 renderer yours uses that mine does not, hard to tell, because your inxi output is a short version. Also it looks like you’re tagging your pastes with something other than PRE (</> icon above input window) or ``` (on line before and line after), and losing your output’s formatting.

I just figured out how to display the info, using the Preformatted option.

I added a 20-radeon.conf file to /etc/X11/xorg.conf.d to turn on the TearFree option, but that is all it does. Prior to adding that, it was still using the radeon driver.

modprobe.blacklist=amdgpu is in the boot, because the Plymouth bootsplash originally would not display at bootup, due to the amdgpu driver being so large. Plymouth ran out of time to display. It appears that the system was loading in both amdgpu and radeon, at the time. This was also a reported issue with another Linux distro and adding that command at boot corrected the issue.

The desktop was purchased in 2011, so I question the built: 2005-13 information for the GPU, assuming that is actually a year/week.

:~> inxi -GSaz --vs --za
inxi 3.3.36-00 (2024-09-04)
System:
  Kernel: 6.11.8-1-default arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.11.8-1-default root=UUID=<filter>
    splash=silent quiet security=apparmor modprobe.blacklist=amdgpu
    mitigations=auto
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.41 wm: xfwm4 v: 4.18.0
    with: xfce4-panel tools: avail: xscreensaver vt: 2 dm: SDDM Distro: openSUSE
    Tumbleweed 20241217
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] RS780L [Radeon 3000]
    vendor: Hewlett-Packard driver: radeon v: kernel alternate: amdgpu
    arch: TeraScale code: R6xx/RV6xx/RV7xx process: TSMC 55-65nm
    built: 2005-13 ports: active: DVI-D-1 empty: VGA-1 bus-ID: 01:05.0
    chip-ID: 1002:9616 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.14 with: Xwayland v: 24.1.4
    compositor: xfwm4 v: 4.18.0 driver: X: loaded: radeon dri: r600 gpu: radeon
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: DVI-D-1 mapped: DVI-0 model: Samsung S22D300 serial: <filter>
    built: 2015 res: 1920x1080 hz: 60 dpi: 102 gamma: 1.2
    size: 477x268mm (18.78x10.55") diag: 547mm (21.5") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  API: EGL v: 1.5 hw: drv: amd r600 platforms: device: 0 drv: r600 device: 1
    drv: swrast gbm: drv: kms_swrast surfaceless: drv: r600 x11: drv: r600
    inactive: wayland
  API: OpenGL v: 4.5 compat-v: 3.3 vendor: mesa v: 24.3.1 glx-v: 1.4
    direct-render: yes renderer: AMD RS780 (DRM 2.50.0 / 6.11.8-1-default LLVM
    19.1.5) device-ID: 1002:9616 memory: 250 MiB unified: no
  API: Vulkan Message: No Vulkan data available.

I think 2005-13 means 2005-2013, the start and end of Terascale architecture manufacturing. Check out `ATI RS780 GPU Specs | TechPowerUp GPU Database’.

Blacklisting amdgpu might be a bad idea:

# inxi -CGSz
System:
  Kernel: 6.11.8-1-default arch: x86_64 bits: 64
  Console: pty pts/0 Distro: openSUSE Tumbleweed 20241217
CPU:
  Info: dual core model: Intel Core2 Duo E7600 bits: 64 type: MCP cache:
    L2: 3 MiB
  Speed (MHz): avg: 1603 min/max: 1603/3066 cores: 1: 1603 2: 1603
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] RV620 PRO [Radeon HD 3470]
    driver: radeon v: kernel
  Display: unspecified server: X.org v: 1.21.1.14 with: Xwayland v: 24.1.4
    driver: X: loaded: modesetting dri: r600 gpu: radeon resolution: 2560x1440
  API: EGL v: 1.5 drivers: r600,swrast platforms: gbm,surfaceless,device
  API: OpenGL v: 4.5 compat-v: 3.3 vendor: mesa v: 24.3.1 note: incomplete
    (EGL sourced) renderer: AMD RV620 (DRM 2.50.0 / 6.11.8-1-default LLVM
    19.1.5), llvmpipe (LLVM 19.1.5 128 bits)
  API: Vulkan Message: No Vulkan data available.
# lsmod | egrep 'vid|deon|amdg'
amdgpu              15429632  0
amdxcp                 12288  1 amdgpu
drm_exec               12288  1 amdgpu
gpu_sched              69632  1 amdgpu
drm_buddy              20480  1 amdgpu
radeon               2109440  1
i2c_algo_bit           20480  2 amdgpu,radeon
drm_suballoc_helper    12288  2 amdgpu,radeon
drm_display_helper    278528  2 amdgpu,radeon
drm_ttm_helper         16384  2 amdgpu,radeon
ttm                   106496  3 amdgpu,radeon,drm_ttm_helper
video                  81920  2 amdgpu,radeon
wmi                    32768  1 video
#

Why would blacklisting amdgpu be a bad idea?

This is the actual GPU on the motherboard: ATI Radeon 3000 IGP Specs | TechPowerUp GPU Database

Did you see the lsmod output from mine? Apparently the radeon and amdgpu kernel modules may have some kind of synergy applicable to Terascale GPUs. Do you have both kernel-firmware-amdgpu and kernel-firmware-radeon installed?

Discussion of which display driver to use sort of needs some kind of yardstick to determine which may be the better of the two, assuming switching between them isn’t an unreasonable ordeal, and both are functional. Performance difference may be difficult to perceive otherwise. I use glmark2 from OSS repo for simple benchmarking.

That page shows your GPU seems to produce a bargain basement performance level. :frowning:

Yes, both of those packages are installed. In addition, xf86-video-ati is installed, while xf86-video-amdgpu is not.

Removing modprobe.blacklist=amdgpu from the boot, displays three small green blocks for a bootsplash, instead of Plymouth. Blacklisting amdgpu doesn’t seem to be harming anything though.

This particular desktop model only came with two closed PCI Express x1 ports and the only x1 video card I could find, didn’t work, as the current power supply doesn’t provide enough wattage, so it’s limited to that on-board GPU.

If you wish to use the modesetting display driver without removing xf86-video-ati, you’ll almost certainly need a ‘Driver “modesetting”’ line in a valid /etc/X11/xorg.conf file or in a valid .conf file in /etc/X11/xorg.conf.d/ to force its use.

Given the limited capability of your GPU, I strongly recommend avoiding all forms of graphical bloat and bling to give it less to do. This includes Plymouth removal.

Perhaps that old PSU needs cleaning and/or inspection. When PSU caps go bad, they lose capability and either cap replacement, or PSU replacement, is needed to enable additional components, such as a discrete GPU, to work.

Thanks again for the replies.

The power supply in the case is a 250-watt. At the time I tried the x1 video card, I did not know that it required a power supply with a minimum of 350 watts.

The video display defaults to 1920x1080 (16:9) with this monitor and the GPU. I have changed it to 1680x1050 (16:10), which is the next-smallest resolution down in the list. The X11 driver remains radeon.

Perhaps it will lighten the load on the GPU.

One more smaller step, to 1600x900, would bring the aspect ratio back to matching the 16:9 native aspect ratio of your native 1920x1080 display.

I retrieved my rv610 from the closet, and put it in place of an older Radeon on a 32bit TW PC:

# inxi -CGSz
System:
  Kernel: 6.11.8-1-default arch: i686 bits: 32
  Desktop: KDE Plasma v: 5.27.10 Distro: openSUSE Tumbleweed 20241217
CPU:
  Info: single core model: Intel Pentium 4 bits: 32 type: MT cache:
    L2: 1024 KiB
  Speed (MHz): avg: 2793 min/max: N/A cores: 1: 2793 2: 2793
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] RV610 [Radeon HD 2400 PRO]
    driver: radeon v: kernel
  Display: x11 server: X.Org v: 21.1.14 driver: X: loaded: modesetting
    dri: swrast gpu: radeon resolution: 1920x1200~60Hz
  API: EGL v: 1.5 drivers: r600,swrast platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.5 compat-v: 3.3 vendor: mesa v: 24.3.1 renderer: llvmpipe
    (LLVM 19.1.5 128 bits)
  API: Vulkan v: 1.3.296 drivers: N/A surfaces: xcb,xlib
# lsmod | egrep 'vid|deon|amdg' | sort
amdgpu              10752000  0
amdxcp                 12288  1 amdgpu
drm_buddy              20480  1 amdgpu
drm_display_helper    188416  2 amdgpu,radeon
drm_exec               12288  1 amdgpu
drm_suballoc_helper    12288  2 amdgpu,radeon
drm_ttm_helper         12288  2 amdgpu,radeon
gpu_sched              40960  1 amdgpu
hwmon                  32768  3 tg3,amdgpu,radeon
i2c_algo_bit           12288  2 amdgpu,radeon
radeon               1511424  2
ttm                    69632  3 drm_ttm_helper,amdgpu,radeon
video                  65536  2 amdgpu,radeon
wmi                    24576  3 video,dell_wmi_descriptor,dell_smbios

All working as expected using the modesetting display driver.

I changed the display resolution further, to 1600x900.

There had to have been a package or packages in the Tumbleweed image available at the time (October 2023), that is/are forcing radeon to be used.

As I mentioned, removing xf86-video-ati didn’t change the driver to modesetting, nor would the system boot without it.

You still haven’t shown any response to the first two paragraphs of comment #2:

  1. Did you look for a line containing “Driver” in /etc/X11/xorg.conf or /etc/X11/xorg.conf.d/*.conf?
  2. Did you not find an Xorg.0.log file, from running without xf86-video-ati installed, to share?

Wouldn’t boot, or wouldn’t show the expected login screen? When login screen fails to appear, does Ctrl-Alt-F4 produce a login prompt?

Does disabling or uninstalling plymouth while xf86-video-ati is not installed allow the login screen to appear, or produce messages indicating errors? Have you removed the blacklisting from your Grub stanzas (/etc/default/grub’s ‘GRUB_CMDLINE_LINUX_DEFAULT=’ line), and ensured absence of blacklisting in /etc/modprobe.d/? Have you tried forcing use of modesetting via some valid file in /etc/X11/xorg.conf.d/ containing 'Driver “modesetting”’, e.g. 50-device.conf:

Section "Device"
    Identifier "DefaultDevice"
	Driver	"modesetting"
EndSection

There is no xorg.conf file in /etc/X11. Aside from the 20-radeon.conf file previously mentioned that turns on the TearFree option in radeon, there is only one other .conf file in /etc/X11/xorg.conf.d, relating to the keyboard.

I did not look at Xorg.0.log, but once xf86-video-ati was removed and the system was rebooted, there was an on-screen message from X, “no screens found” and the boot stopped at that point. I rebooted into runlevel 3 and reinstalled the package, then on that reboot, the boot went straight through to SDDM and was able to login again.

If the system should otherwise have used modesetting, absent the xf86-video-ati package, it clearly didn’t, as (is the case with Slowroll) it should have successfully booted to the login screen.

Although I still think there is/was something in the TW image at the time, forcing radeon to be used.

I will add the suggested 50- .conf file and reboot.

It worked! :smiley:

When the Xfce desktop appeared, I noticed the resolution was different, it switched back to 1920x1080.

So if it’s safe to stick with this resolution, using modesetting, I’ll keep it there. Otherwise, please advise.

Thank you.

~> inxi -G
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] RS780L [Radeon 3000]
    driver: radeon v: kernel
  Display: x11 server: X.Org v: 21.1.14 with: Xwayland v: 24.1.4 driver: X:
    loaded: modesetting dri: r600 gpu: radeon resolution: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: kms_swrast,r600,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.5 compat-v: 3.3 vendor: mesa v: 24.3.1 renderer: AMD
    RS780 (DRM 2.50.0 / 6.11.8-1-default LLVM 19.1.5)
  API: Vulkan Message: No Vulkan data available.

There used to be a directory xorg_pci_ids in /etc/X11/ that could be used for overrides applicable to specific PCI Device IDs. I haven’t seen it in quite some time. It could be that somewhere in the bowels of /usr/ your 1002:9616 was explicitly directed to use radeon instead of modesetting. Xorg.0.log may have reported what was going on to cause use of radeon instead of modesetting.

Anyway, glad we found you a fix. Please mark thread solved.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.