Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Black screen after updating to kernel 3.18.1 - nvidia-346.22

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
Barbieken
Tux's lil' helper
Tux's lil' helper
Posts: 82
Joined: Sat Mar 22, 2014 10:59 am

Black screen after updating to kernel 3.18.1 - nvidia-346.22

  • Quote

Post by Barbieken » Sun Jan 04, 2015 5:12 pm

Getting black screen when booting into X after upgrade to the Gentoo kernel 3.18.1/nvidia-drivers-346.22 from 3.17.2/nvidia-drivers-343.36
Thinkpad T540p laptop with Nvidia 730M, Optimus, IPS3K display. It works again after I rolled back to the previous kernel and nvidia-drivers. No other changes.
I run emerge --ask @module-rebuild after any kernel change


cat Xorg.0.log | grep EE

Code: Select all

(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     7.977] (EE) /dev/dri/card1: failed to set DRM interface version 1.4: Invalid argument
[     8.102] (EE) Screen 1 deleted because of no matching config section.
[     8.784] (EE) /dev/dri/card1: failed to set DRM interface version 1.4: Invalid argument
no /etc/X11/xorg.conf

cat /etc/X11/xorg.conf.d/nvidia.conf

Code: Select all

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
    Inactive "intel"
EndSection


Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    Option "RegistryDwords" "EnableBrightnessControl=1"
#    Option "RegistryDwords" "PerfLevelSrc=0x3333"
EndSection

Section "Screen"
    Identifier "nvidia"                                                                                                                                                                                                                                             
    Device "nvidia"                                                                                                                                                                                                                                                 
    # Uncomment this line if your computer has no display devices connected to                                                                                                                                                                                      
    # the NVIDIA GPU.  Leave it commented if you have display devices                                                                                                                                                                                               
    # connected to the NVIDIA GPU that you would like to use.                                                                                                                                                                                                       
    #Option "UseDisplayDevice" "none"                                                                                                                                                                                                                               
     Option "AllowEmptyInitialConfiguration"                                                                                                                                                                                                                        
EndSection                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                    
Section "Device"                                                                                                                                                                                                                                                    
    Identifier "intel"                                                                                                                                                                                                                                              
    Driver "modesetting"                                                                                                                                                                                                                                            
    BusID "PCI:0:2:0"                                                                                                                                                                                                                                               
                                                                                                                                                                                                                                                                    
EndSection                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                    
Section "Screen"                                                                                                                                                                                                                                                    
    Identifier "intel"                                                                                                                                                                                                                                              
    Device "intel"                                                                                                                                                                                                                                                  
EndSection      

cat /usr/share/config/kdm/Xsetup

Code: Select all

#! /bin/sh                                                                                                                                                                                                                                                          
# Xsetup - run as root before the login dialog appears                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                    
#xconsole -geometry 480x130-0-0 -notify -verbose -fn fixed -exitOnFail -file /dev/xconsole &                                                                                                                                                                        
xrandr --setprovideroutputsource modesetting NVIDIA-0                                                                                                                                                                                                               
xrandr --auto
xrandr --dpi 144
Top
Maffblaster
Developer
Developer
Posts: 71
Joined: Tue May 01, 2007 1:47 pm
Location: Spokane, Washington, USA
Contact:
Contact Maffblaster
Website

  • Quote

Post by Maffblaster » Tue Jan 06, 2015 8:07 am

I know for sure the latest unstable version of the nvidia-drivers package (346.22) didn't work with my PC's Optimus configuration. In fact, the only way I've been able to get the notebook's attached display working is exclusively using the intel drives instead of the nvidia-drivers. Please let me know if you get things working with 3.18.1/nvidia-drivers-346.22!

For your working 3.17.2/nvidia-drivers-343.36, could you post your VIDEO_CARDS variable from /etc/portage/make.conf? Do you have intel, modsetting, and nvidia selected at the same time?
Lets make Gentoo better together!
wiki: https://wiki.gentoo.org/wiki/User:Maffblaster
blog: http://dev.gentoo.org/~maffblaster/
Top
ExecutorElassus
Veteran
Veteran
User avatar
Posts: 1525
Joined: Thu Mar 11, 2004 11:12 pm
Location: Berlin, Germany

  • Quote

Post by ExecutorElassus » Tue Jan 06, 2015 8:56 pm

I'm running the 346.22 driver on the gentoo 3.18.1 kernel (on ~amd64). It threw a warning at install, but otherwise works ok (except that now electricsheep doesn't work, AGAIN :( ). I'm not doing anything fancy with settings or patches or anything, so ymmv.

Cheers,

EE
Top
Maffblaster
Developer
Developer
Posts: 71
Joined: Tue May 01, 2007 1:47 pm
Location: Spokane, Washington, USA
Contact:
Contact Maffblaster
Website

  • Quote

Post by Maffblaster » Tue Jan 06, 2015 10:47 pm

ExecutorElassus wrote:I'm running the 346.22 driver on the gentoo 3.18.1 kernel (on ~amd64).
Is there any way you could:
1. Post the working kernel .config (pastebin or something would be great).
2. Post the xorg.conf.
3. Let me know what your VIDEO_CARDS variable looks like (/etc/portage/make.conf).
4. Let me know if you are specifying EDID information for the attached screen.
5. Let me know what mode the graphics are set to in your EFI firmware (it should say something like "Optimus", but I can't remember exactly what the options are).

:D I'm trying to update the Optimus article (on the wiki) with working information; in order to do that I'd like to get it working on my machine first. I've been trying to get it working on and off for literally months with no success. :(

I'd really appreciate it!
Lets make Gentoo better together!
wiki: https://wiki.gentoo.org/wiki/User:Maffblaster
blog: http://dev.gentoo.org/~maffblaster/
Top
Barbieken
Tux's lil' helper
Tux's lil' helper
Posts: 82
Joined: Sat Mar 22, 2014 10:59 am

  • Quote

Post by Barbieken » Wed Jan 07, 2015 10:59 pm

Maffblaster wrote: For your working 3.17.2/nvidia-drivers-343.36, could you post your VIDEO_CARDS variable from /etc/portage/make.conf? Do you have intel, modsetting, and nvidia selected at the same time?
VIDEO_CARDS="intel nvidia"
Top
Maffblaster
Developer
Developer
Posts: 71
Joined: Tue May 01, 2007 1:47 pm
Location: Spokane, Washington, USA
Contact:
Contact Maffblaster
Website

  • Quote

Post by Maffblaster » Wed Jan 07, 2015 11:35 pm

Thanks for replying Barbieken! I am really hoping the other user will reply with the information I requested since he was able to get it working with a newer kernel. :^)
Lets make Gentoo better together!
wiki: https://wiki.gentoo.org/wiki/User:Maffblaster
blog: http://dev.gentoo.org/~maffblaster/
Top
ExecutorElassus
Veteran
Veteran
User avatar
Posts: 1525
Joined: Thu Mar 11, 2004 11:12 pm
Location: Berlin, Germany

  • Quote

Post by ExecutorElassus » Thu Jan 08, 2015 5:43 am

ohgod, that's a lot of stuff to post. Sorry it's taken a bit. I'll do my best to post it over the next couple of days, but I have a lot on my plate this week :(
Top
Maffblaster
Developer
Developer
Posts: 71
Joined: Tue May 01, 2007 1:47 pm
Location: Spokane, Washington, USA
Contact:
Contact Maffblaster
Website

  • Quote

Post by Maffblaster » Thu Jan 08, 2015 5:04 pm

ExecutorElassus wrote:ohgod, that's a lot of stuff to post. Sorry it's taken a bit. I'll do my best to post it over the next couple of days,
If you use the

Code: Select all

wgetpaste /path/to/file.txt
tool you can create bpaste pastebins super easily. Then you can copy and paste the links here. That should make it both faster and easier! :)

Install wgetpaste using

Code: Select all

emerge wgetpaste
Lets make Gentoo better together!
wiki: https://wiki.gentoo.org/wiki/User:Maffblaster
blog: http://dev.gentoo.org/~maffblaster/
Top
recoco.zhang
n00b
n00b
Posts: 53
Joined: Tue Jan 20, 2004 7:29 am

  • Quote

Post by recoco.zhang » Sat Feb 07, 2015 4:39 am

same to me. I have tried to use kernel3.18.1 and nvidia-drivers-346.35 together, but no luck. And I used the patch for nvidia-drivers-346.22 , installed the nvidia-drivers-346.22 manually, finally got a gnome oops(anyway, X really start successfully!). But I cannot go further. :cry:
Top
grot
n00b
n00b
Posts: 33
Joined: Wed Dec 17, 2014 3:27 pm

  • Quote

Post by grot » Sat Feb 07, 2015 6:12 am

This isn't really a solution but if you haven't considered it you might want to try out bumblebee. There are other threads here on how to do it. according to arch wiki the nvidia drivers optimus are more error-prone, probably due to being so new. also when bumblebee fails you still have video, instead of nothing. I'm running bumblebee with the new kernel and drivers.

If you have tried bumblebee, I'd be curious to hear about the performance difference.
Top
Post Reply

10 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic