LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-29-2014, 05:53 PM   #16
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 525

Rep: Reputation: 53

Quote:
Originally Posted by ryanpcmcquen View Post
Just delete Bumblebee-Slackbuilds and re-run crazybee. Primus was just updated a few hours ago.
nothing changed with the update
I'm still getting the direct rendering failure issue…

What's my xorg.conf supposed to look like? I think mine might be wrong. Is there a script in Bumblebee for creating a new /etc/X11/xorg.conf file?

Last edited by Geremia; 12-29-2014 at 05:55 PM.
 
Old 12-29-2014, 05:55 PM   #17
ryanpcmcquen
Member
 
Registered: Apr 2013
Distribution: DistroWanderer
Posts: 381

Rep: Reputation: Disabled
Quote:
Originally Posted by Geremia View Post
nothing changed with the update
I'm still getting the direct rendering failure issue…

What's my xorg.conf supposed to look like? I think mine might be wrong.
I never touch mine so ...

What does this show?

Code:
ls /var/log/packages | grep compat32
 
Old 12-29-2014, 06:18 PM   #18
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 525

Rep: Reputation: 53
xorg.conf etc. files

Here's what I have:

/etc/X11/xorg.conf.d/10-nvidia.conf
Code:
Section "Device"
 	Identifier  "Device0"
 	Driver      "nvidia"
 	VendorName  "Nvidia Corporation"
 	BoardName   ""
EndSection

# I added this for trying to enable DRI, but it didn't help.
# Section "DRI"
#         Group   "video"
#         Mode    0666
# EndSection
/etc/X11/xorg.conf:
Shouldn't this have at least an nvidia device or the Bumblebee switcher device?
Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib64/xorg/modules"
	FontPath     "/usr/share/fonts/local"
	FontPath     "/usr/share/fonts/TTF"
	FontPath     "/usr/share/fonts/OTF"
	FontPath     "/usr/share/fonts/Type1"
	FontPath     "/usr/share/fonts/misc"
	FontPath     "/usr/share/fonts/CID"
	FontPath     "/usr/share/fonts/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/100dpi/:unscaled"
	FontPath     "/usr/share/fonts/75dpi"
	FontPath     "/usr/share/fonts/100dpi"
	FontPath     "/usr/share/fonts/cyrillic"
EndSection

Section "Module"
	Load  "glx"
EndSection

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

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "Backlight"          	# <str>
        #Option     "DRI"                	# <str>
        #Option     "Present"            	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "VideoKey"           	# <i>
        #Option     "Tiling"             	# [<bool>]
        #Option     "LinearFramebuffer"  	# [<bool>]
        #Option     "VSync"              	# [<bool>]
        #Option     "PageFlip"           	# [<bool>]
        #Option     "SwapbuffersWait"    	# [<bool>]
        #Option     "TripleBuffer"       	# [<bool>]
        #Option     "XvPreferOverlay"    	# [<bool>]
        #Option     "HotPlug"            	# [<bool>]
        #Option     "ReprobeOutputs"     	# [<bool>]
        #Option     "DeleteUnusedDP12Displays" 	# [<bool>]
        #Option     "XvMC"               	# [<bool>]
        #Option     "ZaphodHeads"        	# <str>
        #Option     "VirtualHeads"       	# <i>
        #Option     "TearFree"           	# [<bool>]
        #Option     "PerCrtcPixmaps"     	# [<bool>]
        #Option     "FallbackDebug"      	# [<bool>]
        #Option     "DebugFlushBatches"  	# [<bool>]
        #Option     "DebugFlushCaches"   	# [<bool>]
        #Option     "DebugWait"          	# [<bool>]
        #Option     "BufferCache"        	# [<bool>]
	Identifier  "Card0"
	Driver      "intel"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth 24
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection
/etc/modprobe.d/BLACKLIST-nouveau.conf:
Nouveau is disabled.
Code:
# Do not load the kernel nouveau dri module, since it interferes with both
# the nv and binary nvidia drivers.

blacklist nouveau
 
Old 12-29-2014, 06:21 PM   #19
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 525

Rep: Reputation: 53
Quote:
Originally Posted by ryanpcmcquen View Post
What does this show?

Code:
ls /var/log/packages | grep compat32
Code:
aaa_elflibs-compat32-14.1-x86_64-3compat32
alsa-lib-compat32-1.0.27.2-x86_64-1compat32
alsa-oss-compat32-1.0.25-x86_64-1compat32
atk-compat32-2.8.0-x86_64-1compat32
attr-compat32-2.4.46-x86_64-1compat32
audiofile-compat32-0.3.6-x86_64-1compat32
bzip2-compat32-1.0.6-x86_64-1compat32
cairo-compat32-1.12.16-x86_64-1compat32
compat32-tools-3.4-noarch-1alien
cups-compat32-1.5.4-x86_64-3compat32
curl-compat32-7.36.0-x86_64-1compat32
cxxlibs-compat32-6.0.18-x86_64-1compat32
cyrus-sasl-compat32-2.1.23-x86_64-5compat32
dbus-compat32-1.6.12-x86_64-1compat32
dbus-glib-compat32-0.100.2-x86_64-1compat32
e2fsprogs-compat32-1.42.8-x86_64-2compat32
esound-compat32-0.2.41-x86_64-2compat32
expat-compat32-2.1.0-x86_64-1compat32
flac-compat32-1.2.1-x86_64-3compat32
flashplayer-plugin-compat32-11.2.202.425-x86_64-1aliencompat32
fontconfig-compat32-2.11.1-x86_64-1compat32
freeglut-compat32-2.8.1-x86_64-1compat32
freetype-compat32-2.5.3-x86_64-1compat32
fribidi-compat32-0.19.2-x86_64-3compat32
gamin-compat32-0.1.10-x86_64-5compat32
gdk-pixbuf2-compat32-2.28.2-x86_64-1compat32
giflib-compat32-4.1.6-x86_64-1compat32
glew-compat32-1.10.0-x86_64-1compat32
glib2-compat32-2.36.4-x86_64-1compat32
glu-compat32-9.0.0-x86_64-1compat32
gmp-compat32-5.1.3-x86_64-1compat32
gnome-keyring-compat32-3.8.2-x86_64-1compat32
gnutls-compat32-3.2.15-x86_64-1compat32
gst-plugins-base-compat32-0.10.36-x86_64-2compat32
gst-plugins-good-compat32-0.10.31-x86_64-5compat32
gstreamer-compat32-0.10.36-x86_64-2compat32
gtk+2-compat32-2.24.20-x86_64-1compat32
harfbuzz-compat32-0.9.16-x86_64-1compat32
icu4c-compat32-51.2-x86_64-1compat32
jasper-compat32-1.900.1-x86_64-3compat32
lcms-compat32-1.19-x86_64-2compat32
lcms2-compat32-2.4-x86_64-1compat32
libFS-compat32-1.0.6-x86_64-1compat32
libICE-compat32-1.0.9-x86_64-1compat32
libSM-compat32-1.2.2-x86_64-1compat32
libX11-compat32-1.6.2-x86_64-1compat32
libXScrnSaver-compat32-1.2.2-x86_64-1compat32
libXau-compat32-1.0.8-x86_64-1compat32
libXaw-compat32-1.0.12-x86_64-1compat32
libXcomposite-compat32-0.4.4-x86_64-1compat32
libXcursor-compat32-1.1.14-x86_64-1compat32
libXdamage-compat32-1.1.4-x86_64-1compat32
libXdmcp-compat32-1.1.1-x86_64-1compat32
libXevie-compat32-1.0.3-x86_64-1compat32
libXext-compat32-1.3.3-x86_64-1compat32
libXfixes-compat32-5.0.1-x86_64-1compat32
libXfont-compat32-1.4.8-x86_64-1compat32
libXfontcache-compat32-1.0.5-x86_64-1compat32
libXft-compat32-2.3.2-x86_64-1compat32
libXi-compat32-1.7.4-x86_64-1compat32
libXinerama-compat32-1.1.3-x86_64-1compat32
libXmu-compat32-1.1.2-x86_64-1compat32
libXp-compat32-1.0.2-x86_64-1compat32
libXpm-compat32-3.5.11-x86_64-1compat32
libXrandr-compat32-1.4.2-x86_64-1compat32
libXrender-compat32-0.9.8-x86_64-1compat32
libXres-compat32-1.0.7-x86_64-1compat32
libXt-compat32-1.1.4-x86_64-1compat32
libXtst-compat32-1.2.2-x86_64-1compat32
libXv-compat32-1.0.10-x86_64-1compat32
libXvMC-compat32-1.0.8-x86_64-1compat32
libXxf86dga-compat32-1.1.4-x86_64-1compat32
libXxf86misc-compat32-1.0.3-x86_64-1compat32
libXxf86vm-compat32-1.1.3-x86_64-1compat32
libart_lgpl-compat32-2.3.21-x86_64-1compat32
libdmx-compat32-1.1.3-x86_64-1compat32
libdrm-compat32-2.4.58-x86_64-1compat32
libelf-compat32-0.8.13-x86_64-4compat32
libexif-compat32-0.6.21-x86_64-1compat32
libffi-compat32-3.0.13-x86_64-2compat32
libfontenc-compat32-1.1.2-x86_64-1compat32
libgcrypt-compat32-1.5.3-x86_64-1compat32
libglade-compat32-2.6.4-x86_64-4compat32
libgpg-error-compat32-1.11-x86_64-1compat32
libgphoto2-compat32-2.5.2-x86_64-1compat32
libidn-compat32-1.25-x86_64-2compat32
libieee1284-compat32-0.2.11-x86_64-3compat32
libjpeg-compat32-v8a-x86_64-2compat32
libmng-compat32-1.0.10-x86_64-2compat32
libmpc-compat32-0.8.2-x86_64-2compat32
libnl3-compat32-3.2.21-x86_64-1compat32
libogg-compat32-1.3.0-x86_64-1compat32
libpcap-compat32-1.4.0-x86_64-1compat32
libpciaccess-compat32-0.13.2-x86_64-1compat32
libpng-compat32-1.4.12-x86_64-1compat32
libsamplerate-compat32-0.1.8-x86_64-1compat32
libsndfile-compat32-1.0.25-x86_64-1compat32
libtasn1-compat32-3.6-x86_64-1compat32
libtermcap-compat32-1.2.3-x86_64-7compat32
libtiff-compat32-3.9.7-x86_64-1compat32
libtool-compat32-2.4.2-x86_64-2compat32
libusb-compat32-1.0.19-x86_64-1compat32
libvdpau-compat32-0.8-x86_64-1poncecompat32
libvorbis-compat32-1.3.3-x86_64-1compat32
libxcb-compat32-1.11-x86_64-1compat32
libxml2-compat32-2.9.1-x86_64-1compat32
libxshmfence-compat32-1.1-x86_64-1compat32
libxslt-compat32-1.1.28-x86_64-1compat32
llvm-compat32-3.4.2-x86_64-1compat32
mariadb-compat32-5.5.40-x86_64-2compat32
mesa-compat32-10.3.5-x86_64-1compat32
mpg123-compat32-1.21.0-x86_64-1compat32
ncurses-compat32-5.9-x86_64-3compat32
nettle-compat32-2.7.1-x86_64-1compat32
openldap-client-compat32-2.4.31-x86_64-2compat32
openssl-compat32-1.0.1j-x86_64-1compat32
openssl-solibs-compat32-1.0.1j-x86_64-1compat32
p11-kit-compat32-0.16.4-x86_64-1compat32
pango-compat32-1.34.1-x86_64-1compat32
pixman-compat32-0.32.6-x86_64-1compat32
popt-compat32-1.16-x86_64-2compat32
qt-compat32-4.8.6-x86_64-1compat32
readline-compat32-5.2-x86_64-4compat32
sane-compat32-1.0.24-x86_64-1compat32
sdl-compat32-1.2.15-x86_64-1compat32
seamonkey-solibs-compat32-2.31-x86_64-1compat32
sqlite-compat32-3.7.17-x86_64-1compat32
startup-notification-compat32-0.12-x86_64-2compat32
svgalib-compat32-1.9.25-x86_64-2compat32
udev-compat32-182-x86_64-7compat32
util-linux-compat32-2.21.2-x86_64-6compat32
v4l-utils-compat32-0.9.5-x86_64-1compat32
xcb-util-compat32-0.3.9-x86_64-1compat32
xsane-compat32-0.998-x86_64-3compat32
zlib-compat32-1.2.8-x86_64-1compat32
 
Old 12-29-2014, 06:34 PM   #20
ryanpcmcquen
Member
 
Registered: Apr 2013
Distribution: DistroWanderer
Posts: 381

Rep: Reputation: Disabled
Quote:
libvdpau-compat32-0.8-x86_64-1poncecompat32
Both of your libvdpau packages should be at 0.9. If you remove the ones you have now and update with slackpkg+ that will bring those up to date.
 
Old 12-29-2014, 07:12 PM   #21
WhiteWolf1776
Member
 
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288

Rep: Reputation: 95
Please remove the conf files you created as these are likely what is causing some of your issues. You no longer need a conf file for intel and many other cards.
/etc/X11/xorg.conf
/etc/X11/xorg.conf.d/10-nvidia.conf

bumblebee comes with a conf file but it is packaged with it and not in the X11 folder. You should not need to modify it, but I think your nvidia.conf is getting found first and confusing the bumblebee system.
 
Old 12-29-2014, 10:54 PM   #22
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 525

Rep: Reputation: 53
Quote:
Originally Posted by ryanpcmcquen View Post
Both of your libvdpau packages should be at 0.9. If you remove the ones you have now and update with slackpkg+ that will bring those up to date.
Okay, they're both 0.9 now, but still I get the same blank glxgears issue.

What's strange is that I can't the gears of glxgears to appear when issuing any of the commands
Code:
$ glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
or
Code:
$ optirun glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
or
Code:
$ primusrun glxgears
primus: fatal: failed to acquire direct rendering context for display thread
.

---------- Post added 12-29-14 at 09:54 PM ----------

Quote:
Originally Posted by WhiteWolf1776 View Post
Please remove the conf files you created as these are likely what is causing some of your issues. You no longer need a conf file for intel and many other cards.
/etc/X11/xorg.conf
/etc/X11/xorg.conf.d/10-nvidia.conf
Thanks, but that didn't change anything.
 
Old 12-29-2014, 10:56 PM   #23
ryanpcmcquen
Member
 
Registered: Apr 2013
Distribution: DistroWanderer
Posts: 381

Rep: Reputation: Disabled
Did you re-run crazybee after getting libvdpau 0.9?

Why not try something besides glxgears?
 
Old 12-29-2014, 11:50 PM   #24
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 525

Rep: Reputation: 53
Quote:
Originally Posted by ryanpcmcquen View Post
Did you re-run crazybee after getting libvdpau 0.9?
yes
Quote:
Why not try something besides glxgears?
I've tried Steam, which says:
Code:
OpenGL GLX context is not using direct rendering, which may cause performance problems.

For more information visit https://support.steampowered.com/kb_...9938-EYZB-7457
KDE doesn't even allow me to set any OpenGL rendering effects; it only allows XRender. It seems that, despite Mesa being installed, nothing thinks I have OpenGL, except when I run
Code:
$ primusrun glxinfo
, it says I do and that direct rendering is enabled.


Here's something I noticed, though:
Code:
$ LIBGL_DEBUG=verbose primusrun glxinfo
…
OpenGL core profile context flags: (none)
…
OpenGL profile context flags: (none)
OpenGL profile mask: (none)
…
Why would this be? How do I set these things?

This seems to occur due to deprecation: http://stackoverflow.com/q/4693017/1429450

Last edited by Geremia; 12-30-2014 at 01:22 AM.
 
Old 12-30-2014, 12:01 AM   #25
ryanpcmcquen
Member
 
Registered: Apr 2013
Distribution: DistroWanderer
Posts: 381

Rep: Reputation: Disabled
Can you cat the contents of the primus and nvidia-bumblebee package in /var/log/packages and link to the pastebin or gist?

Last edited by ryanpcmcquen; 12-30-2014 at 12:01 AM. Reason: remove non sequitur
 
Old 12-30-2014, 12:17 AM   #26
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 525

Rep: Reputation: 53
Quote:
Originally Posted by ryanpcmcquen View Post
Can you cat the contents of the primus and nvidia-bumblebee package in /var/log/packages and link to the pastebin or gist?
Here you go:
nvidia-bumblebee: https://gist.github.com/Geremia/ae9dcac544ef4459bac5
primus: https://gist.github.com/Geremia/4e27ed08414ab8fe0bb0

Last edited by Geremia; 12-30-2014 at 12:22 AM.
 
Old 12-30-2014, 12:37 AM   #27
ryanpcmcquen
Member
 
Registered: Apr 2013
Distribution: DistroWanderer
Posts: 381

Rep: Reputation: Disabled
How are you running games through Steam?
 
Old 12-30-2014, 01:04 AM   #28
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 525

Rep: Reputation: 53
Quote:
Originally Posted by ryanpcmcquen View Post
How are you running games through Steam?
I haven't even been able to get passed the Steam warning:
Quote:
Originally Posted by Geremia View Post
Code:
OpenGL GLX context is not using direct rendering, which may cause performance problems.

For more information visit https://support.steampowered.com/kb_...9938-EYZB-7457
It locks up right after displaying that dialog box.

Last edited by Geremia; 12-30-2014 at 01:51 AM.
 
Old 12-30-2014, 08:02 AM   #29
WhiteWolf1776
Member
 
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288

Rep: Reputation: 95
What other configuration changes have you made since installing? Also, what is the make and model of this laptop?

I ask this as I feel we are running in circles trying to divine what is looking more and more like a configuration issue.

Last edited by WhiteWolf1776; 12-30-2014 at 11:00 AM.
 
Old 12-30-2014, 02:07 PM   #30
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 525

Rep: Reputation: 53
Quote:
Originally Posted by WhiteWolf1776 View Post
What other configuration changes have you made since installing?
I updated to the current KDE. That's about it.
Quote:
Originally Posted by WhiteWolf1776 View Post
Also, what is the make and model of this laptop?

I ask this as I feel we are running in circles trying to divine what is looking more and more like a configuration issue.
I get the same problem for root and newly-created users, too, and with different window managers like Xfce. And Steam was behaving strangely even before I ever ran crazybee.sh (e.g., I couldn't click any buttons in Steam and it complained about missing fonts).

It's an MSI GE70 gaming laptop with an Nvidia Geforce GTX 660M. Here's the LiCo page for this particular laptop.

I'm going to wipe this machine and start over. I'll let you know if I get the same issues.

Last edited by Geremia; 12-30-2014 at 02:08 PM.
 
  


Reply

Tags
current, nvidia, optimus, proprietary, slackware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
3.2.28 Generic Kernel in Slackware (with nvidia optimus, bumblebee) TommyC7 Linux - Kernel 2 09-07-2012 02:10 PM
[SOLVED] Slackware and Nvidia Optimus malloc Slackware 10 02-12-2012 06:44 AM
Slackware and Nvidia Optimus (Asus X53SV) Buumi Slackware 3 01-22-2012 09:36 AM
NVIDIA GeForce GT 540M graphics & NVIDIA Optimus Technology rabizadeh_ehsan Linux - Hardware 5 10-21-2011 07:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration