Radeon 4500 Graphics

Message
Author
assist
Posts: 5
Joined: Mon Dec 04, 2023 7:17 am

Radeon 4500 Graphics

#1 Post by assist »

Hello everyone!

I'm a complete noob on MX Linux (been using arch-based distros for years), and I installed MX 23.1 KDE on one of my old all-in-one pc. It has a 4500 AMD graphics card.

The card is correctly detected, so it seems, but there's no wat to set the native 1920x1080 screen resolution.

Trying to look around in the forums, I tried several commands.

Here's inxi -G:

Graphics:
Device-1: AMD RV710/M92 [Mobility Radeon HD 4530/4570/5145/530v/540v/545v]
driver: radeon v: kernel
Device-2: Quanta USB Webcam type: USB driver: uvcvideo
Device-3: AVerMedia A336 MiniCard Hybrid DVB-T type: USB driver: N/A
Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 driver: X:
loaded: radeon unloaded: fbdev,modesetting,vesa dri: r600 gpu: radeon
resolution: 1680x1050~60Hz
API: OpenGL v: 3.3 Mesa 23.1.2-1~mx23ahs renderer: AMD RV710 (DRM 2.50.0
/ 6.5.0-5mx-ahs-amd64 LLVM 15.0.6)

lspci -nn | grep VGA:

01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RV710/M92 [Mobility Radeon HD 4530/4570/5145/530v/540v/545v] [1002:9553]

glxinfo | grep render:

direct rendering: Yes
GLX_MESA_copy_sub_buffer, GLX_MESA_query_renderer, GLX_MESA_swap_control,
GLX_MESA_copy_sub_buffer, GLX_MESA_query_renderer, GLX_MESA_swap_control,
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: AMD RV710 (DRM 2.50.0 / 6.5.0-5mx-ahs-amd64, LLVM 15.0.6)
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
GL_NVX_gpu_memory_info, GL_NV_conditional_render, GL_NV_copy_image,
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
GL_NV_blend_square, GL_NV_conditional_render, GL_NV_copy_image,
GL_NV_conditional_render, GL_NV_draw_buffers, GL_NV_fbo_color_attachments,
GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,

However, if I try something like

sudo make-xorg-conf 1920×1080 -o /etc/X11/xorg.conf

the result is:

make-xorg-conf Warning: Unrecognized (or uninstalled) video driver: 1920×1080


Also, I tried installing the latest 6.5 kernel, and I saw in the log a "possible missing firmware" for amdgpu.

As I said, I don't really know how to manage debian distros... Manjaro used to recognize the driver automatically with no problems so I know for sure the hardware works...

... can someone help me?
Thanks!

User avatar
j2mcgreg
Global Moderator
Posts: 7131
Joined: Tue Oct 23, 2007 12:04 pm

Re: Radeon 4500 Graphics

#2 Post by j2mcgreg »

We need your computer’s complete profile before we can proceed, so you need to post the output from the QSI utility. The Quick System Info (QSI) utility is located in MX Tools and its output is automatically formatted for use here in the forum. Run the QSI utility, click “Copy for Forum” at the bottom and then just paste it here in your thread.
Forum Rules
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

Charlie Brown

Re: Radeon 4500 Graphics

#3 Post by Charlie Brown »

assist wrote: Mon Dec 04, 2023 7:31 am However, if I try something like

sudo make-xorg-conf 1920×1080 -o /etc/X11/xorg.conf

the result is:

make-xorg-conf Warning: Unrecognized (or uninstalled) video driver: 1920×1080
That's normal. cause it should be a driver, not a resolution.
make-xorg-conf --help wrote:
Usage:

Code: Select all

make-xorg-conf [options] [<driver>,uxa,sna,busid=<busid>]
...
Available drivers:

Code: Select all

amdgpu		mach64		qxl		sisusb
ati		mga		r128		tdfx
cirrus		modesetting	radeon		trident
fbdev		neomagic	savage		vesa
intel		nouveau		siliconmotion	vmware
We could try updating the firmware, too but it's already updated a few days ago...

What does

Code: Select all

xrandr
show?

Meanwhile, delete any /etc/X11/xorg.conf files to prevent confusion.

assist
Posts: 5
Joined: Mon Dec 04, 2023 7:17 am

Re: Radeon 4500 Graphics

#4 Post by assist »

Thanks for the quick replies! Ok, so, first of all, this is xrandr output:

Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 8192 x 8192
LVDS connected primary 1680x1050+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1680x1050 60.00*
1400x1050 60.00
1280x1024 59.95
1440x900 59.99
1280x960 59.99
1280x854 59.95
1280x800 59.96
1280x720 59.97
1152x768 59.95
1024x768 59.95
800x600 59.96
848x480 59.94
720x480 59.94
640x480 59.94


And this is the QSI:

Code: Select all

System:
  Kernel: 6.5.0-5mx-ahs-amd64 [6.5.13-1~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.5.0-5mx-ahs-amd64 root=UUID=<filter> ro quiet splash
  Desktop: KDE Plasma v: 5.27.5 wm: kwin_x11 vt: 7 dm: SDDM Distro: MX-23.1_KDE_x64 Libretto
    October 15 2023 base: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Desktop Mobo: Packard Bell model: ONETWO L5710 serial: <superuser required> BIOS: Phoenix
    v: P01-B2 date: 01/19/2010
CPU:
  Info: model: Intel Core2 Quad Q8200 bits: 64 type: MCP arch: Penryn level: v1 built: 2008
    process: Intel 45nm family: 6 model-id: 0x17 (23) stepping: 0xA (10) microcode: 0xA0B
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB
    L2: 4 MiB desc: 2x2 MiB
  Speed (MHz): avg: 2328 min/max: N/A cores: 1: 2328 2: 2328 3: 2328 4: 2328 bogomips: 18621
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 ssse3
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, STIBP: disabled, RSB filling, PBRSB-eIBRS: Not
    affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD RV710/M92 [Mobility Radeon HD 4530/4570/5145/530v/540v/545v]
    vendor: Acer Incorporated ALI driver: radeon v: kernel alternate: amdgpu arch: TeraScale
    code: R6xx/RV6xx/RV7xx process: TSMC 55-65nm built: 2005-13 pcie: gen: 2 speed: 5 GT/s
    lanes: 16 ports: active: LVDS-1 empty: none bus-ID: 01:00.0 chip-ID: 1002:9553 class-ID: 0300
  Device-2: Quanta USB Webcam type: USB driver: uvcvideo bus-ID: 2-2:3 chip-ID: 0408:10fa
    class-ID: 0e02
  Device-3: AVerMedia A336 MiniCard Hybrid DVB-T type: USB driver: N/A bus-ID: 2-6:4
    chip-ID: 07ca:1336 class-ID: ef00 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 compositor: kwin_x11 driver: X:
    loaded: radeon unloaded: fbdev,modesetting,vesa dri: r600 gpu: radeon display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1680x1050 s-dpi: 96 s-size: 443x277mm (17.44x10.91") s-diag: 522mm (20.57")
  Monitor-1: LVDS-1 mapped: LVDS res: 1680x1050 hz: 60 size: N/A modes: max: 1680x1050
    min: 640x480
  API: OpenGL v: 3.3 Mesa 23.1.2-1~mx23ahs renderer: AMD RV710 (DRM 2.50.0 / 6.5.0-5mx-ahs-amd64
    LLVM 15.0.6) compat-v: 3.0 direct-render: Yes
Audio:
  Device-1: Intel 82801JI HD Audio vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel
    bus-ID: 00:1b.0 chip-ID: 8086:3a3e class-ID: 0403
  API: ALSA v: k6.5.0-5mx-ahs-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 0.3.65 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Acer Incorporated ALI
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 05:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Realtek RTL8191SEvB Wireless LAN driver: rtl8192se v: kernel modules: wl pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: 4000 bus-ID: 07:00.0 chip-ID: 10ec:8172 class-ID: 0280
  IF: wlan0 state: down mac: <filter>
Drives:
  Local Storage: total: 55.9 GiB used: 12.07 GiB (21.6%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 model: SATA3 60GB SSD size: 55.9 GiB block-size: physical: 512 B
    logical: 512 B speed: 3.0 Gb/s type: SSD serial: <filter> rev: 0A0 scheme: MBR
Partition:
  ID-1: / raw-size: 55.9 GiB size: 54.72 GiB (97.89%) used: 12.07 GiB (22.1%) fs: ext4
    dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 39.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: pm: dpkg pkgs: 2485 libs: 1349 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://it.mxrepo.com/mx/repo/ bookworm main non-free
    2: deb http://it.mxrepo.com/mx/repo/ bookworm ahs
Info:
  Processes: 225 Uptime: 4m wakeups: 1 Memory: 3.82 GiB used: 1.66 GiB (43.5%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: BIOS (legacy, CSM, MBR)

The command make-xorg-conf attempted to create some xorg.conf file, but I deleted it as suggested.

Charlie Brown

Re: Radeon 4500 Graphics

#5 Post by Charlie Brown »

Here's a similar thread (which's still going on) : viewtopic.php?p=755207#p755207

Shortly, your drivers are already ok, loaded correctly , no need to xorg.conf file:

Graphics:
Device-1: AMD RV710/M92 [Mobility Radeon HD 4530/4570/5145/530v/540v/545v]
vendor: Acer Incorporated ALI driver: radeon v: kernel alternate: amdgpu arch: TeraScale
...
Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 compositor: kwin_x11 driver: X:
loaded: radeon ...

API: OpenGL v: 3.3 Mesa 23.1.2-1~mx23ahs renderer: AMD RV710 (DRM 2.50.0 / 6.5.0-5mx-ahs-amd64
LLVM 15.0.6) compat-v: 3.0 direct-render: Yes


It just doesn't have such a resolution in xrandr, so, we can try to create and add then put to autostart ...

Charlie Brown

Re: Radeon 4500 Graphics

#6 Post by Charlie Brown »

Code: Select all

gtf 1920 1080 60
or

Code: Select all

cvt 1920 1080

In case you need:

Code: Select all

sudo apt install xcvt -y

assist
Posts: 5
Joined: Mon Dec 04, 2023 7:17 am

Re: Radeon 4500 Graphics

#7 Post by assist »

Ok... I tried generating the new mode line for xrandr and added it... the resolution sets correctly. So what I tried was adding the newmode and addmode to my .profile It KINDA works, but...

the screen flickers lots of times during boot,
the login manager is still in the wrong resolution.

Is there a better way to make this resolution permanent throughout the system?

Charlie Brown

Re: Radeon 4500 Graphics

#8 Post by Charlie Brown »

assist wrote: Tue Dec 05, 2023 4:49 pm...the login manager is still in the wrong resolution...
Normal, cause it (.profile) takes effect once you login.

You did all you could do :)

assist
Posts: 5
Joined: Mon Dec 04, 2023 7:17 am

Re: Radeon 4500 Graphics

#9 Post by assist »

Oh no, that's not "normal" at all! :) Screen flickering many times during boot (because of resolution changes), correct resolution only during user session? Not the kind of behavior I'm willing to tolerate. :)

As I said, Manjaro used to recognize and set the resolution correctly from the beginning, even during the live session. Even Ubuntu, years back, had no problem on the same machine. That means it HAS to work some other way.
Maybe generating a custom xorg.conf? I dunno, I'll have to experiment a bit.

Thanks anyway.

Charlie Brown

Re: Radeon 4500 Graphics

#10 Post by Charlie Brown »

assist wrote: Fri Dec 08, 2023 10:32 am... Maybe generating a custom xorg.conf?..
viewtopic.php?p=755233#p755233

viewtopic.php?p=755417#p755417

viewtopic.php?p=755419#p755419

:)

(In your case: Identifier "LVDS" ..and change the DisplaySize, too , also you can try with UMC and maybe with 50 - 55 Hz ... )

Post Reply

Return to “Hardware /Configuration”