LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-24-2023, 02:11 PM   #16
bocabits
Member
 
Registered: Dec 2009
Location: Madrid, Spain
Distribution: Debian
Posts: 38

Original Poster
Rep: Reputation: 2

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
 
Old 03-24-2023, 03:40 PM   #17
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,335
Blog Entries: 1

Rep: Reputation: 2195Reputation: 2195Reputation: 2195Reputation: 2195Reputation: 2195Reputation: 2195Reputation: 2195Reputation: 2195Reputation: 2195Reputation: 2195Reputation: 2195
Quote:
Originally Posted by bocabits View Post
[ 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.
Old 03-25-2023, 05:08 AM   #18
bocabits
Member
 
Registered: Dec 2009
Location: Madrid, Spain
Distribution: Debian
Posts: 38

Original Poster
Rep: Reputation: 2
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.
 
Old 03-25-2023, 05:44 AM   #19
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,641

Rep: Reputation: 7814Reputation: 7814Reputation: 7814Reputation: 7814Reputation: 7814Reputation: 7814Reputation: 7814Reputation: 7814Reputation: 7814Reputation: 7814Reputation: 7814
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.
Old 03-25-2023, 07:44 AM   #20
bocabits
Member
 
Registered: Dec 2009
Location: Madrid, Spain
Distribution: Debian
Posts: 38

Original Poster
Rep: Reputation: 2
The default mode is graphical.

https://i.imgur.com/wGq1jSs.png
 
Old 03-25-2023, 01:41 PM   #21
bocabits
Member
 
Registered: Dec 2009
Location: Madrid, Spain
Distribution: Debian
Posts: 38

Original Poster
Rep: Reputation: 2
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?
 
Old 03-25-2023, 03:30 PM   #22
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,335
Blog Entries: 1

Rep: Reputation: 2195Reputation: 2195Reputation: 2195Reputation: 2195Reputation: 2195Reputation: 2195Reputation: 2195Reputation: 2195Reputation: 2195Reputation: 2195Reputation: 2195
Quote:
Originally Posted by bocabits View Post
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.
Old 03-25-2023, 04:42 PM   #23
bocabits
Member
 
Registered: Dec 2009
Location: Madrid, Spain
Distribution: Debian
Posts: 38

Original Poster
Rep: Reputation: 2
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)
 
  


Reply

Tags
debian, radeon


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
OpenSUSE 42.2 - Radeon RX480 Drivers 18yu9wdef Linux - Newbie 3 04-17-2017 08:31 PM
AMD RX480 Bad OpenGL performance Gumpyii Linux - Hardware 6 10-30-2016 06:03 AM
LXer: Linux Kernel 4.7 Officially Released, Introduces Support for Radeon RX480 GPUs LXer Syndicated Linux News 0 07-24-2016 11:01 PM
Unable to start Xwindows hackersapien Linux - Newbie 8 08-09-2003 08:34 PM
unable to start Xwindows DSMK Linux - Software 26 08-03-2001 04:20 PM

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

All times are GMT -5. The time now is 01:49 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