Slackware This Forum is for the discussion of Slackware 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.
|
|
01-23-2014, 01:00 AM
|
#1
|
LQ Newbie
Registered: Jun 2007
Distribution: Slackware64-14.1 Alien Multilib
Posts: 7
Rep:
|
No Graphical login on MSI GE60
I just received a MSI GE60 laptop yesterday with an NVidia GTX 660M graphics adapter. Win8 came preinstalled
After struggling for a bit, I managed to get Slackware64-14.1 installed by disabling secure boot and juggling my boot devices around in the BIOS/Firmware.
I can dual boot now by pressing F11 on startup and selecting my OS from the UEFI menu.
At first X crashed with a "No Screens" error, which I finally fixed after some reading; by inserting the following into my .xinitrc:
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
nvidia-settings --load-config-only -a InitialPixmapPlacement=2
However, currently, I can only start in runlevel 3 and run startx.
Turning on runlevel 4, gets kdm to run but with no display. My screen just goes black.
I set Xdmcp Enable to true and remote logins have no problem.
Does anyone have some advice, please?
Graphics driver is NVIDIA-Linux-x86_64-331.20
Last edited by Anikha; 01-23-2014 at 01:07 AM.
Reason: Added video driver info
|
|
|
01-23-2014, 02:04 AM
|
#2
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
Display managers often can point out an underlying problem with drivers and hardware or a possible setup issue as is your case. I have a few questions regarding this:
Have you attempted to create a default xorg.conf profile in directory /etc/X11 and if so, can you post it?
Last edited by ReaperX7; 01-23-2014 at 02:06 AM.
|
|
|
01-23-2014, 02:30 AM
|
#3
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,173
Rep:
|
Please attach the X log you get after trying to start at run level 4, else we'll stay in the dark
Of course that means you'll have to save it after next reboot before launching X.
|
|
|
01-23-2014, 03:53 AM
|
#4
|
LQ Newbie
Registered: Jun 2007
Distribution: Slackware64-14.1 Alien Multilib
Posts: 7
Original Poster
Rep:
|
No Graphical login on MSI GE60
Quote:
Originally Posted by Didier Spaier
Please attach the X log you get after trying to start at run level 4, else we'll stay in the dark
Of course that means you'll have to save it after next reboot before launching X.
|
I have /etc/X11/xorg.conf and a stub in /etc/X11/xorg.conf.d/99-Nvidia-stub.conf
and my log file after `init 4`.
|
|
|
01-23-2014, 03:57 AM
|
#5
|
Senior Member
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,925
|
While we await the "/var/log/Xorg.0.log" and/or the "/etc/X11/xorg.conf" output, I'll hazard a guess that this is an Optimus problem. If all OP want's to do is run X and some lighter gaming, especially on battery power, the Intel Graphics should do OK. OTOH if OP stays on AC Power and wishes heavier acceleration (a la nvidia) it is likely that either Intel-hda will have to be blacklisted as well (usually ONLY for NEVER running on battery) or install and use Bumblebee.
Slackware docs HERE
Good luck
Edit: Wow! Simul-Post!
|
|
|
01-23-2014, 04:12 AM
|
#6
|
Senior Member
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,925
|
Follow Up
I'm a total noob at the whole Optimus thing, but I'm betting that with xorg.conf listing essentially all cards and all busses to use the nvidia driver, as long as intel-hda is around and default, it's going to fail. Either accommodate the Intel graphics or blacklist it, is my impression.
|
|
|
01-23-2014, 04:47 AM
|
#7
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,173
Rep:
|
I assume that your laptop does have Optimus technology (hybrid graphics). To make sure please post output of following command:
Code:
lspci -vnn | grep '\''[030[02]\]'
I see this in X log:
Code:
[ 42268.912]
[...]Kernel command line: BOOT_IMAGE=dev001:\EFI\Slackware\vmlinuz root=/dev/sda6 vga=current i915.modeset=1 video=inteldrmfb GraphicsEnabler=Yes PCIRootUID=1 ro ro
[...]
[ 42269.226] (II) modesetting(1): using drv /dev/dri/card0
[ 42269.226] (II) modesetting(G0): using drv /dev/dri/card0
[ 42269.226] (EE) Screen 1 deleted because of no matching config section.
[ 42269.226] (II) UnloadModule: "modesetting"
[...]
So there seems to be a problem using the Intel frame buffer as you ask to load it in the command line but then it get unloaded after the error (EE) line.
After that the NVIDIA drivers seems to be used though.
Out of curiosity, what leaded you to this custimzed command line and why do you have two config files for X?
Did you try a simpler configuration first?
Did you try using Nouveau instead (+VGA Switcheroo/Bumblebee)?
|
|
|
01-23-2014, 05:04 AM
|
#8
|
LQ Newbie
Registered: Jun 2007
Distribution: Slackware64-14.1 Alien Multilib
Posts: 7
Original Poster
Rep:
|
[QUOTE=enorbet;5103512]Slackware docs HERE
I got this and I am working through it. I does look like what I was looking for and will post resuts/updates.
Much appreciated and thanks.
|
|
|
01-23-2014, 05:08 AM
|
#9
|
LQ Newbie
Registered: Jun 2007
Distribution: Slackware64-14.1 Alien Multilib
Posts: 7
Original Poster
Rep:
|
[QUOTE=Didier Spaier;5103528]I assume that your laptop does have Optimus technology (hybrid graphics). To make sure please post output of following command:
Code:
lspci -vnn | grep '\''[030[02]\]'
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107M [GeForce GTX 660M] [10de:0fd4] (rev a1) (prog-if 00 [VGA controller])
I got the other bits from some other distro discussions on similar issues. And tried them all until I finally succumbed to asking for some Slackware-specific help
|
|
|
01-23-2014, 05:13 AM
|
#10
|
LQ Newbie
Registered: Jun 2007
Distribution: Slackware64-14.1 Alien Multilib
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by Didier Spaier
Out of curiosity, what leaded you to this custimzed command line and why do you have two config files for X?
Did you try a simpler configuration first?
Did you try using Nouveau instead (+VGA Switcheroo/Bumblebee)?
|
I tried to get something to work with the vanilla install and the NVidia proprietary driver first as this always did well on my desktop machines. But this Optimus technology is very new and strange to me.
|
|
|
01-23-2014, 07:18 AM
|
#11
|
LQ Newbie
Registered: Jun 2007
Distribution: Slackware64-14.1 Alien Multilib
Posts: 7
Original Poster
Rep:
|
Final Update
You guys are awesome
Bumblebee + Nouveau = Fully Functional Runlevel 4 (And and even World of Warcraft runs under wine with okay FPS)
That Howto needs to be amended as BumbleBee and Bumblebeed, no longer seems to be seperate packs.
Much thanks
|
|
|
01-23-2014, 08:27 AM
|
#12
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,173
Rep:
|
I'm happy you got it working.
Quote:
Originally Posted by Anikha
That Howto needs to be amended
|
This is a Wiki, so you can contribute, as indicated in the the home page
Last edited by Didier Spaier; 01-23-2014 at 08:28 AM.
|
|
|
All times are GMT -5. The time now is 10:04 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
|
|