Xrandr -setprovideroffloadsink radeon Intel I use this small script, named radeon.sh: #!/bin/bash Please note that some window managers disable compositing when applications run full screen. Check your window manager or install and start xcompmgr before starting the application (you can kill it after if you want). If not, then it may be because you don't have "compositing" enabled. If you get an "empty" window, first try if this gets resolved by resizing it. Examples: $ DRI_PRIME=1 glxinfo | grep -i openglĬompare with $ DRI_PRIME=0 glxgears -info Without this variable, apps will use intel, so make sure your 3D appsĪre really using this variable. ![]() ![]() I suspect the case is important, but never testedĪfter this config, if you setup the DRI_PRIME=1 environment variable, new applications started on that terminal will use the AMD card instead of the intel. Newer versions can also do this: $ xrandr -setprovideroffloadsink radeon Intel $ xrandr -setprovideroffloadsink 0x53 0x79 Provider 1: id: 0x53 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 0 associated providers: 0 name:radeon ![]() ![]() Provider 0: id: 0x79 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 2 outputs: 4 associated providers: 0 name:Intel If possible, update the distro or use oibaf PPA. The quick howto is to update the drivers and kernel, the more recent the better. For mesa, This is the best documentation right now in the web.
0 Comments
Leave a Reply. |