Hi everybody,
I have an ASUS G75VW laptop with a GeForce GTX 670M. I recently installed Debian on this laptop and everything worked fine except for graphics, which had serious screen tearing and stuttering artifacts. So I tried to install the nvidia drivers (which I got from the nvidia website), but I did not managed to install them due to continue errors during installation. So I added the non-free packages to my sources.list file and installed the package nvidia-legacy-390xx-driver, but the screen artifacts were not solved. After looking on the internet for some days, I found out that I should use a xorg.conf file in order to get everything working. So I played around with some settings (most of which have been copy-pasted from other websites) and I managed to reduce the issues, even though they are not disappeared completely. I was wondering if somebody is able to help me solving this annoying issue.
Thanks in advance.
Here’s my configuration:
- I use an external 1280x1024 (60 or 75 Hz) external screen connected with the HDMI port of the laptop.
- I installed Debian without any Desktop Environment, and as soon as I got to a prompt I installed xorg, i3 and compton. Then I installed the nvidia-legacy-390xx-driver and I configured the softwares as follows:
/usr/share/X11/xorg.conf.d/10-nvidia.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 390.116
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
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"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "FUS P19-3P"
HorizSync 30.0 - 82.0
VertRefresh 56.0 - 76.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 670M"
Option "NoLogo" "1"
Option "MigrationHeuristic" "greedy"
Option "AccelMethod" "sna"
Option "TearFree" "true"
Option "RenderAccel" "True"
Option "AddARGBGLXVisuals" "True"
Option "OnDemandVBlankInterrupts" "True"
Option "InitialPixmapPlacement" "2"
Option "BackingStore" "True"
Option "DamageEvents" "True"
Option "UseEvents" "False"
Option "Coolbits" "1"
Option "DisableGLXRootCliping" "True"
Option "TripleBuffer" "true"
Option "Coolbits" "24"
Option "PixmapCacheSize" "300000"
Option "GlyphCache" "1"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "metamodes" "HDMI-0: nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
~/.config/i3/config [excerpt]
exec --no-startup-id compton --config ~/.config/compton.conf -CGb --backend glx --paint-on-overlay --vsync opengl-swc
~/.config/compton.conf
# basic configuration
backend = "glx";
vsync = "opengl-swc";
paint-on-overlay = true
glx-no-stencil = true
glx-copy-from-front = true;
glx-swap-method = 2;
xrender-sync = true;
xrender-sync-fence = true;
# transparancy settings for i3
opacity-rule = [
"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];
/etc/modprobe.d/zz-nvidia-modeset.conf
options nvidia_390_drm modeset=1
/etc/default/grub [excerpt]
#
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
# GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX_DEFAULT="quiet <b>nvidia-drm.modeset=1</b> "
GRUB_CMDLINE_LINUX=""
/etc/profile [excerpt]
export __GL_SYNC_TO_VBLANK=1
export __GL_SYNC_DISPLAY_DEVICE=DVI-I-1
export __VDPAU_NVIDIA_SYNC_DISPLAY_DEVICE==DVI-I-1
export __GL_SYNC_DISPLAY_DEVICE=DVI-I-1
export SDL_VIDEO_FULLSCREEN_HEAD=1
export SDL_VIDEO_FULLSCREEN_DISPLAY=1
export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0
nvidia-bug-report.log: attached (I’ve truncated the last 6000 lines that contained an unintelligible string of alphanumeric characters)
nvidia-bug-report.log.gz (55 KB)