Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 273479

Summary: x11-drivers/xf86-video-intel: Fullscreen in games-emulation/dosbox does not work with KMS
Product: Gentoo Linux Reporter: Lubos Kolouch <kolcon>
Component: [OLD] GamesAssignee: Gentoo X packagers <x11>
Status: RESOLVED NEEDINFO    
Severity: normal CC: games
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: output of dmesg
emerge --info
xorg.conf
Xorg.0.log
wrong fullscreen with border

Description Lubos Kolouch 2009-06-10 07:55:04 UTC
If you enable KMS in kernel on intel graphics card and you press
alt enter in dosbox,

the resultin "full screen" window is not fullscreen/resized, but the
screen stays same with black border around it.

Reproducible: Always

Steps to Reproduce:
1. Enable KMS in kernel
2. Start dosbox
3. Press alt enter

Actual Results:  
The text/graphics in window stay the same size with black border around it filling rest of the screen

Expected Results:  
The text/graphics is resized to fill in the whole screen
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2009-06-11 15:19:03 UTC
and without KMS ?
Comment 2 Lubos Kolouch 2009-06-11 15:20:58 UTC
Withou KMS it works OK
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2009-06-11 20:04:21 UTC
Please provide/attach :
 - your Xorg.0.log
 - your emerge --info
 - the full output of dmesg
 - your xorg.conf

Thanks
Comment 4 Lubos Kolouch 2009-06-11 20:28:12 UTC
Created attachment 194280 [details]
output of dmesg
Comment 5 Lubos Kolouch 2009-06-11 20:28:38 UTC
Created attachment 194281 [details]
emerge --info
Comment 6 Lubos Kolouch 2009-06-11 20:29:04 UTC
Created attachment 194283 [details]
xorg.conf
Comment 7 Lubos Kolouch 2009-06-11 20:29:24 UTC
Created attachment 194285 [details]
Xorg.0.log
Comment 8 Lubos Kolouch 2009-06-11 20:32:22 UTC
Created attachment 194287 [details]
wrong fullscreen with border
Comment 9 Rémi Cardona (RETIRED) gentoo-dev 2009-06-12 07:20:46 UTC
@games, what does dosbox use to render to screen? SDL? Pure opengl?

Thanks
Comment 10 Lubos Kolouch 2009-06-12 07:25:06 UTC
I built it with following USE flags :

[ebuild   R   ] games-emulation/dosbox-0.73  USE="alsa opengl -debug -hardened" 1,250 kB
Comment 11 Mr. Bones. (RETIRED) gentoo-dev 2009-06-12 15:04:24 UTC
It depends on what you've told it to use in the config file but it seems like Lubos is using the opengl renderer.

dosbox probably prints out what config file its using when it's started.
Comment 12 Lubos Kolouch 2009-06-12 16:58:53 UTC
Actually it behaves the same if I put output=opengl, surface or overlay...
Comment 13 Rémi Cardona (RETIRED) gentoo-dev 2009-08-22 09:51:54 UTC
Please file a bug upstream in FreeDesktop's bugzilla [1] and paste the url here so I can track it.

Don't forget to mention how UMS works but not KMS.

Thanks

[1] http://intellinuxgraphics.org/how_to_report_bug.html