Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Black screen after updating to kernel 3.18.1 - nvidia-346.22
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Barbieken
Tux's lil' helper
Tux's lil' helper


Joined: 22 Mar 2014
Posts: 82

PostPosted: Sun Jan 04, 2015 5:12 pm    Post subject: Black screen after updating to kernel 3.18.1 - nvidia-346.22 Reply with quote

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:

(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:

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:

#! /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
Back to top
View user's profile Send private message
Maffblaster
Developer
Developer


Joined: 01 May 2007
Posts: 70
Location: Spokane, Washington, USA

PostPosted: Tue Jan 06, 2015 8:07 am    Post subject: Reply with quote

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/
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1476
Location: Berlin, Germany

PostPosted: Tue Jan 06, 2015 8:56 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Maffblaster
Developer
Developer


Joined: 01 May 2007
Posts: 70
Location: Spokane, Washington, USA

PostPosted: Tue Jan 06, 2015 10:47 pm    Post subject: Reply with quote

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/
Back to top
View user's profile Send private message
Barbieken
Tux's lil' helper
Tux's lil' helper


Joined: 22 Mar 2014
Posts: 82

PostPosted: Wed Jan 07, 2015 10:59 pm    Post subject: Reply with quote

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"
Back to top
View user's profile Send private message
Maffblaster
Developer
Developer


Joined: 01 May 2007
Posts: 70
Location: Spokane, Washington, USA

PostPosted: Wed Jan 07, 2015 11:35 pm    Post subject: Reply with quote

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/
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1476
Location: Berlin, Germany

PostPosted: Thu Jan 08, 2015 5:43 am    Post subject: Reply with quote

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 :(
Back to top
View user's profile Send private message
Maffblaster
Developer
Developer


Joined: 01 May 2007
Posts: 70
Location: Spokane, Washington, USA

PostPosted: Thu Jan 08, 2015 5:04 pm    Post subject: Reply with quote

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:
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:
emerge wgetpaste

_________________
Lets make Gentoo better together!
wiki: https://wiki.gentoo.org/wiki/User:Maffblaster
blog: http://dev.gentoo.org/~maffblaster/
Back to top
View user's profile Send private message
recoco.zhang
n00b
n00b


Joined: 20 Jan 2004
Posts: 53

PostPosted: Sat Feb 07, 2015 4:39 am    Post subject: Reply with quote

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:
Back to top
View user's profile Send private message
grot
n00b
n00b


Joined: 17 Dec 2014
Posts: 33

PostPosted: Sat Feb 07, 2015 6:12 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum