Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Plasma with nVidia issue...
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Fri Jul 22, 2016 3:09 pm    Post subject: Plasma with nVidia issue... Reply with quote

I have a new issue with Plasma and an nVidia card. SDDM works, but upon login the blue bar moves about 1/4 of the way to the right, the screen goes black, and the cursor works. The user is in the video group, as is the SDDM user. The system worked flawlessly in KDE4. I can use CTRL+ALT+F1 to get to a root shell and kill the user processes, but none of the users on the system can login. I don't see errors in the X.org logs either. Help?
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Fri Jul 22, 2016 3:34 pm    Post subject: Reply with quote

'New issue with Plasma-5' means it has been working before with Plasma-5 or you just have upgraded to it?

Please provide information for help. emerge --info
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Sun Jul 24, 2016 5:00 pm    Post subject: Reply with quote

I am not with the laptop in question, but I did not mean to indicate that the issue existed before. I upgraded from 4 to 5 due to massive issues attempting to stay with 4 and everything worked (even SDDM) except this. This has not happened on any other system, so I am stuck. I will provide emerge information when I get to the laptop. From my memory, we're using the nVidia driver from portage (not Nouveau) with the latest 3.18 kernel (nVidia doesn't support the driver in 4.x yet, maybe ever). Everything else appears to be fine, just this.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Thu Aug 04, 2016 3:12 pm    Post subject: Reply with quote

Been busy working on other projects, but I have some time so I'd like to solve this.
Code:

d820 ~ # emerge --info
Portage 2.2.28 (python 2.7.10-final-0, default/linux/x86/13.0/desktop/plasma, gcc-4.9.3, glibc-2.22-r4, 3.18.25-gentoo-r1 i686)
=================================================================
System uname: Linux-3.18.25-gentoo-r1-i686-Genuine_Intel-R-_CPU_T2400_@_1.83GHz-with-gentoo-2.2
KiB Mem:     3368024 total,   2647696 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of repository gentoo: Thu, 04 Aug 2016 15:00:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -mtune=native -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aalib acl acpi alsa audiofile avahi bash-completion bcmath berkdb bidi bindist bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cli consolekit cracklib crypt css ctype cups curl curlwrappers cxx dbi dbus declarative dga djvu dri dts dv dvb dvd dvdr emboss encode enscript exif expat fam fastcgi fbcon ffmpeg fftw firefox flac fontconfig fortran freetds ftp gd gdbm geoip gif gimp git glamor glut gmp gnutls gphoto2 gpm graphviz gsl gsm gstreamer gzip hddtemp iconv icu idn ieee1394 imagemagick imap imlib inifile inotify ipv6 jack jbig joystick jpeg jpeg2k kde kerberos kipi lame latex lcms ldap libass libcaca libnotify libsamplerate libwww lirc lm_sensors lua lzma lzo mad matroska memlimit mikmod mime mmap mms mng modplug modules mozilla mp3 mp4 mpeg mplayer mtp musepack nas ncurses netcdf networkmanager nls nptl odbc ofx ogg openal openexr opengl openmp osc pam pango pcmcia pcntl pcre pda pdf phonon plasma png policykit posix postscript ppds python qml qt3support qt4 qt5 quicktime radius raw readline recode samba scanner sdl seccomp semantic-desktop session sharedmem shorten simplexml smartcard smp sndfile snmp sockets sound speex spell sqlite ssl startup-notification svg svga syslog szip taglib tcpd theora threads tiff timidity truetype udev udisks unicode upnp upnp-av upower usb v4l vaapi vcd vdpau vorbis wavpack wayland widgets wifi wmf wxwidgets x264 x86 xattr xcb xcomposite xine xinerama xml xmlrpc xpm xscreensaver xv xvid zeroconf zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Again, when the system boots I get the nVidia logo screen, then SDDM. Once I enter my name and password into SDDM and press enter, I get the KDE loading screen, the bar goes about 1/3 of the way across, then everything fades to black. This is with a fresh account or a KDE4 migrated account.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Sat Aug 06, 2016 7:25 pm    Post subject: Reply with quote

Anybody? Is this just a "KDE no longer supports you" situation since 4 is gone and 5 isn't working?
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Sat Aug 06, 2016 7:37 pm    Post subject: Reply with quote

Sounds like it is a really old card, please check

Code:
$ glxinfo | grep "OpenGL version"
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Sat Aug 06, 2016 7:42 pm    Post subject: Reply with quote

I would, except that I can't, since I cannot login and trying it from the shell results in it being unable to open a display. It is an NVS110M, G72M chipset.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Sat Aug 06, 2016 7:49 pm    Post subject: Reply with quote

you can't start a fallback session?
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Sat Aug 06, 2016 8:09 pm    Post subject: Reply with quote

Not sure, how would I do that? I have never had to before.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Sat Aug 06, 2016 8:47 pm    Post subject: Reply with quote

You can choose a different session in SDDM.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Sat Aug 06, 2016 8:50 pm    Post subject: Reply with quote

OH that, I can try that.

*UPDATE*

I have Plasma and XSession. XSession simply produces a black screen then back to SDDM.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Sat Aug 06, 2016 8:58 pm    Post subject: Reply with quote

It may not be a Plasma-5 issue then...

EDIT: Please try with lightdm or configure your ~/.xinitrc to start Plasma-5 with startx so we can rule out SDDM.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Sun Aug 07, 2016 2:47 am    Post subject: Reply with quote

Alright, but I'll go ahead and tell you that I have NEVER had lightdm work for me and don't want to get into troubleshooting it. I wish the team had simply kept KDM. I wish they'd finished 4 before starting 5 too. I'll report back shortly, or tomorrow if I get too tired.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1602
Location: Just over the horizon

PostPosted: Sun Aug 07, 2016 3:01 am    Post subject: Reply with quote

Do you happen to be running 'keychain' on your system? If so, you may want to have a look a this:

https://github.com/sddm/sddm/issues/118

I had a very similar issue when I converted to plasma. The last comment in to that issue solved it for me (well, more of a workaround than a solution).
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Sun Aug 07, 2016 7:53 am    Post subject: Reply with quote

The_Great_Sephiroth wrote:
I wish the team had simply kept KDM.

KDM was ultimately declared to be unmaintainable.

If you have problems with lightdm you can try with any other DM that allows you to choose a Plasma-5 session or none at all, as I said... we are troubleshooting SDDM here and try to find the point of error.


Last edited by asturm on Sun Aug 07, 2016 11:56 am; edited 1 time in total
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Sun Aug 07, 2016 11:38 am    Post subject: Reply with quote

The_Great_Sephiroth wrote:
Alright, but I'll go ahead and tell you that I have NEVER had lightdm work for me and don't want to get into troubleshooting it. I wish the team had simply kept KDM. I wish they'd finished 4 before starting 5 too. I'll report back shortly, or tomorrow if I get too tired.

Try the procedure in https://forums.gentoo.org/viewtopic-p-7947104.html#7947104
I couldn't get SDDM working with the NVIDIA closed-source driver in Gentoo Stable, so I switched to LightDM using the method given in that post, and it works fine.
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Sun Aug 07, 2016 11:42 am    Post subject: Reply with quote

@Fitzcarraldo: Out of curiosity, what gives
Code:
$ glxinfo | grep "OpenGL version"

in your case?
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4553
Location: Germany

PostPosted: Sun Aug 07, 2016 12:37 pm    Post subject: Reply with quote

The_Great_Sephiroth wrote:
From my memory, we're using the nVidia driver from portage (not Nouveau) with the latest 3.18 kernel (nVidia doesn't support the driver in 4.x yet, maybe ever).
[...]
It is an NVS110M, G72M chipset.

This Chipset should work with the nvidia-drivers-304.131 series, this is compatible with <linux-4.4 Kernel.
With the current linux-4.1 (LTS) Kernel it should work fine.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Sun Aug 07, 2016 2:47 pm    Post subject: Reply with quote

Alright, I have some answers. I am not running keychain, nor have I ever used or heard of it before now, so I believe that it is not the issue. I do know they claimed it was unmaintainable, but that sounds like an excuse to me, since they have the sources and all, but KDE is not my project.

As for LightDM, I followed that post. I have tried it on multiple systems, not all of them having nVidia cards, and cannot get it working. I did however get SDDM working on every single system I have Gentoo on, except for this one. I am not sure why it is being so hardcore here, if the issue is SDDM. I mean it SEEMS like SDDM works. I can type my name and password and press enter. They are accepted. It is during the part where the large, horizontal bar which has the blue line that goes from left to right appears that the trouble begins. The status bar moves about 1/3 of the way to the right, then the entire screen fades to black with a cursor. Is that loading screen part of Plasma or SDDM? I am fairly sure that is Plasma.

I have the nVidia drivers masked to 304.131, but did not know I could go to kernel 4.x with them. When i set this laptop up I was told to stay with 3.18 or the drivers would not work. I will change my kernel mask to ">sys-kernel/gentoo-sources-4.1" and see if we can use it. Thanks!
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Sun Aug 07, 2016 8:21 pm    Post subject: Reply with quote

genstorm wrote:
@Fitzcarraldo: Out of curiosity, what gives
Code:
$ glxinfo | grep "OpenGL version"

in your case?

Code:
fitzcarraldo@clevow230ss ~ $ glxinfo | grep "OpenGL version"
OpenGL version string: 4.5.0 NVIDIA 361.28

_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Mon Aug 08, 2016 4:00 pm    Post subject: Reply with quote

Nothing seems to change when I modify the xinitrc file. Perhaps I am doing it wrong, or perhaps it isn't SDDM.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4553
Location: Germany

PostPosted: Wed Aug 10, 2016 3:48 am    Post subject: Reply with quote

Hm, have you installed the kde-plasma/plasma-meta package, with all dependencies?
Try
Code:
emerge -avuDN kde-plasma/plasma-meta
Back to top
View user's profile Send private message
Navar
Guru
Guru


Joined: 20 Aug 2012
Posts: 353

PostPosted: Wed Aug 10, 2016 7:10 am    Post subject: Reply with quote

My experience relates to plasma profile in the tree on ~x86. Mostly a clean install via depclean and forced removals of prior KDE4->5 that worked for a time until I got behind on updates for months.

nouveau is entirely broken (at boot with modeset) for a 6000 series in an older PC and a 7900 GS in this laptop. So that adds an extra special level of pain with the wayland enforcement.

So this is my guess on what is affecting you.

Main thing to remember: nvidia 304 series doesn't support egl, gbm, gallium, gles1/2, or wayland (and therefore llvm). But they can still be made to work.

You may be fighting with kde-plasma/kwin, x11-libs/cairo, and kde-frameworks/kwayland that try to force those options with mesa, which we really shouldn't need.

Right now it's a mess. SDDM did work for me, for a time, then didn't (haven't retried), so I removed for lightDM which also works. It might have been prior config files needing cleaned out. Anyway, with nvidia 304, both only work with 1 session option for plasma, when 2 would be shown. In SDDM one will show clearly with wayland as the option (avoid, black screen), and one without (which I could make work with X). LightDM will show just 'plasma' for both, one will be the that works, the other will be trying to do wayland. You may need to do a reboot rather than just restarting xdm to get success with the other option.

kde-frameworks/kwayland, kde-plasma/kscreenlocker and kde-plasma/kwin all require wayland to install.

And the code paths seem to cause some issues here and there due to that (such as the screen lock). Kwin will decide the card needed reset due to effects being frozen and then it'll eventually resume from lockup fine. I've tried the option to disable incompatible effects, but who knows if it's having an effect. Seems not very long ago I was testing KDE4 with similar quirks.

The whole point in doing this for me was also as an alternative work around to the cairo gradients patch fiasco that affected performance very badly in GTK environments (post Gnome2->Mate) (2012-13) on cards requiring the 304 series drivers. Sure enough, with mesa mostly stripped and nvidia 304 being allowed to do most of its job, QT scrolling, etc. performance is decent without spiking the CPU for rendering.

I haven't looked into this too much further, but here and there are some threads trying to find a way to avoid wayland entirely.

I'm also not using SystemD, which may cause some additional KDE5 growing pains since they seem to have finally went whole hog in that direction.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Wed Aug 10, 2016 4:46 pm    Post subject: Reply with quote

So the incomplete Wayland stuff, which is supposed to replace X, is most likely the issue? I did note that Wayland was required, but it worked for a while, and now it doesn't. I wans't using the Wayland option though. I was planning on waiting for it to be, you know, complete. It seems there's quite a bit of incomplete/beta software being pushed right now. My opinion is that Plasma is nowhere near ready and now it builds on a project which is also incomplete. This is getting to be a headache.

I don't mind using Wayland, when it is complete and functions as a replacement for X, not before. If something requires it but I don't choose to use it as I am doing now, that is also fine. If KDE goes systemd though, I'm out. I'll switch to BSD or something.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Wed Aug 10, 2016 5:12 pm    Post subject: Reply with quote

You are _not_ using wayland.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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