LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Xorg not loading after install of Nvidia drivers 270.41.19 (https://www.linuxquestions.org/questions/slackware-14/xorg-not-loading-after-install-of-nvidia-drivers-270-41-19-a-884006/)

riganta 06-01-2011 04:23 PM

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,

zasavage 06-01-2011 04:31 PM

@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

slkrover 06-01-2011 05:43 PM

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.

afreitascs 06-01-2011 05:54 PM

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

frieza 06-01-2011 06:01 PM

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.

riganta 06-01-2011 06:21 PM

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,

marnold 06-01-2011 06:47 PM

Quote:

Originally Posted by riganta (Post 4373580)
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.

disturbed1 06-01-2011 07:14 PM

Quote:

Originally Posted by riganta (Post 4373580)
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?

riganta 06-03-2011 05:37 PM

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,

disturbed1 06-03-2011 07:06 PM

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


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