LinuxQuestions.org
Register a domain and help support LQ
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 01-25-2013, 08:50 AM   #1
unkn(0)wn
Member
 
Registered: Aug 2011
Distribution: Slackware 14, Debian 7.0.0 Wheezy, Windows 7, Windows 8
Posts: 116

Rep: Reputation: Disabled
Few minor questions about new Slackware installation.


First of all i would like to tell you this is most stable Linux Distro i had ever seen after Debian. I am also using Ubuntu 12.10 and i crashes twice a DAY!

Now when i finally found such a great distro i would like to furnish it a little. So kindly, if possible help me in it.

1. My brightness Control on DELL XPS L501X are not working. Currently i am using
Code:
 echo 2000 > /sys/class/backlight/intel_backlight/brightness
to maintain my display but i want my keys doing that. As in ubuntu it was usually fixed by adding
Code:
GRUB_CMDLINE_LINUX="quiet splash acpi_backlight=vendor"
.

2. It's like 15 times i already tried installing Nvidia drivers on my every Linux Distro i used and all of them had given me nothing but broken X.
Can i install my NVIDIA GEFORCE GT 420M drivers on Slackware without broking my X ?
 
Old 01-25-2013, 09:51 AM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,608

Rep: Reputation: 583Reputation: 583Reputation: 583Reputation: 583Reputation: 583Reputation: 583
Congratulations on your recent promotion to Slackware. A little knowledge and willingness to adjust stuff is presumed, but the result is stable, and you know what's going on.

1. There are events that can be mentioned in /etc/acpi/events. The only entry there at the moment is probably a default. move that somewhere, and in an console, run
Quote:
/etc/rc.d/rc.acpid stop
acpid -l
tail -f /var/log/messages
The end of the log will remain open and acpi events will appear in the log. Try the lid button, and each of the Fn + Fn combinations.You'll have scripts and events aplenty in ubuntu, and just copy the style. The event has the form

ACPI_EVENT_NAME
/etc/acpi/this_script

/etc/acpi/this_script has the form

Write an intro
make a few checks
do something

2. The Nvidia driver. Provided you haven't had the ati driver blob installed, go for it. When it blows up, be sure to notice how :-P. Somebody will have written a doc on it.
 
Old 01-25-2013, 09:55 AM   #3
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,650

Rep: Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233
(1) Just put the line:

echo 2000 > /sys/class/backlight/intel_backlight/brightness

in /etc/rc.d/rc.local.

It will be executed at every startup.

(2) Use the slackbuilds for nvidia-driver and nvidia-kernel available @ http://slackbuilds.org

Read carefully the instructions.

PS Re-reading your post I see that business_kid's answer is better for (1).

Last edited by Didier Spaier; 01-25-2013 at 10:00 AM.
 
Old 01-25-2013, 11:17 AM   #4
unkn(0)wn
Member
 
Registered: Aug 2011
Distribution: Slackware 14, Debian 7.0.0 Wheezy, Windows 7, Windows 8
Posts: 116

Original Poster
Rep: Reputation: Disabled
Thanks for listening me, and sorry for being a Noob, but...

1.
Code:
#Lowering brighness key
Jan 26 09:51:26 unkn0wn-XPS acpid: procfs received event "video DD02 00000087 00000000"
Jan 26 09:51:26 unkn0wn-XPS acpid: rule from 2381[0:4] matched
Jan 26 09:51:26 unkn0wn-XPS acpid: notifying client 2381[0:4]
Jan 26 09:51:26 unkn0wn-XPS acpid: 1 total rule matched
Jan 26 09:51:26 unkn0wn-XPS acpid: procfs completed event "video DD02 00000087 00000000"


#Increasing brighness key
Jan 26 09:51:28 unkn0wn-XPS acpid: procfs received event "video DD02 00000086 00000000"
Jan 26 09:51:28 unkn0wn-XPS acpid: rule from 2381[0:4] matched
Jan 26 09:51:28 unkn0wn-XPS acpid: notifying client 2381[0:4]
Jan 26 09:51:28 unkn0wn-XPS acpid: 1 total rule matched
Jan 26 09:51:28 unkn0wn-XPS acpid: procfs completed event "video DD02 00000086 00000000"
is the result of above activity. Now how do i define/assign work to this activity?
I tried loading Ubuntu's script into slackware but didn't succeed!

2. Real panic is in this one. I dont want to lose my X again! I alreavy have nouveau installed. Should i remove nouveau before installing non-free drivers?

if yes,
What do i install first?
Nvidia-kernel or Nvidia Driver ?

thanks for bearing me.

Last edited by unkn(0)wn; 01-25-2013 at 11:24 AM.
 
Old 01-25-2013, 11:20 AM   #5
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,495

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
You can't install the nvidia driver because their driver don't support optimus on linux, so you have to use the intel ones.

I know that you got an optimus laptop from here (pag.54)
http://support.dell.com/support/edoc...n/SG/sg_en.pdf
 
Old 01-25-2013, 11:31 AM   #6
unkn(0)wn
Member
 
Registered: Aug 2011
Distribution: Slackware 14, Debian 7.0.0 Wheezy, Windows 7, Windows 8
Posts: 116

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
You can't install the nvidia driver because their driver don't support optimus on linux, so you have to use the intel ones.
Thats sad. I have heard something about "Bumblebee" but never tried it. Is there nothing i can do? It's painful to see system at 60+ degrees C.

Again, i was searching and found this http://in.download.nvidia.com/XFree8...E/optimus.html . Please do read.

Last edited by unkn(0)wn; 01-25-2013 at 11:40 AM. Reason: Found a link later.
 
Old 01-25-2013, 11:45 AM   #7
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,495

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
Quote:
Originally Posted by unkn(0)wn View Post
Is there nothing i can do?
Linus himself tried showing the finger to Nvidia, I suppose to point them in the right direction, but seems it hadn't helped.

It's a very remote possibilty because I avoid those models like plague, but if some relative will gift me of an optimus laptop (never had such gifts!), I will write to Nvidia to express my pain, they're the only responsible for the commercialization of a windows-only technology (and the ones that can do something).

The document you point to says that if you don't have a switch in the bios to use the nvidia as your primary graphic card you cannot do much.

Last edited by ponce; 01-25-2013 at 11:48 AM.
 
Old 01-25-2013, 11:58 AM   #8
unkn(0)wn
Member
 
Registered: Aug 2011
Distribution: Slackware 14, Debian 7.0.0 Wheezy, Windows 7, Windows 8
Posts: 116

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
commercialization of a windows-only technology
I totally agree with you on this.

Well after reading lots of blogs on Installing Nvidia on Optimus Laptops, i finally decided to leave Nvidia at its own peace. Its really not that much necessary to use it. Although i found few ways to install using BumbleBee, but its worthless until you have some objective in mind, as games, modelling, which i dont have. So i think i'll let intel gpu to work.

As a programmer all i need is compilers and vim , which works much fine on a black screen!

BTW, i was searching some links to learn more about usage of Slackware. I guess Pimp my Slack! will do fine. Will it?
 
Old 01-25-2013, 12:04 PM   #9
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,495

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
the best reads that you can have on the matter are docs.slackware.com and the slackbook.

Last edited by ponce; 01-25-2013 at 12:05 PM.
 
Old 01-25-2013, 12:08 PM   #10
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,134
Blog Entries: 52

Rep: Reputation: Disabled
Quote:
Originally Posted by unkn(0)wn View Post
BTW, i was searching some links to learn more about usage of Slackware. I guess Pimp my Slack! will do fine. Will it?
Yeah, interesting site ( to ponce ). Have a look at the Slackware Documentation Project, as well. There's a link in my signature below.

EDIT
Another to ponce for being a faster typer.

Last edited by brianL; 01-25-2013 at 12:11 PM.
 
1 members found this post helpful.
Old 01-25-2013, 12:22 PM   #11
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,134
Blog Entries: 52

Rep: Reputation: Disabled
And don't forget Alien Bob's blog: Alien Pastures.
 
Old 01-25-2013, 12:43 PM   #12
unkn(0)wn
Member
 
Registered: Aug 2011
Distribution: Slackware 14, Debian 7.0.0 Wheezy, Windows 7, Windows 8
Posts: 116

Original Poster
Rep: Reputation: Disabled
Thank you brainL,

Just few minutes ago before your comment i was reading a thread where you'd provided some solution! I recognized you by your description line!
Code:
If at first you don't succeed, read the instructions.
. Funny it totally applies on me!

By the way, i am going to open new thread about installation of mysql-workbench on slackware 14. I'll be helped fast if you guys can take a look there! Thank you.
 
Old 01-25-2013, 12:59 PM   #13
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,134
Blog Entries: 52

Rep: Reputation: Disabled
Quote:
Originally Posted by unkn(0)wn View Post
Thank you brainL,

Just few minutes ago before your comment i was reading a thread where you'd provided some solution!
That's rare - me knowing a solution. Almost a miracle.
Quote:
Originally Posted by unkn(0)wn View Post
I recognized you by your description line!
Code:
If at first you don't succeed, read the instructions.
. Funny it totally applies on me!
Me, too. Even worse, I read instructions, then do what I think they've said instead of what they've actually said.
 
Old 01-25-2013, 03:19 PM   #14
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,445
Blog Entries: 4

Rep: Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505
Member Response

Hi,

Look here;
Quote:
Originally Posted by onebuck View Post
Hi,

I just finished with a bumblebee install for Nvidia Optimus on a Dell XPS. Nice work by jgeboski for the Bumblebee.Slackbuild which was updated 5 days ago; Previous build was six months old and would not work on this XPS. The README is very helpful so a user should follow this to the 'T'.

One thing is to be sure to use: http://slackware.mirrors.tds.net/pub...eau-blacklist/ or manually blacklist nouveau. Be sure to restart your 'X' session.

NASA picture of the day looks beautiful in firefox using 'optirun firefox'. I have been running 'optirun firefox' since the install on Slackware 14.0 Rc5. Fan does run and temps remain stable.

Awesome!
And here;
Quote:
Originally Posted by onebuck View Post
Hi,

Optimus on some equipment does require additional work to get things going. While others just won't work.
On my Dell XPS it took some time & effort to get things going with BumbleBee: https://www.linuxquestions.org/quest...ml#post4801567

I do think you should really look at the video adapters for the netbook. If you use 'Optimus' the battery won't last long.
I run 'optirun firefox' and boy you can tell the differnce from the Intel GPU. No performance problems when you setup 'Bumblebeed' properly.

If you do a search here at LQ Slackware forum for 'optimus' and 'onebuck' author you will find more post to help setup your Dell laptop. Why waste good hardware when it is just a matter of setting things up properly?

BTW, If you are using 'KDE' then you need to use the 'Fn' plus 'F4' or 'F5' when wanting to set brightness up or down.
HTH!
 
1 members found this post helpful.
Old 01-25-2013, 05:45 PM   #15
unkn(0)wn
Member
 
Registered: Aug 2011
Distribution: Slackware 14, Debian 7.0.0 Wheezy, Windows 7, Windows 8
Posts: 116

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by onebuck View Post
Why waste good hardware when it is just a matter of setting things up properly?

BTW, If you are using 'KDE' then you need to use the 'Fn' plus 'F4' or 'F5' when wanting to set brightness up or down.
Thanks onebuck for your suggestion. Just to use my hardware properly i was still trying to install Nvidia drivers. But this process always took much of my time. Thats why i didn't wanted to mess with my beautiful Slackware like other Distros.

Also, i am aware of Fn+F4 keys, they are just not working!

Thank you!

EDIT: And guess what i also found a LQ moderator with same System configuration working on same distro as me!

Last edited by unkn(0)wn; 01-25-2013 at 05:47 PM. Reason: Included.
 
  


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
A Few Slackware Re-installation Questions Konphine Slackware 5 01-26-2012 12:46 AM
pre installation questions for slackware? rixtr66 Linux - Newbie 5 08-17-2008 12:28 PM
A Few Preliminary Slackware 10.1 Installation Questions conductor Slackware - Installation 4 02-23-2005 05:53 AM
A few minor MySQL questions Bigun Linux - Software 11 06-13-2003 02:01 AM
Just a couple of minor Boot questions... Bob Taylor Linux - General 3 03-17-2003 06:14 PM


All times are GMT -5. The time now is 11:04 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration