You are not logged in.

#1 2017-12-25 19:53:05

IbrahimHamid
Member
Registered: 2017-12-25
Posts: 5

Playing game on Wine; Half of right screen and bottom screen is black.

Playing game on Wine; Half of right screen and bottom screen is black.
The game itself is displayed correctly, except it is blocked by what I am assuming is wine's resolution because the mouse cursor will not move out of the bounds from where the blackness begins.
Any help? Has this occured to anyone else before?

So, I'll explain it again...

Game is displayed perfectly, but vertically the right side of wine's display is black and horizontally the bottom side of wine's display is black and I am unable to move out of the bounds of it. I am seeking assistance to remove this.

Last edited by IbrahimHamid (2017-12-25 20:07:15)

Offline

#2 2017-12-26 01:39:16

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: Playing game on Wine; Half of right screen and bottom screen is black.

It would help to mention which game, and your graphics setup.

Offline

#3 2017-12-26 05:22:11

IbrahimHamid
Member
Registered: 2017-12-25
Posts: 5

Re: Playing game on Wine; Half of right screen and bottom screen is black.

V1del wrote:

It would help to mention which game, and your graphics setup.

Starcraft 2-Ultra; Windows 10-Wine. *EDIT* P.S Nice Dragon Ball Z character. Videl is awesome.

Last edited by IbrahimHamid (2017-12-26 05:22:41)

Offline

#4 2017-12-26 09:46:51

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,863

Re: Playing game on Wine; Half of right screen and bottom screen is black.

V1del wrote:

and your graphics setup.

Compare that to the resolutions supported by the game....

Offline

#5 2017-12-26 18:32:58

IbrahimHamid
Member
Registered: 2017-12-25
Posts: 5

Re: Playing game on Wine; Half of right screen and bottom screen is black.

seth wrote:

Compare that to the resolutions supported by the game....

TV-Screen/HDMI, I usually go ULTRA Graphic Settings with 1280x720 Resolution.
Hearthstone works perfectly. Starcraft 1, of course, works perfectly. Heroes and Starcraft 2 only have this configuration problem on wine.

https://image.ibb.co/dfhrhG/Deepin_Scre … 103609.png

so the games are like this in fullscreen. The games don't take the entire screen as I explained in the first post. They are displayed normally, but are cut off by the bounds of wine, I am assuming.

Last edited by ewaller (2017-12-26 20:40:48)

Offline

#6 2017-12-26 19:49:46

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,863

Re: Playing game on Wine; Half of right screen and bottom screen is black.

Please replace the oversized image with a link, see the sticky on the newbie bord about fourm rules.
So, the game runs at 1280x720 - and what's your desktop resolution and the rest of the graphics setup?

(output of "xrandr -q", and your xog log)

Offline

#7 2017-12-27 03:11:37

IbrahimHamid
Member
Registered: 2017-12-25
Posts: 5

Re: Playing game on Wine; Half of right screen and bottom screen is black.

Screen 0: minimum 320 x 200, current 1360 x 768, maximum 8192 x 8192
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 1360x768+0+0 (normal left inverted right x axis y axis) 16mm x 9mm
   1920x1080     60.00 +  59.94    30.00    24.00    29.97    23.98 
   1920x1080i    60.00    59.94 
   1360x768      60.02*
   1280x768      59.99 
   1280x720      60.00    59.94 
   1024x768      60.00 
   800x600       60.32 
   720x480       60.00    59.94 
   720x480i      60.00    59.94 
   640x480       60.00    59.94 
DVI-0 disconnected (normal left inverted right x axis y axis)
DVI-1 disconnected (normal left inverted right x axis y axis)

Offline

#8 2017-12-27 09:25:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,863

Re: Playing game on Wine; Half of right screen and bottom screen is black.

seth wrote:

and your xog log

But I'd say the game in question does not, or fails to, set the 1280x720 mode. This *could* be because you're not using the outputs native resolution itfp.
So set it yourself before running the game and unset it afterwards.

Offline

#9 2017-12-27 18:57:15

IbrahimHamid
Member
Registered: 2017-12-25
Posts: 5

Re: Playing game on Wine; Half of right screen and bottom screen is black.

seth wrote:

But I'd say the game in question does not, or fails to, set the 1280x720 mode. This *could* be because you're not using the outputs native resolution itfp.
So set it yourself before running the game and unset it afterwards.

Yep, you're correct.

So, for games like those, they allow you to set up a command line before it runs.
I placed

-displaymode=1

which forces the game to run in full-screen windowed mode.
You can decide to play with that option, or with that option enabled temporarily, you can change your graphic and resolutions setting to what matches your PC.

*Edit* Thank you Enki for your help!

Last edited by IbrahimHamid (2017-12-27 21:13:58)

Offline

Board footer

Powered by FluxBB