From Fedora Project Wiki
(Created page with "{{QA/Test_Case |description=This test case test GPU switching feature in some laptops. Both Optimus (nVidia + Intel) and PowerXpress (ATI + Intel) are supported. |setup=Add th...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=This test case test GPU switching feature in some laptops. Both Optimus (nVidia + Intel) and PowerXpress (ATI + Intel) are supported. | |description=This test case test GPU switching feature in some laptops. Both Optimus (nVidia + Intel) and PowerXpress (ATI + Intel) are supported. | ||
|setup=Add the following line to /etc/fstab: | |setup=Enable nVidia Optimus or ATI PowerXpress in your BIOS setup. | ||
Add the following line to /etc/fstab: | |||
<pre>none /sys/kernel/debug debugfs defaults 0 0</pre> | <pre>none /sys/kernel/debug debugfs defaults 0 0</pre> | ||
Mount debugfs: {{command|mount /sys/kernel/debug}} | |||
|actions= | |actions= | ||
# Check which GPU you are using right now: {{command|glxinfo <nowiki>|</nowiki> grep 'OpenGL renderer'}} Usually integrated GPU (Intel) is default. | |||
# {{command|echo}}. | # Switch to discrete graphics: {{command|echo "DDIS" > /sys/kernel/debug/vgaswitcheroo/switch}}. | ||
# | # Restart X. Usually logout and login back to session is enough. | ||
# | # Check which GPU you are using: {{command|glxinfo <nowiki>|</nowiki> grep 'OpenGL renderer'}} It should be discrete GPU (nVidia or ATI) | ||
# Switch to integrated graphics: {{command|echo "DIGD" > /sys/kernel/debug/vgaswitcheroo/switch}}. | |||
# Restart X. Usually logout and login back to session is enough. | |||
# Check which GPU you are using: {{command|glxinfo <nowiki>|</nowiki> grep 'OpenGL renderer'}} It should be integrated GPU (Intel). | |||
|results= | |results= | ||
# You should successfully switch between GPUs when X restarts, without freezes, graphical artefacts or etc. | |||
# | |||
}} | }} |
Revision as of 19:23, 26 September 2012
Description
This test case test GPU switching feature in some laptops. Both Optimus (nVidia + Intel) and PowerXpress (ATI + Intel) are supported.
Setup
Enable nVidia Optimus or ATI PowerXpress in your BIOS setup.
Add the following line to /etc/fstab:
none /sys/kernel/debug debugfs defaults 0 0
Mount debugfs: mount /sys/kernel/debug
How to test
- Check which GPU you are using right now:
glxinfo | grep 'OpenGL renderer'
Usually integrated GPU (Intel) is default. - Switch to discrete graphics:
echo "DDIS" > /sys/kernel/debug/vgaswitcheroo/switch
. - Restart X. Usually logout and login back to session is enough.
- Check which GPU you are using:
glxinfo | grep 'OpenGL renderer'
It should be discrete GPU (nVidia or ATI) - Switch to integrated graphics:
echo "DIGD" > /sys/kernel/debug/vgaswitcheroo/switch
. - Restart X. Usually logout and login back to session is enough.
- Check which GPU you are using:
glxinfo | grep 'OpenGL renderer'
It should be integrated GPU (Intel).
Expected Results
- You should successfully switch between GPUs when X restarts, without freezes, graphical artefacts or etc.