xrandr issue with Thinkpad T420 and more than two displays
Hi all, we have an issue with more advanced X configuration and multiple displays. Up to two displays is fine, but more than two and it gets complicated. This is under RHEL 6.4 with X Server 1.13 and Nvidia Driver 310.32. Configuration has been taken from: [url]https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_T420s#Example_X.org-Configuration_using_Intel_and_NVIDIA_together[/url] Problem is that with this setup X is working, but XRANDR is disabled during X startup, and I'd like some hints how to enable/enforce it to be able to resize screens and so on. Also OpenGL is disabled during X startup, as half of the display is driven by the Integrated Intel graphics. How can this be enabled for all screens? We can also use a different driver, nouveau or nv if that's easier to handle. Regards
Hi all,

we have an issue with more advanced X configuration and multiple displays.
Up to two displays is fine, but more than two and it gets complicated. This is under RHEL 6.4 with X Server 1.13 and Nvidia Driver 310.32.

Configuration has been taken from: https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_T420s#Example_X.org-Configuration_using_Intel_and_NVIDIA_together

Problem is that with this setup X is working, but XRANDR is disabled during X startup, and I'd like some hints how to enable/enforce it to be able to resize screens and so on.

Also OpenGL is disabled during X startup, as half of the display is driven by the Integrated Intel graphics. How can this be enabled for all screens? We can also use a different driver, nouveau or nv if that's easier to handle.

Regards

#1
Posted 10/16/2013 10:05 AM   
If more information is required, just let me know ;)
If more information is required, just let me know ;)

#2
Posted 10/16/2013 06:51 PM   
RandR is not supported when the server's Xinerama support is enabled: [quote="Xorg.0.log"] [ 105.606] (WW) NVIDIA: Xinerama is enabled, so RandR has likely been disabled by the [ 105.606] (WW) NVIDIA: X server. [/quote] OpenGL in this configuration only works on GPUs that are identical (or at least very similar) to the one driving screen 0. In your configuration, you can't use OpenGL on the Intel screen: [quote="Xorg.0.log"] [ 112.823] (WW) NVIDIA: Xinerama and GLX are enabled, but some X screens are not being [ 112.823] (WW) NVIDIA: driven by the NVIDIA X driver. OpenGL rendering will be [ 112.823] (WW) NVIDIA: disabled on these screens: [ 112.823] (WW) NVIDIA: - Screen 2: intel [/quote] See [url="http://us.download.nvidia.com/XFree86/Linux-x86/331.17/README/xineramaglx.html"]Chapter 13. Configuring GLX in Xinerama[/url] in the README for more information. If you use a sufficiently new Linux kernel and X server, you can try using PRIME display offload instead of Xinerama. That way, all of the rendering will happen on the NVIDIA GPU and just the display will be offloaded to the Intel chip. See [url="http://us.download.nvidia.com/XFree86/Linux-x86/331.17/README/randr14.html"]Chapter 33. Offloading Graphics Display with RandR 1.4[/url] if you want to give that a shot.
RandR is not supported when the server's Xinerama support is enabled:
Xorg.0.log said:
[ 105.606] (WW) NVIDIA: Xinerama is enabled, so RandR has likely been disabled by the
[ 105.606] (WW) NVIDIA: X server.

OpenGL in this configuration only works on GPUs that are identical (or at least very similar) to the one driving screen 0. In your configuration, you can't use OpenGL on the Intel screen:
Xorg.0.log said:
[ 112.823] (WW) NVIDIA: Xinerama and GLX are enabled, but some X screens are not being
[ 112.823] (WW) NVIDIA: driven by the NVIDIA X driver. OpenGL rendering will be
[ 112.823] (WW) NVIDIA: disabled on these screens:
[ 112.823] (WW) NVIDIA: - Screen 2: intel

See Chapter 13. Configuring GLX in Xinerama in the README for more information.

If you use a sufficiently new Linux kernel and X server, you can try using PRIME display offload instead of Xinerama. That way, all of the rendering will happen on the NVIDIA GPU and just the display will be offloaded to the Intel chip. See Chapter 33. Offloading Graphics Display with RandR 1.4 if you want to give that a shot.

Aaron Plattner
NVIDIA Linux Graphics

#3
Posted 10/23/2013 04:15 PM   
Scroll To Top