Mailinglist Archive: opensuse (880 mails)

< Previous Next >
Re: [opensuse] Troubles with Nvidia
Hello again ;-)

Dne Čt 8. srpna 2013 12:02:05, Werner Flamme napsal(a):
[08.08.2013 11:35] [Vojtěch Zeisek]:
Hello

Dne Čt 8. srpna 2013 05:52:09, David Haller napsal(a):
Hello,

On Wed, 07 Aug 2013, Vojtech Zeisek wrote:
Dne St 7. srpna 2013 20:15:06, Werner Flamme napsal(a):
[07.08.2013 19:03] [Vojtech Zeisek]:
[..]

# nvidia-modprobe
FATAL: Error inserting nvidia (/lib/modules/3.7.10-1.16-desktop/weak-
updates/updates/nvidia.ko): No such device
# find /lib -name nvidia.ko -print
/lib/modules/3.7.10-1.16-desktop/weak-updates/updates/nvidia.ko
/lib/modules/3.7.10-1.1-desktop/updates/nvidia.ko
WTF? Should I blacklist the nouveau driver to force loading of nvidia?

Yes. And you may also have to adjust the INITRD_MODULES="..." variable
in /etc/sysconfig/kernel (remove nouvau if it's in there, add nvidia).
Then run mkinitrd.

Done, no change, still using nouveau.

After changing this, you have to re-create the initrd. Did you use the
mkinitrd command?

Of course. :-)

BTW:

a) there's sax3 in the repos, no idea how that works though (see

before sig)

I tried. It doesn't seem to be very useful right now. It created 99-
saxdevice.conf, 99-saxmonitors.conf and 99-saxscreen.conf in
/etc/X11/xorg.conf.d/ and the device section knew just Intel driver. After
changing to nvidia, X didn't start. I deleted those configuration files.

It might have caused the intel graphics controller to work, after you
created a new initrd (and maybe rebooted from it).

# nvidia-modprobe
FATAL: Error inserting nvidia (/lib/modules/3.7.10-1.16-desktop/weak-
updates/updates/nvidia.ko): No such device

For me, a simple "modprobe nvidia" works.

# modprobe nvidia
FATAL: Error inserting nvidia (/lib/modules/3.7.10-1.16-desktop/weak-
updates/updates/nvidia.ko): No such device

[ 179.017] (II) NVIDIA GLX Module 319.32 Wed Jun 19 14:55:38 PDT 2013
[ 179.017] Loading extension GLX
[ 179.017] (II) LoadModule: "nouveau"
[ 179.018] (II) Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so

This should not happen, since the module should be blacklisted (see
Andrey's post).

I added nouveau to blacklist in /etc/modprobe.d/50-blacklist.conf:
# lspci -nnk | grep VGA -A2
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core
processor Graphics Controller [8086:0166] (rev 09)
Subsystem: Hewlett-Packard Company Device [103c:181b]
Kernel driver in use: i915
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108 [GeForce GT
630M] [10de:0de9] (rev a1)
Subsystem: Hewlett-Packard Company Device [103c:181b]
Kernel driver in use: nvidia

So? It looks better. Although bumblebee doesn't run:
# optirun glxgears
The Bumblebee X server was not available, please check the
Bumblebee logfile at /var/log/bumblebee.log



==================================================

Now, I'm unsure about logs, because they don't show real time and don't make
sens. :-)

# tail /var/log/bumblebee.log
[ 122.21] Checking for X server availability before starting X...



[ 122.22] X server is not started



[ 122.22] Power management is disabled, only loading driver



[ 127.97] rmmod /lib/modules/3.7.10-1.16-desktop/weak-
updates/updates/nvidia.ko


[ 127.97] insmod /lib/modules/3.7.10-1.16-
desktop/kernel/drivers/gpu/drm/ttm/ttm.ko


[ 127.97] insmod /lib/modules/3.7.10-1.16-
desktop/kernel/drivers/gpu/drm/nouveau/nouveau.ko


[ 127.97] Starting X using nouveau...



[ 127.98] Waiting for X server to become available...



[ 138.58] The Bumblebee X server failed to start. Please check
/var/log/Xorg.8.log


[ 138.58] Waiting for orders

# cat /var/log/Xorg.8.log



Release Date: 2013-01-24



[ 127.980] X Protocol Version 11, Revision 0



[ 127.980] Build Operating System: openSUSE SUSE LINUX



[ 127.980] Current Operating System: Linux veles.site 3.7.10-1.16-desktop #1
SMP PREEMPT Fri May 31 20:21:23 UTC 2013 (97c14ba) x86_64


[ 127.980] Kernel command line: BOOT_IMAGE=/vmlinuz-3.7.10-1.16-desktop
root=/dev/mapper/pocitac-koren ro elevator=cfq


[ 127.980] Build Date: 15 July 2013 12:22:00PM



[ 127.980]



[ 127.980] Current version of pixman: 0.28.2



[ 127.980] Before reporting problems, check http://wiki.x.org



to make sure that you have the latest version.



[ 127.980] Markers: (--) probed, (**) from config file, (==) default setting,



(++) from command line, (!!) notice, (II) informational,



(WW) warning, (EE) error, (NI) not implemented, (??) unknown.



[ 127.980] (==) Log file: "/var/log/Xorg.8.log", Time: Thu Aug 8 13:42:06
2013


[ 127.980] (++) Using config file: "/etc/bumblebee/xorg.conf.nouveau"



[ 127.980] (==) Using config directory: "/etc/X11/xorg.conf.d"



[ 127.980] (==) Using system config directory "/usr/share/X11/xorg.conf.d"



[ 128.118] (==) ServerLayout "Layout0"



[ 128.118] (**) |-->Screen "Screen0" (0)
[ 128.118] (**) | |-->Monitor "<default monitor>"
[ 128.118] (**) | |-->Device "Device0"
[ 128.118] (==) No monitor specified for screen "Screen0".
Using a default monitor configuration.
[ 128.118] (**) Option "AutoAddDevices" "false"
[ 128.118] (**) Not automatically adding devices
[ 128.118] (==) Automatically enabling devices
[ 128.118] (==) Automatically adding GPU devices
[ 128.118] (WW) The directory "/usr/share/fonts/misc/sgi" does not exist.
[ 128.118] Entry deleted from font path.
[ 128.118] (==) FontPath set to:
/usr/share/fonts/misc:unscaled,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi:unscaled,
/usr/share/fonts/75dpi:unscaled,
/usr/share/fonts/ghostscript/,
/usr/share/fonts/cyrillic:unscaled,
/usr/share/fonts/truetype/,
built-ins
[ 128.118] (==) ModulePath set to
"/usr/lib64/xorg/modules/updates,/usr/lib64/xorg/modules"
[ 128.118] (==) |-->Input Device "<default pointer>"
[ 128.118] (==) |-->Input Device "<default keyboard>"
[ 128.118] (==) The core pointer device wasn't specified explicitly in the
layout.
Using the default mouse configuration.
[ 128.118] (==) The core keyboard device wasn't specified explicitly in the
layout.
Using the default keyboard configuration.
[ 128.118] (II) Loader magic: 0x801c20
[ 128.118] (II) Module ABI versions:
[ 128.118] X.Org ANSI C Emulation: 0.4
[ 128.118] X.Org Video Driver: 13.1
[ 128.118] X.Org XInput driver : 18.0
[ 128.118] X.Org Server Extension : 7.0
[ 128.119] (II) config/udev: Adding drm device (/dev/dri/card1)
[ 128.119] setversion 1.4 failed
[ 128.119] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 128.119] setversion 1.4 failed
[ 128.121] (--) PCI:*(0:0:2:0) 8086:0166:103c:181b rev 9, Mem @
0xd4000000/4194304, 0xc0000000/268435456, I/O @ 0x00005000/64
[ 128.121] (--) PCI: (0:1:0:0) 10de:0de9:103c:181b rev 161, Mem @
0xd2000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @
0x00004000/128, BIOS @ 0x????????/524288
[ 128.121] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or
directory)
[ 128.121] Initializing built-in extension Generic Event Extension
[ 128.121] Initializing built-in extension SHAPE
[ 128.121] Initializing built-in extension MIT-SHM
[ 128.121] Initializing built-in extension XInputExtension
[ 128.121] Initializing built-in extension XTEST
[ 128.121] Initializing built-in extension BIG-REQUESTS
[ 128.121] Initializing built-in extension SYNC
[ 128.121] Initializing built-in extension XKEYBOARD
[ 128.121] Initializing built-in extension XC-MISC
[ 128.121] Initializing built-in extension SECURITY
[ 128.121] Initializing built-in extension XINERAMA
[ 128.121] Initializing built-in extension XFIXES
[ 128.121] Initializing built-in extension RENDER
[ 128.121] Initializing built-in extension RANDR
[ 128.121] Initializing built-in extension COMPOSITE
[ 128.121] Initializing built-in extension DAMAGE
[ 128.121] Initializing built-in extension MIT-SCREEN-SAVER
[ 128.121] Initializing built-in extension DOUBLE-BUFFER
[ 128.121] Initializing built-in extension RECORD
[ 128.121] Initializing built-in extension DPMS
[ 128.121] Initializing built-in extension X-Resource
[ 128.121] Initializing built-in extension XVideo
[ 128.121] Initializing built-in extension XVideo-MotionCompensation
[ 128.121] Initializing built-in extension XFree86-VidModeExtension
[ 128.121] Initializing built-in extension XFree86-DGA
[ 128.121] Initializing built-in extension XFree86-DRI
[ 128.121] Initializing built-in extension DRI2
[ 128.121] (II) "glx" will be loaded by default.
[ 128.121] (II) LoadModule: "dri2"
[ 128.122] (II) Module "dri2" already built-in
[ 128.122] (II) LoadModule: "glamoregl"
[ 128.122] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
[ 128.128] (EE) Failed to load /usr/lib64/xorg/modules/libglamoregl.so:
/usr/lib64/xorg/modules/libglamoregl.so: undefined symbol: _glapi_tls_Context
[ 128.128] (II) UnloadModule: "glamoregl"
[ 128.128] (II) Unloading glamoregl
[ 128.128] (EE) Failed to load module "glamoregl" (loader failed, 7)
[ 128.128] (II) LoadModule: "glx"
[ 128.128] (II) Loading /usr/lib64/xorg/modules/updates/extensions/libglx.so
[ 128.134] (II) Module glx: vendor="NVIDIA Corporation"
[ 128.134] compiled for 4.0.2, module version = 1.0.0
[ 128.134] Module class: X.Org Server Extension
[ 128.134] (II) NVIDIA GLX Module 319.32 Wed Jun 19 14:55:38 PDT 2013
[ 128.134] Loading extension GLX
[ 128.134] (II) LoadModule: "nouveau"
[ 128.134] (II) Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so
[ 128.183] (II) Module nouveau: vendor="X.Org Foundation"
[ 128.183] compiled for 1.13.1, module version = 1.0.6
[ 128.183] Module class: X.Org Video Driver
[ 128.184] ABI class: X.Org Video Driver, version 13.1
[ 128.184] (II) LoadModule: "mouse"
[ 128.184] (II) Loading /usr/lib64/xorg/modules/input/mouse_drv.so
[ 128.200] (II) Module mouse: vendor="X.Org Foundation"
[ 128.200] compiled for 1.13.1, module version = 1.8.1
[ 128.200] Module class: X.Org XInput Driver
[ 128.200] ABI class: X.Org XInput driver, version 18.0
[ 128.200] (II) LoadModule: "kbd"
[ 128.200] (II) Loading /usr/lib64/xorg/modules/input/kbd_drv.so
[ 128.201] (II) Module kbd: vendor="X.Org Foundation"
[ 128.201] compiled for 1.13.1, module version = 1.6.2
[ 128.201] Module class: X.Org XInput Driver
[ 128.201] ABI class: X.Org XInput driver, version 18.0
[ 128.201] (II) NOUVEAU driver
[ 128.201] (II) NOUVEAU driver for NVIDIA chipset families :
[ 128.201] RIVA TNT (NV04)
[ 128.201] RIVA TNT2 (NV05)
[ 128.201] GeForce 256 (NV10)
[ 128.201] GeForce 2 (NV11, NV15)
[ 128.201] GeForce 4MX (NV17, NV18)
[ 128.201] GeForce 3 (NV20)
[ 128.201] GeForce 4Ti (NV25, NV28)
[ 128.201] GeForce FX (NV3x)
[ 128.201] GeForce 6 (NV4x)
[ 128.201] GeForce 7 (G7x)
[ 128.201] GeForce 8 (G8x)
[ 128.201] GeForce GTX 200 (NVA0)
[ 128.201] GeForce GTX 400 (NVC0)
[ 128.201] (--) using VT number 7
[ 128.255] (II) [drm] nouveau interface version: 1.1.0
[ 128.255] (II) Loading sub module "dri"
[ 128.255] (II) LoadModule: "dri"
[ 128.255] (II) Module "dri" already built-in
[ 128.255] (II) NOUVEAU(0): Loaded DRI module
[ 128.310] (EE) NOUVEAU(0): [drm] failed to set drm interface version.
[ 128.310] (EE) NOUVEAU(0): [drm] error opening the drm
[ 128.310] (EE) NOUVEAU(0): 819:
[ 128.310] (II) UnloadModule: "nouveau"
[ 128.310] (EE) Screen(s) found, but none have a usable configuration.
[ 128.310]
Fatal server error:
[ 128.310] no screens found
[ 128.310] (EE)
[ 128.310] Server terminated with error (1). Closing log file.

# cat /var/log/Xorg.0.log
[ 127.248] removing GPU device
/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 38655968
[ 127.248] (II) config/udev: Adding drm device (/dev/dri/card1)
[ 127.248] (II) config/udev: Adding drm device (/dev/dri/card1)
[ 127.999] (II) LoadModule: "modesetting"
[ 128.000] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[ 128.003] (II) Module modesetting: vendor="X.Org Foundation"
[ 128.003] compiled for 1.13.2, module version = 0.8.0
[ 128.003] Module class: X.Org Video Driver
[ 128.003] ABI class: X.Org Video Driver, version 13.1
[ 128.003] (II) modesetting(G0): using drv /dev/dri/card1
[ 128.006] (==) modesetting(G0): Depth 24, (==) framebuffer bpp 32
[ 128.006] (==) modesetting(G0): RGB weight 888
[ 128.006] (==) modesetting(G0): Default visual is TrueColor
[ 128.006] (II) modesetting(G0): ShadowFB: preferred YES, enabled YES
[ 128.052] (II) modesetting(G0): Output VGA-1 has no monitor section
[ 128.098] (II) modesetting(G0): Output VGA-1 connected
[ 128.098] (II) modesetting(G0): Using exact sizes for initial modes
[ 128.098] (II) modesetting(G0): Output VGA-1 using initial mode 1024x768
[ 128.098] (II) modesetting(G0): Using default gamma of (1.0, 1.0, 1.0)
unless otherwise stated.
[ 128.098] (**) modesetting(G0): Display dimensions: (340, 190) mm
[ 128.098] (**) modesetting(G0): DPI set to (76, 102)
[ 128.098] (II) Loading sub module "fb"
[ 128.098] (II) LoadModule: "fb"
[ 128.098] (II) Loading /usr/lib64/xorg/modules/libfb.so
[ 128.098] (II) Module fb: vendor="X.Org Foundation"
[ 128.098] compiled for 1.13.2, module version = 1.0.0
[ 128.098] ABI class: X.Org ANSI C Emulation, version 0.4
[ 128.098] (II) Loading sub module "shadow"
[ 128.098] (II) LoadModule: "shadow"
[ 128.098] (II) Loading /usr/lib64/xorg/modules/libshadow.so
[ 128.357] (II) Module shadow: vendor="X.Org Foundation"
[ 128.357] compiled for 1.13.2, module version = 1.1.0
[ 128.357] ABI class: X.Org ANSI C Emulation, version 0.4
[ 128.360] (==) modesetting(G0): Backing store disabled
[ 128.360] (==) modesetting(G0): Silken mouse enabled
[ 128.360] (II) modesetting(G0): RandR 1.2 enabled, ignore the following
RandR disabled message.
[ 128.360] (==) modesetting(G0): DPMS enabled
[ 128.378] xf86: found device 2
[ 128.378] removing GPU device
/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1/card1-VGA-2 0

If just Nvidia card with original driver would be in use, I'm fine. But I'm
confused now. :-) Still.

IIRC it prints the generated config on stdout and does not
overwrite /etc/X11/xorg.conf, but better check that resp. save a
xorg.conf if you have one.

On <http://en.opensuse.org/SDB:Configuring_graphics_cards> under "5th
thing" it is written that 'Xorg -configure' will create the file
/root/xorg.conf.new.

Yes, I saw, but anyway, it is not usable without long tweaking... But it seems
to be the only way as far as I see...

HTH,
-dnh, whose xorg.conf is largely the same as the XF86Config that I

used since ~1999 starting with SuSE 6.2 / XFree 3.3.6 ;)
Twice I tweaked the Monitor section, a couple of times the Device
section, and a few times the input sections.

Werner, who uses nvidia drivers without any xorg.conf for quite some
time now :-)

Have a nice day!
Vojtěch

--
Vojtěch Zeisek

Komunita openSUSE GNU/Linuxu
Community of the openSUSE GNU/Linux

http://www.opensuse.org/
http://trapa.cz/
< Previous Next >
Follow Ups