LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 04-26-2007, 10:06 AM   #1
gearheadgene
LQ Newbie
 
Registered: Apr 2007
Posts: 4

Rep: Reputation: 0
915resolution from rc.local slackware 11.0


Hi all.

I setup 915resolution to allow my laptop screen resolution to work at 1280x800. It works! But there's a catch - I can't get it to work correcly from the boot scripts.

1. I placed the call in the rc.local script "915resolution 38 1280 800 24" (without the quotes),
and while it does execute and responds with the typical information, KDE will not run in 1280x800 mode.

Take it out of the rc.local script, and run it as su, then all is well.

I don't want to type it in every time, so can anyone identify what the problem is?

regards,

gene
 
Old 04-26-2007, 11:43 AM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,755

Rep: Reputation: 466Reputation: 466Reputation: 466Reputation: 466Reputation: 466
Trying using exec before the above commands.
 
Old 04-26-2007, 02:29 PM   #3
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
fully specify the path, works for me.

Code:
#!/bin/sh
#
# /etc/rc.d/rc.local:  Local system initialization script.
#
# Put any local startup commands in here.  Also, if you have
# anything that needs to be run at shutdown time you can
# make an /etc/rc.d/rc.local_shutdown script and put those
# commands in there.
/usr/sbin/915resolution 38 1280 800
/usr/sbin/915resolution 58 1280 800
you _should_ see 915 resolution echoing a message about doing its magic. also immediately after boot try
Code:
915resolution -l
to see if its actually working.
 
Old 04-26-2007, 02:47 PM   #4
sreyesp
LQ Newbie
 
Registered: Apr 2007
Posts: 12

Rep: Reputation: 0
Actually, I don't think you need 915resolution anymore. The X server version Slackware 11.0 includes was patched for i945GM support, both in 2D and 3D. When I installed -11.0 in my Toshiba A105, all I had to was 'X -configure' as root, and edit the xorg.conf generated to add my preferred DefaultDepth and the DRI permissions section. The X server works out-of-the-box and detects the 1280x800 LCD panel without any problems.
 
Old 04-26-2007, 04:57 PM   #5
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
Quote:
I don't think you need 915resolution anymore...The X server works out-of-the-box and detects the 1280x800 LCD panel without any problems.
you are then the lucky one my friend... mine still requires i915resolution fix
 
Old 04-27-2007, 09:18 PM   #6
gearheadgene
LQ Newbie
 
Registered: Apr 2007
Posts: 4

Original Poster
Rep: Reputation: 0
I got it all working now.

1. Ran xorgsetup. It chose the i810 driver. Loads DRI and GLX. Sets DefaultDepth to 24. Interestingly, it does not setup a choice for screen resolution. I chose to leave it that way, and see what happens.

2. Run 915resolution 38 1200 800 24

that's it, and now my KDE runs at 1200x800 in 24-bit mode.

I followed this up with setting my rc.local with the line in item 2, above. Works every time. I get 2 choices for screen resolution from within KDE: 1280x800, or 1024x768.

In the future, maybe I will try out X.org version X11R7.2 since it supports intel 945GM, which I have. Not sure what the difference will be, since the i810 is working, but I'd like to see it!
 
  


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
915resolution on MEPIS 3.4 protonluke Linux - Newbie 5 04-02-2007 02:12 PM
915resolution MattJUK Ubuntu 13 01-11-2007 11:40 AM
915resolution on x startup timoioi Ubuntu 2 12-10-2006 02:41 PM
How do I install 915resolution? aznluvsmc Fedora 1 11-26-2006 10:27 AM
915resolution LuvdemHeels Ubuntu 4 01-31-2006 10:05 AM


All times are GMT -5. The time now is 07:15 AM.

Main Menu
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