Closed Cat-Ion closed 11 years ago
Are you able to set the resolution manually in the advanced options?
Example: -width 1920 -height 1080
I can't really read the screen sizes in the menu and am unsure if I've selected a different resolution, but the options don't seem to be doing anything. (Also, as you can see from the video config, the resolution /should/ already be set to 1920x1080.)
I just found out that changing my window manager from dwm (http://git.suckless.org/dwm) to metacity fixes this problem.
This happened to me in ctwm as well, so I decided to test in a few different window managers.
These window managers get a small, centered Portal with a black border around it, and the mouse doesn't work in the menus:
twm vtwm ctwm tinywm lwm (same size, but places the game in the upper left corner, offset by window decoration size) flwm (same size, but places the game in the upper left corner) dwm (according to the original poster)
These window managers get a nice and fullscreen Portal which works great:
gnome3 xfce fluxbox openbox fvwm icewm evilwm wmaker metacity (according to the original poster)
Considering that all the malfunctioning Window managers are either quite dated, extremely minimalistic, or both, I suspect the problem is ICCCM2/EWMH compliance or similar.
That's quite possible. If this won't get fixed steam-side it'd be nice to know a list of all the ICCCM2/EWMH/other things that are needed, so I could at least try writing a patch to fix it in dwm.
My gut feeling is that this could be _NETWM_STATE_FULLSCREEN. At least in ctwm, I also had to use “mplayer -fstype -fullscreen” (which disables the use of _NETWM_STATE_FULLSCREEN) to make mplayer able to use fullscreen. Now mplayer is obviously not the same as Portal, but the symptoms are similar and they might be having the same problem.
Quick googling leads me to believe that dwm does not support _NETWM_STATE_FULLSCREEN. At least it didn't in 2008, judging from the email thread that shows up as one of the first hits. Echinus, which is a fork of dwm, added _NETWM_STATE_FULLSCREEN support in version 0.3.0, released 2008-06-18. Maybe you can try to backport that patch to dwm and see if it helps? Echinus was later renamed to fwm, by the way.
The new dxsupport database should make the default starting resolution saner then 640x480.
When starting Portal after a fresh install, the screen size is 640x480, with UI elements scaled appropriately (i.e. unreadably small).
videoconfig_linux.cfg: http://p.0au.de/13343f6f config.cfg: http://p.0au.de/3f092a36.cfg glxinfo: http://p.0au.de/69c3e841
sysinfo:
Processor Information: Vendor: GenuineIntel Speed: 3093 Mhz 4 logical processors 4 physical processors HyperThreading: Unsupported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Unsupported SSE41: Supported SSE42: Supported
Network Information: Network Speed:
Operating System Version: "Gentoo Base System release 2.1" (64 bit) Kernel Name: Linux Kernel Version: 3.8.3-gentoo-r1 X Server Vendor: The X.Org Foundation X Server Release: 11301000 X Window Manager:
Steam Runtime Version: steam-runtime-release-i386_2013-04-16
Video Card: Driver: NVIDIA Corporation GeForce GTX 460/PCIe/SSE2
Sound card: Audio device: Realtek ALC892
Memory: RAM: 16019 Mb
Miscellaneous: UI Language: English LANG: none Microphone: Not set Total Hard Disk Space Available: 422288 Mb Largest Free Hard Disk Block: 64693 Mb
Installed software:
Recent Failure Reports: Fri May 3 16:07:29 2013 GMT: file ''/tmp/dumps/assert_20130503180706_1.dmp'', upload yes: ''CrashID=bp-cbc3682e-fbc9-4c49-94cf-0e31a2130503'' Fri May 3 16:08:05 2013 GMT: file ''/tmp/dumps/assert_20130503180720_2.dmp'', upload yes: ''CrashID=bp-11624bed-eac7-448e-afc6-217892130503''