sony-vaio-z-series team mailing list archive
-
sony-vaio-z-series team
-
Mailing list archive
-
Message #00583
Re: Switching Intel/nVidia with Upstart on Karmic
Hello Wayde,
Am Sonntag, den 04.10.2009, 21:46 +0200 schrieb Wayde:
> In karmic, there is no more xorg.conf but we can create one and the
> options in it are used when X starts.
In my Karmic still an xorg.conf exists, specially because of the uxa
acceleration:
Option "AccelMethod" "uxa"
Or do you know an other way without xorg.conf to use that acceleration?
> You have missed a ".1" in the libgl name in the part between the marks
> (>> .. <<)
> libgl='/usr/lib/libGL.so.1'
> libglx='/usr/lib/xorg/modules/extensions/libglx.so'
No, that is not forgotten, that is done extra! It does a readlink loop
until the last and real linktarget is found:
while readlink $libgl; do
libgl=/usr/lib/$(basename `readlink $libgl`);
done
after that loop, the variable "$libgl" bears the last and definitive
target, even if that is not libGL.so.1 but (like in my case)
libGL.so.1.2 (or maybe in future: libGL.so.2.xy)
The system itself looks on LibGL.so (and reads the link), if that one
day gets a libGL.so.2 as target, my Script still works correct.
The same with the nvidia lib-version. You can update your nvidia driver,
my scripts will use allways the highest installed version it can find.
> And for the grub parameters in Karmic there is grub2, so we should add
> them to /etc/default/grub :
> GRUB_CMDLINE_LINUX="acpi_osi=\"!Windows 2006\" acpi_backlight=vendor"
Thank you for that Information, My Machine does still use grub(1) for
compatibility reasons but I will provide your Information on the linked
website. Thanks.
> I'll continue the install and tell you what happens after.
Thank you in advance.
Raphael
> On Sun, Oct 4, 2009 at 8:09 PM, Raphael Gradenwitz
> <raphael@xxxxxxxxxxxxxxxxx> wrote:
> Am Freitag, den 02.10.2009, 00:09 +0200 schrieb Raphael
> Gradenwitz:
> > ....
> > I saw that there are different outputs from lspci on
> different models,
>
> > so I had to change the init-scripts a little bit for
> autodiscovery. [1]
> > Finally i wrote a script called:
> >
>
> > /etc/X11/switch-x-to {intel|nvidia|
> load-nvidia-settings} [2]
> >
> > that must be invoked with one of the three arguments between
> the "{ }".
> >
> > the first two arguments are self explanatory, the last one I
> use to load
> > my nVidia Settings as I manage them in the settings-Manager
> from nVidia:
> >
> > sudo apt-get install nvidia-settings
> >
> > that makes a complicated xorg.conf file unnecessary but one
> have first
> > to run the nvidia-settings manager and setup a rc-file, save
> the
> > settings you want to restore on reboot and enter the path to
> that
> > rc-file in the top of the 'switch-x-to'-script.
> >
> > Now I invoke this scripts with the Upstart mechanism with
> the
>
> > file /etc/init/gdm.conf...
>
> I have changed this procedure again a little bit because after
> an
> upstart or gdm upgrade those changes could/(should) be
> overwritten.
> I now defined two upstart jobs. Those will not be overwritten.
>
> The exact changes I made and some other stuff is noted here:
>
> http://global-social.net/tiki-view_blog.php?blogId=3
>
>
> (Yes, I know, the server was down yesterday)
>
> regards,
> Raphael
>
>
>
> > [1] = wiki-page explaining everything for newbies
> > [2] = switch-x-to script
> >
> > [1] http://global-social.net/tiki-view_blog.php?blogId=3
> > [2] http://global-social.net/files/switch-x-to
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
Follow ups
References