LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 01-23-2014, 01:00 AM   #1
Anikha
LQ Newbie
 
Registered: Jun 2007
Distribution: Slackware64-14.1 Alien Multilib
Posts: 7

Rep: Reputation: 0
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
 
Old 01-23-2014, 02:04 AM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
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.
 
Old 01-23-2014, 02:30 AM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
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.
 
Old 01-23-2014, 03:53 AM   #4
Anikha
LQ Newbie
 
Registered: Jun 2007
Distribution: Slackware64-14.1 Alien Multilib
Posts: 7

Original Poster
Rep: Reputation: 0
No Graphical login on MSI GE60

Quote:
Originally Posted by Didier Spaier View Post
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`.
Attached Files
File Type: log Xorg.0.log (27.0 KB, 12 views)
File Type: txt xorg.conf.txt (13.1 KB, 14 views)
File Type: txt 99-Nvidia-stub.conf.txt (919 Bytes, 18 views)
 
Old 01-23-2014, 03:57 AM   #5
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,781

Rep: Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431
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!
 
Old 01-23-2014, 04:12 AM   #6
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,781

Rep: Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431
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.
 
Old 01-23-2014, 04:47 AM   #7
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
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)?
 
Old 01-23-2014, 05:04 AM   #8
Anikha
LQ Newbie
 
Registered: Jun 2007
Distribution: Slackware64-14.1 Alien Multilib
Posts: 7

Original Poster
Rep: Reputation: 0
[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.
 
Old 01-23-2014, 05:08 AM   #9
Anikha
LQ Newbie
 
Registered: Jun 2007
Distribution: Slackware64-14.1 Alien Multilib
Posts: 7

Original Poster
Rep: Reputation: 0
[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
 
Old 01-23-2014, 05:13 AM   #10
Anikha
LQ Newbie
 
Registered: Jun 2007
Distribution: Slackware64-14.1 Alien Multilib
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Didier Spaier View Post
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.
 
Old 01-23-2014, 07:18 AM   #11
Anikha
LQ Newbie
 
Registered: Jun 2007
Distribution: Slackware64-14.1 Alien Multilib
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
Old 01-23-2014, 08:27 AM   #12
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
I'm happy you got it working.
Quote:
Originally Posted by Anikha View Post
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.
 
  


Reply



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
How do I switch to text login while at the graphical login screen? SimGuy Linux - Software 4 07-21-2011 11:01 PM
Key repeat on graphical login screen is too fast, Its almost impossible to login. FC5 spacecoyote Fedora 8 05-13-2010 08:53 AM
Computer freeze after graphical login and comand line login TheBrick Linux - Software 3 04-20-2006 10:53 AM
Graphical login fail, text login works livewire98801 Linux - General 2 10-11-2004 06:09 PM
Changin Graphical Login to command line login 3DLirio Linux - Newbie 2 10-16-2003 09:43 PM

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

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