LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-17-2020, 07:09 PM   #1
PauloEduardo
LQ Newbie
 
Registered: Nov 2020
Distribution: Debian
Posts: 11

Rep: Reputation: Disabled
Post 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.
 
Old 11-17-2020, 07:28 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
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.
 
Old 11-18-2020, 11:53 AM   #3
PauloEduardo
LQ Newbie
 
Registered: Nov 2020
Distribution: Debian
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
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.
 
Old 11-18-2020, 11:59 AM   #4
PauloEduardo
LQ Newbie
 
Registered: Nov 2020
Distribution: Debian
Posts: 11

Original Poster
Rep: Reputation: Disabled
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.
 
Old 11-18-2020, 05:50 PM   #5
PauloEduardo
LQ Newbie
 
Registered: Nov 2020
Distribution: Debian
Posts: 11

Original Poster
Rep: Reputation: Disabled
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.

Last edited by PauloEduardo; 11-18-2020 at 05:53 PM.
 
Old 11-18-2020, 05:52 PM   #6
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
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.

Last edited by evo2; 11-18-2020 at 05:55 PM.
 
Old 11-18-2020, 06:26 PM   #7
PauloEduardo
LQ Newbie
 
Registered: Nov 2020
Distribution: Debian
Posts: 11

Original Poster
Rep: Reputation: Disabled
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
 
Old 11-18-2020, 06:42 PM   #8
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
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.
 
Old 11-18-2020, 06:58 PM   #9
PauloEduardo
LQ Newbie
 
Registered: Nov 2020
Distribution: Debian
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
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
 
Old 11-18-2020, 07:15 PM   #10
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
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.
 
1 members found this post helpful.
Old 11-19-2020, 01:38 PM   #11
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE & OS/2 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 6,569
Blog Entries: 1

Rep: Reputation: 2268Reputation: 2268Reputation: 2268Reputation: 2268Reputation: 2268Reputation: 2268Reputation: 2268Reputation: 2268Reputation: 2268Reputation: 2268Reputation: 2268
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
 
Old 11-19-2020, 06:11 PM   #12
PauloEduardo
LQ Newbie
 
Registered: Nov 2020
Distribution: Debian
Posts: 11

Original Poster
Rep: Reputation: Disabled
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
 
Old 11-19-2020, 07:13 PM   #13
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
Hi,

Quote:
Originally Posted by PauloEduardo View Post
It worked, the graphics acceleration is working correctly.
Great.
Quote:
Originally Posted by PauloEduardo View Post
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.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
enabling hardware acceleration PennyroyalFrog Linux - Newbie 5 02-26-2010 11:21 AM
Enabling Hardware Acceleration in FC4 with ATI MOBILITY X700 Peanutman Fedora 0 10-25-2005 09:42 AM
Enabling Hardware Acceleration Support for Intel 82865 Integrated VGA saqib Linux - Hardware 1 09-20-2004 05:15 AM
Problem Enabling 3D Hardware acceleration. mir_sheely Linux - Hardware 0 06-14-2004 12:37 PM
Audigy Sound card and enabling 3D acceleration for GeoForce3 ti 500 heavyarmor4ever Linux - Newbie 1 01-03-2003 09:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration