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.
|
 |
|
03-24-2023, 02:11 PM
|
#16
|
Member
Registered: Dec 2009
Location: Madrid, Spain
Distribution: Debian
Posts: 38
Original Poster
Rep:
|
This is the Xorg.0.log file.
Code:
# inxi -Gaz
Graphics:
Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
driver: N/A alternate: amdgpu arch: GCN-4 code: Arctic Islands
process: GF 14nm built: 2016-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 01:00.0 chip-ID: 1002:67df class-ID: 0300
Display: server: X.Org v: 1.20.11 compositor: kwin_x11 driver: X:
loaded: vesa unloaded: fbdev,modesetting,radeon dri: swrast gpu: N/A
display-ID: :0 screens: 1
Screen-1: 0 s-res: 1024x768 s-dpi: 96 s-size: 271x203mm (10.67x7.99")
s-diag: 339mm (13.33")
Monitor-1: default res: 1024x768 hz: 76 size: N/A modes: N/A
API: OpenGL v: 4.5 Mesa 20.3.5 renderer: llvmpipe (LLVM 11.0.1 256
bits) compat-v: 3.1 direct-render: Yes
|
|
|
03-24-2023, 03:40 PM
|
#17
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,335
|
Quote:
Originally Posted by bocabits
[ 91.839] (EE) open /dev/dri/card0: No such file or directory
Code:
...
driver: N/A...
loaded: vesa
...
|
Without /dev/dri/card*, X is incapable of optimal operation. Where you see N/A should be amdgpu, and where you see vesa, you should see either amdgpu, or modesetting.
Sometimes X tries to start before the graphics system is ready for it, which results in "/dev/dri/card0: No such file or directory". If this is the cause, Ctrl-Alt-F3 to switch to a vtty, from which a login as root or using sudo, systemctl restart sddm should get X started.
More commonly, something is preventing /lib/modules/<version>/kernel/drivers/gpu/drm/amd/amdgpu.ko from loading. Blacklisting is one possible cause, but not likely unless an NVidia GPU had been in use previously. This may be a case where some kernel cmdline option is required to enable loading it. Such options can be found in https://www.kernel.org/doc/Documenta...parameters.txt. https://wiki.archlinux.org/title/AMDGPU is a good resource that may help you determine if and which to use.
A pastebin of dmesg output may provide a clue to what is failing; same goes also for journalctl -b.
|
|
1 members found this post helpful.
|
03-25-2023, 05:08 AM
|
#18
|
Member
Registered: Dec 2009
Location: Madrid, Spain
Distribution: Debian
Posts: 38
Original Poster
Rep:
|
Hello, good morning.
This is a fresh debian installation so there is no nVidia or Ati drivers.
As you said, after booting I have to open a console with alt + f2 and type startx to get KDE. When I close the session and am back to the command line I see this text.
Code:
root@bossanova:~# startx
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: linux Debian
Current Operating System: Linux bossanova 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.10.0-21-amd64 root=UUID=3f8df022-ff5c-40f9-abd8-335e85062898 ro quiet
Build Date: 01 February 2023 02:11:18PM
xorg-server 2:1.20.11-1+deb11u5 (https://www.debian.org/support)
Current version of pixman: 0.40.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 25 09:52:02 2023
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.it: connection to X server lostrt Ca
dmesg
journalctl
Thanks again for all your help.
|
|
|
03-25-2023, 05:44 AM
|
#19
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,641
|
that looks ok, you just need to boot into gui, not into command line mode.
probably this helps: https://www.cyberciti.biz/faq/switch...systemd-linux/
|
|
1 members found this post helpful.
|
03-25-2023, 07:44 AM
|
#20
|
Member
Registered: Dec 2009
Location: Madrid, Spain
Distribution: Debian
Posts: 38
Original Poster
Rep:
|
The default mode is graphical.
https://i.imgur.com/wGq1jSs.png
|
|
|
03-25-2023, 01:41 PM
|
#21
|
Member
Registered: Dec 2009
Location: Madrid, Spain
Distribution: Debian
Posts: 38
Original Poster
Rep:
|
I have tried to boot from a live iso distribution, first Debian 11.6 has failed with the following message.
Code:
[drm:amdgpu_pci_probe [amdgpu]] *ERROR* amdgpu requires firmware installed
amdgpu: See https://wiki.debian.org/Firmware for information about missing firmware
sd 8:0:0:0: [sde] No Caching mode page found
sd 8:0:0:0: [sde] Assuming drive cache: write through
r8169 0000:0a:00.0: firmware: failed to load rtl_nic/rtl8168h-2.fw (-2)
r8169 0000:0a:00.0: Unable to load firmware rlt_nic/rtl8168h-2.fw (-2)
Then I've tried Ubuntu and it has worked.
https://i.imgur.com/lI6erEX.png
https://i.imgur.com/yiJU8ZV.png
Is there something I could look at Ubuntu to make my debian work?
|
|
|
03-25-2023, 03:30 PM
|
#22
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,335
|
Quote:
Originally Posted by bocabits
Code:
[drm:amdgpu_pci_probe [amdgpu]] *ERROR* amdgpu requires firmware installed
amdgpu: See https://wiki.debian.org/Firmware for information about missing firmware
...
Is there something I could look at Ubuntu to make my debian work?
|
Is firmware-amd-graphics installed in your Debian? Did you visit https://wiki.debian.org/Firmware?
|
|
1 members found this post helpful.
|
03-25-2023, 04:42 PM
|
#23
|
Member
Registered: Dec 2009
Location: Madrid, Spain
Distribution: Debian
Posts: 38
Original Poster
Rep:
|
Thanks mrmazda, you have solved my problems. After installing firmware-amd-graphics installed and rebooting I got sddm login and 1920x1080.
https://i.imgur.com/W6wZEVS.png
Thanks again and now I declare this topic SOLVED (again)
|
|
|
All times are GMT -5. The time now is 01:49 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
|
|