You are not logged in.

#1 2010-09-06 03:26:50

jlacroix
Member
Registered: 2009-08-16
Posts: 576

Some Apps Don't Stretch Under Full Screen

Hello everyone, I have a Dell Latitude e6410 laptop with integrated Intel graphics. I've noticed that some applications will not stretch to fill the screen when under full-screen mode. Off the top of my head, bin32-zsnes (from AUR) and Supertux2 are culprits. Is there something with Intel I'm supposed to configure? I haven't had to do so before, so I'm really perplexed by this problem. Any help is greatly appreciated.

Offline

#2 2010-09-06 05:53:41

Jodell
Member
Registered: 2009-10-09
Posts: 285

Re: Some Apps Don't Stretch Under Full Screen

Same problem here. The games stretched to fill the screen a few weeks ago but it has stopped. I believe that SDL is the problem but I'm not 100% sure.

Offline

#3 2010-09-06 08:39:37

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Some Apps Don't Stretch Under Full Screen

Run 'xrandr --prop' and check the scaling mode. The default was changed recently. Anyway, once you have the names of the scaling modes, set your preferred one:

xrandr --output LVDS1 --set "scaling mode" "Full Aspect"

Offline

#4 2010-09-06 14:37:52

jlacroix
Member
Registered: 2009-08-16
Posts: 576

Re: Some Apps Don't Stretch Under Full Screen

Gusar wrote:

Run 'xrandr --prop' and check the scaling mode. The default was changed recently. Anyway, once you have the names of the scaling modes, set your preferred one:

xrandr --output LVDS1 --set "scaling mode" "Full Aspect"

When I run xrandr --prop, this is the output:

Screen 0: minimum 320 x 200, current 1440 x 900, maximum 8192 x 8192
VGA1 disconnected (normal left inverted right x axis y axis)
DP1 connected 1440x900+0+0 (normal left inverted right x axis y axis) 303mm x 189mm
        EDID:
                00ffffffffffff0006af474100000000
                01130104951e13780289e59457549327
                22505400000001010101010101010101
                0101010101019425a03e51840c304020
                33002fbd1000001a0d19a03e51840c30
                402033002fbd1000001a000000fe0044
                56354a31804231343150573400000000
                000041211e0000000009010a202000d5
   1440x900       60.0*+   40.0  
HDMI1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)

When I run xrandr --output DP1 --set "scaling mode" "Full Aspect":

xrandr --output DP1 --set "scaling mode" "Full Aspect"
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  150 (RANDR)
  Minor opcode of failed request:  11 (RRQueryOutputProperty)
  Serial number of failed request:  35
  Current serial number in output stream:  35

Am I doing this wrong?

Offline

#5 2010-09-06 14:50:58

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Some Apps Don't Stretch Under Full Screen

Hmm, this is the output from my netbook:

Screen 0: minimum 320 x 200, current 1024 x 600, maximum 4096 x 4096
VGA1 disconnected (normal left inverted right x axis y axis)
LVDS1 connected 1024x600+0+0 (normal left inverted right x axis y axis) 195mm x 113mm
    EDID:
        00ffffffffffff0006afc21100000000
        0112010380140b780afa569256549824
        1a4f5400000001010101010101010101
        010101010101b0130040415819201888
        3100c371000000180000000f00000000
        00000000000000000020000000fe0041
        554f0a202020202020202020000000fe
        004230383941573031205631200a0058
    scaling mode:    Full aspect
        supported: None         Full         Center       Full aspect 
   1024x600       60.0*+
   800x600        60.3     56.2  
   640x480        59.9

Note the 'scaling mode' and 'supported' lines, which you don't have. No idea how to help you then.

Offline

#6 2010-09-06 22:28:57

jlacroix
Member
Registered: 2009-08-16
Posts: 576

Re: Some Apps Don't Stretch Under Full Screen

That is very strange. Might someone else know?

Offline

#7 2010-09-07 07:32:25

Jodell
Member
Registered: 2009-10-09
Posts: 285

Re: Some Apps Don't Stretch Under Full Screen

Gusar thanks for your help!

Your command was 99% correct but there should be an "a" and not "A" in aspect smile

However, it still does not fix the problem sad

Offline

#8 2010-09-26 02:52:06

jlacroix
Member
Registered: 2009-08-16
Posts: 576

Re: Some Apps Don't Stretch Under Full Screen

Anyone? Games are really important to me and are essential to my continued usage of Arch. Right now whether or not I can play a game is hit or miss. sad

Offline

#9 2010-09-26 05:30:52

bharani
Member
From: Karaikudi, India
Registered: 2009-07-12
Posts: 202

Re: Some Apps Don't Stretch Under Full Screen

I had the same problem . So i run my games like this

#!/bin/bash 
DISPLAY=:1.0
xinit /usr/bin/boswars $* -- :1

This starts the game in another tty.


Tamil is my mother tongue.

Offline

#10 2010-09-26 14:02:52

jlacroix
Member
Registered: 2009-08-16
Posts: 576

Re: Some Apps Don't Stretch Under Full Screen

bharani wrote:

I had the same problem . So i run my games like this

#!/bin/bash 
DISPLAY=:1.0
xinit /usr/bin/boswars $* -- :1

This starts the game in another tty.

That keeps telling me that the display is already active.  Not what I'm looking for anyway, there has to be a way to fix this for real, or at least narrow down the problem.

Offline

#11 2010-11-17 01:54:13

Jodell
Member
Registered: 2009-10-09
Posts: 285

Re: Some Apps Don't Stretch Under Full Screen

By setting xrandr to "Full Aspect" it is saying use the games aspect ratio at fullscreen. Hence, it doesn't stretch to fill the screen and we get black bars on the left and right.

If we use

xrandr --output LVDS1 --set "scaling mode" "Full"

We are saying stretch to fill the screen.

It worked for me smile

Offline

#12 2010-11-17 12:46:45

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Some Apps Don't Stretch Under Full Screen

Jodell wrote:

By setting xrandr to "Full Aspect" it is saying use the games aspect ratio at fullscreen. Hence, it doesn't stretch to fill the screen and we get black bars on the left and right.

If we use

xrandr --output LVDS1 --set "scaling mode" "Full"

We are saying stretch to fill the screen.

It worked for me smile

Yeah, but this way you get a distorted pic. Is that really what you want? It's like people watching 4:3 tv shows/movies/etc stretched to fill a 16:9 tv.

Offline

#13 2010-11-18 17:24:10

jlacroix
Member
Registered: 2009-08-16
Posts: 576

Re: Some Apps Don't Stretch Under Full Screen

xrandr --output DP1 --set "scaling mode" "Full"
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  150 (RANDR)
  Minor opcode of failed request:  11 (RRQueryOutputProperty)
  Serial number of failed request:  35
  Current serial number in output stream:  35

Doesn't work.

Last edited by jlacroix (2010-11-18 17:25:51)

Offline

Board footer

Powered by FluxBB