LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-27-2018, 08:38 PM   #1
tempo-namee
Member
 
Registered: Sep 2017
Distribution: Slackware
Posts: 31

Rep: Reputation: Disabled
installed new graphics card (AMD replacing an nVidia one) and X is broken (SOLVED)


I bought a Radeon R9 280x. Without thinking I popped it into my machine and tried to run X. I'm not sure if this *should* theoretically work but it definitely did not on my end.

I have 'xf86-video-amdgpu' installed from Slackpkg. The error given when i do startx is

Code:
/usr/bin/startxfce4: X server already running on display :0

xfce4-session: error while loading shared libraries: libEGL.so.1: cannot open shared object file: No such file or directory
I have tried the following:

- uninstalling and reinstalling the amdgpu package

- xinit, which gives the same error

- pgrep x shows four processes running, but they're not on pstree and pkill x doesn't work. 'pgrep X' shows nothing.

- deleting /etc/modprobe.d/blacklist and /etc/X11/xorg.conf (as well as xorg.conf.nvidia-xconfig-original, conf.original-0, conf-vesa, and conf.backup)

- then running xorgsetup, it passes just fine. running startx after gives the same error, redoing xorgsetup and then rebooting and then starting x also gives the same error.

- uninstalling xfce just gives an xfce-related error:
Code:
 
 couldn't exec /usr/bin/startxfce4: No such file or directory

 xinit: connection to X server lost

So I'm at a loss here. Help very much appreciated.


EDIT: fixed by reinstalling the MESA package. leaving this up for anyone in the future looking


===
Slackware 14.2, x86_64 AMD 4100, 4GB RAM, Radeon R9 280x

Last edited by tempo-namee; 09-27-2018 at 08:48 PM.
 
Old 09-28-2018, 10:23 AM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,058

Rep: Reputation: 5608Reputation: 5608Reputation: 5608Reputation: 5608Reputation: 5608Reputation: 5608Reputation: 5608Reputation: 5608Reputation: 5608Reputation: 5608Reputation: 5608
Quote:
Originally Posted by tempo-namee View Post
I bought a Radeon R9 280x. Without thinking I popped it into my machine and tried to run X. I'm not sure if this *should* theoretically work but it definitely did not on my end.

--snip--

EDIT: fixed by reinstalling the MESA package. leaving this up for anyone in the future looking
Normally, yes this should work. However, based on your error message and how you fixed it, it likely means you installed the proprietary nvidia driver. They actually replace files from mesa with their own versions, so other video cards can't use them without reinstalling the mesa package.

Anyway, I'm glad you solved it and thanks for posting your solution
 
2 members found this post helpful.
Old 09-28-2018, 10:29 AM   #3
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib."
Posts: 6,490
Blog Entries: 1

Rep: Reputation: 3842Reputation: 3842Reputation: 3842Reputation: 3842Reputation: 3842Reputation: 3842Reputation: 3842Reputation: 3842Reputation: 3842Reputation: 3842Reputation: 3842
If you use the --uninstall option on the Nvidia driver it will offer to restore the original files.
Just FYI.

Last edited by cwizardone; 09-28-2018 at 10:30 AM.
 
3 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
Switching from Nvidia to AMD graphics card questions for a newbie annadane Linux - Hardware 5 01-30-2018 08:10 PM
Replacing my NVIDIA graphics card with one from AMD. annadane Linux - General 7 12-04-2017 07:15 AM
LXer: 27-Way NVIDIA & AMD Graphics Card Benchmarks On Linux LXer Syndicated Linux News 0 12-03-2013 12:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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