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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-17-2020, 07:09 PM
|
#1
|
LQ Newbie
Registered: Nov 2020
Distribution: Debian
Posts: 11
Rep: 
|
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.
|
|
|
11-17-2020, 07:28 PM
|
#2
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
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.
|
|
|
11-18-2020, 11:53 AM
|
#3
|
LQ Newbie
Registered: Nov 2020
Distribution: Debian
Posts: 11
Original Poster
Rep: 
|
Quote:
Originally Posted by evo2
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.
|
|
|
11-18-2020, 11:59 AM
|
#4
|
LQ Newbie
Registered: Nov 2020
Distribution: Debian
Posts: 11
Original Poster
Rep: 
|
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.
|
|
|
11-18-2020, 05:50 PM
|
#5
|
LQ Newbie
Registered: Nov 2020
Distribution: Debian
Posts: 11
Original Poster
Rep: 
|
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.
|
|
|
11-18-2020, 05:52 PM
|
#6
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
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.
|
|
|
11-18-2020, 06:26 PM
|
#7
|
LQ Newbie
Registered: Nov 2020
Distribution: Debian
Posts: 11
Original Poster
Rep: 
|
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
|
|
|
11-18-2020, 06:42 PM
|
#8
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
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.
|
|
|
11-18-2020, 06:58 PM
|
#9
|
LQ Newbie
Registered: Nov 2020
Distribution: Debian
Posts: 11
Original Poster
Rep: 
|
Quote:
Originally Posted by evo2
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
|
|
|
11-18-2020, 07:15 PM
|
#10
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
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.
|
11-19-2020, 01:38 PM
|
#11
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE & OS/2 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 6,569
|
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
|
|
|
11-19-2020, 06:11 PM
|
#12
|
LQ Newbie
Registered: Nov 2020
Distribution: Debian
Posts: 11
Original Poster
Rep: 
|
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
|
|
|
11-19-2020, 07:13 PM
|
#13
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
Hi,
Quote:
Originally Posted by PauloEduardo
It worked, the graphics acceleration is working correctly.
|
Great.
Quote:
Originally Posted by PauloEduardo
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.
|
All times are GMT -5. The time now is 12:07 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|