Bug 75142 - [HSW-M GT3e] Display malposition when selecting too large resolution for Crusader Kings II
Summary: [HSW-M GT3e] Display malposition when selecting too large resolution for Crus...
Status: VERIFIED NOTOURBUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Ian Romanick
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-18 08:11 UTC by Guo Jinxian
Modified: 2014-02-24 08:13 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
xorg (21.92 KB, text/plain)
2014-02-18 08:11 UTC, Guo Jinxian
Details
Display malposition snapshot (1.38 MB, image/jpeg)
2014-02-18 08:12 UTC, Guo Jinxian
Details
Reference picture (1.57 MB, image/jpeg)
2014-02-18 08:13 UTC, Guo Jinxian
Details

Description Guo Jinxian 2014-02-18 08:11:07 UTC
Created attachment 94265 [details]
xorg

system Environment:
--------------------------
platform: HSW-M GT3 
Mesa: (10.1)git-62a3588
Xserver: xorg-server-1.14.5
Xf86_video_intel: (master)2.99.910-3 git-5142d1c
Cairo: (master)git-4144307
Kernel:	(drm-intel-nightly) efb4a6a66f8de821515c8a2a5571d9ebc251dbd5


Bug detailed description:
-------------------------
Display malposition when running Serious Crusader Kings II on HSW-M GT3e. Please see the attached screenshot.
The problem exists on gnome-session only, It's okey on Raw X.

It's not a regression bug, this bug is able to reproduced on  Q3 and Q4 release.

Reproduce steps:
--------------------
1. xinit &
2. gnome-session
3. start steam
4. Play Crusader Kings II
Comment 1 Guo Jinxian 2014-02-18 08:12:08 UTC
Created attachment 94266 [details]
Display malposition snapshot
Comment 2 Guo Jinxian 2014-02-18 08:13:16 UTC
Created attachment 94268 [details]
Reference picture
Comment 3 Eero Tamminen 2014-02-18 13:22:14 UTC
Works fine for me on Unity with January version of Mesa.

Which gnome-session window manager you have?  Fallback or normal gnome-shell?  What is your monitor's native resolution and what resolution you selected in CKII?
Comment 4 Guo Jinxian 2014-02-20 01:14:26 UTC
(In reply to comment #3)
> Works fine for me on Unity with January version of Mesa.
> 
> Which gnome-session window manager you have?  Fallback or normal
> gnome-shell?  What is your monitor's native resolution and what resolution
> you selected in CKII?

gnome-session: gnome-session 3.8.2.1
monitor native resolution:1920*1080 
CKII resolution: default
Comment 5 Chris Wilson 2014-02-20 20:32:44 UTC
(In reply to comment #3)
> What is your monitor's native resolution and what resolution
> you selected in CKII?

From the log:
native: 1920x1080
CKII: 1600x1200
Comment 6 Eero Tamminen 2014-02-21 10:44:57 UTC
(In reply to comment #5)
> (In reply to comment #3)
> > What is your monitor's native resolution and what resolution
> > you selected in CKII?
> 
> From the log:
> native: 1920x1080
> CKII: 1600x1200

Thanks Chris!

If I set 1600x1200 resolution in game settings dialog, and restart it, this bug happens also with Nvidia & its proprietary driver.  I think the game handles wrong the case of user selecting larger resolution than what is supported by the monitor and it will use negated offsets for screen (and something else for input).

Guo, please contact the game developers so that they fix this bug.

Because with this issue the game is basically unusable, the GUI buttons don't work etc, you need to set correct screen size in:
  ~/.paradoxinteractive/Crusader\ Kings\ II/settings.txt

To get game working again.
Comment 7 Guo Jinxian 2014-02-24 08:13:49 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #3)
> > > What is your monitor's native resolution and what resolution
> > > you selected in CKII?
> > 
> > From the log:
> > native: 1920x1080
> > CKII: 1600x1200
> 
> Thanks Chris!
> 
> If I set 1600x1200 resolution in game settings dialog, and restart it, this
> bug happens also with Nvidia & its proprietary driver.  I think the game
> handles wrong the case of user selecting larger resolution than what is
> supported by the monitor and it will use negated offsets for screen (and
> something else for input).
> 
> Guo, please contact the game developers so that they fix this bug.
> 
> Because with this issue the game is basically unusable, the GUI buttons
> don't work etc, you need to set correct screen size in:
>   ~/.paradoxinteractive/Crusader\ Kings\ II/settings.txt
> 
> To get game working again.


Thanks for your answer, verified according the comment.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.