You are not logged in.
Hello to everyone!
I installed Bumblebee following some glx problems, now solved. I'm now experiencing screen tearing with 'busy' frames (videos, fast scrolling). Following the wiki I tried to enable vsync through
optirun nvidia-settings -c :8
, but under "X Server XVideo Settings " the option "Sync to VBlank" is not present. All i get is "Xvideo Settings > Currently synced to display: Unknown" and "Sync to this display device" set to "Auto", with no other options.
Similary, on "OpenGL Settings" there's no "Sync to VBlank". Instead there's only a "Quality" scrollbar controlling "Image Settings" under Performance, and a "Miscellaneous" section with the option to enable/disable "Use Conformant Texture Clamping".
I then tried to access NVIDIA settings from my xfce menu, resulting in a:
You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server.
However I remember trying to run the above command in the past and getting problems. In fact, running it and trying to restart the X server results in the usual (EE) no screens found. removing the nvidia generated configuration file solves the problem.
here's the Xorg.log.old (the one in which startx tried to use the generated nvidia configuation file)
[ 3738.433]
X.Org X Server 1.17.2
Release Date: 2015-06-16
[ 3738.441] X Protocol Version 11, Revision 0
[ 3738.443] Build Operating System: Linux 4.0.4-2-ARCH x86_64
[ 3738.446] Current Operating System: Linux nyx 4.1.6-1-ARCH #1 SMP PREEMPT Mon Aug 17 08:52:28 CEST 2015 x86_64
[ 3738.446] Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img root=/dev/sda2 rw
[ 3738.451] Build Date: 17 July 2015 05:38:19PM
[ 3738.453]
[ 3738.455] Current version of pixman: 0.32.6
[ 3738.460] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 3738.460] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 3738.469] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Sep 9 15:12:08 2015
[ 3738.472] (==) Using config file: "/etc/X11/xorg.conf"
[ 3738.474] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 3738.474] (==) ServerLayout "Layout0"
[ 3738.474] (**) |-->Screen "Screen0" (0)
[ 3738.474] (**) | |-->Monitor "Monitor0"
[ 3738.474] (**) | |-->Device "Device0"
[ 3738.474] (**) |-->Input Device "Keyboard0"
[ 3738.475] (**) |-->Input Device "Mouse0"
[ 3738.475] (==) Automatically adding devices
[ 3738.475] (==) Automatically enabling devices
[ 3738.475] (==) Automatically adding GPU devices
[ 3738.475] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 3738.475] Entry deleted from font path.
[ 3738.475] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 3738.475] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 3738.475] Entry deleted from font path.
[ 3738.475] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 3738.475] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/
[ 3738.475] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 3738.475] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 3738.475] (WW) Disabling Keyboard0
[ 3738.475] (WW) Disabling Mouse0
[ 3738.475] (II) Loader magic: 0x817d60
[ 3738.475] (II) Module ABI versions:
[ 3738.475] X.Org ANSI C Emulation: 0.4
[ 3738.475] X.Org Video Driver: 19.0
[ 3738.475] X.Org XInput driver : 21.1
[ 3738.475] X.Org Server Extension : 9.0
[ 3738.478] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[ 3738.479] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 3738.480] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 8 paused 0
[ 3738.480] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 3738.481] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 9 paused 0
[ 3738.483] (--) PCI:*(0:0:2:0) 8086:0416:1043:11cd rev 6, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64
[ 3738.483] (--) PCI: (0:1:0:0) 10de:0fe4:1043:11cd rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[ 3738.484] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 3738.484] (II) LoadModule: "glx"
[ 3738.484] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 3738.486] (II) Module glx: vendor="X.Org Foundation"
[ 3738.486] compiled for 1.17.2, module version = 1.0.0
[ 3738.486] ABI class: X.Org Server Extension, version 9.0
[ 3738.486] (==) AIGLX enabled
[ 3738.486] (II) LoadModule: "nvidia"
[ 3738.486] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 3738.486] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 3738.486] compiled for 4.0.2, module version = 1.0.0
[ 3738.486] Module class: X.Org Video Driver
[ 3738.486] (II) NVIDIA dlloader X Driver 352.41 Fri Aug 21 22:14:01 PDT 2015
[ 3738.486] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 3738.486] (++) using VT number 1
[ 3738.486] (--) controlling tty is VT number 1, auto-enabling KeepTty
[ 3738.486] (EE) No devices detected.
[ 3738.486] (EE)
Fatal server error:
[ 3738.486] (EE) no screens found(EE)
[ 3738.486] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 3738.486] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 3738.486] (EE)
the nvidia generated xorg.conf:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 352.41 (buildmeister@swio-display-x64-rhel04-11) Sat Aug 22 00:01:10 PDT 2015
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
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 "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
As for technical specifications, I'm running arch on an Asus N550JV. Any idea on why the above conf doesn't work, and on how to get the nvidia settings menu to display vsync regulations?
Offline
Updating the situation: I found that disabling XFCE's compositing mitigated the problem, but tearing is still occasionally present. I've also tried to force a full composition pipeline, the result being
nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
ERROR: Error resolving target specification '' (No targets match target
specification), specified in assignment
'CurrentMetaMode=nvidia-auto-select +0+0 { ForceFullCompositionPipeline
= On }'.
again, even if the command did work, for making the changes permanent the Arch wiki still suggest editing a nvidia-xconfig generated xorg configuration, which leads to the problem in the OP (which I didn't manage to make progress on).
As a side note, please let me know if there's something wrong with the way I formulated the question or the question itself. I didn't find reports of this problem in this forum's section, so I don't think I'm bringing up an already resolved problem, but if so I'll be happy to close this thread and look up the past thread's solution.
Offline