LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-28-2019, 09:22 AM   #1
dayzero
LQ Newbie
 
Registered: Jan 2019
Posts: 7

Rep: Reputation: Disabled
Drivers for new build


I have a new build, and usually I have no problem installing linux and drivers, but I have newer hardware now. My specs: AMD Ryzen 7 2700 8 core cpu, AMD Radeon RX 580 8gb, and MSI X470 Gaming Pro motherboard. Those should be the relevant pieces of hardware. I am having issues starting xserver while using I3-WM. uname -a 4.19.0-kali1-amd64 #1 SMP Debian 4.19.13-1kali1 (2019-01-03) x86_64. I have the amdgpu driver, but after putting exec i3 in .xinitrc and running startx, my screen just goes black and freezes with only a mouse cursor in the middle of the screen. There is no keyboard functionality.
 
Old 01-28-2019, 09:24 AM   #2
sevendogsbsd
Member
 
Registered: Sep 2017
Distribution: None, just FreeBSD
Posts: 735

Rep: Reputation: Disabled
Is there a reason you are installing Kali? There is a thread here on this - it's not a daily driver distro.

https://www.linuxquestions.org/quest...ad-4175614092/

Last edited by sevendogsbsd; 01-28-2019 at 09:33 AM.
 
Old 01-28-2019, 10:09 AM   #3
dayzero
LQ Newbie
 
Registered: Jan 2019
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sevendogsbsd View Post
Is there a reason you are installing Kali? There is a thread here on this - it's not a daily driver distro.

https://www.linuxquestions.org/quest...ad-4175614092/
https://ibb.co/dp9Lz8Z

I use this distribution of Linux because it is light and has some tools that I find useful. All of my software and scripts that I have written work for and with Kali Linux. I have been using it for years with no issues that I couldn't solve until now. It is home to me, and want nothing other than it.

Last edited by dayzero; 01-28-2019 at 10:40 AM.
 
Old 01-28-2019, 10:30 AM   #4
sevendogsbsd
Member
 
Registered: Sep 2017
Distribution: None, just FreeBSD
Posts: 735

Rep: Reputation: Disabled
Understood - the HOWTO and warnings about Kali are because it is designed and intended for a single purpose: pen testing. If you already know how to use it no worries.
 
Old 01-28-2019, 10:42 AM   #5
dayzero
LQ Newbie
 
Registered: Jan 2019
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sevendogsbsd View Post
Understood - the HOWTO and warnings about Kali are because it is designed and intended for a single purpose: pen testing. If you already know how to use it no worries.
Do the majority of humans not know how to use a car? Do the majority of humans know how to build a car?

Here is Xorg.0.log
https://ibb.co/dp9Lz8Z
 
Old 01-28-2019, 10:54 AM   #6
sevendogsbsd
Member
 
Registered: Sep 2017
Distribution: None, just FreeBSD
Posts: 735

Rep: Reputation: Disabled
It's a pentesting distro and designed specifically for that. Not sure why this is a surprise to you that most new users don't understand that.
 
Old 01-28-2019, 10:56 AM   #7
dayzero
LQ Newbie
 
Registered: Jan 2019
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sevendogsbsd View Post
It's a pentesting distro and designed specifically for that. Not sure why this is a surprise to you that most new users don't understand that.
What do you not understand about it being a pen testing distro has nothing to do with why xserver hangs? It is more than capable of running xserver. So what you are saying is irrelevant.
 
Old 01-28-2019, 11:06 AM   #8
sevendogsbsd
Member
 
Registered: Sep 2017
Distribution: None, just FreeBSD
Posts: 735

Rep: Reputation: Disabled
You misunderstand me: typically, new users choose Kali for whatever reason and the general advice is that they should not because it is a specialized distro. If you are already experienced in kali, there is no issue.

Not sure why this is upsetting you. I run kali at work in a lab and have zero issues but I am not running on bare metal so can't help with your specific issue.
 
Old 01-28-2019, 11:09 AM   #9
dayzero
LQ Newbie
 
Registered: Jan 2019
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sevendogsbsd View Post
You misunderstand me: typically, new users choose Kali for whatever reason and the general advice is that they should not because it is a specialized distro. If you are already experienced in kali, there is no issue.

Not sure why this is upsetting you. I run kali at work in a lab and have zero issues but I am not running on bare metal so can't help with your specific issue.
Okay, thanks. I thought you were suggesting that I move to a different distro.
 
Old 01-28-2019, 11:14 AM   #10
sevendogsbsd
Member
 
Registered: Sep 2017
Distribution: None, just FreeBSD
Posts: 735

Rep: Reputation: Disabled
No, no, not at all - we typically get a lot of new users who try kali and are confused by it so the standard answer is "go away and try something meant for daily use". Sorry for the misunderstanding.
 
Old 01-29-2019, 05:59 PM   #11
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 1,205

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
The screenshot shows /dev/dri/card0 is absent. That prevents use of all competent DDX drivers suited to AMD APU/GPUs (and Intel GPUs, and FOSS drivers for NVidia GPUs). X tries to fallback to the fbdev driver, but fails in its fallback/emergency use duty. The screenshot doesn't show enough. If you pastebin the whole file maybe we can be of more help. My guess is you are in need of a 4.20 or newer kernel.
Code:
inxi -Gxx
might make that clearer by providing your actual PCI ID for your 580.
Code:
lspci -nnk | grep -A3 VGA
will also provide the device ID, but not some other helpful info a new enough inxi run from within X can offer.
 
Old 02-02-2019, 08:03 PM   #12
dayzero
LQ Newbie
 
Registered: Jan 2019
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
The screenshot shows /dev/dri/card0 is absent. That prevents use of all competent DDX drivers suited to AMD APU/GPUs (and Intel GPUs, and FOSS drivers for NVidia GPUs). X tries to fallback to the fbdev driver, but fails in its fallback/emergency use duty. The screenshot doesn't show enough. If you pastebin the whole file maybe we can be of more help. My guess is you are in need of a 4.20 or newer kernel.
Code:
inxi -Gxx
might make that clearer by providing your actual PCI ID for your 580.
Code:
lspci -nnk | grep -A3 VGA
will also provide the device ID, but not some other helpful info a new enough inxi run from within X can offer.

https://github.com/daysero/log
Please check "Xorg.0.log" and "file"

Note: I have done a fresh install and did apt-get install kali-linux-full i3-wm i3 xorg xserver-xorg-video-amdgpu openbox xserver-xorg-core xserver-xorg -y && echo "exec i3" >>.xinitrc That is all.

uname-a: 4.19.0-kali1-amd64 #1 SMP Debian 4.19.13-1kali1 (2019-01-03) x86_64

Last edited by dayzero; 02-02-2019 at 08:09 PM. Reason: Additional, relevant information.
 
Old 02-02-2019, 08:36 PM   #13
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 1,205

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
What version of firmware-amd-graphics is installed? It may be older than your GPU, and why the required /dev/dri/card0 is absent. Maybe you need to upgrade it to one provided by backports or Buster.
 
Old 02-03-2019, 10:18 AM   #14
dayzero
LQ Newbie
 
Registered: Jan 2019
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
What version of firmware-amd-graphics is installed? It may be older than your GPU, and why the required /dev/dri/card0 is absent. Maybe you need to upgrade it to one provided by backports or Buster.

https://github.com/daysero/log/tree/master
Please check lspci.
I hope that helps.
 
Old 02-03-2019, 11:23 AM   #15
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 1,205

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Quote:
Originally Posted by dayzero View Post
https://github.com/daysero/log/tree/master
Please check lspci.
I hope that helps.
It doesn't help. It isn't what I asked for.
 
  


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
Nvidia drivers and login loop Ubuntu 16.04 on brand new build iFunction Linux - Hardware 15 07-03-2016 11:43 AM
[SOLVED] Linux 4.4 seems to refuse to build IPv6 for the 64-bit build - 32-bit build works fine GameCodingNinja Linux From Scratch 2 02-07-2016 06:40 PM
DSL-n on new machine, no support for new network adaptors, howto install new drivers? richhav1 DamnSmallLinux 3 11-09-2009 11:28 AM
Drivers, Drivers, Drivers!!! cjparad Ultra X 0 06-09-2009 04:08 PM
LXer: Build 'em Right, Build 'em Strong, Build 'em Linux LXer Syndicated Linux News 0 10-01-2007 09:51 PM

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

All times are GMT -5. The time now is 02:54 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration