Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE issues: in limbo between 4 and 5?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 700

PostPosted: Fri Jan 08, 2016 11:07 am    Post subject: KDE issues: in limbo between 4 and 5? Reply with quote

I've just switched from GNOME to KDE. These are the KDE packages now in my world file:

Code:
$ </var/lib/portage/world grep kde
kde-apps/ark
kde-apps/dolphin
kde-apps/gwenview
kde-apps/kate
kde-apps/kcalc
kde-apps/kdenetwork-filesharing
kde-apps/kolourpaint
kde-apps/konsole
kde-apps/kwrite
kde-apps/okteta
kde-apps/okular
kde-base/kdebase-startkde
kde-base/kdeplasma-addons
kde-base/powerdevil
kde-frameworks/breeze-icons
kde-misc/yakuake
kde-plasma/breeze
kde-plasma/breeze-gtk
kde-plasma/oxygen


I'm now facing two issues. One: half of KDE isn't translated (e.g. parts of the Appearance dialog in systemsettings). This is probably because I'm missing kde-l10n. But I can't install that, due to file collisions with kde4-l10n, which is required by lightdm-kde, which I want. The second issue is that I don't have the oxygen style available, even though kde-plasma/oxygen is installed. This package, however, appears to only install qt5 libs, in which case I'm not surprised that my KDE, which appears to be all qt4, isn't using it.

My question is basically: my system appears to be in limbo; what did I do wrong? :P
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6823
Location: Austria

PostPosted: Fri Jan 08, 2016 11:36 am    Post subject: Reply with quote

First of all, what version of Plasma do you want to use? That will decide which profile you should choose.

Second, what are your use flags inside make.conf? This will dramatically influence the looks and and works of your KDE Plasma/Applications packages.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 700

PostPosted: Fri Jan 08, 2016 12:14 pm    Post subject: Reply with quote

genstorm wrote:
First of all, what version of Plasma do you want to use? That will decide which profile you should choose.

Heh, that's a good question. The answer is: 'whatever I should be using, given that I'm on ~amd64'. One extra thing though: I am unable to use Wayland - it really doesn't like my GPU setup (mixed nvidia and amd (yeah I know :P )), so if KDE 5 hard-requires wayland, that's out. If not, then I will follow the judgement of the ~amd64 maintainers in whether KDE 4 or 5 is appropriate to be using today.

Quote:
Second, what are your use flags inside make.conf? This will dramatically influence the looks and and works of your KDE Plasma/Applications packages.

Code:
USE="X a52 aac aacs acl adobe-cff aio alsa alsa-plugin amr apng archive arp
     asm asn1 atm autoconf-archive avcodec avformat awt blas blksha1 bluray
     branding bzip2 cacert cairo caps cdda cdemu-daemon cdio clang classic
     client corefonts css cups curl d3d9 dbus debug-frame dep detailedmemory
     devil dns dos dri dri3 drm dvb dvbpsi dvd dvi ebook egl elfutils encode
     epub evdev exceptions exif expat faac faad fat fdk ffmpeg fftw filecaps
     flac fluidsynth fontconfig fonts foomatic fortran gallium gbm gcj gconf
     gecko gif gles gles1 gles2 glib glut gmp gmp-autoupdate gnome-keyring
     gnome-shell gnutls gpl gpm graphics graphite gsm gstreamer gtk3 gtkstyle
     hardcoded-tables highlight http2 humanities hwaccel iconv icu infinality
     inotify interlaced ithreads ivorbis javafx jemalloc jemalloc3 jit jpeg
     justify kdesu kmod kms kpathsea kscreen lame lcms leaps_timezone libav
     libburn libinput libkms libnotify librsync-bundled live llvm lm_sensors
     low-memory luajittex lzma lzo mad magic man matroska mikmod minimal
     minizip mmap mng modern-top modplug mp3 mpeg mpfr mtp natspec nautilus
     ncurses netlink network nftables nls nptl nsplugin ntfsprogs ocamlopt
     office ogg openal opencl opengl openmp openpty optimization orc osmesa
     pam pci pcre pcre16 pdf pgo physfs pie pipelight plugins png policykit
     postproc postscript prelink previewer printsupport pulseaudio q64
     qt3support rar raw readline reiserfs rtmp rtsp run-exes s3tc samba
     schroedinger scripttools sdl seccomp security sendto sensord session
     sha512 sndfile sound split-ucode sqlite ssl staging startup-notification
     static-analyzer strong-optimization suid svg swap-16bit-csp swap-remote
     swscale symlink syslog system-cairo system-icu system-jpeg system-jsoncpp
     system-libvpx system-mitkrb5 systemd tahoma tdb themes theora threads
     tiff timezone tls-heartbeat toolbar traceroute track-src-odirect truetype
     twolame udev udf udisks unicode unwind upower usb uuid vaapi vcd vcdx
     vdpau video vlc vorbis vpx vte wallpapers wayland weather webgl webp
     widgets winbind wma-fixed wmf x264 x265 xa xattr xcb xcomposite xetex
     xinerama xkb xml xnest xorg xpm xps xv xvid xvmc zip zlib -10bit -12bit
     -SECURITY_HAZARD -X509 -Xaw3d -aalib -accessibility -ada -addc -addns
     -addons -adns -ads -afp -afs -aften -alisp -all_sfx -allegro
     -animation-rtl -apache2 -api-doc-extras -apparmor -appindicator -arping
     -aspell -asyncns -atmo -attica -audit -autotrace -avahi -ayatana
     -bashlogger -bat -bazaar -bdplus -berkdb -bidi -bindist -bluetooth -botan
     -broadway -bs2b -btrfs -canusb -capi -caps-ng -cddb -cgi -chm
     -chromaprint -cilk -cjk -clockdiff -cloudprint -clucene -cluster -coinmp                                                                                                                                                                                                   
     -collada -colord -common-lisp -compat -connman -conntrack -consolekit                                                                                                                                                                                                     
     -context -contrast -contrib -coverage -cpudetection -cracklib -cramfs                                                                                                                                                                                                     
     -crash-reporter -creds -cron -crypt -cryptsetup -crywrap -ctypes-python                                                                                                                                                                                                   
     -custom-cflags -custom-modes -custom-optimization -cvs -cxx -dane -darcs                                                                                                                                                                                                   
     -dbi -dc1394 -debug -debug-freelist -debug-malloc -declarative                                                                                                                                                                                                             
     -deprecated -derby -designer -desktopglobe -detex -device-mapper -dga                                                                                                                                                                                                     
     -digitalradio -directfb -discouraged -djbfft -djvu -dmapi -dmraid -dmx                                                                                                                                                                                                     
     -doc -doctool -dpi -dso -dts -dv -dvi2tty -e2fsprogs -eds -efiemu -eglfs                                                                                                                                                                                                   
     -emacs -embedded -enca -eps -epspdf -epydoc -equalizer -ewf -examples                                                                                                                                                                                                     
     -experimental -external-fuse -extra -extras -f2fs -fam -fbcon -fcitx                                                                                                                                                                                                       
     -fdformat -firmware -fits -fontforge -fprint -fpx -freetds -frei0r                                                                                                                                                                                                         
     -fribidi -fuse -g-sorcery -games -gcrypt -gd -gdbm -gdk-pixbuf -geoclue                                                                                                                                                                                                   
     -geoloc -geolocation -gimp -git -glade -glamor -gltf -gme -gnome                                                                                                                                                                                                           
     -gnome-online-accounts -gnomecanvas -gnuefi -go -gold -google -gpg                                                                                                                                                                                                         
     -gphoto2 -gps -gptfdisk -graph -graphviz -growl -grp -gssapi -gstreamer-0                                                                                                                                                                                                 
     -gstreamer010 -gtk -gts -guile -handbook -hardened -harfbuzz -hdri                                                                                                                                                                                                         
     -headless -headless-awt -hfs -hog -hostname -hpn -http -httpd -hunspell                                                                                                                                                                                                   
     -i18n -ibus -idn -ieee1394 -imlib -importd -initramfs -int-quality                                                                                                                                                                                                         
     -internal-glib -introspection -iodbc -ios -iprint -iptables -ipv6 -jack                                                                                                                                                                                                   
     -jadetex -java -jbig -jce -jfs -joystick -jpeg2k -json -kate -kdbus -kde                                                                                                                                                                                                   
     -kdepim -kdrive -kerberos -keyutils -kwallet -ladspa -lapack -lash -lasi                                                                                                                                                                                                   
     -latex -ldap -ldns -libass -libatomic -libcaca -libedit -libev -libevent                                                                                                                                                                                                   
     -libffi -libopts -libproxy -libressl -libsamplerate -libsecret -libtar                                                                                                                                                                                                     
     -libtiger -libvisual -libzfs -license-docs -lightweight -linsys -lirc                                                                                                                                                                                                     
     -lldb -logger -low-accuracy -lprng-compat -lqr -lua -luatex -lz4                                                                                                                                                                                                           
     -make-symlinks -math -mdadm -mdev -mediawiki -mem-scramble -mercurial                                                                                                                                                                                                     
     -metalink -metapost -mhash -mktemp -mms -mobi -modemmanager -mono                                                                                                                                                                                                         
     -monolithic -mount -mozdom -mp3rtp -mpi -mplayer -multicall -multimedia                                                                                                                                                                                                   
     -multislot -multitarget -musepack -music -mvl -mysql -nas -nat
     -native-headset -ncat -ndiff -net -netapi -netifrc -nettle -network-cron
     -networking -networkmanager -newnet -nfs -nis -nmap-update -nopie -nossp
     -nping -nscd -nse -nss -nss-pem -ntfs -ntfsdecrypt -ntlm -nullok -numa
     -nvtt -nyx -oauth -objc -objc++ -objc-gc -ocaml -oci8 -odbc -odbcmanual
     -odk -offensive -offlinehelp -ofono-headset -old-output
     -older-kernels-compatibility -oldwallet -omega -omxil -opencv -openexr
     -openldap -openmax -openssl -optimisememory -opus -orientation -oss
     -overlays -pam_krb5 -pam_ssh -pango -passwdqc -pax_kernel -pcap -pch
     -pcre32 -pdfannotextractor -perl -pgf -phonon -pic -pkcs11 -pkinit
     -playlist -plipconfig -plymouth -portaudio -postgres -ppds -profile
     -projectm -pstricks -publishers -python -q32 -q8 -qalculate -qml -qpak
     -qrcode -qt4 -qt5 -quad -quicktime -quota -qwt -rados -rarpd -rdisc -rdoc
     -rdp -realtime -recursion-limit -redis -regex -regression-test -reiser4
     -rfc3779 -rle -rpc -rrdcgi -ruby -rubytests -run-as-root -sanitize -sasl
     -savedconfig -scanner -science -scim -sctp -sdk -sdl-image -sdlgfx
     -secure-delete -securetty -semantic-desktop -sendmail -sep-usr -server
     -sftp -shadowstack -short-touchpad-timeout -shout -sid -skey -skins
     -slang -slattach -slp -smartcard -smbkrb5passwd -snappy -socks5
     -softstore -source -sources -sourceview -sox -speex -spell -squashfs -ssh
     -ssh-agent -ssh1 -static -static-libs -stats -strong-security -stunnel
     -subunit -subversion -sync-plugin-portage -system-sqlite -systemtap
     -sysv-utils -t1lib -taglib -tcl -tcmalloc -tcpd -tevent -tex4ht
     -texi2html -text -tftpd -tinfo -tk -tofu -tools -trace -tracepath
     -tracker -tremor -truetype-debugger -trust -tslib -tty-helpers -tuio
     -upnp -urandom -utils -v4l -vala -valgrind -vanilla -vboxwebsrv
     -verbose-debug -vim -vim-syntax -vlm -vnc -wad -wavpack -webchannel
     -webdav -webkit -webready -webrtc-aec -wifi -wininst -wxwidgets -xdg
     -xemacs -xen -xephyr -xfs -xindy -xinetd -xlib-xcb -xmp -xvfb -zenmap
     -zeroconf -zsh-completion -zvbi"

with these relevant package.use entries (this is not the full file):
Code:
kde-apps/okular kde ebook
kde-base/systemsettings gtk
kde-plasma/breeze qt4
kde-apps/kde-l10n -minimal
media-video/vlc qt4 kde
x11-misc/lightdm kde qt4
dev-libs/libattica qt5 #kdelibs wants exactly-one-of ( qt4 qt5 )
media-libs/phonon qt4 qt5 #any-of ( qt4 qt5 )
media-libs/phonon-vlc qt4 qt5 #any-of ( qt4 qt5 )
dev-qt/* accessibility qt4 qt5
sys-auth/polkit-qt qt4 qt5 #any-of ( qt4 qt5 )
dev-libs/libdbusmenu-qt qt4 qt5 #any-of ( qt4 qt5 )
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6823
Location: Austria

PostPosted: Fri Jan 08, 2016 12:18 pm    Post subject: Reply with quote

Code:
minimal -qt4 -qt5

With these settings one need not wonder. Never set the minimal flag globally. You want to install a Qt based desktop, but disable both flags.

Now, your choice of profile will decide what Plasma version you can use. kde = KDE SC 4, plasma = Plasma 5

If you prefer the latter, please follow the upgrade guide: https://wiki.gentoo.org/wiki/KDE/Plasma_5_upgrade
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 700

PostPosted: Fri Jan 08, 2016 12:36 pm    Post subject: Reply with quote

genstorm wrote:
With these settings one need not wonder. Never set the minimal flag globally. You want to install a Qt based desktop, but disable both flags.
You're right, but this is intentional. I enable them per-package in package.use. My rationale is that I don't need fancy GUIs or extra functionality for packages I only install to satisfy a dependency, but never use myself.

Quote:
Now, your choice of profile will decide what Plasma version you can use. kde = KDE SC 4, plasma = Plasma 5

If you prefer the latter, please follow the upgrade guide: https://wiki.gentoo.org/wiki/KDE/Plasma_5_upgrade
Thanks for clarifying my options. Is it possible to use KDE 5 without wayland, though? Wayland instantly hangs my machine :(
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6823
Location: Austria

PostPosted: Fri Jan 08, 2016 1:47 pm    Post subject: Reply with quote

Wayland support is optional but far from production quality.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 700

PostPosted: Fri Jan 08, 2016 2:12 pm    Post subject: Reply with quote

Are you sure? emerge --ask kde-plasma/plasma-desktop pulls in kde-plasma/kwin-5.5.2 which deps on media-libs/mesa[egl,gbm,gles2?,wayland]. I don't mind the dep, but - before I destroy my system, which is at least usable in the current state - can I still runtime-disable wayland?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6823
Location: Austria

PostPosted: Fri Jan 08, 2016 2:37 pm    Post subject: Reply with quote

I am running Plasma on multiple machines, therefore I'm sure. ;)

It has a dependency on kwayland which in turn pulls in wayland, but you would still need to take extra steps to actually start with a wayland session.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6823
Location: Austria

PostPosted: Fri Jan 08, 2016 3:15 pm    Post subject: Reply with quote

Aquous wrote:
My rationale is that I don't need fancy GUIs or extra functionality for packages I only install to satisfy a dependency, but never use myself.

As a consequence, KDE4 with USE=minimal will be largely defunct. It is meant only to remove collisions with Plasma-5.
Plasma-5 without qt4 flag will not have Qt4 integration for legacy applications.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
moonchilde
n00b
n00b


Joined: 13 Nov 2015
Posts: 18

PostPosted: Fri Jan 08, 2016 8:10 pm    Post subject: Reply with quote

If you're using Plasma 4 and nvidia I'd stick with that until nvidia fixes EGL support in their drivers. Kwin 5 & Plasma 5 defaults to EGL now instead of GLX, which, at least in my case, I can't go back to GLX and have a useless Plasma 5 desktop.

The other thing is, if you aren't starting a Plasma 5 session then you're most likely still launching Plasma 4 via your DM. You'd know the difference if you were on Plasma 5.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6823
Location: Austria

PostPosted: Fri Jan 08, 2016 8:31 pm    Post subject: Reply with quote

Exactly, this entry
Aquous wrote:
Code:
kde-base/kdebase-startkde

inside the world file basically nails you down on Plasma-4. You can't have Plasma-5 at the same time. Together with USE=minimal, that explains all the brokenness.

And these packages
Aquous wrote:
Code:
kde-plasma/breeze
kde-plasma/breeze-gtk
kde-plasma/oxygen

are alien to Plasma-4 and explain the blockers.

moonchilde wrote:
Kwin 5 & Plasma 5 defaults to EGL now instead of GLX, which, at least in my case, I can't go back to GLX and have a useless Plasma 5 desktop.

I have no experience at all with the Nvidia binary blob, but you can still build qt5/plasma-5 with regular opengl and have it use GLX instead of egl.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 700

PostPosted: Sat Jan 09, 2016 2:58 pm    Post subject: Reply with quote

Thank you for all your advice. I will make the necessary fixes to my system and report back!
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 700

PostPosted: Mon Jan 11, 2016 11:57 am    Post subject: Reply with quote

Ok - mixed success with KDE 5:

Code:
[ 5691.103307] nouveau 0000:01:00.0: fifo: DMA_PUSHER - ch 5 [ksplashqml[4012]] get 00200272b0 put 0020027ca8 ib_get 00000022 ib_put 00000025 state 40000004 (err: INVALID_MTHD) push 00406040
[ 5691.109828] nouveau 0000:01:00.0: fifo: CACHE_ERROR - ch 5 [ksplashqml[4012]] subc 0 mthd 0000 data 00086e64
[ 5691.119743] nouveau 0000:01:00.0: fifo: DMA_PUSHER - ch 5 [ksplashqml[4012]] get 0020028fe4 put 002002c164 ib_get 00000028 ib_put 00000029 state 80007234 (err: INVALID_CMD) push 00406040
[ 5691.119913] nouveau 0000:01:00.0: gr: DATA_ERROR 0000000c [INVALID_BITFIELD]
[ 5691.119917] nouveau 0000:01:00.0: gr: 00100000 [] ch 5 [001f7b8000 ksplashqml[4012]] subc 3 class 8297 mthd 020c data 000472d4
[ 5691.119929] nouveau 0000:01:00.0: gr: DATA_ERROR 0000000c [INVALID_BITFIELD]
[ 5691.119932] nouveau 0000:01:00.0: gr: 00100000 [] ch 5 [001f7b8000 ksplashqml[4012]] subc 3 class 8297 mthd 1228 data ffffffff
[ 5691.119942] nouveau 0000:01:00.0: gr: DATA_ERROR 0000000c [INVALID_BITFIELD]
[ 5691.119946] nouveau 0000:01:00.0: gr: 00100000 [] ch 5 [001f7b8000 ksplashqml[4012]] subc 3 class 8297 mthd 122c data ffffffff
[ 5691.119956] nouveau 0000:01:00.0: gr: DATA_ERROR 0000000c [INVALID_BITFIELD]
[ 5691.119959] nouveau 0000:01:00.0: gr: 00100000 [] ch 5 [001f7b8000 ksplashqml[4012]] subc 3 class 8297 mthd 1230 data ffffffff
[ 5691.158328] nouveau 0000:01:00.0: gr: DATA_ERROR 00000004 [INVALID_VALUE]
[ 5691.158333] nouveau 0000:01:00.0: gr: 00100000 [] ch 5 [001f7b8000 ksplashqml[4012]] subc 4 class 502d mthd 083c data 000479a8
[ 5691.158346] nouveau 0000:01:00.0: gr: DATA_ERROR 00000004 [INVALID_VALUE]
[ 5691.158350] nouveau 0000:01:00.0: gr: 00100000 [] ch 5 [001f7b8000 ksplashqml[4012]] subc 4 class 502d mthd 0844 data 0004796c
[ 5691.454602] nouveau 0000:01:00.0: fifo: DMA_PUSHER - ch 5 [ksplashqml[4012]] get 002004ae20 put 002004b164 ib_get 0000005c ib_put 0000005d state 80008860 (err: INVALID_CMD) push 00406040
[ 5691.458184] nouveau 0000:01:00.0: gr: DATA_ERROR 00000004 [INVALID_VALUE]
[ 5691.458196] nouveau 0000:01:00.0: gr: 00100000 [] ch 5 [001f7b8000 ksplashqml[4012]] subc 4 class 502d mthd 083c data 000477b8
[ 5691.458210] nouveau 0000:01:00.0: gr: DATA_ERROR 00000004 [INVALID_VALUE]
[ 5691.458214] nouveau 0000:01:00.0: gr: 00100000 [] ch 5 [001f7b8000 ksplashqml[4012]] subc 4 class 502d mthd 0844 data 00046da8
[ 5691.458223] nouveau 0000:01:00.0: gr: DATA_ERROR 00000004 [INVALID_VALUE]
[ 5691.458225] nouveau 0000:01:00.0: gr: 00100000 [] ch 5 [001f7b8000 ksplashqml[4012]] subc 4 class 502d mthd 084c data 00046da4
[ 5691.458235] nouveau 0000:01:00.0: gr: DATA_ERROR 00000004 [INVALID_VALUE]
[ 5691.458238] nouveau 0000:01:00.0: gr: 00100000 [] ch 5 [001f7b8000 ksplashqml[4012]] subc 4 class 502d mthd 0854 data 000c7ac0
[ 5691.458248] nouveau 0000:01:00.0: gr: DATA_ERROR 00000004 [INVALID_VALUE]
[ 5691.458251] nouveau 0000:01:00.0: gr: 00100000 [] ch 5 [001f7b8000 ksplashqml[4012]] subc 4 class 502d mthd 085c data 7e200001
[ 5691.487911] nouveau 0000:01:00.0: fifo: DMA_PUSHER - ch 5 [ksplashqml[4012]] get 002004d554 put 002004d87c ib_get 00000060 ib_put 00000061 state 80000000 (err: INVALID_CMD) push 00406040
[ 5691.491497] nouveau 0000:01:00.0: gr: DATA_ERROR 00000005 [INVALID_ENUM]
[ 5691.491500] nouveau 0000:01:00.0: gr: 00100000 [] ch 5 [001f7b8000 ksplashqml[4012]] subc 3 class 8297 mthd 1ac4 data 000000f3
[ 5691.491510] nouveau 0000:01:00.0: gr: DATA_ERROR 00000005 [INVALID_ENUM]
[ 5691.491512] nouveau 0000:01:00.0: gr: 00100000 [] ch 5 [001f7b8000 ksplashqml[4012]] subc 4 class 502d mthd 1ac8 data 00000001
[ 5691.491523] nouveau 0000:01:00.0: gr: DATA_ERROR 00000004 [INVALID_VALUE]
[ 5691.491526] nouveau 0000:01:00.0: gr: 00100000 [] ch 5 [001f7b8000 ksplashqml[4012]] subc 4 class 502d mthd 0218 data 20000010
[ 5691.491537] nouveau 0000:01:00.0: gr: DATA_ERROR 0000000c [INVALID_BITFIELD]
[ 5691.491540] nouveau 0000:01:00.0: gr: 00100000 [] ch 5 [001f7b8000 ksplashqml[4012]] subc 4 class 502d mthd 0220 data 2035c600
[ 5691.553137] nouveau 0000:01:00.0: fifo: DMA_PUSHER - ch 5 [ksplashqml[4012]] get 0020055020 put 0020057d00 ib_get 00000072 ib_put 00000073 state 80000000 (err: INVALID_CMD) push 00406040
[ 5691.553148] nouveau 0000:01:00.0: gr: DATA_ERROR 00000004 [INVALID_VALUE]
[ 5691.553151] nouveau 0000:01:00.0: gr: 00100000 [] ch 5 [001f7b8000 ksplashqml[4012]] subc 3 class 8297 mthd 0204 data 000c6b8c
[ 5691.553162] nouveau 0000:01:00.0: gr: DATA_ERROR 0000000c [INVALID_BITFIELD]
[ 5691.553165] nouveau 0000:01:00.0: gr: 00100000 [] ch 5 [001f7b8000 ksplashqml[4012]] subc 3 class 8297 mthd 0208 data 44700000
[ 5691.553177] nouveau 0000:01:00.0: gr: DATA_ERROR 0000000c [INVALID_BITFIELD]
[ 5691.553180] nouveau 0000:01:00.0: gr: 00100000 [] ch 5 [001f7b8000 ksplashqml[4012]] subc 3 class 8297 mthd 020c data 44070000
[ 5691.553189] nouveau 0000:01:00.0: gr: DATA_ERROR 0000000c [INVALID_BITFIELD]
[ 5691.553191] nouveau 0000:01:00.0: gr: 00100000 [] ch 5 [001f7b8000 ksplashqml[4012]] subc 3 class 8297 mthd 0fe0 data 000c6ba0
[ 5691.553200] nouveau 0000:01:00.0: gr: DATA_ERROR 0000000c [INVALID_BITFIELD]
[ 5691.553203] nouveau 0000:01:00.0: gr: 00100000 [] ch 5 [001f7b8000 ksplashqml[4012]] subc 3 class 8297 mthd 0fe8 data c4070000
[ 5691.553213] nouveau 0000:01:00.0: gr: DATA_ERROR 0000000c [INVALID_BITFIELD]
[ 5691.553216] nouveau 0000:01:00.0: gr: 00100000 [] ch 5 [001f7b8000 ksplashqml[4012]] subc 3 class 8297 mthd 0fec data 3f000000
[ 5694.002689] resource sanity check: requesting [mem 0xf7f74000-0xf8073fff], which spans more than 0000:01:00.0 [mem 0xf6000000-0xf7ffffff 64bit]
[ 5694.002693] ------------[ cut here ]------------
[ 5694.002700] WARNING: CPU: 0 PID: 4135 at arch/x86/mm/ioremap.c:198 __ioremap_caller+0x2d8/0x350()
[ 5694.002700] Info: mapping multiple BARs. Your kernel is fine.
[ 5694.002701] Modules linked in:
[ 5694.002702]  nouveau radeon wmi video i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm r8169 drm mii vboxnetadp(O) vboxnetflt(O) vboxdrv(O) [last unloaded: microcode]
[ 5694.002720] CPU: 0 PID: 4135 Comm: kscreen_backend Tainted: G           O    4.3.3-gentoo #1
[ 5694.002721] Hardware name: Gigabyte Technology Co., Ltd. H55M-USB3/H55M-USB3, BIOS F12d 02/15/2011
[ 5694.002722]  ffffffff815c9064 ffffffff8124019e ffff8800a1d27a28 ffffffff81041623
[ 5694.002725]  00000000f7f74000 ffff8800a1d27a78 ffffc90006a00000 0000000000100000
[ 5694.002727]  0000000000000000 ffffffff81041697 ffffffff815d00c8 0000000000000018
[ 5694.002729] Call Trace:
[ 5694.002733]  [<ffffffff8124019e>] ? dump_stack+0x47/0x69
[ 5694.002736]  [<ffffffff81041623>] ? warn_slowpath_common+0x73/0xa0
[ 5694.002738]  [<ffffffff81041697>] ? warn_slowpath_fmt+0x47/0x50
[ 5694.002740]  [<ffffffff81038018>] ? __ioremap_caller+0x2d8/0x350
[ 5694.002758]  [<ffffffffa02ffe54>] ? nv50_instobj_boot+0x94/0xf0 [nouveau]
[ 5694.002771]  [<ffffffffa02ffd9e>] ? nv50_instobj_acquire+0x3e/0x60 [nouveau]
[ 5694.002784]  [<ffffffffa02ff07e>] ? nvkm_instobj_acquire_slow+0xe/0x20 [nouveau]
[ 5694.002797]  [<ffffffffa02ff352>] ? nvkm_instobj_new+0x52/0x130 [nouveau]
[ 5694.002805]  [<ffffffffa02c5f1c>] ? nvkm_memory_new+0x2c/0x50 [nouveau]
[ 5694.002819]  [<ffffffffa0302b6c>] ? nvkm_vm_get+0x15c/0x270 [nouveau]
[ 5694.002832]  [<ffffffffa0354a04>] ? nouveau_bo_vma_add+0x24/0x80 [nouveau]
[ 5694.002843]  [<ffffffffa0364ca5>] ? nouveau_channel_prep+0x1f5/0x2d0 [nouveau]
[ 5694.002854]  [<ffffffffa0364dd5>] ? nouveau_channel_new+0x55/0x690 [nouveau]
[ 5694.002866]  [<ffffffffa0363ff4>] ? nouveau_abi16_ioctl_channel_alloc+0x114/0x320 [nouveau]
[ 5694.002871]  [<ffffffffa007897b>] ? drm_ioctl+0x10b/0x430 [drm]
[ 5694.002882]  [<ffffffffa0363ee0>] ? nouveau_abi16_ioctl_setparam+0x10/0x10 [nouveau]
[ 5694.002894]  [<ffffffffa034e3e9>] ? nouveau_drm_ioctl+0x59/0xb0 [nouveau]
[ 5694.002896]  [<ffffffff81116dca>] ? do_vfs_ioctl+0x28a/0x470
[ 5694.002899]  [<ffffffff8111fd4b>] ? __fget+0x6b/0xb0
[ 5694.002900]  [<ffffffff81116fe6>] ? SyS_ioctl+0x36/0x70
[ 5694.002903]  [<ffffffff814ac397>] ? entry_SYSCALL_64_fastpath+0x12/0x6a
[ 5694.002905] ---[ end trace 01614479951051d3 ]---
[ 5694.002933] BUG: unable to handle kernel paging request at ffffc90000a10000
[ 5694.002949] IP: [<ffffffff8125528b>] iowrite32+0x2b/0x30
[ 5694.002958] PGD 13300c067 PUD 13300d067 PMD b9040067 PTE 0
[ 5694.002967] Oops: 0002 [#1] PREEMPT SMP
[ 5694.002974] Modules linked in: nouveau radeon wmi video i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm r8169 drm mii vboxnetadp(O) vboxnetflt(O) vboxdrv(O) [last unloaded: microcode]
[ 5694.003009] CPU: 0 PID: 4135 Comm: kscreen_backend Tainted: G        W  O    4.3.3-gentoo #1
[ 5694.003014] Hardware name: Gigabyte Technology Co., Ltd. H55M-USB3/H55M-USB3, BIOS F12d 02/15/2011
[ 5694.003020] task: ffff8800b6c10a80 ti: ffff8800a1d24000 task.ti: ffff8800a1d24000
[ 5694.003025] RIP: 0010:[<ffffffff8125528b>]  [<ffffffff8125528b>] iowrite32+0x2b/0x30
[ 5694.003032] RSP: 0018:ffff8800a1d27a08  EFLAGS: 00010292
[ 5694.003036] RAX: ffffffffa0385040 RBX: 0000000000010000 RCX: 0000000000000009
[ 5694.003041] RDX: ffffc90000a10000 RSI: ffffc90000a10000 RDI: 000000001df07301
[ 5694.003046] RBP: 000000001df07301 R08: 0000000000000100 R09: 000000001de7b000
[ 5694.003050] R10: ffffffffa0385be0 R11: 000000001de7b000 R12: 0000000000000000
[ 5694.003055] R13: 00000000000001a0 R14: 0000000000000200 R15: ffff880132b1a040
[ 5694.003060] FS:  00007f9dd7102800(0000) GS:ffff880137c00000(0000) knlGS:0000000000000000
[ 5694.003065] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 5694.003071] CR2: ffffc90000a10000 CR3: 00000000a67e7000 CR4: 00000000000006f0
[ 5694.003075] Stack:
[ 5694.003077]  ffffffffa0303d5c 000000001df47001 ffff880132b5fbb8 0000000081041697
[ 5694.003086]  0000000000000000 ffff8800aa2ba700 0000000000000100 0000000000000000
[ 5694.003095]  0000000000002074 ffff8800b903a200 0000000000000000 ffff880132b5fbb8
[ 5694.003103] Call Trace:
[ 5694.003118]  [<ffffffffa0303d5c>] ? nv50_vm_map+0x15c/0x1a0 [nouveau]
[ 5694.003134]  [<ffffffffa030208d>] ? nvkm_vm_map_at+0xcd/0x1d0 [nouveau]
[ 5694.003151]  [<ffffffffa02ffe6a>] ? nv50_instobj_boot+0xaa/0xf0 [nouveau]
[ 5694.003167]  [<ffffffffa02ffd9e>] ? nv50_instobj_acquire+0x3e/0x60 [nouveau]
[ 5694.003183]  [<ffffffffa02ff07e>] ? nvkm_instobj_acquire_slow+0xe/0x20 [nouveau]
[ 5694.003200]  [<ffffffffa02ff352>] ? nvkm_instobj_new+0x52/0x130 [nouveau]
[ 5694.003212]  [<ffffffffa02c5f1c>] ? nvkm_memory_new+0x2c/0x50 [nouveau]
[ 5694.003229]  [<ffffffffa0302b6c>] ? nvkm_vm_get+0x15c/0x270 [nouveau]
[ 5694.003245]  [<ffffffffa0354a04>] ? nouveau_bo_vma_add+0x24/0x80 [nouveau]
[ 5694.003260]  [<ffffffffa0364ca5>] ? nouveau_channel_prep+0x1f5/0x2d0 [nouveau]
[ 5694.003275]  [<ffffffffa0364dd5>] ? nouveau_channel_new+0x55/0x690 [nouveau]
[ 5694.003290]  [<ffffffffa0363ff4>] ? nouveau_abi16_ioctl_channel_alloc+0x114/0x320 [nouveau]
[ 5694.003299]  [<ffffffffa007897b>] ? drm_ioctl+0x10b/0x430 [drm]
[ 5694.003313]  [<ffffffffa0363ee0>] ? nouveau_abi16_ioctl_setparam+0x10/0x10 [nouveau]
[ 5694.003329]  [<ffffffffa034e3e9>] ? nouveau_drm_ioctl+0x59/0xb0 [nouveau]
[ 5694.003334]  [<ffffffff81116dca>] ? do_vfs_ioctl+0x28a/0x470
[ 5694.003339]  [<ffffffff8111fd4b>] ? __fget+0x6b/0xb0
[ 5694.003343]  [<ffffffff81116fe6>] ? SyS_ioctl+0x36/0x70
[ 5694.003348]  [<ffffffff814ac397>] ? entry_SYSCALL_64_fastpath+0x12/0x6a
[ 5694.003352] Code: 48 89 f2 48 81 fe ff ff 03 00 77 1f 48 81 fe 00 00 01 00 76 07 0f b7 d6 89 f8 ef c3 48 c7 c6 ea b8 5e 81 48 89 d7 e9 85 fe ff ff <89> 3e c3 66 90 48 81 ff ff ff 03 00 77 28 48 81 ff 00 00 01 00
[ 5694.003439] RIP  [<ffffffff8125528b>] iowrite32+0x2b/0x30
[ 5694.003444]  RSP <ffff8800a1d27a08>
[ 5694.003447] CR2: ffffc90000a10000
[ 5694.006795] ---[ end trace 01614479951051d4 ]---


I now have two 'Plasma' sessions in my display manager. The upper one is for Wayland, which doesn't do anything and spews messages in my syslog about kwin_wayland missing some module. The lower one is for X, which appears to work fine until I click the K icon, at which point plasmashell crashes; the backtrace implicates libdrm. All the while, my kernel is being bombarded with errors like the above. Restarting X and trying again hangs the machine before Plasma even appears.

I've tried switching Kwin's rendering to XRender as opposed to OpenGL. This gives me a gray screen when I try to log in. But I did see that both KWin's OpenGL 3.3 and 2.0 renderer only allow EGL to be used as the rendering subsystem - I have no option to select GLX there. Is that correct? (Reason for asking is that I'm hoping that I'm specifically hitting a nouveau+EGL kernel/mesa bug, rather than a general nouveau problem.)

(p.s.: yes, that is both nouveau and radeon you see loaded there. nouveau drives my old, but decently powerful main GPU (which doesn't have HDMI output) that my monitor is attached to, and radeon drives a spare card I had lying around that has an HDMI plug that I stick my TV into. I know it's not ideal, but it worked perfectly when I was still using GNOME!)

EDIT: if anyone else finds this message: I've worked around this problem by removing the default krunner launcher and using the 'application menu' launcher instead. There are still some nouveau errors when plasmashell starts, but they do not accumulate after that and the desktop is usable, if a bit slow and jittery and I swear my fan is running much louder than usually. The desktop is quite usable now :)
Back to top
View user's profile Send private message
BobWya
Apprentice
Apprentice


Joined: 12 Aug 2012
Posts: 227
Location: Cambridge,UK

PostPosted: Tue Jan 19, 2016 7:25 pm    Post subject: Reply with quote

Hi,

There seems to be some issues with getting GLX acceleration to work under Gentoo. I'm using the latest Nvidia proprietary driver (bear with me!!) I can only run a LXQt session on KWin 5 - Plasma 5 starts but the SDDM Login screen stays in place. The Session appears to be "OK" - (logging from /usr/bin/startkde - doesn't show any errors) - but the Plasma session just gets rendered into some kind of "Limbo".

The link to your current issue is that I can only access EGL acceleration for KWin 5 - there is no GLX option in the Plasma 5 Systemsettings utility... Obviously my tests are only possible with LXQt - but that Desktop Environment is designed to run on KWin or Openbox. It feels a bit like I'm stumbling about in the dark and have been for over 2 weeks now... :cry:

I've filed a very hazy Gentoo bug - as I'm really unclear about what is going wrong!!

Not much use to you sorry!! Looks like there is an obscure blocker in the switch from KDE4 to Plasma 5 that a lot of Gentoo users are hitting though...

Bob
_________________
system: G751JT (ASUS-NotebookSKU); processor: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz; memory: 32GiB System Memory; display: GM204M [GeForce GTX 970M]; disk: 2048GB Samsung SSD 850;BD-CMB UJ172 S;1024GB Samsung SSD 850
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 700

PostPosted: Tue Jan 19, 2016 7:28 pm    Post subject: Reply with quote

Thank you - this is interesting information. Have you also tried the nouveau driver? For me, the proprietary drivers allow me to log in, but the rendering is completely screwed up; the open drivers allow me to log in with proper rendering, but will crash the kernel in the process. And indeed, we both appear to be missing the GLX accel option. I'll be sure to keep a tab on your bug report...
Back to top
View user's profile Send private message
BobWya
Apprentice
Apprentice


Joined: 12 Aug 2012
Posts: 227
Location: Cambridge,UK

PostPosted: Wed Jan 20, 2016 8:18 pm    Post subject: Reply with quote

Aquous wrote:
Thank you - this is interesting information. Have you also tried the nouveau driver? For me, the proprietary drivers allow me to log in, but the rendering is completely screwed up; the open drivers allow me to log in with proper rendering, but will crash the kernel in the process. And indeed, we both appear to be missing the GLX accel option. I'll be sure to keep a tab on your bug report...


@Aquous

OK,

So I've made some progress. Overriding the media/libs/mesa libGL.so with the x11-drivers/nvidia-drivers libGL.so library gets us much further forwards!! Very exciting times (IMHO) 8)

See my updated Gentoo bug report for further info!!

The media/libs/mesa libraries mask the x11-drivers/nvidia-drivers (as the Nvidia libraries are buried in a sub-directory)... However Qt5 depends on dynamically linking against the appropriate libGL.so.1 library!!
Code:
readelf -d libQt5Gui.so.5.5.1

Dynamic section at offset 0x4a0280 contains 34 entries:
  Tag        Type                         Name/Value
 0x0000000000000003 (PLTGOT)             0x4a26c0
 0x0000000000000002 (PLTRELSZ)           22224 (bytes)
 0x0000000000000017 (JMPREL)             0xbfc48
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000007 (RELA)               0x91d30
 0x0000000000000008 (RELASZ)             188184 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffff9 (RELACOUNT)          5516
 0x0000000000000006 (SYMTAB)             0x190
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000005 (STRTAB)             0x30f70
 0x000000000000000a (STRSZ)              325875 (bytes)
 0x000000006ffffef5 (GNU_HASH)           0x80868
 0x0000000000000001 (NEEDED)             Shared library: [libQt5Core.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libpng16.so.16]
 0x0000000000000001 (NEEDED)             Shared library: [libharfbuzz.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libz.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libGL.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000000e (SONAME)             Library soname: [libQt5Gui.so.5]
 0x000000000000000c (INIT)               0xc5318
 0x000000000000000d (FINI)               0x3eb878
 0x000000000000001a (FINI_ARRAY)         0x4a80b8
 0x000000000000001c (FINI_ARRAYSZ)       8 (bytes)
 0x0000000000000019 (INIT_ARRAY)         0x4a80c0
 0x000000000000001b (INIT_ARRAYSZ)       56 (bytes)
 0x000000006ffffff0 (VERSYM)             0x8db1c
 0x000000006ffffffc (VERDEF)             0x91c44
 0x000000006ffffffd (VERDEFNUM)          1
 0x000000006ffffffe (VERNEED)            0x91c60
 0x000000006fffffff (VERNEEDNUM)         4
 0x0000000000000000 (NULL)               0x0


I can post a little BASH script to change the library links - if you require and want to test this??!! Let me know!

Now posted from a fully GLX composited LXQt + KWin 5 session 8)

Bob
_________________
system: G751JT (ASUS-NotebookSKU); processor: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz; memory: 32GiB System Memory; display: GM204M [GeForce GTX 970M]; disk: 2048GB Samsung SSD 850;BD-CMB UJ172 S;1024GB Samsung SSD 850
Back to top
View user's profile Send private message
BobWya
Apprentice
Apprentice


Joined: 12 Aug 2012
Posts: 227
Location: Cambridge,UK

PostPosted: Thu Jan 21, 2016 6:12 pm    Post subject: Reply with quote

BobWya wrote:


...

I can post a little BASH script to change the library links - if you require and want to test this??!! Let me know!

...

Bob


Actually a quick hack - to check if you are affected by this issue - is to create the following env.d file:
Code:
/etc/env.d/000gl
LD_LIBRARY_PATH="/usr/lib32/opengl/nvidia/lib:/usr/lib64/opengl/nvidia/lib"


This hack globally adds the Nvidia library paths as defaults in preference to the stock paths.

I've added a note to my previous bug report...

Sorry to start quoting myself... :D
_________________
system: G751JT (ASUS-NotebookSKU); processor: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz; memory: 32GiB System Memory; display: GM204M [GeForce GTX 970M]; disk: 2048GB Samsung SSD 850;BD-CMB UJ172 S;1024GB Samsung SSD 850
Back to top
View user's profile Send private message
BobWya
Apprentice
Apprentice


Joined: 12 Aug 2012
Posts: 227
Location: Cambridge,UK

PostPosted: Sun Jan 24, 2016 5:24 am    Post subject: Reply with quote

Hi folks,

Finally got a fully working solution for Nvidia+Plasma 5 (it's still a bit of hack - but hey)... Just needs a bit of testing on some different systems now...

Please could I request anyone experiencing issues (primarily with the Nvidia proprietary drivers and starting a Plasma 5 Sessions / SDDM) to test the following (pre-patched) packages:
media-libs/mesa::bobwya
app-eselect/eselect-opengl::bobwya

from my Layman Overlay bobwya

Please also see the Gentoo Bug report "Plasma 5 + Nvidia drivers 361.18 - only EGL support, no GLX support - unable to start Plasma 5 Session" for more information!!
Just remember to rebuild all packages depending on media-libs/mesa::bobwya !!

Ta
Bob
_________________
system: G751JT (ASUS-NotebookSKU); processor: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz; memory: 32GiB System Memory; display: GM204M [GeForce GTX 970M]; disk: 2048GB Samsung SSD 850;BD-CMB UJ172 S;1024GB Samsung SSD 850
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
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