LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   915resolution from rc.local slackware 11.0 (https://www.linuxquestions.org/questions/slackware-14/915resolution-from-rc-local-slackware-11-0-a-549193/)

gearheadgene 04-26-2007 10:06 AM

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

gnashley 04-26-2007 11:43 AM

Trying using exec before the above commands.

bioe007 04-26-2007 02:29 PM

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.

sreyesp 04-26-2007 02:47 PM

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.

bioe007 04-26-2007 04:57 PM

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 :(

gearheadgene 04-27-2007 09:18 PM

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!


All times are GMT -5. The time now is 02:25 PM.