nvidia-prime with Hybrid/Optimus - does not allow resizing via xrandr
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-prime (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When using the Nvidia proprietary option - xrandr reports the valid list of modes but is unable to set them via CLI or other methods.
However in Unity using the system-
This is a problem for test suites and applications which rely on xrandr to resize windows.
Phronix Test suite of the system observed can be found here :
http://
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: nvidia-prime 0.8.2
ProcVersionSign
Uname: Linux 4.4.0-23-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: Unity
Date: Mon May 23 20:46:24 2016
InstallationDate: Installed on 2016-05-23 (0 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: nvidia-prime
UpgradeStatus: No upgrade log present (probably fresh install)
Some further details documenting the behaviour. Seems modes require setting an --output device explicitly, adding modes to the eDP manually fails (appears only hdmi output can have pre-enumerated modes addded).
This poses several problems in that the --output is not deterministically checked
--- huripoki: ~$ glxinfo ARB_context_ flush_control, GLX_ARB_ create_ context, ARB_create_ context_ profile, GLX_ARB_ create_ context_ robustness, ARB_fbconfig_ float, GLX_ARB_ multisample, GLX_EXT_buffer_age, EXT_create_ context_ es2_profile, GLX_EXT_ create_ context_ es_profile, EXT_framebuffer _sRGB, GLX_EXT_libglvnd, GLX_EXT_ stereo_ tree, EXT_swap_ control, GLX_EXT_ swap_control_ tear, EXT_texture_ from_pixmap, GLX_EXT_ visual_ info, GLX_EXT_ visual_ rating, NV_copy_ image, GLX_NV_ delay_before_ swap, GLX_NV_ float_buffer, NV_multisample_ coverage, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, SGI_swap_ control, GLX_SGI_video_sync ARB_context_ flush_control, GLX_ARB_ create_ context, ARB_create_ context_ profile, GLX_ARB_ create_ context_ robustness, ARB_fbconfig_ float, GLX_ARB_ get_proc_ address, GLX_ARB_ multisample, EXT_buffer_ age, GLX_EXT_ create_ context_ es2_profile, EXT_create_ context_ es_profile, GLX_EXT_ fbconfig_ packed_ float, EXT_framebuffer _sRGB, GLX_EXT_ import_ context, GLX_EXT_ stereo_ tree, EXT_swap_ control, GLX_EXT_ swap_control_ tear, EXT_texture_ from_pixmap, GLX_EXT_ visual_ info, GLX_EXT_ visual_ rating, NV_copy_ buffer, GLX_NV_copy_image, GLX_NV_ delay_before_ swap, NV_float_ buffer, GLX_NV_ multisample_ coverage, GLX_NV_ present_ video, NV_swap_ group, GLX_NV_ video_capture, GLX_NV_video_out, SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGI_ swap_control, SGI_video_ sync ARB_context_ flush_control, GLX_ARB_ create_ context, ARB_create_ context_ profile, GLX_ARB_ create_ context_ robustness, ARB_fbconfig_ float, GLX_ARB_ get_proc_ address, GLX_ARB_ multisample, EXT_buffer_ age, GLX_EXT_ create_ context_ es2_profile, EXT_create_ context_ es_profile, GLX_EXT_ framebuffer_ sRGB, EXT_stereo_ tree, GLX_EXT_ swap_control, GLX_EXT_ swap_control_ tear, EXT_texture_ from_pixmap, GLX_EXT_ visual_ info, GLX_EXT_ visual_ rating, NV_copy_ image, GLX_NV_ delay_before_ swap, GLX_NV_ float_buffer, NV_multisample_ coverage, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, SGI_swap_ control, GLX_SGI_video_sync AMD_multi_ draw_indirect, GL_AMD_ seamless_ cubemap_ p...
aenertia@
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX version: 1.4
GLX extensions:
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
GLX_
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 920M/PCIe/SSE2
OpenGL core profile version string: 4.5.0 NVIDIA 367.18
OpenGL core profile shading language version string: 4.50 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
GL_