Displaying 20 results from an estimated 55 matches for "vgaswitcheroo".
Did you mean:
vga_switcheroo
2011 Dec 17
1
properly check for _DSM function support and Optimus support for vga_switcheroo
...This adds
a proper
check whether a _DSM function is supported or not and make OFF / ON for
vga_switcheroo work for nVidia Optimus models. The patch is based against
the
mainline kernel.
It has been tested on my Clevo B7130 laptop running kernel 3.2 which has a
GT425M
dGPU:
# cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :Pwr:0000:01:00.0
# tee /sys/kernel/debug/vgaswitcheroo/switch <<<OFF
OFF
# cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :Off:0000:01:00.0
# tee /sys/kernel/debug/vgaswitcheroo/switch <<<ON
ON
# cat /sys/kernel/d...
2013 Sep 10
6
[Bug 69180] New: Delays when using nouveau and switcheroo
...cified
Component: Driver/nouveau
Product: xorg
Created attachment 85566
--> https://bugs.freedesktop.org/attachment.cgi?id=85566&action=edit
lspci output
First of all: you did a very good job! Actually I wanted to report an X server
crash and a kernel panic in nouveau/vgaswitcheroo in Ubuntu 13.04, but now that
I installed the latest version of nouveau I see that these bugs are gone!
However, there are still some other bugs in the latest version that I want to
report.
Kernel version: 3.11.0-031100-generic
DRM version: 1.1.0 20060810
Nouveau version: 1.1.1 20120801
I did a o...
2013 May 18
14
[Bug 64746] New: optimus don't use nouveau card
https://bugs.freedesktop.org/show_bug.cgi?id=64746
Priority: medium
Bug ID: 64746
Assignee: nouveau at lists.freedesktop.org
Summary: optimus don't use nouveau card
Severity: normal
Classification: Unclassified
OS: All
Reporter: marccollin7379 at gmail.com
Hardware: Other
Status: NEW
2014 Nov 21
2
[Bug 86503] New: Discrete card seems to be powered on even if reported as Off
...ver/nouveau
Assignee: nouveau at lists.freedesktop.org
Reporter: mszpak at wp.pl
QA Contact: xorg-team at lists.x.org
Following up Bug 70895.
On Fedora 21 with 3.17.3-300.fc21.x86_64 when booting with nouveau.runpm=0 I
have both cards on:
$ $ sudo cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :Pwr:0000:01:00.0
and after:
# echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
I have:
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :Off:0000:01:00.0
Looks ok, but I still see 3 providers:
$ xrandr --listproviders
Providers: number : 3
Provider 0: id: 0x90 cap: 0xb...
2013 Oct 26
4
[Bug 70895] New: BUG: soft lockup - CPU#0 stuck for 22s! [Xorg:1292] after disable descrete card with switcheroo
...NEW
Version: unspecified
Component: Driver/nouveau
Product: xorg
Created attachment 88154
--> https://bugs.freedesktop.org/attachment.cgi?id=88154&action=edit
kernel log with stack trace
After disable discrete graphics with:
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
nouveau drivers seems to react:
kernel: [ 113.072192] VGA switcheroo: switched nouveau off
Oct 26 16:07:52 localhost kernel: [ 113.072208] ACPI Warning:
\_SB_.PCI0.PEGR.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI
requires [Package] (20130517/nsarguments-95)
kernel: [ 113....
2012 Oct 24
1
Nouveau soft lockup after switcheroo'd...
...U, which hangs as it is in D3 [1]
> (drm.debug is set to 14 here).
>
> Full kernel 3.6.2 boot logs with drm.debug=5 are at:
> http://quora.org/2012/mbp-i915-panel.txt
>
> What additional information will help debug this?
I'm seeing this on 3.7-rc2 also:
cat /sys/kernel/debug/vgaswitcheroo/switch
0:DIS:+:Pwr:0000:01:00.0
1:IGD: :Pwr:0000:00:02.0
2:DIS-Audio: :Pwr:0000:01:00.1
echo IGD >/sys/kernel/debug/vgaswitcheroo/switch
echo OFF >/sys/kernel/debug/vgaswitcheroo/switch
after boot+40s:
BUG: soft lockup - CPU#0 stuck for 22s! [Xorg:1703]
Modules linked in: dm_crypt snd_hda_...
2024 Aug 12
1
[PATCH v2 1/9] drm: Do delayed switcheroo in drm_lastclose()
...> > v2:
> > > > - move change to drm_lastclose() (Sima)
> > > > - update docs for vga_switcheroo_process_delayed_switch()
> > > >
> > > > Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> > > A bit an aside: The entire vgaswitcheroo code is still a midlayer mess,
> > > where the locking is at the wrong layers resulting in the can_switch check
> > > potentially being racy. But that's a different can of worms.
> > Ok I got a bit annoyed about this mess again, and I think I have a
> > reasonable...
2024 Aug 12
1
[PATCH v2 1/9] drm: Do delayed switcheroo in drm_lastclose()
...fect on other
> > hardware.
> >
> > v2:
> > - move change to drm_lastclose() (Sima)
> > - update docs for vga_switcheroo_process_delayed_switch()
> >
> > Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
>
> A bit an aside: The entire vgaswitcheroo code is still a midlayer mess,
> where the locking is at the wrong layers resulting in the can_switch check
> potentially being racy. But that's a different can of worms.
Ok I got a bit annoyed about this mess again, and I think I have a
reasonable idea for how to address it. Not sure wh...
2024 Aug 12
1
[PATCH v2 1/9] drm: Do delayed switcheroo in drm_lastclose()
...;>> hardware.
>>>
>>> v2:
>>> - move change to drm_lastclose() (Sima)
>>> - update docs for vga_switcheroo_process_delayed_switch()
>>>
>>> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
>> A bit an aside: The entire vgaswitcheroo code is still a midlayer mess,
>> where the locking is at the wrong layers resulting in the can_switch check
>> potentially being racy. But that's a different can of worms.
> Ok I got a bit annoyed about this mess again, and I think I have a
> reasonable idea for how to addres...
2017 Jan 24
1
[PATCH 2/2] drm/nouveau: Queue hpd_work on (runtime) resume
...if i either
a) Boot a MacPro test machine which has two discrete cards, one radeon,
one geforce, but the displays are only connected to the radeon, whereas
the nvidia gpu has no displays connected during boot.
b) On a gmux'ed MacBookPro 2010 intel + nvidia if i switch to the intel
card via vgaswitcheroo (echo IGD > ...vgaswitcheroo/switch) and then
after nouveau has powered down the nvidia, i use echo ON >
...vgaswitcheroo/switch) to power up the nvidia again, but now with
nothing connected to its outputs.
I can prevent the hang if i either boot with nouveau.runpm=0, or connect
displays...
2017 Mar 09
5
[Bug 100139] New: [DRI2][PRIME] nouveau driver cannot find any connected connector
...messages on dmesg:
[ 12.404679] nouveau 0000:01:00.0: No connectors reported connected with
modes
[ 12.404700] [drm] Cannot find any crtc or sizes - going 1024x768
So I run the following step 6:
$ xrandr --setprovideroutputsource nouveau Intel
But the problem is still the same.
I also try vgaswitcheroo and the switch on discrete card gives me a black
screen too. Fortunately I can switch back to the IGD with my serial line. The
option 'nouveau.runpm=0' do not change the issue, so I guest it's not PM
related.
How can I help to debug this issue ?
--
You are receiving this mail because...
2019 Jun 03
16
[Bug 110830] New: GeForce GTX 1660 Ti (mobile) not supported (NV168/TU116)
https://bugs.freedesktop.org/show_bug.cgi?id=110830
Bug ID: 110830
Summary: [nouveau] GeForce GTX 1660 Ti (mobile) not supported
(NV168/TU116)
Product: xorg
Version: 7.7 (2012.06)
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component:
2024 Aug 12
1
[PATCH v2 1/9] drm: Do delayed switcheroo in drm_lastclose()
...do the delayed switching. The call has no effect on other
> hardware.
>
> v2:
> - move change to drm_lastclose() (Sima)
> - update docs for vga_switcheroo_process_delayed_switch()
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
A bit an aside: The entire vgaswitcheroo code is still a midlayer mess,
where the locking is at the wrong layers resulting in the can_switch check
potentially being racy. But that's a different can of worms.
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> ---
> drivers/gpu/drm/drm_file.c | 4 ++++
> dr...
2017 Jan 17
1
Discrete card is always off even if it is used
...r with an integrated graphic card and a discrete graphic
card, namely:
# lspci | grep -E "VGA|3D"
00:02.0 VGA compatible controller: Intel Corporation Broadwell-U
Integrated Graphics (rev 09)
03:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)
This is confirmed by vgaswitcheroo:
xray:/ # cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :DynOff:0000:03:00.0
Some info:
xray:/ # uname -a
Linux xray 4.9.4-1.gd9de2ec-default #1 SMP PREEMPT Sun Jan 15 16:51:00
UTC 2017 (d9de2ec) x86_64 x86_64 x86_64 GNU/Linux
xray:/var/log # rpm -qa | grep -i nouv...
2016 Nov 26
2
Bug Report on A1286 (Macbook Pro Mid 2012)
Hi Folks,
I did some other bug reports here a while back. I am back again
because I updated my kernel from 3.19.1 to linux-4.8.10-gentoo (if you
want I can test the mainline too). On boot all my GPU's turn on. If I
turn them off via
echo "OFF"> /sys/kernel/debug/vgaswitcheroo/switch
I can't turn them back on. They also do not turn on if I try to change
GPU's. Trying to stop xdm locks the machine so I can't even turn it
off. Suspend/resume still works. None of these problems existed in
3.19.1. I know you will need more info to track down the problem but I
wan...
2013 Oct 14
7
[Bug 70464] New: [NVC3] runpm not working
https://bugs.freedesktop.org/show_bug.cgi?id=70464
Priority: medium
Bug ID: 70464
Assignee: nouveau at lists.freedesktop.org
Summary: [NVC3] runpm not working
QA Contact: xorg-team at lists.x.org
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: michele.cane at gmail.com
2013 Sep 27
0
[Bug 69876] [NVC3] Reverse prime sometimes freezes the machine
...| |machine
--- Comment #2 from Ilia Mirkin <imirkin at alum.mit.edu> ---
Perhaps an interesting resource for you:
http://nouveau.freedesktop.org/wiki/Optimus/
I'm no expect in the matter, but I'm pretty sure that you shouldn't be using
vgaswitcheroo in conjunction with the new runtime pm stuff. Try disabling it
(vgaswitcheroo). Alternatively (or in addition to), try disabling the new
runtime pm logic, perhaps it doesn't work correctly for you.
Is this a new issue? IOW, did this work properly on older kernels? If so, and
the above fails, a...
2014 Jun 14
3
[Bug 80013] New: Cannot turn off nvdia card
...Version: 7.6 (2010.12)
Component: Driver/nouveau
Product: xorg
Created attachment 101028
--> https://bugs.freedesktop.org/attachment.cgi?id=101028&action=edit
/var/log/messages 3.14
Since kernel 3.15, i cannot turn off nvidia video card.
on 3.14
cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :DynOff:0000:01:00.0
on 3.15
1:DIS: DynPwr
if i try echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
that change nothing
--
You are receiving this mail beca...
2011 Feb 18
6
[Bug 34430] New: nouveau driver does not return VGA connector status breaking upower
...Priority: medium
Component: Driver/nouveau
AssignedTo: nouveau at lists.freedesktop.org
ReportedBy: nuada at agh.edu.pl
QAContact: xorg-team at lists.x.org
My laptop (Asus UL80VT) has hybrid graphics: intel+nvidia. After switching
nvidia card off using vgaswitcheroo, upower CPU consumption goes to 100%. If
nvidia card is switched back on, problem dissapeares.
This is caused by nouveau driver not returning VGA connector status properly.
When upowerd tries to read status of all connectors, it hangs waiting for VGA.
Gentoo Linux
kernel: 2.6.38-rc*
xorg-server:...
2012 Oct 13
0
hang after switcheroo'd...
...ee a
ioread32 issued to the discrete GPU, which hangs as it is in D3 [1]
(drm.debug is set to 14 here).
Full kernel 3.6.2 boot logs with drm.debug=5 are at:
http://quora.org/2012/mbp-i915-panel.txt
What additional information will help debug this?
Thanks,
Daniel
--- [1]
cat /sys/kernel/debug/vgaswitcheroo/switch
0:DIS:+:Pwr:0000:01:00.0
1:IGD: :Pwr:0000:00:02.0
2:DIS-Audio: :Pwr:0000:01:00.1
echo IGD >/sys/kernel/debug/vgaswitcheroo/switch
echo OFF >/sys/kernel/debug/vgaswitcheroo/switch
hda-intel: Disabling 0000:01:00.1 via VGA-switcheroo
[drm:drm_crtc_helper_set_config],
[drm:drm_crtc_help...