OK, I tried compiling and launching the stock NVIDIA driver again (I chose 295.71 as it was the closest one to 304 that was known to be unaffected by the recent change related to video modes). The only error I got was at the beginning, it said:
Code:
The distribution-provided pre-install script failed! Continue installation anyway?
I continued after that and it compiled without any further errors and installed. It refused to run, though, saying that the version of the X server ABI (13.0) was too new for it, and recommended me to either downgrade my X or upgrade my driver or something to that effect. Anyhow, it seems that with the current version of the X.org server, I'm stuck with 304 and above. :\
Here's my Xorg.0.log, as requested:
Code:
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 2052.673] (EE) NVIDIA: Use the -ignoreABI option to override this check.
[ 2052.673] (EE) Failed to load module "nvidia" (module requirement mismatch, 0)
[ 2052.674] (EE) NVIDIA: Use the -ignoreABI option to override this check.
[ 2052.674] (EE) Failed to load module "nvidia" (module requirement mismatch, 0)
[ 2052.674] (EE) Failed to load module "nv" (module does not exist, 0)
[ 2052.755] (EE) [drm] failed to open device
[ 2052.755] (EE) open /dev/dri/card0: No such file or directory
[ 2052.756] (EE) open /dev/fb0: No such file or directory
[ 2053.446] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
Trying to call "startx" from cli results in a message saying that the ABI version 13.0 is too new for the driver.
So, anyhow, I uninstalled the binary driver again and reverted to v304.
Here's my xorg.conf (with the non-working metamode line I tried to add commented out - it's most likely absolutely wrong, please assist if you know how to write it right - I was trying to follow some advice on the other boards in order to make the aspect ratio scaling work right and with no screen panning, but did not get anywhere with it after several different attempts). The xorg.conf file is located in /etc/X11:
Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 304.51 (buildd@batsu) Fri Oct 12 12:53:54 UTC 2012
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Samsung SyncMaster"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 9600 GT"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
# I TRIED THIS AND IT DIDN'T WORK: Option "MetaModes" "DFP-0: nvidia-auto-select { ViewPortIn=1680x1050 }; DFP-0: nvidia-auto-select { ViewPortIn=1152x864, ViewPortOut=1680x1050 }; DFP-0: nvidia-auto-select { ViewPortIn=1024x768, ViewPortOut=1680x1050 }; DFP-0: nvidia-auto-select { ViewPortIn=960x600, ViewPortOut=1680x1050 }; DFP-0: nvidia-auto-select { ViewPortIn=800x600, ViewPortOut=1680x1050 }; DFP-0: nvidia-auto-select { ViewPortIn=640x480, ViewPortOut=1680x1050 };"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Other than that, I tried to get rid of the panning effect but it seems like it's either the way Wine interoperates with the new driver or something like that, so even if I disable panning on the desktop, it will come back when I start a game in Wine and it changes the resolution. I can easily enable or disable panning on my standard desktop with this:
Code:
xrandr --output DVI-I-3 --panning 0x0+0+0
(disables panning) or:
Code:
xrandr --output DVI-I-3 --mode 800x600 --panning 1680x1050
(will enable and simulate the panning effect that I get in Wine).
However, calling that xrandr program to disable panning has no effect whatsoever on Wine, the games that are run in Wine still pan like crazy (it seems like the game sets, for instance, the 800x600 mode, but that mode is set up as 800x600 that can pan all the way to 1680x1050).
As for scaling, nothing I've ever tried so far was able to fix the problem with scaling - the 3:4 aspect ratio is still not preserved.
Thank you in advance for further help.