Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Civilatio« (07.06.2011, 11:05)
Quellcode |
|
1 2 3 4 5 |
GRUB_DEFAULT=0GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=10 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=Linux radeon.modeset=0" GRUB_CMDLINE_LINUX="" |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
#!/bin/sh -e# # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. modprobe radeon chown -R $USER:$USER /sys/kernel/debug echo OFF > /sys/kernel/debug/vgaswitcheroo/switch exit 0 |
Quellcode |
|
1 |
sudo gedit /etc/init.d/DisOn |
Quellcode |
|
1 2 |
#!/bin/sh echo ON > /sys/kernel/debug/vgaswitcheroo/switch exit 0 |
Quellcode |
|
1 2 3 |
sudo chmod +x /etc/init.d/DisOn sudo ln -s /etc/init.d/DisOn /etc/rc0.d/K10DisOn sudo ln -s /etc/init.d/DisOn /etc/rc6.d/K10DisOn |
Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »Civilatio« (09.08.2011, 15:13)
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »axolotl« (16.06.2011, 18:46)
Benutzerinformationen überspringen
User
Registrierungsdatum: 04.11.2011
Derivat: Ubuntu
Architektur: 64-Bit PC
Desktop: GNOME 2.x
Quellcode |
|
1 |
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash modeset=1 hybridopts=ON,IGD,OFF i915.i915_enable_rc6=1 pcie_aspm=force i915.lvds_downclock=1" |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
#!/bin/sh [ -f /sys/kernel/debug/vgaswitcheroo/switch ] || exit $NA case "$1" in hibernate|suspend) echo ON > /sys/kernel/debug/vgaswitcheroo/switch ;; thaw|resume) echo OFF > /sys/kernel/debug/vgaswitcheroo/switch ;; *) exit $NA ;; esac |
Benutzerinformationen überspringen
User
Registrierungsdatum: 04.11.2011
Derivat: Ubuntu
Architektur: 32-Bit PC
Desktop: GNOME 3.0
Benutzerinformationen überspringen
User
Registrierungsdatum: 04.11.2011
Derivat: Ubuntu
Architektur: 64-Bit PC
Desktop: GNOME 2.x
Benutzerinformationen überspringen
User
Registrierungsdatum: 04.11.2011
Derivat: Ubuntu
Architektur: 32-Bit PC
Desktop: GNOME 3.0
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Christopher« (07.11.2011, 11:33)
Benutzerinformationen überspringen
User
Registrierungsdatum: 04.11.2011
Derivat: Ubuntu
Architektur: 64-Bit PC
Desktop: GNOME 2.x
Zitat
Now, you can add a command line to your kernel boot options in /etc/default/grub:
Quellcode
1 GRUB_CMDLINE_LINUX_DEFAULT="quiet splash modeset=1 hybridopts=ON,IGD,OFF"
The above example enables both GPUs, switches to the integrated GPU, and finally turns off the discrete GPU.
Quellcode |
|
1 2 3 4 |
sudo cat /sys/kernel/debug/vgaswitcheroo/switch 0:IGD:+:Pwr:0000:00:02.0 1:DIS: :Off:0000:01:00.0 |
Benutzerinformationen überspringen
User
Registrierungsdatum: 13.12.2015
Derivat: unbekannt
Architektur: unbekannt
Desktop: unbekannt
Zitat
Remove all the fglrx* packages:
sudo apt-get purge fglrx*
Add my PPA in your repositories list:
sudo add-apt-repository ppa:andrikos
Update your package information:
sudo apt-get update
Update the fglrx and intel drivers:
sudo apt-get install fglrx xserver-xorg-video-intel
Don't forget to enable the fglrx driver !!(reboot first)!!
sudo aticonfig --initial --force
shows the actual active gpu.
aticonfig --pxl
to AMD.
aticonfig --px-dgpu
to Intel.
aticonfig --px-igpu
Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »MaCXyLo« (13.12.2015, 01:21)
Sponsorenwerbung: |
Hardware, Computer, PCs, Notebooks & Laptops mit Linux |
Forensoftware: Burning Board®, entwickelt von WoltLab® GmbH
Individuelle Notebooks Laptops - Individuelle Computer PCs - Linux Notebooks & Computers
Lastminute - Ubuntu Linux - Abmahnung - Geek und Nerd Shirt Shop
T-Shirts - sanierung wien