LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-30-2017, 10:26 PM   #1
lawnm0wer
Member
 
Registered: Nov 2017
Posts: 58

Rep: Reputation: Disabled
Fresh 14.2 install, X won't start


Hello LQ slackware forums!

I'm making an effort to migrate from windows 7, I chose slack because it's the one I'm the most familiar with and the one I always end up going back to.

On a previous attempt to migrate, I successfully installed slackware on CSM mode, a bios update I made earlier this year seems to have changed something that makes LILO puke. I remedied this by switching to EFI mode and installing with ELILO, install went smoothly after that, set up my main user profile and SBOpkg, but I have a problem.

When I try to start X, the server blanks out my screen and immediately returns to the command line. logs show a segmentation fault, signal (11) or something like that. I don't understand why this would happen, as I had just overwritten a debian install which did have a working X- on EFI as well.

how can I fix my Xserver so I can get my icons running again?
 
Old 11-30-2017, 10:43 PM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,469

Rep: Reputation: 4262Reputation: 4262Reputation: 4262Reputation: 4262Reputation: 4262Reputation: 4262Reputation: 4262Reputation: 4262Reputation: 4262Reputation: 4262Reputation: 4262
Can you provide your /var/log/Xorg.0.log file? It could provide an idea of what is causing the issue.

By chance, did you accidentally set your slackpkg mirror to -current instead of 14.2 and now you have mismatched packages/libraries?
 
Old 11-30-2017, 10:44 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,884
Blog Entries: 27

Rep: Reputation: 4668Reputation: 4668Reputation: 4668Reputation: 4668Reputation: 4668Reputation: 4668Reputation: 4668Reputation: 4668Reputation: 4668Reputation: 4668Reputation: 4668
What is the make/model of the device?

Since you say X won't start, I'm assuming you can log in to the command line. Check the logs in /var/log, in particular Xorg.0.log, messages, and syslog; they may shed some light on this issue. Post any log output that seems relevant here, being sure to surround it with "code" tags, which become available when you click the "Go Advanced" button at the bottom of the "compose post" window.

Oh, and welcome to LQ.
 
Old 11-30-2017, 10:44 PM   #4
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,855

Rep: Reputation: Disabled
dmesg could help too.
 
Old 12-01-2017, 04:10 PM   #5
lawnm0wer
Member
 
Registered: Nov 2017
Posts: 58

Original Poster
Rep: Reputation: Disabled
I'm posting this straight from links on slackware itself. I cannot remember that one commandline-based window manager that I might be able to use to copy-paste the logs, I know I can copy-paste with just the mouse button but I cannot copy-paste from different command-line sessions. I'll give what I find is relevant and type as much as my patience is willing to allow.

I have not touched slackware.current, this all happened just after installing slackware on my main machine.

Code:
## /var/log/Xorg.0.log

(II) AIGLX: Screen 0 is not DRI2 capable
(EE) Reverting to software rendering
## ...command repeats
(II) AIGLX: enabled GLX_MESA_copy_sub_buffer
(II) AIGLX: loaded and initialized swrast
(II) GLX Initialized DRISWRAST GL Provider for screen 0
(EE) ## blank error
(EE) backtrace:
##nine erros that complain about the following Xorg directories with hex-symbols I cannot understand
#/usr/libexec/Xorg
#/lib64/libthread.so.0
#/lib64/libc.so.6
(EE) segmentation fault at address 0xa0
here's some things I found that looked relevant when looking through dmesg
Code:
##system wakeup disabled on several PCI devices
##...
radeon 0000:07:00.0: No connecters reported with connected nodes
[drm] cannot find any crtc or sizes - going 1024x768
FAT-fs (sda1): volume was not properly unmounted. some data may be corrupt. please run fsck
could not find much else in var/log about anything important, no major or notable errors in dmesg. fsck just showed a bad bit as a result of improperly unmounting my boot partition. nothing else showed in that.

Last edited by lawnm0wer; 12-01-2017 at 04:13 PM.
 
Old 12-01-2017, 04:15 PM   #6
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,469

Rep: Reputation: 4262Reputation: 4262Reputation: 4262Reputation: 4262Reputation: 4262Reputation: 4262Reputation: 4262Reputation: 4262Reputation: 4262Reputation: 4262Reputation: 4262
If you have a thumbdrive, you could copy the files (or output in the case of dmesg) to it, then you could use a different computer to post them.

I may not be the best at reading the logs, but I'm not seeing any causes for those errors with the amount posted. A full log might provide us more information. Based on the little we do have, it might be a graphics driver issue. What video card do you have? Can you post the following?

Code:
lspci -k | grep -iA3 vga
 
Old 12-01-2017, 10:58 PM   #7
lawnm0wer
Member
 
Registered: Nov 2017
Posts: 58

Original Poster
Rep: Reputation: Disabled
attached is the output of dmesg, and Xorg.0.log. below is the result of the lspci command bassmadrigal listed.

Code:
##my GPUs

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 67df (rev c7)
	Subsystem: PC Partner Limited / Sapphire Technology Device e347
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device aaf0
	Subsystem: PC Partner Limited / Sapphire Technology Device aaf0
--
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]
	Subsystem: PC Partner Limited / Sapphire Technology Radeon HD 6450 1 GB DDR3
	Kernel driver in use: radeon
	Kernel modules: radeon
I have non-matching GPUs because I was attempting to do VGA-passthrough using the caicos as the host GPU.

if I understand this lspci output right, my computer is using the wrong GPU for display... which does not make sense to me, since my Sapphire R290+ is the GPU I'm operating with right now. this display worked fine the last time I rage-quit to windows 7, the only other thing I can think it would be that the bios update caused some kind of snafu with the huge kernel during install.
Attached Files
File Type: txt dmesg.txt (73.8 KB, 4 views)
File Type: log Xorg.0.log (65.7 KB, 7 views)

Last edited by lawnm0wer; 12-01-2017 at 11:08 PM. Reason: clarification
 
Old 12-02-2017, 05:00 AM   #8
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys for decades while testing others to keep up
Posts: 2,619

Rep: Reputation: 2700Reputation: 2700Reputation: 2700Reputation: 2700Reputation: 2700Reputation: 2700Reputation: 2700Reputation: 2700Reputation: 2700Reputation: 2700Reputation: 2700
One thing that could have changed during a bios alteration/update is "preferred graphics device" when you have both an onboard graphics chip as well as one in a slot, presumably PCIe or PCI Express. Make sure it points to your preferred use. Sometimes conflicts arise and it may be necessary to blacklist the one you don't want to use, at least until you have X working and can troubleshoot in an environment more comfortable to you.

In your Xorg.0.log the first indication of a problem I see is

Code:
 [    75.301] (II) AIGLX: Screen 0 is not DRI2 capable
[    75.301] (EE) AIGLX: reverting to software rendering
So not only may there be a conflict in GPUs but it is possible you also need a more complete and specific definition of "Monitor" and "Screen" in your /etc/X11/xorg.conf.

I wish I could be more helpful but I am unfamiliar with AMD/ATi graphics. For examp0le, nVidia driver comes with nvidia-settings that provides the means to extract the monitor's EDID to a bin file to evoke the exact internal instructions on every xserver restart. If AMD has anything like that, it could be very helpful.

Also, I always setup X manually so I am a bit unfamiliar here as well but iirc /usr/bin/xorgsetup is helpful to many. Did you run that?

Another personal preference that can eliminate some issues, at least for troubleshooting, is to login to runlevel 3 as root and invoke xdm, gdm, or kdm to get a display manager working immediately as well as a login screen where user can login to the selected WM/DE of choice. This can make getting back to runlevel 3, if X fails, a bit easier by various means such as Ctrl-Alt-Backspace (assuming you have that enabled) or just Alt-F4 followed by Alt-F1.

It might be instructive to try Alien Bob's Slack Live to see if that works for you as well as how and why. -- Slack Live --

Hope this helps some.

Last edited by enorbet; 12-02-2017 at 05:03 AM.
 
2 members found this post helpful.
Old 12-02-2017, 10:15 AM   #9
lawnm0wer
Member
 
Registered: Nov 2017
Posts: 58

Original Poster
Rep: Reputation: Disabled
X is working now! I'm posting right from it!

Removing the unneeded GPU from my PC was what did the trick! thank you for your help!
 
  


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
Fedora 8 won't start after fresh install Ab3n Fedora 6 11-29-2007 10:54 PM
X won't start after fresh Debian install Rahiiyja Linux - Newbie 12 01-14-2007 10:41 AM
FC6 fresh install won't start from XP CD to install XP 2nd ask_save Fedora 2 11-17-2006 07:23 AM
X won't start on fresh install! ? pmzq Mandriva 4 02-12-2006 12:02 AM
X Server Won't Start on Fresh Install Thray Debian 4 04-04-2004 06:28 PM

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

All times are GMT -5. The time now is 09:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration