Panning and full screen window size broken when using HDMI port

Bug #1336994 reported by solazs
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-331 (Ubuntu)
New
Low
Unassigned

Bug Description

I'm running ubuntu 14.04 on a dell n7110.
The laptop has hybrid graphics: an intel (sandybrindge) and an nvidia (525m), which is optimus powered.
The built-in screen is wired to the intel card, while the HDMI port is rigged to the nvidia card.
I have nvidia-prime installed, this is in the nvidia-mode.
If logged in with default settings (HDMI being right-of built-in screen everything works fine.
Then all hell breaks loose when trying to switch them, so the HDMI display is on the left.

Two problems occur:
The panning on the HDMI display is set to the size of the whole desktop, so when I try to move my mouse to the right of the screen (onto the built-in display) the screen on the HDMI display follows the mouse cursor, scrolling, rendering half the desktop invisible.

The second problem is when I try to maximize a window on the HDMI display. It acts like only the left of the screen (so an area like 300x1080px) is the whole display. Oddly the width of the display seems to be about the same as the height difference between the heigth of the two displays. If i set the top of the built-in display to be at the half-height of the HDMI display, then the full screen width increases. Note, that i can drag and move around my windows, but i can only resize (by dragging the side with the mouse) them in the invalid full screen area.

I hope my description will be clear enough, if not I'll post pictures, or something.

These problems occur with kde, too.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xorg 1:7.7+1ubuntu8
ProcVersionSignature: Ubuntu 3.13.0-30.54-generic 3.13.11.2
Uname: Linux 3.13.0-30-generic x86_64
NonfreeKernelModules: nvidia
.proc.driver.nvidia.gpus.0: Error: [Errno 21] Ez egy könyvtár: '/proc/driver/nvidia/gpus/0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 331.38 Wed Jan 8 19:32:30 PST 2014
 GCC version: gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
.tmp.unity.support.test.0:

ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity
Date: Thu Jul 3 00:33:24 2014
DistUpgraded: Fresh install
DistroCodename: trusty
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Dell Device [1028:04c4]
 NVIDIA Corporation GF108M [GeForce GT 525M] [10de:0df5] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: Dell Device [1028:04c4]
InstallationDate: Installed on 2014-03-11 (113 days ago)
InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140311)
MachineType: Dell Inc. Dell System Inspiron N7110
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-30-generic root=UUID=593e7c04-9f36-41cc-81c3-eb2f17c382ac ro quiet acpi_backlight=vendor splash
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/05/2012
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A13
dmi.board.name: 09G8VY
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnDellInc.:bvrA13:bd09/05/2012:svnDellInc.:pnDellSystemInspironN7110:pvr:rvnDellInc.:rn09G8VY:rvr:cvnDellInc.:ct8:cvr0.1:
dmi.product.name: Dell System Inspiron N7110
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.11.1+14.04.20140701-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.52-1
version.libgl1-mesa-dri: libgl1-mesa-dri 10.1.3-0ubuntu0.1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 10.1.3-0ubuntu0.1
version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.15.1-0ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.8.2-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.3.0-1ubuntu3.1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.910-0ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.10-1ubuntu2
xserver.bootTime: Thu Jul 3 00:28:32 2014
xserver.configfile: /etc/X11/xorg.conf
xserver.errors:

xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 product id 737
 vendor LGD
xserver.version: 2:1.15.1-0ubuntu2

Revision history for this message
solazs (solazs) wrote :
solazs (solazs)
affects: xorg (Ubuntu) → ubuntu
Revision history for this message
solazs (solazs) wrote :

Also, if a window is made full screen on the built-in screen, it takes up both displays.

Revision history for this message
solazs (solazs) wrote :

The issue is present in the mainline kernels (3.16-rc3)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
Revision history for this message
WinEunuchs2Unix (ricklee518) wrote :

I'm just setting up a Dell Inspiron 7720 (17R SE) which is probably similar to yours. I haven't played with Nvidia drivers yet and everything is default install. My previous laptop was VGA out to the TV and I thought the new problems were related to Xorg and HDMI broken vs VGA working fine.

The bug I have is when going full screen for a video/flash player it always goes to the built-in display instead of the external TV which I want. In ask Ubuntu another user with this problem got the answer to virtually move the external display to the left and the built-in display to the right. I tried this and it successfully went full screen to the external TV.

However if I type into Terminal or another window on the built-in display the external display drops out of full screen into normalized window size which I consider a bug of unknown origin yet.

Having to virtually assign the external TV to the left panel and the built-in laptop display to the right panel is counter-intuitive to their real life positions and a pain for accessing the lanucher which now has to be activated with the super-key because the mouse just won't bump the hidden launcher properly without falling into the TV's window.

What little I know is Intel HD4000 GPU and Nvidia 650GT GPU. Sandy-Bridge 3630QM quad core and mobo chipset family 77 supporting Intel Rapid Storage Technology to accelerate HDD to SDD (once I finish configuring dm-cache or bcache) mdadm is up and running to mimic Intel Raid-0 defined in OROM. UEFI is off and MBR / dospartitions are on.

I'll falling this bug thread and see what develops.

Revision history for this message
WinEunuchs2Unix (ricklee518) wrote :

^^^ --- Kernel versions above 3.15.10, 3.16.3 and 3.17-rc5. Ubuntu 14.04.1.

Revision history for this message
WinEunuchs2Unix (ricklee518) wrote :

^^^ ---- Oops "Ivy-Bridge" not "Sandy-Bridge".

Revision history for this message
WinEunuchs2Unix (ricklee518) wrote :

Resumed from suspend this morning and loo and behold the external TV remains in full screen mode but now the unity bar will display on the top if you type into google or terminal on the built-in display. On the old laptop there used to be a problem where Fn+Fx ACPI hotkeys for brightness would only work after suspend/resume so this issue could be related to that old problem.

Note that this is working correctly with the External TV defined to the right and Built-in display defined on the left which is contrary to previous advise. Using current version 3.17-rc5 as of Sept 18, 2014.

Revision history for this message
WinEunuchs2Unix (ricklee518) wrote :

It turns out the bug of Full Screen automatically reverting to the built in display rather than the active/current display was caused by FireFox and does not occur in Chromium. Unfortunately I noticed it with a new laptop that had built in HDMI rather than the old laptop which had VGA and then a VGA to HDMI converter box but was NOT using FireFox. On top of that there was new Kernel versions, new Windows 7 with new Intel Rapid Storage Technology, new UEFI, new OROM, etc. etc.

The resuming from suspend is NOT a factor in mitigating the bug, I had just happened to have run Chromium rather than FireFox at that time.

I'm not suggesting Chromium is better than FireFox. They both have strengths and weaknesses. For example on Linux FireFox has superior scrolling and mouse control. OTH Google Chrome (don't know about Chromium) scrolls just as nicely in Windows as FireFox does in Linux.

I just retested in Kernel 3.17-rc6 and Firefox still switches to the built-in display when you select full screen while watching tv broadcasts in rt. com or aljazeera. com on the external TV.

penalvch (penalvch)
tags: added: latest-bios-a13
affects: ubuntu → nvidia-graphics-drivers-331 (Ubuntu)
Changed in nvidia-graphics-drivers-331 (Ubuntu):
importance: Undecided → Low
status: Confirmed → New
Revision history for this message
Andres Schwartz (anyeos-3) wrote :

I don't know if it is the same as my problem. But I had a problem with all full screen applications.
My Ubuntu is 14.04 32 bits using NVIDIA UNIX x86 Kernel Module 340.65, manually installed.

When my desktops loads it load in the full screen resolution (Full HD, 1920x1080). Then I want to lower my resolution to make a game run in a lower resolution when I switch it to full screen, if not it always run in 1920x1080, and that is what I don't want.
For example i switch my resolution to 1280x800. The resolution is switched OK, using nvidia-settings or xrandr (in command line). The same effect, it is not nvidia-settings related.

When I switch to lower resolution, the desktop and the panning desktop (virtual desktop) appears to be the same. That is exactly what I expect. But when I run any program, it does not matter if it is the game or not, in full screen, the full screen is always in 1920x1080, I mean, the program (a youtube video in chrome, a videogame, a video using mplayer, using xine...), whatever application in full screen, always detect the resolution being 1920x1080. Then, they don't switch the device resolution by that, instead they run outside of the screen like if the virtual desktop were still in 1920x1080.

Where can I specify the applications that the panned resolution and the real resolution are the same?

May this be a bug in the NVIDIA driver? In XOrg?

If it is the same problem I can help sending logs and so. Just explain me what you need and how to get that.

Revision history for this message
penalvch (penalvch) wrote :

Andres Schwartz:
"Just explain me what you need and how to get that."

It would help immensely if you filed a new report via a terminal:
ubuntu-bug xorg

Please feel free to subscribe me to it.

To post a comment you must log in.