LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-16-2009, 12:49 PM   #1
xmrkite
Member
 
Registered: Oct 2006
Location: California, USA
Distribution: Mint 16, Lubuntu 14.04, Mythbuntu 14.04, Kubuntu 13.10, Xubuntu 10.04
Posts: 554

Rep: Reputation: 30
Games fullscreen is distorted, but video fullscreen is fine - older laptop


Hello, I have a toshiba 4600 and am running antix on it.

I can watch video files fine in fullscreen, but when i run emulators like zsnes or snes9x or fceu, it goes fullscreen, but the picture does not cover the entire screen.

It's weird...it is like it just stretches the picture vertically, but there are black bars all around the sides. And the image isn't even centered. There is a huge black bar to the right and a smaller one to the left.

The video card is a cyberbladeXP.

Any ideas on what i can do here?

-Thanks
 
Old 07-16-2009, 02:30 PM   #2
TITiAN
Member
 
Registered: Mar 2008
Location: NRW, Germany
Distribution: Arch Linux, using KDE/Plasma
Posts: 392

Rep: Reputation: 49
Videos in fullscreen are different from (most) other applications because they don't change the resolution in fullscreen mode (at least all video apps that I tried). Maybe try setting different resolutions in zsnes?
 
Old 07-16-2009, 03:18 PM   #3
xmrkite
Member
 
Registered: Oct 2006
Location: California, USA
Distribution: Mint 16, Lubuntu 14.04, Mythbuntu 14.04, Kubuntu 13.10, Xubuntu 10.04
Posts: 554

Original Poster
Rep: Reputation: 30
I've tried all the resolution options i could up to 1024x768 which is my screens native resolution. Only the resolutions that use open GL work, but when i use opengl it is so slow, like 2-3 fps.

Also, this behavior is exactly the same with all three of the emulators listed in my post.

Any other ideas?
-Thanks
 
Old 07-16-2009, 03:41 PM   #4
TITiAN
Member
 
Registered: Mar 2008
Location: NRW, Germany
Distribution: Arch Linux, using KDE/Plasma
Posts: 392

Rep: Reputation: 49
Looks like bad/non-installed video card drivers to me. Please post the contents of the file /etc/X11/xorg.conf here; that should give some info about your graphics configuration.
 
Old 07-17-2009, 11:25 AM   #5
xmrkite
Member
 
Registered: Oct 2006
Location: California, USA
Distribution: Mint 16, Lubuntu 14.04, Mythbuntu 14.04, Kubuntu 13.10, Xubuntu 10.04
Posts: 554

Original Poster
Rep: Reputation: 30
Here is my xorg file. Some of the stuff in there has nothing to do with my video card, but this is the only xorg file i could find where i am able to use tv out on my laptop.

Code:
Section "ServerLayout"
  Identifier "XFree86 Configured"
  Screen 0 "Screen0" 0 0
 #Screen 0 "ATIScreen" 0 0
 #Screen 1 "Screen1" RightOf "Screen0"
 #Option "Xinerama" "true"
 #Option "Clone" "true"
  InputDevice "Keyboard0" "CoreKeyboard"
 #InputDevice "PS/2 Mouse" "CorePointer"
  InputDevice "USB Mouse" "CorePointer"
 #InputDevice "Touchpad" "SendCoreEvents"
 #InputDevice "ALPS Touchpad" "SendCoreEvents"
 #InputDevice "Appletouch" "SendCoreEvents"
 #InputDevice "Stylus" "SendCoreEvents"
 #InputDevice "Eraser" "SendCoreEvents"
 #InputDevice "Cursor" "SendCoreEvents"
 #InputDevice "Serial Mouse" "CorePointer"
EndSection

Section "ServerFlags"
  Option "AllowMouseOpenFail" "true"
EndSection

Section "Files"
# Xorg 7.0 font paths
    FontPath 	"/usr/share/fonts/X11/100dpi:unscaled"
    FontPath 	"/usr/share/fonts/X11/misc:unscaled"

# Other font paths
    FontPath 	"/usr/share/fonts/truetype/arphic"
    FontPath 	"/usr/share/fonts/truetype/freefont"
    FontPath 	"/usr/share/fonts/truetype/kochi"
    FontPath 	"/usr/share/fonts/truetype/ttf-bitstream-vera"

# path to defoma fonts
    FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"

EndSection

Section "Module"
  Load "dbe"
  Load "dri"
  Load "extmod"
  Load "freetype"
  Load "glx"
  Load "type1"
  Load "v4l"
  Load "vbe"
EndSection

Section "InputDevice"
  Identifier "Keyboard0"
  Driver "keyboard"
  Option "CoreKeyboard"
  Option "XkbModel" "pc105"
  Option "XkbLayout" "us"
  Option "XKbOptions" ""
EndSection

Section "InputDevice"
  Identifier "Serial Mouse"
  Driver "mouse"
  Option  "Protocol" "Microsoft"
  Option  "Device" "/dev/ttyS0"
  Option  "Emulate3Buttons" "false"
  Option  "Emulate3Timeout" "70"
EndSection

Section "InputDevice"
  Identifier "Touchpad"
  Driver "synaptics"
  Option "Device" "/dev/psaux"
  Option "Protocol" "auto-dev"
  Option "LeftEdge" "1700"
  Option "RightEdge" "5300"
  Option "TopEdge" "1700"
  Option "BottomEdge" "4200"
  Option "FingerLow" "25"
  Option "FingerHigh" "30"
  Option "MaxTapTime" "180"
  Option "MaxTapMove" "220"
  Option "VertScrollDelta" "100"
  Option "HorizScrollDelta" "0"
  Option "MinSpeed" "0.09"
  Option "MaxSpeed" "0.18"
  Option "AccelFactor" "0.0015"
  Option "SHMConfig" "on"
EndSection

Section "InputDevice"
  Driver "synaptics"
  Identifier "ALPS Touchpad"
  Option "Device" "/dev/input/mouse0"
  Option "Protocol" "event"
  Option "LeftEdge" "130"
  Option "RightEdge" "840"
  Option "TopEdge" "130"
  Option "BottomEdge" "640"
  Option "FingerLow" "7"
  Option "FingerHigh" "8"
  Option "MaxTapTime" "180"
  Option "MaxTapMove" "110"
  Option "EmulateMidButtonTime" "75"
  Option "VertScrollDelta" "20"
  Option "HorizScrollDelta" "0"
  Option "MinSpeed" "0.25"
  Option "MaxSpeed" "0.50"
  Option "AccelFactor" "0.030"
  Option "EdgeMotionMinSpeed" "200"
  Option "EdgeMotionMaxSpeed" "200"
  Option "UpDownScrolling" "1"
  Option "CircularScrolling" "1"
  Option "CircScrollDelta" "0.1"
  Option "CircScrollTrigger" "2"
  Option "SHMConfig" "on"
EndSection

Section "InputDevice"
  Identifier "Appletouch"
  Driver "synaptics"
  Option "Device" "/dev/psaux"
  Option "Protocol" "auto-dev"
  Option "LeftEdge" "100"
  Option "RightEdge" "1120"
  Option "TopEdge" "50"
  Option "BottomEdge" "310"
  Option "FingerLow" "25"
  Option "FingerHigh" "30"
  Option "MaxTapMove" "220"
  Option "TapButton1" "1"
  Option "TapButton2" "3"
  Option "TapButton3" "2"
  Option "MinSpeed" "0.79"
  Option "MaxSpeed" "0.88"
  Option "AccelFactor" "0.0015"
  Option "SHMConfig" "on"
EndSection

Section "InputDevice"
  Identifier "PS/2 Mouse"
  Driver "mouse"
  Option "Protocol" "auto"
  Option "Device" "/dev/psaux"
  Option "Emulate3Buttons" "false"
  Option "Emulate3Timeout" "70"
  Option "ZAxisMapping" "4 5"
  Option "Buttons" "5"
EndSection

Section "InputDevice"
  Identifier "USB Mouse"
  Driver "mouse"
  Option "Device" "/dev/input/mice"
  Option "Protocol" "ExplorerPS/2"
  Option "ZAxisMapping" "4 5"
  Option "Buttons" "5"
EndSection

Section "InputDevice"
  Identifier "Stylus"
  Driver "wacom"
  Option "Mode" "Absolute"
  Option "Type" "stylus"
  Option "Device" "/dev/input/wacom"
Endsection

# Settings for wacom eraser
Section "InputDevice"
  Identifier "Eraser"
  Driver "wacom"
  Option "Mode" "Absolute"
  Option "Type" "eraser"
  Option "Device" "/dev/input/wacom"
Endsection

# Settings for wacom cursor (mouse)
Section "InputDevice"
  Identifier "Cursor"
  Driver "wacom"
  Option "Mode" "Relative"
  Option "Type" "cursor"
  Option "Device" "/dev/input/wacom"
Endsection

Section "Monitor"
  Identifier "Monitor0"
  VendorName "unknown"
  ModelName "unknown"
  Option "DPMS" "true"
  HorizSync    30-75
  VertRefresh  55-70

EndSection

Section "Monitor"
  Identifier "Monitor1"
  VendorName "unknown"
  ModelName "unknown"
  Option "DPMS" "true"
  HorizSync    30-75
  VertRefresh  55-70
EndSection

Section "Monitor"
  Identifier  "ATIMonitor"
  VendorName "unknown"
  ModelName "unknown"
  Option "DPMS" "true"
  HorizSync    30-75
  VertRefresh  55-70
EndSection

Section "Device"
  Identifier  "Card0"
  Driver "trident"
  BoardName "unknown"

  Screen 0
 #Option "UseDisplayDevice" "dfp"
 #Option "MonitorLayout" "crt,crt"
 #BusID  "PCI:1:0:0"
 #Option "sw_cursor" # needed for some ati cards
 #Option "hw_cursor"
 #Option "NoAccel"
 #Option "ShowCache"
 #Option "ShadowFB"
 #Option "UseFBDev"
 #Option "Rotate"
  Option "UseInternalAGPGART" "no"

  Option "XAANoOffscreenPixmaps" "true"

# savage special options, use with care
 #Option "NoUseBios"
 #Option "BusType" "PCI"
  Option "DmaMode" "None"

# nvidia special options, use with care
  Option "CursorShadow" "1"
  Option "CursorShadowAlpha" "63"
  Option "CursorShadowYOffset" "2"
  Option "CursorShadowXOffset" "4"
  Option "FlatPanelProperties" "Scaling = native"
  Option "NoLogo" "true"
  Option "UseEDID" "true"
  Option "AddARGBGLXVisuals" "true"
  Option "RenderAccel" "true"
 #Option "AllowGLXWithComposite" "true"
EndSection

Section "Device"
  Identifier  "Card1"
  Driver "trident"
  BoardName "unknown"

  Screen 1
 #Option "MonitorLayout" "crt,crt"
 #BusID  "PCI:1:0:0"
EndSection

Section "Screen"
  Identifier "Screen0"
  Device "Card0"
  Monitor "Monitor0"
  DefaultColorDepth 16
  
  SubSection "Display"
  Depth 8
  Modes "1024x768" "800x600" "640x480"
  EndSubSection
  SubSection "Display"
  Depth 15
  Modes "1024x768" "800x600" "640x480"
  EndSubSection
  SubSection "Display"
  Depth 16
  Modes "1024x768" "800x600" "640x480"
  EndSubSection
  SubSection "Display"
  Depth 24
  Modes "1024x768" "800x600" "640x480"
  EndSubSection
  SubSection "Display"
  Depth 32
  Modes "1024x768" "800x600" "640x480"
  EndSubSection
  
  # Only the official NVIDIA driver supports twinview
  # these setting are an example
  Option "TwinView" "false"
  Option "SecondMonitorVendorName" "unknown"
  Option "SecondMonitorModelName" "unknown"
  Option "SecondMonitorHorizSync" "30-75"
  Option "SecondMonitorVertRefresh" "55-70"
 #Option "MetaModes" "1024x768, 1024x768"
  Option "TwinViewOrientation" "RightOf"
  Option "ConnectedMonitor" "dfp,dfp"
EndSection

Section "Screen"
  Identifier "Screen1"
  Device "Card1"
  Monitor "Monitor1"
  DefaultColorDepth 16
  
  SubSection "Display"
  Depth 8
  Modes "1024x768" "800x600" "640x480"
  EndSubSection
  SubSection "Display"
  Depth 15
  Modes "1024x768" "800x600" "640x480"
  EndSubSection
  SubSection "Display"
  Depth 16
  Modes "1024x768" "800x600" "640x480"
  EndSubSection
  SubSection "Display"
  Depth 24
  Modes "1024x768" "800x600" "640x480"
  EndSubSection
  SubSection "Display"
  Depth 32
  Modes "1024x768" "800x600" "640x480"
  EndSubSection
EndSection

Section "Screen"
  Identifier "ATIScreen"
  Device "Card0"
  Monitor "ATIMonitor"
  DefaultColorDepth 24
  
  SubSection "Display"
  Depth 24
  Modes "1024x768" "800x600" "640x480"
  EndSubSection
EndSection

Section "DRI"
  Mode 0666
EndSection

Section "Extensions"
  Option "Composite" "Enable"
EndSection
-Thanks for any help you can provide.
 
Old 07-18-2009, 08:45 AM   #6
TITiAN
Member
 
Registered: Mar 2008
Location: NRW, Germany
Distribution: Arch Linux, using KDE/Plasma
Posts: 392

Rep: Reputation: 49
That's a lot of configuration in your file. Did you try starting X without any configuration file at all (with back-up(s), of course) ?
 
Old 07-18-2009, 02:51 PM   #7
nitrousoxide82
Member
 
Registered: Apr 2005
Location: Rio de Janeiro, Brazil
Distribution: Ubuntu 9.04 (Jaunty), Arch Linux 2009.08
Posts: 83

Rep: Reputation: 17
I see
Code:
Driver "trident"
on the posted xorg.conf. Is this the correct driver? The output of lspci can help determine the exact make/model of your video chipset. This may also explain the slow OpenGL (although some chipsets, namely SiS ones, are known not to support OpenGL acceleration under Linux. This may or may not be the case, though).

Another thing to note is that most laptops (for some time now) have wide-screen displays. The machines ZSNES, FCEU and such emulators emulate were designed for standard 4:3 TV screens. So the black bars on the sides of the screen may be there exactly to AVOID image distortion caused by wrong aspect ratio.

Hope this helps.
 
Old 07-20-2009, 11:40 AM   #8
xmrkite
Member
 
Registered: Oct 2006
Location: California, USA
Distribution: Mint 16, Lubuntu 14.04, Mythbuntu 14.04, Kubuntu 13.10, Xubuntu 10.04
Posts: 554

Original Poster
Rep: Reputation: 30
Hello and thanks for the replies. Starting up without an xorg file gives me a nice error. The driver should be trident as far as i can tell, since i'm using a Trident CyberbladeXP video card in this laptop.

It's an old laptop, and the screen is a 4:3 screen. Also, it's more than just black bars...you totally miss out on the bottom 150-200 pixels as they are below the screen. And the rest is squashed, so it's clearly tweaked.

-Thanks for any help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cant run fullscreen in games gunman Linux - Software 0 03-16-2005 01:38 PM
Fullscreen games are not working! aemus Linux - Newbie 1 10-08-2004 05:54 PM
ibook 2001 fullscreen games? jstreed Debian 0 09-30-2004 02:58 PM
Fullscreen Movies (avi - fine, dvd - lags) accessdenied042 Linux - Software 10 02-08-2004 01:57 PM
Fullscreen games in Mandrake 9.0 Mad Echidna Linux - Software 6 12-15-2002 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration