LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-26-2014, 06:40 AM   #1
scarrs
Member
 
Registered: Sep 2013
Location: Thunder Bay, Ontario
Distribution: Slackware 14.1 x86_64
Posts: 38

Rep: Reputation: Disabled
Question nouveau and compiz-fusion (ccsm and emerald)


Hi all I just switched over to the nouveau driver because my nvidia one was tainting the kernel and making software installs impossible!

One of the things I really enjoyed about having the nvidia driver installed though; was all the cool effects I had with ccsm and emerald.

How can I, or can I even get these cool effects back with the nouveau driver?

here is my current xorg.conf on Slackware64 14.1:

Code:
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    FontPath        "/usr/lib64/X11/fonts/misc/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/misc/"
    FontPath        "/usr/lib64/X11/fonts/Type1/"
    FontPath        "/usr/lib64/X11/fonts/Speedo/"
    FontPath        "/usr/lib64/X11/fonts/100dpi/"
    FontPath        "/usr/lib64/X11/fonts/75dpi/"
    FontPath        "/usr/lib64/X11/fonts/cyrillic/"
    FontPath        "/usr/lib64/X11/fonts/TTF/"
EndSection

Section "Module"
    Load           "extmod"
    Load           "glx"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

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

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Dell"
    ModelName      "15 inch"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nouveau"
    VendorName     "eVGA"
EndSection

Section "Screen"

	# Compositing manager
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Composite" "Enable"
    Option         "RenderAccel" "true"
    Option         "TripleBuffer" "true"
    Option         "AllowGLXWithComposite"
    Option         "DPMS" "true"
    Option         "AddARGBGLXVisuals" "True"
    SubSection     "Display"
        Depth       24
        Modes      "1024x768"
    EndSubSection
EndSection
Shouldn't this work?
Any Help would be much appreciated, thanks.
 
Old 08-26-2014, 07:51 AM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
Hi all I just switched over to the nouveau driver because my nvidia one was tainting the kernel and making software installs impossible!
I been running nvidia a long time and you know the software problem you describe is a very simple fix there are two libraries that a moved to /var/lib/nvidia/
and they are renamed 100 and 101. those two files are. libGL.la libEGL.la
those libraries have code in them help compile stuff. and link them. Do conflict with the build of the nvidia driver. They have to be moved.
my work around for years now is to grab the mesa Slackware package and make a folder mesa /root/mesa/ and paste it there then extract it. if in kde desktop right click the package and autodetect subfolder there you will see the exploded package of mesa /usr/lib or /usr/lib64 then when I need those two folders I just link them to my /usr/lib64 or /usr/lib .

now when you need run into the problem of building stuff it will build. when your done just unlink them
because the worst nvidia driver is far superior to nouveau. same thing if you need libGL.so. don't give up the fun.

I keep a download of nvida in /root/ I do not use the Slackbuilds build. if you run current you may need to have stable and beta depending on how the system is changing.
 
Old 08-26-2014, 10:17 AM   #3
scarrs
Member
 
Registered: Sep 2013
Location: Thunder Bay, Ontario
Distribution: Slackware 14.1 x86_64
Posts: 38

Original Poster
Rep: Reputation: Disabled
Excellent news!!! I'll give this a try and pm you if I run into problems. is that okay?
 
Old 08-26-2014, 01:52 PM   #4
scarrz
Member
 
Registered: Aug 2014
Location: Thunder Bay, Ontario
Distribution: Slackware, Ubuntu
Posts: 80

Rep: Reputation: Disabled
Question a little stuck...

Quote:
Originally Posted by Drakeo View Post
grab the mesa Slackware package and make a folder mesa /root/mesa/ and paste it there then extract it. if in kde desktop right click the package and autodetect subfolder there you will see the exploded package of mesa /usr/lib or /usr/lib64 then when I need those two folders I just link them to my /usr/lib64 or /usr/lib .

now when you need run into the problem of building stuff it will build. when your done just unlink them
because the worst nvidia driver is far superior to nouveau. same thing if you need libGL.so. don't give up the fun.

I keep a download of nvida in /root/ I do not use the Slackbuilds build. if you run current you may need to have stable and beta depending on how the system is changing.
Drakeo,
I looked for that package on the internet and couldnt find what I needed. Can you provide a link pls? also, I am a tad bit confused as to EXACTLY name which file to what and auto detecting in kde is a no go as I do not even have it installed. I can link them no problem. --scarrz

Last edited by scarrz; 08-26-2014 at 01:55 PM.
 
Old 08-26-2014, 03:59 PM   #5
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
slackware 14.1 http://slackware.mirrors.tds.net/pub...1.7-i486-1.txz

slackware64 14.1 http://slackware.mirrors.tds.net/pub...7-x86_64-1.txz
there you go should be on your install disk.
 
Old 08-26-2014, 04:27 PM   #6
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
after extracting the package thats all slackware packages are are tar ball so assume your in root.

open a terminal type mkdir mesa then cd mesa . type ls and you will see etc, install, usr
cd /usr/lib for 32 bit for 64 bit it would be /usr/lib64
Code:
ln -s libGL.la  /usr/lib/libGL.la 
ln -s  libEGL.la /usr/lib/libEGL.la
second way is to open dolphin up in as root and drag them and drop them and make it a link.

third way is to reinstall mesa over the top of nvidia and when done . uninstall nvidia and reinstall it.
the Slackbuiuld's switch handles much of thi of this but i never did care for the build. it is in two parts.
and far from kiss.

I rather keep nvidia and build from there nvidia-run.
it pretty simple to say .
Quote:
slackpkg reinstall mesa then do your build then log out to run level 3 and rebuild nvidia
tell you the truth i have left mine linked for months. no real problems

in linux the dot .la files use for telling the program your compiling where everything is.
right click one open it with kwrite you will see.
the link just sends it to your new home for the build.

if you need other parts of mesa another way is to do a -root install
Quote:
installpkg -root /tmp/mesa mesa-9.1.7-i486-1.txz
now you have the package with all the links in /tmp/mesa and no it is not installed on your system.

then you can link what ever you need to your /usr/lib.
Quote:
ln -s /tmp/mesa/usr/lib/libGL.so /usr/lib/libGL.so
usuallay them three are the problems ok.

Last edited by Drakeo; 08-26-2014 at 09:37 PM.
 
Old 08-27-2014, 02:01 PM   #7
scarrz
Member
 
Registered: Aug 2014
Location: Thunder Bay, Ontario
Distribution: Slackware, Ubuntu
Posts: 80

Rep: Reputation: Disabled
Wink awesome!

Thanks for your replies, D!

I will try this soon and mark the thread [SOLVED] if I can install software after I have done all that; thanks. I have a Slackware section in my blog so I will be sure to add these instructions to the blog so I have them for future reference and so others can fix the same problem.

I'm still using the nouveau driver at them moment and I had forgot to mention that I also have dropline GNOME installed (3.10) and I believe the install process added those files we have been discussing in those proper directories. or: is it because I have the nouveau driver installed and it provides those files?

At any rate... I'll uninstall the nouveau driver today and follow those instructions and de-install "Clementine" and re- install it and see if it passed the build process.

Stay Tuned!
 
Old 08-27-2014, 03:14 PM   #8
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Well dropline gnome is a nice project and it really does not change the fact nvidia grabs them libraries and has to hide them and use there own in order to handle the chip.
how to install
Quote:
Optional dependencies:
gst-plugins-bad (for http support) <--you really do need it
gst-plugins-ugly (for mp3 support) <<--you really do need it
libimobiledevice (for iPod support)
libusbmuxd (for iPod support)
libspotify and libqca (for Spotify support) (not on SBo)
libvlc (not available on slackbuilds.org but AlienBob has vlc packages
and slackbuilds at http://connie.slackware.com/~alien/slackbuilds/vlc/ )

This requires: protobuf
you really want to build that for your system get with me I will do up a build script for you.
but if you really want most of that. read here and you will have a serious media center.
https://forum.kde.org/viewtopic.php?...303965#p303965
you need to install openjdk and reboot then start your build. I used SBOPKG

Last edited by Drakeo; 08-27-2014 at 03:27 PM.
 
Old 08-27-2014, 07:12 PM   #9
scarrz
Member
 
Registered: Aug 2014
Location: Thunder Bay, Ontario
Distribution: Slackware, Ubuntu
Posts: 80

Rep: Reputation: Disabled
Post great!

sure bro... make me a script and I'll look er over and run it if it looks good!
re: that link https://forum.kde.org/viewtopic.php?...303965#p303965
...do I really need all those packages installed?

Quote:
Originally Posted by Drakeo View Post
Well dropline gnome is a nice project and it really does not change the fact nvidia grabs them libraries and has to hide them and use there own in order to handle the chip.
how to install
you really want to build that for your system get with me I will do up a build script for you.
but if you really want most of that. read here and you will have a serious media center.
https://forum.kde.org/viewtopic.php?...303965#p303965
you need to install openjdk and reboot then start your build. I used SBOPKG
PS: I just went ahead with your FIRST set of instructions and installed the nvidia driver and dis a re-install of clementine and it compiled just fine so everything looks good so far

can't wait to hear back on this because I'm having display problems with dropline (mostly with IRC clients) but we all do a bunch of that so it needs to be fixed.

--G
 
Old 08-29-2014, 06:45 AM   #10
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
everyone of those programs contribute to several things. one is your building audacity one of the finest audio manipulation tools. Two your building ffmpeg that is the base to to everything. three your build libquick time this lets you play about every format out there. then your building kdenlive and that is the next best thing to adobe for video manipulation.
did you ever look at all the programs that have to be built for "clementine" it requires vlan and that is 85 percent of what we have there.
 
Old 08-30-2014, 02:28 PM   #11
scarrz
Member
 
Registered: Aug 2014
Location: Thunder Bay, Ontario
Distribution: Slackware, Ubuntu
Posts: 80

Rep: Reputation: Disabled
Post So let me get this straight...

Quote:
Originally Posted by Drakeo View Post
everyone of those programs contribute to several things. one is your building audacity one of the finest audio manipulation tools. Two your building ffmpeg that is the base to to everything. three your build libquick time this lets you play about every format out there. then your building kdenlive and that is the next best thing to adobe for video manipulation. did you ever look at all the programs that have to be built for "clementine" it requires vlan and that is 85 percent of what we have there.
okay... I am having problems with audio so I uninstalled the pulseaudio package that came with dropline GNOME because the Slackbuild is an updated version and:

Code:
sboinstall pulseaudio
and the build failed looking for those files libEGL.la or whatever (I forget atm)
so I:
Code:
slackpkg reinstall mesa
Code:
sboinstall pulseaudio
and everything built properly so I am partly happy.

looks like reinstalling that package will make software compiling work (yay) but I am not marking this thread as [SOLVED] because however, I can run dropline GNOME; but rendering is VERY poor and I am experiencing things like text disappearing from the bottom line of xchat whenever anyone types a new message. (the userlist also behaves the same way whenever a user joins or parts) Also, I have noticed parts of my webpage (Google) like the user information app (top right when logged into google.com or google.ca) also disappearing when I hover over it with the mouse or even doing nothing at all! So it looks like my xorg.conf is going to need a little tweaking for dropline GNOME to function properly. And I really want this to happen. here is a section of my xorg.conf that I am using for opengl and composite:

Code:
Section "Module"
	Load  "glx"
EndSection
and:
Code:
Section "Screen"
	Identifier "Screen2"
	Device     "Card2"
	Monitor    "Monitor2"
	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
	# Compositing manager
		Option         "Composite" "Enable"
    		Option         "RenderAccel" "true"
    		Option         "TripleBuffer" "true"
    		Option         "AllowGLXWithComposite"
      		Option         "DPMS" "true"
    		Option         "AddARGBGLXVisuals" "True"
EndSection
I can run all my ccsm effects and emerald without any problems except a bit of memory usage in XFCE just fine so I was assuming that what I had found on Google to tweak my xorg.conf was working, but I guess I am missing something. Think you can help?

and I understand about installing and linking with:
Quote:
after extracting the package thats all slackware packages are are tar ball so assume your in root. open a terminal type mkdir mesa then cd mesa . type ls and you will see etc, install, usr cd /usr/lib for 32 bit for 64 bit it would be /usr/lib64
Code:
ln -s libGL.la  /usr/lib/libGL.la 
ln -s  libEGL.la /usr/lib/libEGL.la
I don't have dolphin (or KDE for that matter) installed so I can't make a link that way, but oh well... I am smart enough to do it from the terminal. so I think that is probably the best way to do it and am going to do it that way in a bit here. I would REALLY appreciate your help on tweaking the nVIDIA driver to work properly with GNOME. I's a pet install, and I am really happy with it (except for my audio problem). (here)

RSVP

Last edited by scarrz; 08-30-2014 at 02:31 PM. Reason: because
 
Old 08-30-2014, 08:44 PM   #12
scarrz
Member
 
Registered: Aug 2014
Location: Thunder Bay, Ontario
Distribution: Slackware, Ubuntu
Posts: 80

Rep: Reputation: Disabled
Unhappy now dropline won't start...

unfortunately dropline GNOME won't start now. was doing some Googling to tweak my xorg.conf to get rid of the odd rendering problems I was having and things are running smoothly in XFCE... but from runlevel 3 when I run startx to GNOME, GNOME starts, and I get a grey screen with "oops" something has gone wrong and a window pops up to unlock my keyring; then x locks up. here is my current xorg.conf that works just fine with XFCE:

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig and edited as such by scarrz
# nvidia-xconfig:  version 340.32  (buildmeister@swio-display-x64-rhel04-01)  Tue Aug  5 21:15:33 PDT 2014

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

Section "Files"
    FontPath        "/usr/lib64/X11/fonts/misc/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/misc/"
    FontPath        "/usr/lib64/X11/fonts/Type1/"
    FontPath        "/usr/lib64/X11/fonts/Speedo/"
    FontPath        "/usr/lib64/X11/fonts/100dpi/"
    FontPath        "/usr/lib64/X11/fonts/75dpi/"
    FontPath        "/usr/lib64/X11/fonts/cyrillic/"
    FontPath        "/usr/lib64/X11/fonts/TTF/"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

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

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "DELL"
    ModelName      "15 inch"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
	Option		"Composite" "Enable"
    	Option		"RenderAccel" "true"
    	Option		"TripleBuffer" "true"
    	Option		"AllowGLXWithComposite"
    	Option		"AddARGBGLXVisuals" "true"
	Option		"GLXVBlank" "true"
    EndSubSection
EndSection
 
Old 09-04-2014, 10:17 PM   #13
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
before you tweak it just recompile the driver. or run nvidia-xconfig it will read your monitor and set it up.
usually auto.
 
  


Reply


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
Newbie using Mandriva and KDE. Compiz, emerald, ccsm, fusion-icon can't seem to work. nando321 Mandriva 2 06-13-2011 11:59 AM
[SOLVED] ccsm Slackware 13 compiz-fusion desertViking Slackware 6 09-14-2009 09:41 AM
Ubuntu Compiz-Fusion/Emerald Help Thikr Linux - Newbie 1 09-02-2009 03:20 PM
No title-bar in kubuntu with compiz fusion and emerald Etheris Linux - Desktop 5 03-07-2008 09:48 AM
Compiz Fusion + Emerald = invisible borders Dark Carnival Linux - Software 0 08-06-2007 03:10 PM

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

All times are GMT -5. The time now is 05:14 PM.

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