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 06-01-2011, 04:23 PM   #1
riganta
Member
 
Registered: May 2007
Location: Cork (Ireland)
Distribution: Arch Xfce
Posts: 177

Rep: Reputation: 25
Xorg not loading after install of Nvidia drivers 270.41.19


Guys,

I am running slackware 13.37. I installed the newest NVIDIA drivers 270.41.19 and now impossible to load Xorg.
I get:
fatal server error:
no screens found
xinit: giving up
xinit: unable to connect to X server: connection refused
xinit: server error

How I installed the new nvidia drivers:
- removepkg xf86-video-nouveau
- installed xf86-video-nouveau-blacklist-noarch-1.txz for blacklist the nv drivers
- run script nvidia
- run nvidia-xconfig
- reboot
The startx and black screen with errors messages mentioned above.

I run glxinfo | grep render and i get " Error: Unable to open display". Logical since no Xorg
I run dmesg | grep nvidia and I get all the required fields:
- NVIDIA taint kernels
- power state
- enabling device
- PCI INT A
- Setting latency

Apologies for the short & incomplete messages above as I have to manually copy the errors messages since my PC is not working.

Cant figure out what is happening here.

When I run "find /usr/lib -name *.270.* " I do get the module
Same thing when I run "find /lib -name nvidia.ko". I see the nvidia.ko module. Any help would be much appreciated

Regards,
 
Old 06-01-2011, 04:31 PM   #2
zasavage
Member
 
Registered: Sep 2010
Location: Bloemfontein , South Africa
Distribution: Slackware 13.37 and Slackware 14
Posts: 201

Rep: Reputation: 6
@riganta

HI there
I am not sure what happened there but this is my recipe for installing Nvidia drivers on slack ,

I dont bother removing anything ass the nvidia installer does the whole shebang ..

It also does the blacklist plus the 32 bit drivers ect

I also run xorgsetup just to get a working xconfig file

Hope this helps

regards
Lawrence
 
Old 06-01-2011, 05:43 PM   #3
slkrover
Member
 
Registered: Mar 2010
Distribution: Current-64
Posts: 70

Rep: Reputation: 16
This just had this happen to me after an update. Had to remove the nvidia driver sh N...run --uninstall and use sbopkg to install the driver.Dont remember what the problem was, think i found an explanation of the problem on an ubuntu forum, somthing to do with the driver from the nvidia site.

Edit:

Now I remember what it was. I run sli and it was not loading the second gfx card. Something to do with CUDA. Device not loaded? Could not open /dev/nvidia1? Sorry may not be your problem.

Last edited by slkrover; 06-01-2011 at 05:48 PM.
 
Old 06-01-2011, 05:54 PM   #4
afreitascs
Member
 
Registered: Aug 2004
Distribution: Debian
Posts: 443

Rep: Reputation: 30
How do I install Nvidia driver:

Download Nvidia drive (of course)

#sh "Nvidia driver. ".sh

Here the own driver warns that it will have to put blacklist "nouveau". and asks you if you want to do. After that, it prompts you to reboot
After reboot, you continue the installation nomal

#sh "Nvidia driver. ".sh

ps: No need to remove any package
 
Old 06-01-2011, 06:01 PM   #5
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
i had a similar issue, try adding
Code:
nouveau.modset=0
to the kernel line in your grub configuration (/boot/grub/grub.cfg) and rebooting, this gets rid of the nouveau framebuffer as well, which seems to conflict with the nvidia proprietary driver.
 
Old 06-01-2011, 06:21 PM   #6
riganta
Member
 
Registered: May 2007
Location: Cork (Ireland)
Distribution: Arch Xfce
Posts: 177

Original Poster
Rep: Reputation: 25
Guys, thank you so much for your reply.
I nuked the NVIDIA drivers.
./NVIDIA...run --uninstall
rebooted my unit
rebuilt Xorg with xorgsetup
rebooted again and logged with my user
typed glxinfo | grep render and a miracle happened as I now have
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel IGD
my Xorg is fully functional.
Now, I do not want to die stupid and if someone could explain to me why I finally got a fully functional Xorg after removing NVIDIA drivers, that would be much appreciated. I spent a couple of hours installing and uninstalling and suddenly it works without me doing anything...
I wont be able to sleep unless I have an explanation!!!!

Regards,
 
Old 06-01-2011, 06:47 PM   #7
marnold
Member
 
Registered: Dec 2005
Distribution: Slackware64 15.0 Multilib
Posts: 313

Rep: Reputation: 52
Quote:
Originally Posted by riganta View Post
Now, I do not want to die stupid and if someone could explain to me why I finally got a fully functional Xorg after removing NVIDIA drivers, that would be much appreciated. I spent a couple of hours installing and uninstalling and suddenly it works without me doing anything...
It's just using Mesa and nothing else. You won't be able to do anything interesting graphically at anything resembling a decent framerate. I think your original issue is that you need at least a small xorg.conf in /etc/X11 Here's mine:

Code:
Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "NoLogo" "true"
EndSection
I'd be willing to bet that if you reinstall the driver and use the above as your xorg.conf, the NVIDIA binary driver will work just fine. The "NoLogo" option is, um, optional, but that way you don't have to see the NVIDIA splash screen every time X starts.

Last edited by marnold; 06-01-2011 at 06:50 PM.
 
Old 06-01-2011, 07:14 PM   #8
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
Quote:
Originally Posted by riganta View Post
OpenGL renderer string: Mesa DRI Intel IGD
Laptop with unsupported dual graphics?
You need to disable the Intel IGD, hopefully you have a laptop which allows this configuration in the BIOS.

Or motherboard with on board graphics, accidentally miss configured?
 
Old 06-03-2011, 05:37 PM   #9
riganta
Member
 
Registered: May 2007
Location: Cork (Ireland)
Distribution: Arch Xfce
Posts: 177

Original Poster
Rep: Reputation: 25
disturbed1, you are right. ION 2 not yet supported by NVIDIA on linux.
Mesa drivers are the only compatible with the two graphic cards that I have.
- Intel Corporation N10 Family Integrated Graphic Controller (rev 02)
- Nvidia Corporation Device 0a76 (rev a2)
All make sense, and also my netbook is working nicely.

Thanks all for your response. I will mark this thread as solved.

Regards,
 
Old 06-03-2011, 07:06 PM   #10
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
I'd still check the bios to see if one or the other GPU can be disabled. If anything you'll have better battery life.

Also, keep in mind that the open source nouveau driver has NO power management currently. Given the choice between nouveau or Intel, you might be better off with the open source Intel graphics.

Here's a couple of articles that might be of use for you
http://en.gentoo-wiki.com/wiki/Vga_switcheroo
http://people.freedesktop.org/~airlied/vgaswitcheroo/
https://help.ubuntu.com/community/HybridGraphics
 
  


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
How to Install Nvidia Driver NVIDIA-Linux-x86-270.41.19.run ryan20fun Linux - Newbie 19 05-31-2011 07:07 PM
[SOLVED] NVIDIA-Linux-x86-270.41.06 Install ? prickee Debian 3 05-05-2011 07:26 AM
No X after loading nvidia drivers keogk Linux - Hardware 2 10-23-2006 06:26 PM
New Xorg broke my nvidia drivers? GL1800 Fedora 3 09-01-2005 08:34 AM
XOrg Hangs With NVidia Drivers damicatz Linux - Software 3 08-26-2004 05:39 AM

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

All times are GMT -5. The time now is 02:46 AM.

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