File: README.md

package info (click to toggle)
switcheroo-control 1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 656 kB
  • sloc: sh: 1,231; ansic: 450; xml: 85; makefile: 81
file content (48 lines) | stat: -rw-r--r-- 1,371 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
switcheroo-control
==================

D-Bus service to check the availability of dual-GPU

See https://developer.gnome.org/switcheroo-control/1.0/ for
developer information.

Installation
------------
```
./configure --prefix=/usr --sysconfdir=/etc
make
make install
```
It requires libgudev and systemd.

```
gdbus introspect --system --dest net.hadess.SwitcherooControl --object-path /net/hadess/SwitcherooControl
```

If that doesn't work, please file an issue, make sure any running switcheroo-control
has been stopped:
`systemctl stop switcheroo-control.service`
and attach the output of:
`G_MESSAGES_DEBUG=all /usr/sbin/switcheroo-control`
running as ```root```.

Disabling automatic switch to integrated GPU
--------------------------------------------

By default, on startup and whatever the BIOS settings (which might or
might not be available, depending on the system), we will force the
integrated GPU to be used so that power savings are made by default,
and the discrete GPU is only used for select applications.

If this causes problems, this behaviour can be disabled by passing
`xdg.force_integrated=0` as a kernel command-line options in the
bootloader.

Don't forget to file a bug against your distribution to get the kernel
or graphics drivers fixed, depending on the exact problem at hand.

Tested on
---------

- MacBook Pro (8,2)
- Thinkpad T430s