Trying to stretch a 2D game to widescreen (peggle nights). This used to work fine last time I played this game. Not anymore though. I’ve tried various things I have found online. Here are the things I have tried so far:
- run game in virtual desktop
- adding metamodes; tried this line in /etc/X11/xorg.conf:
Option "metamodes" "DFP-0: nvidia-auto-select, DFP-1: nvidia-auto-select; nvidia-auto-select {ViewPortIn=1920x1080}; nvidia-auto-select {ViewPortIn=1680x1050}; nvidia-auto-select {ViewPortIn=1600x1200}; nvidia-auto-select {ViewPortIn=1440x900}; nvidia-auto-select {ViewPortIn=1400x1050}; nvidia-auto-select {ViewPortIn=1280x1024}; nvidia-auto-select {ViewPortIn=1280x960}; nvidia-auto-select {ViewPortIn=1280x800}; nvidia-auto-select {ViewPortIn=1152x864}; nvidia-auto-select {ViewPortIn=1024x768}; nvidia-auto-select {ViewPortIn=832x624}; nvidia-auto-select {ViewPortIn=800x600}; nvidia-auto-select {ViewPortIn=700x525}; nvidia-auto-select {ViewPortIn=640x480}; nvidia-auto-select {ViewPortIn=512x384}; nvidia-auto-select {ViewPortIn=400x300}; nvidia-auto-select {ViewPortIn=320x240}"
Is this ^^ right? I am pretty confused about the metamode thing.
-
Tried compiling wine --without-xrandr
-
Tried installing all of the directx libraries available in my wine bottle (unneeded / made no difference at all)
-
Tried asking for help on irc. No one seems to be on the last couple of days or no one knows the solution.
-
Tried simply changing my desktop resolution to that of the game (still get black bars on sides of screen)
The error message I am getting from wine when trying to do this before it crashes is:
Additional information: Card is gtx 560m (laptop; no optimus), nvidia driver 331.20-1, wine version 1.7.8, kernel version 3.12.3-1, OS is Arch Linux, window manager is openbox (no 3rd party compositor running).
Works fine with nouveau (as far as I can tell it has to do with randr; at least that’s what I have read online). So since it works with nouveau the conclusion I have come to is that it is graphics driver related and that is why I am posting on these forums. I am running out of ideas. I read a few similar posts on these forums but I could not put together any real solution. Any ideas on how I can get this working?
Edit: Attaching log in case it helps at all. Well it says scanning please wait. Hopefully it uploads. If not it is easy enough to reproduce if needed.
nvidia-bug-report.log.gz (92.5 KB)