Summary: | optimus don't use nouveau card | ||
---|---|---|---|
Product: | Mesa | Reporter: | Marc Collin <marccollin7379> |
Component: | Drivers/DRI/nouveau | Assignee: | Nouveau Project <nouveau> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | 9.1 | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
dmesg
var log message when i'm tried vgaswitch Xorg file dmesg august 2013 glxinfo glxinfo_dri_prime xorg_0_log_august |
Description
Marc Collin
2013-05-18 22:59:14 UTC
i tried to use vgaswitch cat /sys/kernel/debug/vgaswitcheroo/switch 0:IGD:+:Pwr:0000:00:02.0 1:DIS: :Pwr:0000:01:00.0 first i tried init 3 echo "0000:00:02.0" /sys/kernel/debug/vgaswitcheroo/switch init 5 still intel video card used by glxgears -info init 3 echo "0000:01:00.0" /sys/kernel/debug/vgaswitcheroo/switch init 5 still intel video card used by glxgears -info Created attachment 79625 [details]
var log message when i'm tried vgaswitch
Hi Marc Can you attach your xorg.log, the link provided returns a 404 What is the output of $ DRI_PRIME=1 glxinfo | grep render Note that Optimus is a very "funny" case and your experience may vary depending on the connections between the GPUs and the outputs - special thanks goes to your laptop manufacturer :) For further information take a look at our wiki [1] [1] http://nouveau.freedesktop.org/wiki/Optimus/ Created attachment 84183 [details]
Xorg file
DRI_PRIME=1 glxinfo | grep render return nothing Hmm something unusual is happening here * the var/messages does not indicate any writes to vgaswitcheroo/switch * the Xorg.log still indicates that the intel card is setup and used as primary So to get a better picture (including timeline) can you do the following 1. Toggle/switch to the nv card $ cat /sys/kernel/debug/vgaswitcheroo/switch $ echo "0000:01:00.0" /sys/kernel/debug/vgaswitcheroo/switch 2. Confirm that the nv card is used (paste the output in your reply) $ cat /sys/kernel/debug/vgaswitcheroo/switch 3. Start X $ init 5 #startx # systemd start {g,k,x}dm and then attach the output of the following (plain text, please) * dmesg * Xorg.0.log * LIBGL_DEBUG=verbose glxinfo * LIBGL_DEBUG=verbose DRI_PRIME=1 glxinfo Thanks cat /sys/kernel/debug/vgaswitcheroo/switch 0:DIS: :Pwr:0000:01:00.0 1:IGD:+:Pwr:0000:00:02.0 don't seem switched? i tried echo DIS > /sys/kernel/debug/vgaswitcheroo/switch but the screen get completly black... so i switched back with echo IGD > /sys/kernel/debug/vgaswitcheroo/switch Created attachment 84911 [details]
dmesg august 2013
Created attachment 84912 [details]
glxinfo
Created attachment 84913 [details]
glxinfo_dri_prime
Created attachment 84914 [details]
xorg_0_log_august
(In reply to comment #7) > cat /sys/kernel/debug/vgaswitcheroo/switch > 0:DIS: :Pwr:0000:01:00.0 > 1:IGD:+:Pwr:0000:00:02.0 > > don't seem switched? > > i tried > echo DIS > /sys/kernel/debug/vgaswitcheroo/switch > > but the screen get completly black... > With "screen" I believe that you're talking about the laptop LVDS? In that case it seems like the nv card is not wired to that output, thus you'll need to do the following * forget about vgaswitcheroo * Follow the instructions on our wiki [1] [1] http://nouveau.freedesktop.org/wiki/Optimus/ Is this still an issue with newer kernels? (e.g. 3.13.x or newer) (In reply to Ilia Mirkin from comment #13) > Is this still an issue with newer kernels? (e.g. 3.13.x or newer) no answer for a long time plus offloading works fine with newer version of the kernel today, so i assume this is fixed. Feel free to reopen the bug if the problem persists... |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.