Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia OpenGL + sddm = blank screens
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
BlueFusion
Guru
Guru


Joined: 08 Mar 2006
Posts: 371

PostPosted: Mon Jan 18, 2016 10:36 pm    Post subject: nvidia OpenGL + sddm = blank screens Reply with quote

Hello, I tried playing Kerbal Space Program for the first time in 2 years today on my desktop. I had abysmal performance despite having a newer video card. I realized I had the selected opengl to xorg-x11. I changed it to nvidia, logged out and restarted xdm and when the screens came back, they were blank, except I DO have a cursor moving around all 3 screens.

I tried using nvidia-xconfig to create an xorg.conf file and while it works as expected with xorg-x11, it has the same effects as no xorg.conf file with nvidia OpnGL setting.

I have had zero differences in log files between the working and non-working opengl setting, EXCEPT when opengl is nvidia Xorg.0.log shows the loading of the appropriate nvidia modules.

Ideas to troubleshoot?

Quote:
rich@area51 ~ $ emerge --info
equPortage 2.2.26 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-4.9.3, glibc-2.21-r1, 4.4.0-gentoo x86_64)
=================================================================
System uname: Linux-4.4.0-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_940_@_2.93GHz-with-gentoo-2.2
KiB Mem: 24637176 total, 1386388 free
KiB Swap: 0 total, 0 free
Timestamp of repository gentoo: Mon, 18 Jan 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.12.6::gentoo, 1.13.4::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.21-r1::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg 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 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr egl emboss encode exif fam ffmpeg firefox flac fortran gdbm gif glamor gles2 gpm gstreamer gtk hddtemp iconv ipv6 jpeg jpeg2k kde kipi lcms ldap libnotify lm_sensors lzo mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ntp offensive ogg opengl openmp openssl pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt3support qt4 qt5 readline samba sdl seccomp semantic-desktop session spell spice sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis widgets wxwidgets x264 x265 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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 ssse3" 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" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia intel i965 qxl" 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"
Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON




rich@area51 ~ $ equery list nvidia-drivers
* Searching for nvidia-drivers ...
[IP-] [ ] x11-drivers/nvidia-drivers-352.63:0/352



rich@area51 ~ $ cat /etc/X11/xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 352.63 (buildmeister@swio-display-x64-rhel04-11) Sat Nov 7 21:59:07 PST 2015

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 352.63 (buildmeister@swio-display-x64-rhel04-11) Sat Nov 7 22:00:19 PST 2015

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"

# generated from data in "/etc/conf.d/gpm"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "ViewSonic VA926g SERIES"
HorizSync 24.0 - 82.0
VertRefresh 50.0 - 75.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 660"
Option "AddARGBGLXVisuals" "true"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-0"
Option "metamodes" "DVI-I-1: 1280x1024_75 +0+800, HDMI-0: 1280x1024_75 +1280+800, DVI-D-0: 1280x800 +1280+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection

_________________
i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1)
Back to top
View user's profile Send private message
BlueFusion
Guru
Guru


Joined: 08 Mar 2006
Posts: 371

PostPosted: Mon Jan 18, 2016 10:37 pm    Post subject: Reply with quote

Also, I forgot to add that the sddm user is in the video group.
_________________
i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1)
Back to top
View user's profile Send private message
BobWya
Apprentice
Apprentice


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

PostPosted: Tue Jan 19, 2016 3:39 pm    Post subject: Reply with quote

@BlueFusion,

Hi I'm trying piece together why my SDDM setup and Plasma 5 don't play nice with the Nvidia proprietary drivers... I've found I have to enable gles2 and the egl USE flags on the Qt5 toolkit. That only got me a working SDDM - not Plasma 5 - with only EGL graphics acceleration support - not GLX. I've a Nvidia 970M graphics card with nvidia-drivers version 361.18. SDDM requires GL acceleration 2.0+ ... Basically something funky is going on - that is Gentoo specific...

What is the output from:
Code:
equery l -f -F'=$cpv:$slot' '^dev-qt/.*$' | awk '{ if ($0 ~ "\:5$") printf("%s\0", $0) }' 2>/dev/null | xargs -0 emerge --color=n -pv 2>/dev/null

Code:
eselect profile list

When run on your system?

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
BlueFusion
Guru
Guru


Joined: 08 Mar 2006
Posts: 371

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

BobWya wrote:
Code:
equery l -f -F'=$cpv:$slot' '^dev-qt/.*$' | awk '{ if ($0 ~ "\:5$") printf("%s\0", $0) }' 2>/dev/null | xargs -0 emerge --color=n -pv 2>/dev/null

Quote:
rich@phoenix ~ $ equery l -f -F'=$cpv:$slot' '^dev-qt/.*$' | awk '{ if ($0 ~ "\:5$") printf("%s\0", $0) }' 2>/dev/null | xargs -0 emerge --color=n -pv
[Errno 1] Operation not permitted: '/usr/portage/packages/.Packages.portage_lockfile': chown('/usr/portage/packages/.Packages.portage_lockfile', -1, 250)
Cannot chown a lockfile: '/usr/portage/packages/.Packages.portage_lockfile'
Group IDs of current user: 10 18 19 27 80 85 100 1002
Password:


BobWya wrote:
Code:
eselect profile list

Quote:
rich@phoenix ~ $ eselect profile show
Current /etc/portage/make.profile symlink:
default/linux/amd64/13.0/desktop/plasma


I have egl and gles2 USE flags enabled globally.
_________________
i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1)
Back to top
View user's profile Send private message
shazeal
Apprentice
Apprentice


Joined: 03 May 2006
Posts: 206
Location: New Zealand

PostPosted: Tue Jan 19, 2016 8:29 pm    Post subject: Reply with quote

I had the same issue, adding the sddm user to the video group fixed it until i restarted KDE then it just went blank again and wouldnt come back. I never bothered to try and resolve it (other than trying different driver versions), just installed lightdm. It is definately an issue with the nvidia drivers, though no version from 352->361 made a difference. It works fine on my laptop which uses the ati-drivers (fglrx).
_________________
CFLAGS="-OmgWTFR1CE --fun-lol-loops --march=asmx86go"
Back to top
View user's profile Send private message
BobWya
Apprentice
Apprentice


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

PostPosted: Tue Jan 19, 2016 8:31 pm    Post subject: Reply with quote

BlueFusion wrote:
BobWya wrote:
Code:
equery l -f -F'=$cpv:$slot' '^dev-qt/.*$' | awk '{ if ($0 ~ "\:5$") printf("%s\0", $0) }' 2>/dev/null | xargs -0 emerge --color=n -pv 2>/dev/null

Quote:
rich@phoenix ~ $ equery l -f -F'=$cpv:$slot' '^dev-qt/.*$' | awk '{ if ($0 ~ "\:5$") printf("%s\0", $0) }' 2>/dev/null | xargs -0 emerge --color=n -pv
[Errno 1] Operation not permitted: '/usr/portage/packages/.Packages.portage_lockfile': chown('/usr/portage/packages/.Packages.portage_lockfile', -1, 250)
Cannot chown a lockfile: '/usr/portage/packages/.Packages.portage_lockfile'
Group IDs of current user: 10 18 19 27 80 85 100 1002
Password:



I have egl and gles2 USE flags enabled globally.


That command needs to be run as root (cough, cough) 8)

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
BlueFusion
Guru
Guru


Joined: 08 Mar 2006
Posts: 371

PostPosted: Wed Jan 20, 2016 1:46 am    Post subject: Reply with quote

Quote:
area51 ~ # equery l -f -F'=$cpv:$slot' '^dev-qt/.*$' | awk '{ if ($0 ~ "\:5$") printf("%s\0", $0) }' 2>/dev/null | xargs -0 emerge --color=n -pv 2>/dev/null

These are the packages that would be merged, in order:

Calculating dependencies... done!
[binary R ~] dev-qt/qtcore-5.5.1:5::gentoo USE="icu -debug -systemd {-test}" 5,827 KiB
[binary R ~] dev-qt/qtdbus-5.5.1:5::gentoo USE="-debug {-test}" 352 KiB
[binary R ~] dev-qt/qtxml-5.5.1:5::gentoo USE="-debug {-test}" 127 KiB
[binary R ~] dev-qt/qtsql-5.5.1:5::gentoo USE="mysql sqlite -debug -freetds -oci8 -odbc -postgres {-test}" 177 KiB
[binary R ~] dev-qt/qtscript-5.5.1-r1:5::gentoo USE="jit -debug -scripttools {-test}" 910 KiB
[binary R ~] dev-qt/qttest-5.5.1:5::gentoo USE="-debug {-test}" 156 KiB
[binary R ~] dev-qt/qtconcurrent-5.5.1:5::gentoo USE="-debug {-test}" 55 KiB
[binary R ~] dev-qt/qtpaths-5.5.1-r1:5::gentoo USE="-debug {-test}" 35 KiB
[binary R ~] dev-qt/qtgui-5.5.1:5::gentoo USE="dbus egl gif gles2 jpeg png udev xcb -accessibility -debug -eglfs -evdev -gtkstyle -ibus -libinput {-test} -tslib -tuio" 3,120 KiB
[binary R ~] dev-qt/qtnetwork-5.5.1:5::gentoo USE="networkmanager ssl -bindist -connman -debug -libproxy {-test}" 666 KiB
[binary R ~] dev-qt/qdbus-5.5.1-r1:5::gentoo USE="-debug {-test}" 49 KiB
[binary R ~] dev-qt/qtwidgets-5.5.1-r1:5::gentoo USE="gles2 png xcb -debug -gtkstyle {-test}" 2,897 KiB
[binary R ~] dev-qt/qtxmlpatterns-5.5.1-r1:5::gentoo USE="-debug {-test}" 1,482 KiB
[binary R ~] dev-qt/qtx11extras-5.5.1:5::gentoo USE="-debug {-test}" 37 KiB
[binary R ~] dev-qt/qtdeclarative-5.5.1-r1:5::gentoo USE="gles2 jit widgets xml -debug -localstorage {-test}" 4,265 KiB
[binary R ~] dev-qt/qtopengl-5.5.1:5::gentoo USE="gles2 -debug {-test}" 188 KiB
[binary R ~] dev-qt/qtprintsupport-5.5.1:5::gentoo USE="cups gles2 -debug {-test}" 240 KiB
[binary R ~] dev-qt/qtsvg-5.5.1-r1:5::gentoo USE="-debug {-test}" 186 KiB
[binary R ~] dev-qt/designer-5.5.1-r1:5::gentoo USE="declarative -debug {-test} -webkit" 4,206 KiB
[binary R ~] dev-qt/linguist-tools-5.5.1-r1:5::gentoo USE="qml -debug {-test}" 568 KiB
[binary R ~] dev-qt/qtgraphicaleffects-5.5.1-r1:5::gentoo USE="-debug {-test}" 53 KiB
[binary R ~] dev-qt/qtmultimedia-5.5.1-r1:5::gentoo USE="alsa gles2 gstreamer pulseaudio qml widgets -debug -gstreamer010 -openal {-test}" 819 KiB
[binary R ~] dev-qt/qtquick1-5.5.1-r1:5::gentoo USE="gles2 opengl xml -debug -designer {-test} -webkit" 1,559 KiB
[binary R ~] dev-qt/qtquickcontrols-5.5.1-r1:5::gentoo USE="widgets -debug {-test}" 1,050 KiB
[binary R ~] dev-qt/qtwebkit-5.5.1-r1:5::gentoo USE="gstreamer jit opengl qml -debug -geolocation -gstreamer010 -multimedia -orientation -printsupport {-test} -webchannel -webp" 11,398 KiB

Total: 25 packages (25 reinstalls, 25 binaries), Size of downloads: 40,410 KiB


Does Lightdm work with the nvidia/OpenGL? If so, I might switch to that.
_________________
i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1)
Back to top
View user's profile Send private message
BobWya
Apprentice
Apprentice


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

PostPosted: Wed Jan 20, 2016 7:24 am    Post subject: Reply with quote

BlueFusion wrote:

Does Lightdm work with the nvidia/OpenGL? If so, I might switch to that.


I've no problem with you switching to LightDM... But I should point out that most other major distros (with a Plasma 5 spin) have working GLX acceleration and non-blank SDDM - when using the Nvidia proprietary drivers!! Thinking OpenSUSE Tumbleweed and Arch - both of which are also installed on my laptop. It's a definitely a Gentoo- specific problem!

Surely Plasma 5 will still limp along on EGL (only) acceleration - on your system - even if you switch to LightDM?
_________________
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
BlueFusion
Guru
Guru


Joined: 08 Mar 2006
Posts: 371

PostPosted: Wed Jan 20, 2016 3:04 pm    Post subject: Reply with quote

True, I will try to get SDDM working.

As if this isnt annoying enough as it is, another desktop of mine running almost identical software except older nvidia-drivers because it's an older nVidia card, runs SDDM with opengl in nvidia mode. I only use it for Kodi as an HTPC in my living room. Specs on that device as follows:

Core 2 6700
3GB RAM
Old ASUS mobo (forget model w/o cracking it open)
nVidia GeForce 8400 GS Rev. 3
4.1.12 kernel as 4.4.0 has an issue with routing tables which this device needs using OpenVPN

Note: All packages except nvidia-drivers are built on a single VM and all of these other devices use these packages, so other than nvidia-drivers, they are IDENTICAL between machines.

Quote:
phoenix ~ # eselect opengl list
Available OpenGL implementations:
[1] nvidia *
[2] xorg-x11


phoenix ~ # equery list nvidia-drivers
* Searching for nvidia-drivers ...
[IP-] [ ] x11-drivers/nvidia-drivers-340.96:0/340


phoenix ~ # emerge --info
Portage 2.2.26 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-4.9.3, glibc-2.21-r1, 4.1.12-gentoo x86_64)
=================================================================
System uname: Linux-4.1.12-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_6700_@_2.66GHz-with-gentoo-2.2
KiB Mem: 3079508 total, 56856 free
KiB Swap: 1048572 total, 1030472 free
Timestamp of repository gentoo: Wed, 20 Jan 2016 14: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.13.4::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.21-r1::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg 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 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr egl emboss encode exif fam ffmpeg firefox flac fortran gdbm gif glamor gles2 gpm gstreamer gtk hddtemp iconv ipv6 jpeg jpeg2k kde kipi lcms ldap libnotify lm_sensors lzo mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ntp offensive ogg opengl openmp openssl pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt3support qt4 qt5 readline samba sdl seccomp semantic-desktop session spell spice sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis widgets wxwidgets x264 x265 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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 ssse3" 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" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia intel i965 qxl" 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"
Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


the working xorg.conf:
Quote:
phoenix ~ # cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "Normal Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
FontPath "/usr/share/fonts/"
FontPath "/usr/share/fonts/misc/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/cyrillic/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/freefonts"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "TV"
HorizSync 0.0 - 200.0
VertRefresh 50.0 - 75.0
Option "DPMS" "true"
# Modeline "1024x768_60.00" 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync
EndSection

Section "Device"
Identifier "8400GS"
Driver "nvidia"
VendorName "nVidia"
BoardName "MSI 8400GS 256MB"
Option "RenderAccel" "true"
Option "BackingStore" "true"
Option "AllowGLXWithComposite" "true"
Option "AddARGBGLXVisuals" "true"
# Option "UseEDIDDpi" "false"
# Option "UseEDID" "false"
# Option "UseEDIDFreqs" "false"
# Option "ModeValidation" "NoEDIDModes"
# Option "DPI" "96x96"
EndSection

Section "Screen"
Identifier "Screen0"
Device "8400GS"
Monitor "TV"
# DefaultDepth 24
# SubSection "Display"
# Depth 24
# Modes "1024x768"
# EndSubSection
EndSection

Section "Extensions"
Option "Composite" "true"
EndSection

_________________
i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1)
Back to top
View user's profile Send private message
BlueFusion
Guru
Guru


Joined: 08 Mar 2006
Posts: 371

PostPosted: Wed Jan 20, 2016 3:33 pm    Post subject: Reply with quote

I should add, that from the SDDM greeter page, I log directly into a Kodi session as Plasma remains a blank screen upon login. But this is still better than what my other desktop can do...which doesn't even display the SDDM greeter (login) page.
_________________
i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1)
Back to top
View user's profile Send private message
BlueFusion
Guru
Guru


Joined: 08 Mar 2006
Posts: 371

PostPosted: Wed Jan 20, 2016 6:45 pm    Post subject: Reply with quote

I opted to just move away from nVidia proprietary drivers again and see how Nouveau has come over the past year since I've tried it.

Good news and bad news.

Good news: I can use Plasma on my HTPC with Nouveau. Everything seems to work fine. Cool!

Bad news: My main rig which is the topic of the original issue, loads SDDM login screen, but as soon as a press a key on my keyboard, SDDM freezes. The mouse works and I can click on stuff up until I press any key. I have to login via SSH to killall -9 X, sddm, sddm-greeter, and sddm-helper at which point it dumps some data. Here's a tidbit:

Quote:
[ 178.296162] nouveau 0000:02:00.0: fifo: PBDMA0: 00040000 [PBENTRY] ch 5 [023f929000 sddm-greeter[5055]] subc 0 mthd 0000 data 00000000
[ 178.296181] nouveau 0000:02:00.0: fifo: PBDMA0: 00040000 [PBENTRY] ch 5 [023f929000 sddm-greeter[5055]] subc 0 mthd 0000 data 00000000
[ 178.296217] nouveau 0000:02:00.0: fifo: PBDMA0: 00040000 [PBENTRY] ch 5 [023f929000 sddm-greeter[5055]] subc 0 mthd 0000 data 00000000
[ 178.296241] nouveau 0000:02:00.0: fifo: PBDMA0: 00040000 [PBENTRY] ch 5 [023f929000 sddm-greeter[5055]] subc 0 mthd 0000 data 00000000
[ 178.296268] nouveau 0000:02:00.0: fifo: PBDMA0: 00040000 [PBENTRY] ch 5 [023f929000 sddm-greeter[5055]] subc 0 mthd 0000 data 00000000
[ 935.329624] nouveau 0000:02:00.0: DRM: GPU lockup - switching to software fbcon
[ 1151.293426] nouveau 0000:02:00.0: fifo: PBDMA0: 00040000 [PBENTRY] ch 5 [023f929000 sddm-greeter[5055]] subc 0 mthd 0000 data 00000000
[ 1166.298106] nouveau 0000:02:00.0: sddm-greeter[5055]: failed to idle channel 5 [sddm-greeter[5055]]
[ 1166.308105] nouveau 0000:02:00.0: X[4993]: failed to idle channel 2 [X[4993]]
[ 1181.298596] nouveau 0000:02:00.0: sddm-greeter[5055]: failed to idle channel 5 [sddm-greeter[5055]]
[ 1181.312175] nouveau 0000:02:00.0: disp: chid 0 mthd 0080 data 00000000 00005080 00004001


Since this is no longer specifically nVidia related, I'm going to open up a new topic to further investigate this issue and try to get it working. It's probably relating to the multi-head setup I have (2 screens and a projector)
_________________
i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1)
Back to top
View user's profile Send private message
BobWya
Apprentice
Apprentice


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

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

@BlueFusion

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!

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
BlueFusion
Guru
Guru


Joined: 08 Mar 2006
Posts: 371

PostPosted: Thu Jan 21, 2016 12:22 am    Post subject: Reply with quote

Sure, I'd like to give it a try. Nouveau isn't working as well as I had hoped, either. The HTPC does have issues after all....

EDIT:

Dumb question, but regarding those libraries....you did run eselect opengl set nvidia right? I figure that's what should correct those libraries, but I can see how if it's not built against it, there could be issues....
_________________
i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1)
Back to top
View user's profile Send private message
BobWya
Apprentice
Apprentice


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

PostPosted: Thu Jan 21, 2016 7:20 am    Post subject: Reply with quote

BlueFusion wrote:

Dumb question, but regarding those libraries....you did run eselect opengl set nvidia right? I figure that's what should correct those libraries, but I can see how if it's not built against it, there could be issues....


@BlueFusion,

Code:
eselect opengl set nvidia

is quite limited in scope...

Take a look at:
Code:
equery files eselect-opengl
# Basically only this script file...
cat /usr/share/eselect/modules/opengl.eselect


The only files the module touches are:
Code:
/etc/env.d/000opengl
/etc/X11/xorg.conf.d/20opengl.conf


The Qt5 toolkit ignores the LDPATH env variable!! The media-libs/mesa GL libraries are not affected by the module either...

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
BlueFusion
Guru
Guru


Joined: 08 Mar 2006
Posts: 371

PostPosted: Mon Jan 25, 2016 12:09 am    Post subject: Reply with quote

Interesting, I didn't look into it that much before, but definitely good to know.

Any other progress? I just got home from a trip and am going to see if I can get Nouveau to work. If not, than back to nVidia drivers and keep hacking away at that, I suppose.
_________________
i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1)
Back to top
View user's profile Send private message
BobWya
Apprentice
Apprentice


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

PostPosted: Mon Jan 25, 2016 7:23 am    Post subject: Reply with quote

BlueFusion wrote:
Interesting, I didn't look into it that much before, but definitely good to know.

Any other progress? I just got home from a trip and am going to see if I can get Nouveau to work. If not, than back to nVidia drivers and keep hacking away at that, I suppose.


@BlueFusion

I've got a fully working Plasma 5 Session - with all the associated bugs - but thankfully less of the Kwin 5 related ones I have previously (i.e. I now have full GLX compositing)!!

If you are feeling brave you could try testing 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 "app-eselect/eselect-opengl with media-libs/mesa with x11-drivers/nvidia-drivers-361 - GLX not working(?)" (the name gets changed every few hours - not by me!! 8) ) for more information on the working USE flags for my system, etc.!!

Just remember to rebuild all packages depending on media-libs/mesa::bobwya !! Or the good ol'
Code:
emerge -uDN --with-bdeps=y --keep-going --backtrack=100 @world


I also am convinced that dev-qt/*:5 should have USE flag -egl (for the packages that have that USE flag). Otherwise they will statically link against the media-libs/mesa headers and break GL acceleration when using the x11-drivers/nvidia-drivers. To test this I'll need to re-emerge all these packages (plus Plasma 5 ones) with USE +egl to see if everything breaks again!! I do plan to try this today/ tomorrow (ish)...

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
BlueFusion
Guru
Guru


Joined: 08 Mar 2006
Posts: 371

PostPosted: Mon Jan 25, 2016 4:29 pm    Post subject: Reply with quote

I'm going to give this a test spin. Working on getting Nouveau removed and this stuff all installed again. I'll update after some testing.
_________________
i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1)
Back to top
View user's profile Send private message
BobWya
Apprentice
Apprentice


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

PostPosted: Mon Jan 25, 2016 4:33 pm    Post subject: Reply with quote

BlueFusion wrote:
I'm going to give this a test spin. Working on getting Nouveau removed and this stuff all installed again. I'll update after some testing.


Actually when I checked I've actually got the egl USE flag globally enabled with only the following override...
Code:
dev-qt/qtgui:5   -egl


So I'll try breaking my system again - by re-enabling that USE flag!! Hah hah 8)
_________________
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
BlueFusion
Guru
Guru


Joined: 08 Mar 2006
Posts: 371

PostPosted: Mon Jan 25, 2016 4:44 pm    Post subject: Reply with quote

Is there any good reason to have EGL support if gles/gles2 isn't used? From what I can conclude, EGL is just an API layer for GLES, which is primarily for embedded systems.
_________________
i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1)
Back to top
View user's profile Send private message
BobWya
Apprentice
Apprentice


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

PostPosted: Mon Jan 25, 2016 5:27 pm    Post subject: Reply with quote

BlueFusion wrote:
Is there any good reason to have EGL support if gles/gles2 isn't used? From what I can conclude, EGL is just an API layer for GLES, which is primarily for embedded systems.


No of course not! In fact I think it's time to expunge that USE flag me thinks... 8)
It would be OK to enable that USE flag with FOSS graphics drivers that will render through mesa though - me thinks...

I also had forgot the hard (circular) dependency on GLESv2 opened up by enabling the +egl USE flag on dev-qt:gui5 (reference: dev-qt/qtmultimedia:5).
That's going to bugger up Qt5 GL handling for sure, see:
Code:
-opengl $(usex gles2 es2 desktop)

from the ebuild for dev-qt:gui5. So when the +gles USE flag is enabled the GL library search mode (for cmake) switches from a desktop profile to a mobile ES2 profile.

So I guess that's that (in terms of further testing). Good luck fixing your system - you've definitely got the right approach if you're not enabling the +egl USE flag!
_________________
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
BlueFusion
Guru
Guru


Joined: 08 Mar 2006
Posts: 371

PostPosted: Mon Jan 25, 2016 6:45 pm    Post subject: Reply with quote

At the moment, I have EGL enabled except for the package you mentioned above, as that's what I had previously anyway. I'm going to change that to a global -egl USE flag.

Currently, I finally have GPU rendering on Kerbal Space Program and Kodi in a Plasma session with your workaround!!!! Amazing difference in performance and CPU load.

What I'm still missing is things like the KDE desktop cube effect.
_________________
i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1)
Back to top
View user's profile Send private message
BobWya
Apprentice
Apprentice


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

PostPosted: Mon Jan 25, 2016 8:43 pm    Post subject: Reply with quote

BlueFusion wrote:
At the moment, I have EGL enabled except for the package you mentioned above, as that's what I had previously anyway. I'm going to change that to a global -egl USE flag.
Currently, I finally have GPU rendering on Kerbal Space Program and Kodi in a Plasma session with your workaround!!!! Amazing difference in performance and CPU load.
What I'm still missing is things like the KDE desktop cube effect.


@BlueFusion,
Well I'm fussy that way... I'm one of these shallow people that like all the Kwin Bling-Bling ... So that means Window Cover Switch, Blurred Transparency, etc. 8)
In fact I'm so anal about this stuff that I've processed all the stock Breeze theme widgets with Inkscape - to give them near full transparency :roll: Hey I can't help it! 8)

Now for the bad news... I don't normally use the Desktop Cube Effect - but enabling doesn't do anything - I'm "stuck" with the Desktop Slide effect... I bet if I logged into my Arch or Opensuse Tumbleweed installs (multi-boot) they would perform identically - it's possibly something that Martin Gräßlin hasn't yet fully baked... I'm doing all this testing on my laptop - which has a Nvidia Geforce GTX 970M graphics card - so if it's going to work...

It might help push things forward if you mention on my Gentoo bug report... app-eselect/eselect-opengl with media-libs/mesa with x11-drivers/nvidia-drivers-361 - GLX not working(?)
- that the "proof of concept" media-libs/mesa and app-eselect/opengl packages appeared to help with Plasma 5 GLX acceleration on your system... Nobody else has bothered / been able to do that yet - but my bug report has been renamed a few times... :cry:

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
BlueFusion
Guru
Guru


Joined: 08 Mar 2006
Posts: 371

PostPosted: Tue Jan 26, 2016 1:49 am    Post subject: Reply with quote

I, too, love using the transparancy and wobbly windows and whatnot. I just wish wobbly windows and the desktop cube would work on my two nvidia-powered desktops. My Intel HD Graphics laptop has all of the working great.

I added my confirmation of the working patches to bugzilla.
_________________
i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1)
Back to top
View user's profile Send private message
BobWya
Apprentice
Apprentice


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

PostPosted: Tue Jan 26, 2016 6:43 am    Post subject: Reply with quote

BlueFusion wrote:
I, too, love using the transparancy and wobbly windows and whatnot. I just wish wobbly windows and the desktop cube would work on my two nvidia-powered desktops. My Intel HD Graphics laptop has all of the working great.

I added my confirmation of the working patches to bugzilla.


That's odd - because wobbly windows are working or me... I'll double check whether the cube effect is working under Arch - a bit later on... Perhaps running the beta version of the x11-drivers/nvidia-drivers (358.18 I think) package would help you?

Thanks for commenting on the bug.... 8)
_________________
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: 228
Location: Cambridge,UK

PostPosted: Tue Jan 26, 2016 2:26 pm    Post subject: Reply with quote

I found a useful blog post by Martin Gräßlin on this very issue (OpenGL vs OpenGL ES support in Kwin 5)...
_________________
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
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