<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Le Blog de Cyril LEVIS&#187; xrandr</title>
	<atom:link href="http://cyril.levis-heb.net/tag/xrandr/feed/" rel="self" type="application/rss+xml" />
	<link>http://cyril.levis-heb.net</link>
	<description>La suite du petit blog de Cyril</description>
	<lastBuildDate>Thu, 24 Dec 2009 13:52:46 +0000</lastBuildDate>
	
	<language>fr</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Mise en veille / Hibernation et optimisation de la Nvidia 8400GS du Dell XPS m1330 sous Ubuntu Hardy</title>
		<link>http://cyril.levis-heb.net/2008/05/09/mise-en-veille-hibernation-et-optimisation-de-la-nvidia-8400gs-du-dell-xps-m1330-sous-ubuntu-hardy/</link>
		<comments>http://cyril.levis-heb.net/2008/05/09/mise-en-veille-hibernation-et-optimisation-de-la-nvidia-8400gs-du-dell-xps-m1330-sous-ubuntu-hardy/#comments</comments>
		<pubDate>Thu, 08 May 2008 22:58:02 +0000</pubDate>
		<dc:creator>cyril</dc:creator>
				<category><![CDATA[Dell]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[XPS m1330]]></category>
		<category><![CDATA[8400gs]]></category>
		<category><![CDATA[hardy]]></category>
		<category><![CDATA[hibernation]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[m1330]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[xps]]></category>
		<category><![CDATA[xrandr]]></category>

		<guid isPermaLink="false">Afin d'avoir un pc qui se met en veille et hiberne rapidement ("rapidement" pour l'hibernation est un gros mot je trouve, encore bien trop lent à mon goût) j'ai réglé mon fichier /etc/default/acpi-support comme ci-dessous, <strong>je ne garanti rien</stro</guid>
		<description><![CDATA[Afin d&#8217;avoir un pc qui se met en veille et hiberne rapidement (&#171;&#160;rapidement&#160;&#187; pour l&#8217;hibernation est un gros mot je trouve, encore bien trop lent à mon goût) j&#8217;ai réglé mon fichier /etc/default/acpi-support comme ci-dessous, je ne garanti rien, mais pour info le mien est régler comme cela et ça fonctionne très bien.

sudo cp /etc/default/acpi-support [...]]]></description>
			<content:encoded><![CDATA[<p>Afin d&#8217;avoir un pc qui se met en veille et hiberne rapidement (&laquo;&nbsp;rapidement&nbsp;&raquo; pour l&#8217;hibernation est un gros mot je trouve, encore bien trop lent à mon goût) j&#8217;ai réglé mon fichier /etc/default/acpi-support comme ci-dessous, <strong>je ne garanti rien</strong>, mais pour info le mien est régler comme cela et ça fonctionne très bien.</p>
<pre><code>
sudo cp /etc/default/acpi-support /etc/default/acpi-support.bak &amp;&amp; sudo gedit /etc/default/acpi-support
</code></pre>
<pre><code>
# Comment the next line to disable ACPI suspend to RAM
ACPI_SLEEP=true

# Comment the next line to disable suspend to disk
ACPI_HIBERNATE=true

# Change the following to "standby" to use ACPI S1 sleep, rather than S3.
# This will save less power, but may work on more machines
ACPI_SLEEP_MODE=mem

# Add modules to this list to have them removed before suspend and reloaded
# on resume. An example would be MODULES="em8300 yenta_socket"
#
# Note that network cards and USB controllers will automatically be unloaded
# unless they're listed in MODULES_WHITELIST
MODULES="uvcvideo"

# Add modules to this list to leave them in the kernel over suspend/resume
MODULES_WHITELIST=""

# Should we save and restore state using the VESA BIOS Extensions?
#SAVE_VBE_STATE=true
SAVE_VBE_STATE=false

# The file that we use to save the vbestate
VBESTATE=/var/lib/acpi-support/vbestate

# Should we attempt to warm-boot the video hardware on resume?
POST_VIDEO=false

# Save and restore video state?
# SAVE_VIDEO_PCI_STATE=true

# Should we switch the screen off with DPMS on suspend?
USE_DPMS=true

# Use Radeontool to switch the screen off? Seems to be needed on some machines
# RADEON_LIGHT=true

# Uncomment the next line to switch away from X and back again after resume.
# This is needed for some hardware, but should be unnecessary on most.
DOUBLE_CONSOLE_SWITCH=false

# Set the following to "platform" if you want to use ACPI to shut down
# your machine on hibernation
HIBERNATE_MODE=shutdown

# Comment this out to disable screen locking on resume
LOCK_SCREEN=true

# Uncomment this line to have DMA disabled before suspend and reenabled
# afterwards
DISABLE_DMA=true

# Uncomment this line to attempt to reset the drive on resume. This seems
# to be needed for some Sonys
# RESET_DRIVE=true

# Add services to this list to stop them before suspend and restart them in
# the resume process.
STOP_SERVICES="networking"

# Restart Infra Red services on resume - off by default as it crashes some
# machines
RESTART_IRDA=false

# Switch to laptop-mode on battery power - off by default as it causes odd
# hangs on some machines
ENABLE_LAPTOP_MODE=false

# Spindown time on battery
SPINDOWN_TIME=12
</code></pre>
<p>Vous devez également modifier dans /etc/X11/xorg.conf la partie concernant la carte graphique.<br />
La partie concernant la carte nvidia 8400gs avec les drivers propriétaires fournis dans Ubuntu Hardy est ainsi :</p>
<pre><code>
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak &amp;&amp; sudo gedit /etc/X11/xorg.conf
</code></pre>
<pre><code>
Section "Device"
    Identifier     "nVidia Corporation G80 [GeForce 8400M GS]"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "nVidia Corporation G80 [GeForce 8400M GS]"
    Monitor        "Écran générique"
    DefaultDepth    24
    Option         "RenderAccel" "true"
    Option         "AllowGLXWithComposite" "true"
    Option         "AddARGBVisuals" "True"
    Option         "AddARGBGLXVisuals" "True"
    Option         "OnDemandVBlankInterrupts" "True" # Optimisation
    Option         "Coolbits" "0" # Passer à 1 pour permettre l'overclocking, à vos risque et péril !
    Option         "TripleBuffer" "true"
    Option         "NoLogo" "True" # Pas de logo au démarrage
    Option         "RandRRotation" # Rotation de l'écran avec la commande xrandr -o left par exemple
    Option         "NvAGP" "1" # Résout problême d'hibernation
    SubSection     "Display"
        Depth       24
        Modes      "1280x1280"
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection
</code></pre>
<p>Regarder les commentaires de celui-ci, je n&#8217;ai pas tout détaillé.</p>
<p>Avec ce xorg, compiz fonctionnel, pas de problème de <strong>mise en veille / hibernation</strong>, rotation de l&#8217;écran avec <strong>xrandr possible</strong> !</p>
<p>En espérant que ça vous soit utile !</p>
]]></content:encoded>
			<wfw:commentRss>http://cyril.levis-heb.net/2008/05/09/mise-en-veille-hibernation-et-optimisation-de-la-nvidia-8400gs-du-dell-xps-m1330-sous-ubuntu-hardy/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
