SlackwareThis 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.
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.
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
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?
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.
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.
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)?
[QUOTE=Didier Spaier;5103528]I assume that your laptop does have Optimus technology (hybrid graphics). To make sure please post output of following command:
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.