The issue with swapping is that the processes with swapped out memory cannot execute after triggering a page fault. In other words, your application tries to access memory that has been swapped out, and then the kernel stops it cold until the swap in completes.
There are VM tunables related to swap behavior, but nothing like what you want I'm afraid.
With the --setprovideroutputsource the next argument is the provider you are configuring and the last is the provider acting as the output source. That means that the first id you specify should be that of the card not currently attached to the X display and the second id should be the card on which X initializes itself. You might also need an xorg.conf section to specify your discrete device as the primary for the display before you can attach the discrete as an output slave.
The problem with counting on [testing] to catch issues with new packages is that only packages in [core] go through [testing]. Anything destined for [extra] goes straight to the repository.
Does the Intel GPU show up in the Xorg log? Can you bring up X on an onboard only configuration? I run a dual Nvidia setup so I don't have a lot of recent experience with the Intel driver.
Unfortunately neither the xorg or Multihead pages on the wiki explain how to use XRANDR 1.4 providers to set up multi-GPU configurations. This information is on the DisplayLink and PRIME pages instead.
First, run xrandr --listproviders and make sure that your primary GPU and auxiliary GPU respectively advertise Source Output and Sink Output in their capabilities. If so, cross your fingers and run:
There's a lesser known form of Verlet integration which I was exposed to in my undergrad in applied math/computational physics which was called "velocity verlet" by the instructor. I haven't seen it discussed since, but I think it's worth knowing about since it keeps the velocity explicit (which makes setting initial conditions more natural and provides traction when extending the method to handle dissipative (velocity-dependent) forces).
Assume the following dynamical equations of motion:
That might be kind of confusing, so here's how it works in practice. Each time step repeats the following step (aside from the first, which is only needed to initialize the force field from the initial conditions).
(Initial step only) From the current position x_j calculate the current conservative forces f(x_j).
From the previous information and knowledge of the current velocity, calculate the next position x_{j+1}.
Calculate the conservative forces at the next time step f(x_{j+1}).
Calculate the next velocity.
The important feature of this expression is not that it's accurate to second order, but that it is symplectic. That basically means it preserves important symmetries of the Hamiltonian (which is basically the energy of the system, if you're a physicist you know the whole story and if you're not then you don't care). There's a result in mathematical physics, Noether's Theorem, which relates symmetries in the dynamical structure to conserved quantities. In this case, the crucial symmetry is time reversibility and the conserved quantity is energy. Time reversibility here means that if you take an inverse time step you will recover exactly the previous value state, up to second order.
TL;DR: Verlet integration and its energy conserving properties come from its reversibility, not from the specific dynamics.
The usual problem with loading the nvidia kernel module is the previous loading of the nouveau driver. The nvidia package provides usr/lib/modprobe.d/nvidia.conf which blacklists the nouveau kernel module. Ensure that you've rebooted after installing it and the nouveau module is not loaded, and if nvidia still won't load you should pursue it on on the forums.
Edit: Here's my xorg.conf for Nvidia in case it's helpful.
# Configure one screen using the two cards in SLI.
# Device that binds both cards into a single SLI triple device.
Section "Device"
Identifier "SLI_Triple_Device"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "SLI" "Mosaic"
Option "BaseMosaic" "true"
Option "MetaModes" "GPU-0.DFP-0:1680x1050+0+0,GPU-0.DFP-2:1680x1050+1680+0,GPU-1.DFP-0: 1680x1050+3360+0"
EndSection
# vim: ft=xf86conf sts=2 sw=2 et
Edit 2: If you run [testing] you may install a kernel which broke the ABI of the compiled module package. In this case you will be unable to load the module and dmesg will complain about unresolved symbols.
Well, you probably don't have SLI working under windows either then. :) The class of multimonitor configurations is a superclass of SLI configurations, and what I'm saying only applies to the latter class.
SLI Mosaic is a feature on high-end Quadro cards to tie them all together into a continuous framebuffer with synchronized refresh. BaseMosaic is Mosaic mode without the frame synchronization between displays, but as far as I know still needs SLI. Try it and see, and if it doesn't work you'll need to either use Nouveau or see if the Xrandr 1.4 providers voodoo I posted works with Nvidia.
The iommu=pt option is required only for the proprietary drivers when using BaseMosaic (and probably other SLI modes). It puts the IOMMU into "passthrough" mode which makes it transparent to communication between the devices; apparently Nvidia doesn't properly configure the memory mappings in their kernel driver for this communication.
I think a dock is more like a region to collect little widgets (not the systray, that came later), some of which might be simple launchers. Think NeXT/WindowMaker.
Firstly, it's not as if multiseat management was ever properly working with consolekit. Consolekit was best known for providing the ACLs that let you use sound and video without being a member of the audio or video group, but that system has been in udev forever, and ck basically provided dynamic dbus-based session tracking. That dynamic session tracking duplicates what systemd already does with user instances, so consolekit has been deprecated.
If you want multiseat management, then you need to have the system which assigns ACLs and otherwise manages system devices (udev/systemd) tightly integrated with the login system. Certain USB ports are associated with seats, devices which match those ports then get assigned an ACL permitting access to whoever is logged in at that seat. It sounds simple but it's very hard with classical bsd/sysv style init systems (they're not all that different). Consolekit and Udev made attempts to solve that problem.
In KDE's case, a dependency on libsystemd won't be too invasive since it will be moving to core at some point soon and is inert unless the system was booted with systemd. Basically the app makes a call to libsystemd which says "sorry boss, no systemd running" and the app moves on to its legacy mode.
In Gnome's case, they're talking about using systemd's user instances to take over their session management.
This works. I use systemd's --user mode to start xmonad, nitrogen, xcompmgr, redshift, etc, on login.
If you want built-in multiseat handling with proper security lockdown (e.g., alice when logged into seat A can access the USB stick she has plugged into port X but not the camera bob has plugged into port Y on seat B) then systemd will be unavoidable. If you don't care about this, then old-fashioned boot scripts should remain adequate.
Right, zswap is a CPU/IO tradeoff. Probably a win on a slow laptop disk.
The issue with swapping is that the processes with swapped out memory cannot execute after triggering a page fault. In other words, your application tries to access memory that has been swapped out, and then the kernel stops it cold until the swap in completes.
There are VM tunables related to swap behavior, but nothing like what you want I'm afraid.
With the
--setprovideroutputsourcethe next argument is the provider you are configuring and the last is the provider acting as the output source. That means that the first id you specify should be that of the card not currently attached to the X display and the second id should be the card on which X initializes itself. You might also need an xorg.conf section to specify your discrete device as the primary for the display before you can attach the discrete as an output slave.You need to set one of the cards (perhaps the wimpier integrated device) to use the other card as an output source.
http://lmgtfy.com/?q=xrandr+providers+site%3Aarchlinux.org#
The problem with counting on [testing] to catch issues with new packages is that only packages in [core] go through [testing]. Anything destined for [extra] goes straight to the repository.
Does the Intel GPU show up in the Xorg log? Can you bring up X on an onboard only configuration? I run a dual Nvidia setup so I don't have a lot of recent experience with the Intel driver.
Do you have
xf86-video-intelinstalled? Sounds like the X server isn't aware of your onboard GPU.The last time this was asked on /r/archlinux in Anyone know how to use the on-board GPU for extra monitors? I described how to solve this problem using XRANDR 1.4 providers.
I was going to draw an analogous comparison between libX11 and the Xorg server but you already nailed it.
Unfortunately neither the xorg or Multihead pages on the wiki explain how to use XRANDR 1.4 providers to set up multi-GPU configurations. This information is on the DisplayLink and PRIME pages instead.
First, run
xrandr --listprovidersand make sure that your primary GPU and auxiliary GPU respectively advertise Source Output and Sink Output in their capabilities. If so, cross your fingers and run:Where
AUX_IDandPRI_IDare the ids listed for the appropriate GPUs.If that works, you should see the additional outputs of the secondary GPU when you run
xrandr -q.Thanks, I knew somebody would address my laziness (and reveal my unbalanced parentheses).
There's a lesser known form of Verlet integration which I was exposed to in my undergrad in applied math/computational physics which was called "velocity verlet" by the instructor. I haven't seen it discussed since, but I think it's worth knowing about since it keeps the velocity explicit (which makes setting initial conditions more natural and provides traction when extending the method to handle dissipative (velocity-dependent) forces).
Assume the following dynamical equations of motion:
Expanding these in finite differences:
That might be kind of confusing, so here's how it works in practice. Each time step repeats the following step (aside from the first, which is only needed to initialize the force field from the initial conditions).
x_jcalculate the current conservative forcesf(x_j).x_{j+1}.f(x_{j+1}).The important feature of this expression is not that it's accurate to second order, but that it is symplectic. That basically means it preserves important symmetries of the Hamiltonian (which is basically the energy of the system, if you're a physicist you know the whole story and if you're not then you don't care). There's a result in mathematical physics, Noether's Theorem, which relates symmetries in the dynamical structure to conserved quantities. In this case, the crucial symmetry is time reversibility and the conserved quantity is energy. Time reversibility here means that if you take an inverse time step you will recover exactly the previous
valuestate, up to second order.TL;DR: Verlet integration and its energy conserving properties come from its reversibility, not from the specific dynamics.
You could probably do it with Xrandr 1.4 providers: set up the (presumably less powerful) onboard chipset as an output slave for the GPU.
The usual problem with loading the
nvidiakernel module is the previous loading of thenouveaudriver. Thenvidiapackage providesusr/lib/modprobe.d/nvidia.confwhich blacklists thenouveaukernel module. Ensure that you've rebooted after installing it and thenouveaumodule is not loaded, and ifnvidiastill won't load you should pursue it on on the forums.Edit: Here's my
xorg.conffor Nvidia in case it's helpful.Edit 2: If you run
[testing]you may install a kernel which broke the ABI of the compiled module package. In this case you will be unable to load the module anddmesgwill complain about unresolved symbols.Well, you probably don't have SLI working under windows either then. :) The class of multimonitor configurations is a superclass of SLI configurations, and what I'm saying only applies to the latter class.
SLI Mosaic is a feature on high-end Quadro cards to tie them all together into a continuous framebuffer with synchronized refresh.
BaseMosaicis Mosaic mode without the frame synchronization between displays, but as far as I know still needs SLI. Try it and see, and if it doesn't work you'll need to either use Nouveau or see if the Xrandr 1.4 providers voodoo I posted works with Nvidia.The
iommu=ptoption is required only for the proprietary drivers when usingBaseMosaic(and probably other SLI modes). It puts the IOMMU into "passthrough" mode which makes it transparent to communication between the devices; apparently Nvidia doesn't properly configure the memory mappings in their kernel driver for this communication.You are correct, for future reference.
I have a similar setup (modulo 560 Ti) working with both binary Nvidia drivers and the nouveau drivers.
For nouveau, I use xrandr 1.4 providers. For instance:
For nvidia, use BaseMosaic. You do have an SLI compatible motherboard, an installed SLI bridge, and have booted your kernel with
iommu=ptright?For a laptop, I wouldn't bother with a separate partition for /home and / unless you plan on distro hopping frequently.
Precisely. The FOSS driver is basically ready for people who don't develop for the GPU and who don't require optimal power management.
OpenCL, OpenGL 4.x, video decode, better performance.
The Foss driver will catch up in all those areas but in the mean time its only real advantage is compatibility and desktop acceleration.
I think a dock is more like a region to collect little widgets (not the systray, that came later), some of which might be simple launchers. Think NeXT/WindowMaker.
Firstly, it's not as if multiseat management was ever properly working with consolekit. Consolekit was best known for providing the ACLs that let you use sound and video without being a member of the audio or video group, but that system has been in udev forever, and ck basically provided dynamic dbus-based session tracking. That dynamic session tracking duplicates what systemd already does with user instances, so consolekit has been deprecated.
If you want multiseat management, then you need to have the system which assigns ACLs and otherwise manages system devices (udev/systemd) tightly integrated with the login system. Certain USB ports are associated with seats, devices which match those ports then get assigned an ACL permitting access to whoever is logged in at that seat. It sounds simple but it's very hard with classical bsd/sysv style init systems (they're not all that different). Consolekit and Udev made attempts to solve that problem.
In KDE's case, a dependency on libsystemd won't be too invasive since it will be moving to core at some point soon and is inert unless the system was booted with systemd. Basically the app makes a call to libsystemd which says "sorry boss, no systemd running" and the app moves on to its legacy mode.
In Gnome's case, they're talking about using systemd's user instances to take over their session management.
This works. I use systemd's --user mode to start xmonad, nitrogen, xcompmgr, redshift, etc, on login.
If you want built-in multiseat handling with proper security lockdown (e.g., alice when logged into seat A can access the USB stick she has plugged into port X but not the camera bob has plugged into port Y on seat B) then systemd will be unavoidable. If you don't care about this, then old-fashioned boot scripts should remain adequate.
End of this list.
Back to top