LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Error when enabling graphics acceleration in Debian 10 (https://www.linuxquestions.org/questions/linux-hardware-18/error-when-enabling-graphics-acceleration-in-debian-10-a-4175685415/)

PauloEduardo 11-17-2020 07:09 PM

Error when enabling graphics acceleration in Debian 10
 
It seems that the graphics acceleration is not activated, because the videos in VLC run freezing. And every time I start the system, this error appears:

[ 13.207948] [drm] Loading R300 Microcode
[ 13.387375] radeon 0000:01:05.0: firmware: failed to load radeon/R300_cp.bin (-2)
[ 13.387423] firmware_class: See https://wiki.debian.org/Firmware for informat ion about missing firmware
[ 13.387462] radeon 0000:01:05.0: Direct firmware load for radeon/R300_cp.bin failed with error -2
[ 13.387687] [drm:r100_cp_init [radeon]] *ERROR* Failed to load firmware!
[ 13.387725] radeon 0000:01:05.0: failed initializing CP (-2).
[ 13.387761] radeon 0000:01:05.0: Disabling GPU acceleration
[ 13.387801] [drm] radeon: cp finalized
[ 13.394503] [drm:radeon_get_legacy_connector_info_from_bios [radeon]] *ERROR* Unknown connector type: 8

My video card is: Ati Radeon Xpress 200
Sorry for the "weird" English, I'm using a translator.

evo2 11-17-2020 07:28 PM

Hi,

it seems that you should install firmware-amd-graphics to provide radeon/R300_cp.bin
Eg.
Code:

sudo apt install firmware-amd-graphics
For this to work you will need to have the non-free repository enabled. Eg a line like
Code:

http://ftp.debian.org/debian buster/non-free amd64 Packages
in /etc/apt/sources.list or a file in /etc/apt/sources.list.d/

You may find other helpful information (perhaps in your native language?) at the link provided in the error message:
https://wiki.debian.org/Firmware

Evo2.

PauloEduardo 11-18-2020 11:53 AM

Quote:

Originally Posted by evo2 (Post 6186416)
Hi,

it seems that you should install firmware-amd-graphics to provide radeon/R300_cp.bin
Eg.
Code:

sudo apt install firmware-amd-graphics
For this to work you will need to have the non-free repository enabled. Eg a line like
Code:

http://ftp.debian.org/debian buster/non-free amd64 Packages
in /etc/apt/sources.list or a file in /etc/apt/sources.list.d/

You may find other helpful information (perhaps in your native language?) at the link provided in the error message:
https://wiki.debian.org/Firmware

Evo2.

An error is appearing when I type "apt-get update":

E: Type 'http://ftp.debian.org/debian' is not know on line 23 in source list /etc/apt/sources.list
E: The list of sources could not be read.

PauloEduardo 11-18-2020 11:59 AM

An error is appearing when I type "apt-get update":

E: Type 'http://ftp.debian.org/debian' is not known on line 22 in source list /etc/apt/sources.list
E: The list of sources could not be read.

PauloEduardo 11-18-2020 05:50 PM

The repository is giving an error:

Err:6 http://ftp.debian.org/debian buster/non-free Release
404 Not Found [IP: 2001:67c:2564:a119::148:12 80]
Reading package lists... Done
E: The repository 'http://ftp.debian.org/debian buster/non-free Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

evo2 11-18-2020 05:52 PM

Then use one that is.
How about:
Code:

deb http://deb.debian.org/debian buster main contrib non-free
?
P.S. It is best to provide the actual error message.
P.P.S Yes that line I posted in my first reply is clearly wrong... sorry.

PauloEduardo 11-18-2020 06:26 PM

I typed "deb http://deb.debian.org/debian buster main contrib non-free" in the sources.list and is now giving this error:

W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:23
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:23
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:23
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:23
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:23
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:23
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:23
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:23

evo2 11-18-2020 06:42 PM

Hi,

deleting line 7 of your /etc/apt/sources.list will likely fix the problem.

However, please post the contents of your /etc/apt/sources.list file so we can check to make sure.

Evo2.

PauloEduardo 11-18-2020 06:58 PM

Quote:

Originally Posted by evo2 (Post 6186747)
Hi,

deleting line 7 of your /etc/apt/sources.list will likely fix the problem.

However, please post the contents of your /etc/apt/sources.list file so we can check to make sure.

Evo2.

My sources.list:

#

# deb cdrom:[Debian GNU/Linux 10.6.0 _Buster_ - Official amd64 NETINST 20200926-10:16]/ buster main

#deb cdrom:[Debian GNU/Linux 10.6.0 _Buster_ - Official amd64 NETINST 20200926-10:16]/ buster main

deb http://deb.debian.org/debian/ buster main
deb-src http://deb.debian.org/debian/ buster main

deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main

# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main
deb-src http://deb.debian.org/debian/ buster-updates main

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

deb http://deb.debian.org/debian buster main contrib non-free

evo2 11-18-2020 07:15 PM

Hi,

ok last line duplicates the the "main" repo that is already defined on line 7. So to fix it you can remove the last line and add "contrib non-free" to the end of line 7. You should probably add them to the other lines too.

So your sources.list should look like:
Code:

#deb cdrom:[Debian GNU/Linux 10.6.0 _Buster_ - Official amd64 NETINST 20200926-10:16]/ buster main

deb http://deb.debian.org/debian/ buster main contrib non-free
deb-src http://deb.debian.org/debian/ buster main contrib non-free

deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free

# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main contrib non-free
deb-src http://deb.debian.org/debian/ buster-updates main contrib non-free

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

Then run
Code:

sudo apt update
sudo apt install firmware-amd-graphics

Evo2.

mrmazda 11-19-2020 01:38 PM

I have the same IGP working here:
Code:

# dmesg | grep radeon
[  27.431612] [drm] radeon kernel modesetting enabled.
[  27.431745] fb: switching to radeondrmfb from VESA VGA
[  27.433619] radeon 0000:01:05.0: VRAM: 32M 0x000000007E000000 - 0x000000007FFFFFFF (32M used)
[  27.433622] radeon 0000:01:05.0: GTT: 512M 0x0000000080000000 - 0x000000009FFFFFFF
[  27.433851] [drm] radeon: 32M of VRAM memory ready
[  27.433852] [drm] radeon: 512M of GTT memory ready.
[  27.439517] [drm] radeon: 1 quad pipes, 1 z pipes initialized.
[  27.439604] radeon 0000:01:05.0: WB enabled
[  27.439612] radeon 0000:01:05.0: fence driver on ring 0 use gpu addr 0x0000000080000000 and cpu addr 0x0000000083f5afb1
[  27.439620] radeon 0000:01:05.0: radeon: MSI limited to 32-bit
[  27.439643] [drm] radeon: irq initialized.
[  28.169493] radeon 0000:01:05.0: firmware: direct-loading firmware radeon/R300_cp.bin
[  28.169719] [drm] radeon: ring at 0x0000000080001000
[  28.202404] fbcon: radeondrmfb (fb0) is primary device
[  28.255605] radeon 0000:01:05.0: fb0: radeondrmfb frame buffer device
[  28.272319] [drm] Initialized radeon 2.50.0 20080528 for 0000:01:05.0 on minor 0
# ps -A | grep vlc
 2709 ?        00:02:48 vlc
# inxi -GSay
System:
  Host: gx320 Kernel: 4.19.0-12-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0
  parameters: ro plymouth.enable=0 mitigations=auto consoleblank=0
  Desktop: Trinity R14.0.10 tk: Qt 3.5.0 info: kicker wm: Twin 3.0 dm: TDM
  Distro: Debian GNU/Linux 10 (buster)
Graphics:
  Device-1: AMD RC410 [Radeon Xpress 200/1100] vendor: Dell driver: radeon
  v: kernel bus ID: 01:05.0 chip ID: 1002:5a61
  Display: x11 server: X.Org 1.20.4 driver: radeon unloaded: modesetting
  alternate: ati,fbdev,vesa display ID: :0 screens: 1
  Screen-1: 0 s-res: 1680x1050 s-dpi: 108 s-size: 395x246mm (15.6x9.7")
  s-diag: 465mm (18.3")
  Monitor-1: VGA-0 res: 1680x1050 hz: 60 dpi: 90 size: 474x296mm (18.7x11.7")
  diag: 559mm (22")
  OpenGL: renderer: ATI RC410 v: 2.1 Mesa 18.3.6 direct render: Yes
# xrandr | egrep 'onnect|creen|\*' | grep -v disconn | sort -r
VGA-0 connected primary 1680x1050+0+0 (normal left inverted right x axis y axis) 474mm x 296mm
Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 4096 x 4096
  1680x1050    59.97*+  74.89
# cat /etc/apt/sources.list
deb http://ftp.us.debian.org/debian/ buster main contrib non-free
deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb http://ftp.us.debian.org/debian/ buster-updates main contrib non-free
deb http://www.deb-multimedia.org buster main non-free
deb http://mirror.ppa.trinitydesktop.org/trinity-sb buster deps-r14 main-r14
deb-src http://mirror.ppa.trinitydesktop.org/trinity-sb buster deps-r14 main-r14


PauloEduardo 11-19-2020 06:11 PM

It worked, the graphics acceleration is working correctly.

Is this message normal at system startup?

[drm:radeon_get_legacy_connector_info_from_bios [radeon]] *ERROR* Unknown connector type: 8

evo2 11-19-2020 07:13 PM

Hi,

Quote:

Originally Posted by PauloEduardo (Post 6187030)
It worked, the graphics acceleration is working correctly.

Great.
Quote:

Originally Posted by PauloEduardo (Post 6187030)
Is this message normal at system startup?

[drm:radeon_get_legacy_connector_info_from_bios [radeon]] *ERROR* Unknown connector type: 8

From a quick google search it seems like it may be a bios bug and that it is not really a problem.

Evo2.


All times are GMT -5. The time now is 07:56 AM.