Installing NVidia driver
I have downloaded driver for my NVidia card from nvidia.com. I followed instructions during the installation. After finish, my xserver cannot started. If I remove xorg.conf file everything is fine.
These are my hardware and system details. Driver info Version: 304.43 Certified Release Date: 2012.08.27 Operating System: Linux 64-bit Language: English (U.S.) File Size: 61.1 MB NVIDIA-Linux-x86_64-304.43.run System Slackware64-current with xfce Graphic Hardware nvidia geforce GT 630M. 2GB |
Please have a look at the wiki for this issue. Using the Slackbuilds might be the easiest thing to do.
|
I actually just did this again with the same driver your trying to use. What works for me is by logging in at start-up, cd to the directory where your driver is and run "./NVIDIA-Linux-x86_64-304.43.run", and lastly blacklist the nouveau driver in /etc/modprobe.d/blacklist.conf (This is achieved by simply adding "blacklist nouveau").
|
Quote:
|
I apologize the file is blacklist.conf, if it's nowhere to be found that is interesting to me.
|
The wiki linked to previously has the correct method for dealing with the nouveau driver, simply use the package from extra to kill it off.
What is missing from the wiki is the need to configure X to use the nvidia driver. This goes in a file /etc/X11/xorg.conf.d/10-nvidia.conf Code:
Section "Device" |
Quote:
Code:
blacklist nouveau God! Help me! EDIT: And there is no 10-nvidia.conf under xorg.conf.d |
Quote:
|
Quote:
|
Quote:
Quote:
Quote:
|
/etc/X11/xorg.conf was created by nvidia installation. It contains
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig |
The GT 630M is an optimus GPU... I haven't a clue about those, but I know you have to use bumblebee which I believe you will beed to build from source: http://bumblebee-project.org/install.html
Your xorg.conf achieves the same end result as wildwizard's .conf file in /etc/X11/xorg.conf.d/ - there is no point in having both. You probably don't need that much configuration however... Edit xorg.conf as follows to remove most of unnecessary lines Code:
Section "Device" Code:
$ lsmod | grep nouveau |
Quote:
|
1 Attachment(s)
They are working to add Optimus support, see there.
Since then, your driver is usable, but in addition you need bumblebee, as already noticed by el chapulin, and probably switcheroo (included in Slackware). So search this forum for nvidia + optimus + bumblebee to get a clue. I wrote a nano-how to about switcheroo that I never published here, just because I can't really test it as I don't have switchable graphics. Not sure it's really relevant but I attach it to this post anyway. BTW, if somebody wants to check & review it and put it on SlackDocs, feel free to do so, no need to credit me. PS I just updated the attached file to correct an error. PS2 See for instance this post. |
EDIT: Yeah, what Didier said!
Quote:
Good luck installing and setting up Bumblebee! Let us know how it goes. Here's the Wiki Install page from Bumblebee : https://github.com/Bumblebee-Project...tall-and-usage |
Hi,
Dunno if you find a solution, but I just installed the driver on a fresh machine "as usual" and had no problem... Once slackware is installed, go to the /extra/xf86-video-nouveau-blacklist directory on the slackware disk (or a local slackware repo mirror as I use). Code:
# cd slack-mirror-or-repo-or-disk-mount-point/extra/xf86-video-nouveau-blacklist Code:
# shutdown -r now Code:
# cd path/to/where/you/keep/the/driver No need for building OpenGL 32 bit library unless you've got multilib setup. You can simply let the installer generates the xorg.conf (it's not the default). You should be able to startx now... Also once in X, you can launch nvidia-setup from a terminal and you can add another screen an so on... Never, never had ANY problem since 2008 with that, but the nouveau driver to blacklist, but it's a well know procedure for nvidia users now. Cheers Garry. Edit: Obviously all must be done in runlevel 3... Just in case: Code:
# init 3 or you can rollback/restore your inittab accordingly. |
@NoStressHQ: Is that on an Optimus laptop? It *seems* to be the culprit of OP's problem.
|
Quote:
I didn't meant to mislead the OP or the problem seekers, I just wanted to remind that despite people talking about "simpler with sbopkg", I find that the direct way from NVIDIA didn't cause any problem from me (but the nouveau blacklist), and it's not complicated at all, you (usually) just have to do the things in the right order. And sometimes people introduce problem trying solutions a bit too fancy... So forget my message if it's a HW/specific problem. Cheers |
Hey Didier, your switcheroo file looks to be accurate. I have a hp with radeon hybrid graphics cards. I have used most of the commands mentioned in the file in the past. I didn't know about the MDIS and MIGD commands. I"ll give them a whirl on my laptop when I get home later today.
|
This is off-topic, but why isn't nouveau loaded with modeset=0 as a default? Is there risk of breakage, security, something else? It's a pain to boot up, install nouveau-blacklist and then reboot... (I guess it could be installed during the system install if the installer was more, oh, let's say, aware than this author?)
@NoStressHQ: Your reasoning is why a more in-depth installation guide was given on the SlackDocs wiki article. The article still needs improvement (like adding a section about optimus cards! I'll have to get on the article's author!), but hopefully it will offer many paths to good results (and help avoid some of the 'less good' paths). @bakunin: did it work? |
Quote:
Quote:
|
Quote:
Quote:
|
Quote:
Cheers |
To the OP:
If you have a Linux laptop with an Nvidia Optimus chip set, you must either (a) disable Optimus and the second power saving GPU in the BIOS (b) use Bumblebee + nvidia proprietary blob (c) Wait for official Nvidia Optimus support (rumored "real soon" now). At this time neither the Nvidia blob, nor the packages from Slackbuilds.org support switchable GPU. As mentioned previously, after installing the Nvidia Blob, you will have to blacklist nouveau, create a minimal xorg.conf to load the nvidia driver (not autodetected, SBo version does this for you) as this will solve 99% of one's issues. |
Hey didier I tried the MDIS and MIGD commands and had no effect on my system. Then I came across this post of yours
http://www.linuxquestions.org/questi...151/page4.html and I think I have one of them muxless systems where the discrete card is hooked up to nothing just used for processing, but I don't know how to confirm this for sure. I looked through my dmesg and it shows the integrated card connected to the display, vga, and hdmi connectors, however dmesg shows the descrete card having no output conections. My cards are switching with the DIS and DIGD commands, but I loose my display when I use the DIS command. I ran cat command and piped it to a text file while blind and it showed the the discrete card powered on and active and the integrated card powered off. I know this is a little off topic, but thought you would like to know. |
Hey colorpurple21859,
not sure I can help you investigate. Nevertheless could you please send output of following command, typed as root: Code:
lspci -kvnn | grep -A16 '\''[030[02]\]' |
Didier, This is my laptop
HP Pavilion dv6-6135dx laptop with 1366x768 screen resolution ati 6620g/6750m graphics card There is no option to switch graphic cards to the display in the bios or in windows software. Just options in windows software to select which video card any selected software uses. Specs from hp website: PHP Code:
results of Code:
lspci -kvnn | grep -A16 '\''[030[02]\]' PHP Code:
PHP Code:
|
Radeon GPUs will require using the AMD/ATI FLGRX driver for some chipsets, as well as disabling modesetting and blacking the default radeon kernel module.
After installing the FLGRX package, add radeon to the blacklisted modules, rerun liloconfig, and add nomodeset to the kernel parameters. |
@colorpurple21859: Sorry, I have no clue. I was not even aware that such configurations with two Radeon graphical processors existed.
I would have said "have a closer look to to /var/log/Xorg.O.log" but I'm pretty sure you did that already. |
If you have a AMD A/E/FX series CPU it will usually have an onboard VGA radeon. If you have a separate add-on Radeon, try using the FGLRX drivers and see if they'll register for CrossFire.
|
I boot two slackware64s on the laptop, one using the fglrx driver and one using the radeon driver. I was just trying to see if the MDIS/MIGD commands would work, never tryed them before now. If it wasn't for the fact that the laptop isn't very old I would have already popped the hood to see what the insides looked like. As much as I would like to see how everything is tied to together, I've decided against it. I'm a fan of the saying "if it ain't broke, don't fix it".
|
1 Attachment(s)
Probably you should see error messages in the kernel logs when trying to see these commands, see /usr/src/linux/drivers/gpu/vga/vga_switcheroo.c
Mine is appended (in kernel 3.2.29 now in -current). |
All times are GMT -5. The time now is 05:35 AM. |