You are not logged in.
Hello everyone,
I'm encountering an issue where running any 3D application through optirun or primusrun will result in weird graphical glitches ranging from small blotches of pink to the entire screen rapidly flipping vertically, checkered patterns appearing, text and textures stretching across the screen. This usually culminates in the application simply freezing. I've seen this most prominently running World of Warcraft on Wine, but even glxgears suffers from this problem.
I use the proprietary nVidia drivers and at the moment I suspect the problem comes from them or some sort of interaction between them, bumblebee and X, but I don't know enough to start pulling levers and pressing buttons in configs, and I haven't found any working solution through Google. I've uninstalled and reinstalled all the related packages, to no avail, and I'm out of ideas. Any help is appreciated.
Thank you.
Offline
post your xorg logs.
Offline
Here's the log:
[ 44061.460]
X.Org X Server 1.13.3
Release Date: 2013-03-07
[ 44061.460] X Protocol Version 11, Revision 0
[ 44061.460] Build Operating System: Linux 3.8.2-1-ARCH x86_64
[ 44061.460] Current Operating System: Linux TINOX-LAPTOP 3.7.10-1-ARCH #1 SMP PREEMPT Thu Feb 28 09:50:17 CET 2013 x86_64
[ 44061.460] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=5e1d1e19-d2c1-4260-9b1f-0a99b16fcb5f ro quiet
[ 44061.460] Build Date: 09 March 2013 08:45:37AM
[ 44061.460]
[ 44061.460] Current version of pixman: 0.28.2
[ 44061.460] Before reporting problems, check [url]http://wiki.x.org[/url]
to make sure that you have the latest version.
[ 44061.460] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 44061.461] (==) Log file: "/var/log/Xorg.8.log", Time: Sun Mar 10 09:44:17 2013
[ 44061.461] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[ 44061.461] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 44061.461] (==) ServerLayout "Layout0"
[ 44061.461] (==) No screen section available. Using defaults.
[ 44061.461] (**) |-->Screen "Default Screen Section" (0)
[ 44061.461] (**) | |-->Monitor "<default monitor>"
[ 44061.462] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 44061.462] (**) | |-->Device "Device1"
[ 44061.462] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 44061.462] (**) Option "AutoAddDevices" "false"
[ 44061.462] (**) Not automatically adding devices
[ 44061.462] (==) Automatically enabling devices
[ 44061.462] (==) Automatically adding GPU devices
[ 44061.462] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 44061.462] Entry deleted from font path.
[ 44061.462] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 44061.462] Entry deleted from font path.
[ 44061.462] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 44061.462] Entry deleted from font path.
[ 44061.462] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 44061.462] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 44061.462] Entry deleted from font path.
[ 44061.462] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 44061.462] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/
[ 44061.462] (++) ModulePath set to "/usr/lib/nvidia-bumblebee/xorg/,/usr/lib/xorg/modules"
[ 44061.462] (==) |-->Input Device "<default pointer>"
[ 44061.462] (==) |-->Input Device "<default keyboard>"
[ 44061.462] (==) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
[ 44061.462] (==) The core keyboard device wasn't specified explicitly in the layout.
Using the default keyboard configuration.
[ 44061.462] (II) Loader magic: 0x7fcc20
[ 44061.462] (II) Module ABI versions:
[ 44061.462] X.Org ANSI C Emulation: 0.4
[ 44061.462] X.Org Video Driver: 13.1
[ 44061.462] X.Org XInput driver : 18.0
[ 44061.462] X.Org Server Extension : 7.0
[ 44061.462] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 44061.462] setversion 1.4 failed
[ 44061.463] (--) PCI:*(0:1:0:0) 10de:0dce:1558:1500 rev 161, Mem @ 0xf4000000/33554432, 0xd0000000/268435456, 0xe0000000/67108864, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[ 44061.464] Initializing built-in extension Generic Event Extension
[ 44061.464] Initializing built-in extension SHAPE
[ 44061.464] Initializing built-in extension MIT-SHM
[ 44061.464] Initializing built-in extension XInputExtension
[ 44061.464] Initializing built-in extension XTEST
[ 44061.464] Initializing built-in extension BIG-REQUESTS
[ 44061.464] Initializing built-in extension SYNC
[ 44061.464] Initializing built-in extension XKEYBOARD
[ 44061.464] Initializing built-in extension XC-MISC
[ 44061.464] Initializing built-in extension SECURITY
[ 44061.464] Initializing built-in extension XINERAMA
[ 44061.464] Initializing built-in extension XFIXES
[ 44061.464] Initializing built-in extension RENDER
[ 44061.464] Initializing built-in extension RANDR
[ 44061.464] Initializing built-in extension COMPOSITE
[ 44061.464] Initializing built-in extension DAMAGE
[ 44061.464] Initializing built-in extension MIT-SCREEN-SAVER
[ 44061.464] Initializing built-in extension DOUBLE-BUFFER
[ 44061.464] Initializing built-in extension RECORD
[ 44061.464] Initializing built-in extension DPMS
[ 44061.464] Initializing built-in extension X-Resource
[ 44061.464] Initializing built-in extension XVideo
[ 44061.464] Initializing built-in extension XVideo-MotionCompensation
[ 44061.464] Initializing built-in extension XFree86-VidModeExtension
[ 44061.464] Initializing built-in extension XFree86-DGA
[ 44061.464] Initializing built-in extension XFree86-DRI
[ 44061.464] Initializing built-in extension DRI2
[ 44061.464] (II) LoadModule: "glx"
[ 44061.464] (II) Loading /usr/lib/nvidia-bumblebee/xorg/modules/extensions/libglx.so
[ 44061.471] (II) Module glx: vendor="NVIDIA Corporation"
[ 44061.471] compiled for 4.0.2, module version = 1.0.0
[ 44061.471] Module class: X.Org Server Extension
[ 44061.471] (II) NVIDIA GLX Module 313.26 Wed Feb 27 13:10:40 PST 2013
[ 44061.471] Loading extension GLX
[ 44061.471] (II) LoadModule: "nvidia"
[ 44061.472] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 44061.472] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 44061.472] compiled for 4.0.2, module version = 1.0.0
[ 44061.472] Module class: X.Org Video Driver
[ 44061.472] (II) LoadModule: "mouse"
[ 44061.472] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[ 44061.472] (II) Module mouse: vendor="X.Org Foundation"
[ 44061.472] compiled for 1.13.0, module version = 1.8.1
[ 44061.472] Module class: X.Org XInput Driver
[ 44061.472] ABI class: X.Org XInput driver, version 18.0
[ 44061.472] (II) LoadModule: "kbd"
[ 44061.472] (WW) Warning, couldn't open module kbd
[ 44061.472] (II) UnloadModule: "kbd"
[ 44061.472] (II) Unloading kbd
[ 44061.472] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 44061.472] (II) NVIDIA dlloader X Driver 313.26 Wed Feb 27 12:52:26 PST 2013
[ 44061.472] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 44061.473] (--) using VT number 7
[ 44061.473] (II) Loading sub module "wfb"
[ 44061.473] (II) LoadModule: "wfb"
[ 44061.473] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 44061.473] (II) Module wfb: vendor="X.Org Foundation"
[ 44061.473] compiled for 1.13.3, module version = 1.0.0
[ 44061.473] ABI class: X.Org ANSI C Emulation, version 0.4
[ 44061.473] (II) Loading sub module "ramdac"
[ 44061.473] (II) LoadModule: "ramdac"
[ 44061.473] (II) Module "ramdac" already built-in
[ 44061.473] (II) NVIDIA(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 44061.473] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 44061.473] (==) NVIDIA(0): RGB weight 888
[ 44061.473] (==) NVIDIA(0): Default visual is TrueColor
[ 44061.473] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 44061.473] (**) NVIDIA(0): Option "NoLogo" "true"
[ 44061.473] (**) NVIDIA(0): Option "ProbeAllGpus" "false"
[ 44061.473] (**) NVIDIA(0): Option "UseEDID" "false"
[ 44061.473] (**) NVIDIA(0): Option "ConnectedMonitor" "DFP"
[ 44061.473] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
[ 44061.473] (**) NVIDIA(0): Enabling 2D acceleration
[ 44061.473] (**) NVIDIA(0): ConnectedMonitor string: "DFP"
[ 44061.473] (**) NVIDIA(0): Ignoring EDIDs
[ 44061.473] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
[ 44061.473] (**) NVIDIA(0): mode
[ 44062.579] (II) NVIDIA(GPU-0): Not probing EDID on CRT-0.
[ 44062.580] (II) NVIDIA(0): NVIDIA GPU GeForce GT 555M (GF106) at PCI:1:0:0 (GPU-0)
[ 44062.580] (--) NVIDIA(0): Memory: 2097152 kBytes
[ 44062.580] (--) NVIDIA(0): VideoBIOS: 70.06.35.00.a4
[ 44062.580] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 44062.580] (--) NVIDIA(0): Valid display device(s) on GeForce GT 555M at PCI:1:0:0
[ 44062.580] (--) NVIDIA(0): CRT-0 (connected)
[ 44062.580] (--) NVIDIA(0): CRT-0: 400.0 MHz maximum pixel clock
[ 44062.580] (II) NVIDIA(0): Validated MetaModes:
[ 44062.580] (II) NVIDIA(0): "nvidia-auto-select"
[ 44062.580] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[ 44062.580] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[ 44062.580] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[ 44062.580] (--) Depth 24 pixmap format is 32 bpp
[ 44062.580] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
[ 44062.580] (II) NVIDIA: access.
[ 44062.584] (II) NVIDIA(0): Setting mode "nvidia-auto-select"
[ 44062.587] Loading extension NV-GLX
[ 44062.592] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 44062.592] (==) NVIDIA(0): Backing store disabled
[ 44062.592] (==) NVIDIA(0): Silken mouse enabled
[ 44062.592] (==) NVIDIA(0): DPMS enabled
[ 44062.592] Loading extension NV-CONTROL
[ 44062.592] (II) Loading sub module "dri2"
[ 44062.592] (II) LoadModule: "dri2"
[ 44062.592] (II) Module "dri2" already built-in
[ 44062.592] (II) NVIDIA(0): [DRI2] Setup complete
[ 44062.592] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 44062.592] (--) RandR disabled
[ 44062.597] (II) Initializing extension GLX
[ 44062.638] (II) Using input driver 'mouse' for '<default pointer>'
[ 44062.638] (**) Option "CorePointer" "on"
[ 44062.638] (**) <default pointer>: always reports core events
[ 44062.638] (WW) <default pointer>: No Device specified, looking for one...
[ 44062.645] (II) <default pointer>: Setting Device option to "/dev/input/mice"
[ 44062.645] (--) <default pointer>: Device: "/dev/input/mice"
[ 44062.645] (==) <default pointer>: Protocol: "Auto"
[ 44062.645] (**) <default pointer>: always reports core events
[ 44062.645] (**) Option "Device" "/dev/input/mice"
[ 44062.649] (==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
[ 44062.649] (**) <default pointer>: ZAxisMapping: buttons 4 and 5
[ 44062.649] (**) <default pointer>: Buttons: 9
[ 44062.649] (II) XINPUT: Adding extended input device "<default pointer>" (type: MOUSE, id 6)
[ 44062.649] (**) <default pointer>: (accel) keeping acceleration scheme 1
[ 44062.649] (**) <default pointer>: (accel) acceleration profile 0
[ 44062.649] (**) <default pointer>: (accel) acceleration factor: 2.000
[ 44062.649] (**) <default pointer>: (accel) acceleration threshold: 4
[ 44062.649] (II) <default pointer>: Setting mouse protocol to "ExplorerPS/2"
[ 44062.942] (II) <default pointer>: ps2EnableDataReporting: succeeded
[ 44062.942] (II) LoadModule: "kbd"
[ 44062.943] (WW) Warning, couldn't open module kbd
[ 44062.943] (II) UnloadModule: "kbd"
[ 44062.943] (II) Unloading kbd
[ 44062.943] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 44062.943] (EE) No input driver matching `kbd'
[ 44062.946] (II) config/udev: Adding input device Power Button (/dev/input/event6)
[ 44062.946] (II) AutoAddDevices is off - not adding device.
[ 44062.947] (II) config/udev: Adding input device Video Bus (/dev/input/event13)
[ 44062.947] (II) AutoAddDevices is off - not adding device.
[ 44062.947] (II) config/udev: Adding input device Video Bus (/dev/input/event12)
[ 44062.947] (II) AutoAddDevices is off - not adding device.
[ 44062.948] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 44062.948] (II) AutoAddDevices is off - not adding device.
[ 44062.948] (II) config/udev: Adding input device Lid Switch (/dev/input/event5)
[ 44062.948] (II) AutoAddDevices is off - not adding device.
[ 44062.949] (II) config/udev: Adding input device Sleep Button (/dev/input/event4)
[ 44062.949] (II) AutoAddDevices is off - not adding device.
[ 44062.949] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 44062.949] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 44062.949] setversion 1.4 failed
[ 44062.950] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event7)
[ 44062.950] (II) AutoAddDevices is off - not adding device.
[ 44062.950] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event10)
[ 44062.950] (II) AutoAddDevices is off - not adding device.
[ 44062.951] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event8)
[ 44062.951] (II) AutoAddDevices is off - not adding device.
[ 44062.951] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event9)
[ 44062.951] (II) AutoAddDevices is off - not adding device.
[ 44062.952] (II) config/udev: Adding input device USB OPTICAL MOUSE (/dev/input/event1)
[ 44062.952] (II) AutoAddDevices is off - not adding device.
[ 44062.952] (II) config/udev: Adding input device USB OPTICAL MOUSE (/dev/input/mouse0)
[ 44062.953] (II) AutoAddDevices is off - not adding device.
[ 44062.953] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[ 44062.953] (II) AutoAddDevices is off - not adding device.
[ 44062.954] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event11)
[ 44062.954] (II) AutoAddDevices is off - not adding device.
[ 44062.954] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
[ 44062.954] (II) AutoAddDevices is off - not adding device.
[ 44062.954] (II) config/udev: Adding input device PC Speaker (/dev/input/event2)
[ 44062.954] (II) AutoAddDevices is off - not adding device.Last edited by Tinox (2013-03-10 13:54:01)
Offline
your xorg output looks benign.
journalctl | grep nvidia
outupt might give some idea.
Offline
Thanks, I hadnt thought of looking there. Here's what I found from today, when I did more tests and saw the same problems:
mar 10 14:06:53 TINOX-LAPTOP kernel: nvidia: module license 'NVIDIA' taints kernel.
mar 10 14:06:53 TINOX-LAPTOP kernel: nvidia 0000:01:00.0: enabling device (0006 -> 0007)
mar 10 14:09:00 TINOX-LAPTOP kernel: nvidia: module license 'NVIDIA' taints kernel.
mar 10 14:09:00 TINOX-LAPTOP kernel: nvidia 0000:01:00.0: enabling device (0006 -> 0007)
mar 10 17:56:42 TINOX-LAPTOP kernel: nvidia: module license 'NVIDIA' taints kernel.
mar 10 17:56:42 TINOX-LAPTOP kernel: nvidia 0000:01:00.0: enabling device (0006 -> 0007)
mar 10 18:27:01 TINOX-LAPTOP kernel: nvidia: module license 'NVIDIA' taints kernel.
mar 10 18:27:01 TINOX-LAPTOP kernel: nvidia 0000:01:00.0: enabling device (0006 -> 0007)
mar 10 23:14:34 TINOX-LAPTOP kernel: nvidia: module license 'NVIDIA' taints kernel.
mar 10 23:14:34 TINOX-LAPTOP kernel: nvidia 0000:01:00.0: enabling device (0006 -> 0007)I'm not sure what tainting kernel means, but I assume those are what happens when bbswitch turns the card on.
Last edited by Tinox (2013-03-11 03:27:51)
Offline
nvidia tainting the kernel is not the problem. It just means, that it is closed-source and no debug symbols exist.
I have no idea what might cause these problem. You could try downgrading the nvidia driver and also nvidia-utils-bumblebee (versions have to match). There was an update to those recently, iirc
Offline
How far do you think I should try downgrading? I've had these problems ever since I installed Arch, and that was months ago (around October).
Could it possibly be a problem with my card itself?
Offline
How far do you think I should try downgrading? I've had these problems ever since I installed Arch, and that was months ago (around October).
Oh, now thats a very important detail ![]()
You probably used many different version during that time period. So, I don't think downgrading helps.
Did you buy your laptop in October? If not, what OS did you use before Arch?
Could it possibly be a problem with my card itself?
Possible. You could test the GPU with a different OS, possibly windows. Apart from that, I have no clue what the problem could be.
Also, please post your complete system specs.
Offline
Yeah, I realize I'm pretty much posting new info as the plot requires. My bad on that.
I bought the laptop in August of 2011, and at first had Windows 7 on it. I changed it to Arch last October when I bought a new desktop. It's a Sager NP5165 with a GeForce 555M. I don't have the laptop with me at the moment to check on the exact details on the rest, and I'm not too sure what else is relevant, so I'll edit this post later with more info.
Offline
Do you happen to be booting with "NOMODESET" enabled/used? If so, try disabling that. It caused me a few issues once.
Matt
"It is very difficult to educate the educated."
Offline
I apologize for the delayed response, things came up and I forgot I had this post up. No, I don't have nomodeset enabled.
Offline