LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   llvmpipe (LLVM 11.0.1) driver for Debian 11.4 (https://www.linuxquestions.org/questions/linux-newbie-8/llvmpipe-llvm-11-0-1-driver-for-debian-11-4-a-4175716632/)

stameni 09-11-2022 01:28 PM

llvmpipe (LLVM 11.0.1) driver for Debian 11.4
 
I need Debian 11.4 driver for graphics card. Settings say that graphics is llvmpipe (LLVM 11.0.1, 128 bits).

Graphics card itself is AMD / ATI RV635 (RADEON HD 3650 / 3750 / 4570 / 4580).

I found many suggestions, but I can't differ between them which is relevant and which is not.

mrmazda 09-12-2022 02:44 AM

I have a very similar GPU. This shows most relevant data points bolded:
Code:

# xdriinfo # shows loaded DRI driver
Screen 0: r600
# inxi -GSaz --vs
inxi 3.3.21-00 (2022-08-22)
System:
  Kernel: 5.10.0-18-amd64 arch: x86_64 bits: 64 compiler: gcc v: 10.2.1
    parameters: ro root=LABEL=snb-bullseye net.ifnames=0 ipv6.disable=1
    noresume mitigations=auto consoleblank=0 plymouth.enable=0
  Desktop: Trinity v: R14.0.12 tk: Qt v: 3.5.0 info: kicker wm: Twin v: 3.0
    vt: 7 dm: 1: TDM 2: XDM Distro: Debian GNU/Linux 11 (bullseye)
Graphics:
  Device-1: AMD RV620 PRO [Radeon HD 3470] vendor: Dell C120D driver: radeon
    v: kernel arch: TeraScale 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
  Display: x11 server: X.Org v: 1.20.11 driver: X: loaded: modesetting
    alternate: fbdev,vesa 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: Lenovo L2251x Wide serial: <filter>
    built: 2011 res: 1680x1050 hz: 60 dpi: 90 gamma: 1.2
    size: 474x296mm (18.66x11.65") diag: 559mm (22") ratio: 16:10 modes:
    max: 1680x1050 min: 720x400
  OpenGL: renderer: AMD RV620 (DRM 2.50.0 / 5.10.0-18-amd64 LLVM 11.0.1)
    v: 3.3 Mesa 20.3.5 compat-v: 3.0 direct render: Yes

Above inxi output shows:
  1. kernel module providing graphics services is radeon
  2. display driver loaded is the upstream default modesetting DIX
  3. rendering is handled by kernel DRM in conjunction with LLVM, OpenGL & Mesa
All the above was configured automagically, no user or admin action required. The packages providing the components were all provided by a base installation not using recommends. If including recommends, most likely xserver-xorg-video-all, xserver-xorg-video-ati & xserver-xorg-video-radeon would be installed, with the result that the old technology, optional radeon DDX display driver would be loaded instead of the new technology modesetting DIX display driver. Both the DDX and the DIX depend on the kernel's radeon driver/module to provide KMS.

For more info, visit this primer.

Note: the old inxi version provided by Bullseye will differ some in output from the current version used above from upstream, but should be similar enough. Optionally, inxi provides a -U switch to automatically update it from upstream to current. This is disabled by default in Debian via /etc/inxi.conf, but can be edited by the admin to allow it. Since it's just a script, inxi can be fetched directly from upstream instead of installing normally.

stameni 09-12-2022 02:39 PM

Can you please be more specific? What should I do, download, or type in the Terminal window?

I read your primer, and I find it interesting, but not enough helpful.

It is interesting that many earlier Ubuntu desktop versions didn't need additional settings nor drivers. However, I switched to Debian, and now I have some troubles.

mrmazda 09-12-2022 06:35 PM

From the link previously provided, type in a terminal:
Code:

cd /usr/local/bin
sudo wget -O inxi smxi.org/inxi
sudo chmod +x inxi

The O is a letter, not a number. Output from these is not necessary here unless you encounter errors.

Again in a terminal window, run the following and paste it all here, surrounded by code tags:
Code:

xdriinfo
inxi -GSaz --vs
cat /etc/inxi.conf


stameni 09-13-2022 09:57 AM

Thank you for helping me, mrmazda. I really appreciate your efforts.

However, I solved the problem other way.

1. Edit the file /etc/apt/sources.list
2. For lines that begin with deb add at their ends non-free (In my distribution these are lines 5, 8 and 13)
3. Type in terminal:
Code:

sudo apt update && sudo apt upgrade
sudo apt install firmware-amd-graphics

4. Restart the computer.

Off course, being a noobie, this is not my solution. I found it on another forum (non-enlish). But it works :)

mrmazda 09-13-2022 09:20 PM

Congrats on your success!


All times are GMT -5. The time now is 06:34 AM.