You are not logged in.
Hello,
Trying to set up an old laptop I have with Arch and I'm having issues getting X up and running. My graphics chip is:
01:00.0 VGA compatable controller: nVidia Corporation NV11 [GeForce2 Go] (rev b2)
I've installed xf86-video-nouveau and get the following error when starting X:
(EE) [drm] failed to open device
(EE) No devices detected.
From what I understand, I need the nouveau-drm package installed, which no longer exists in the repos. The nouveau-drm-lts package gives dependency errors:
warning: cannot resolve "kernel26-lts>=2.6.32", a dependency of "nouveau-drm-lts"
warning: cannot resolve "kernel26-lts<2.6.33", a dependency of "nouveau-drm-lts"
Seems this is because those packages are no longer named "kernel" but "linux" instead.
I've also tried using the proprietary nvidia driver, but I need the legacy 93xx driver, which the nvidia page in the Arch Wiki states it does not support Xorg 1.11.
Last edited by Pres (2012-02-05 03:31:14)
Offline
Have you checked the hints of the nouveau wiki?
"Make sure you do not have nomodeset or vga= in GRUB's menu.lst/menu.cfg kernel line, since Nouveau needs kernel mode-setting in order to run successfully (see below). "
Offline
Yes, forgot to mention I already looked at their wiki and checked to make sure those options weren't there. I also tried compiling from the nouveau git repos by using the packages in the AUR (no luck).
I got X up and running, though by downgrading xorg-server (and the xf86-input-* packages that you need to downgrade with it) and then installing the nvidia 96.43.xx driver from their site. It's less than ideal, but at least X is working.
Barring that, I was going to try installing the linux-lts packages and then forcing the nouveau-drm-lts package to install without checking for dependencies. No idea if this would work.
Anyways, thanks for your reply.
Offline
nouveau-drm-lts is not required anymore since now linux-lts is at 3.0.x and nouveau is in kernel since 2.6.34
what we need is a Xorg.0.log
Give what you have. To someone, it may be better than you dare to think.
Offline
Went ahead and installed nouveau back to get an Xorg log. Here it is (though I'm getting a new error now):
[ 51.572]
X.Org X Server 1.11.4
Release Date: 2012-01-27
[ 51.573] X Protocol Version 11, Revision 0
[ 51.573] Build Operating System: Linux 3.2.2-1-ARCH i686
[ 51.573] Current Operating System: Linux Arch-2650 3.2.2-1-ARCH #1 SMP PREEMPT Thu Jan 26 08:28:27 UTC 2012 i686
[ 51.574] Kernel command line: root=/dev/disk/by-uuid/1e766bce-dde5-4a31-9549-36b82bcd1157 acpi=off ro
[ 51.574] Build Date: 29 January 2012 03:41:53PM
[ 51.574]
[ 51.574] Current version of pixman: 0.24.2
[ 51.574] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 51.575] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 51.576] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb 1 17:38:43 2012
[ 51.634] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 51.675] (==) No Layout section. Using the first Screen section.
[ 51.675] (==) No screen section available. Using defaults.
[ 51.675] (**) |-->Screen "Default Screen Section" (0)
[ 51.675] (**) | |-->Monitor "<default monitor>"
[ 51.696] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 51.696] (**) | |-->Device "nouveau"
[ 51.696] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 51.696] (==) Automatically adding devices
[ 51.696] (==) Automatically enabling devices
[ 51.757] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 51.757] Entry deleted from font path.
[ 51.757] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 51.757] Entry deleted from font path.
[ 51.757] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 51.757] Entry deleted from font path.
[ 51.757] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 51.757] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 51.757] Entry deleted from font path.
[ 51.757] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 51.757] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/
[ 51.757] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 51.757] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 51.768] (II) Loader magic: 0x8228580
[ 51.769] (II) Module ABI versions:
[ 51.769] X.Org ANSI C Emulation: 0.4
[ 51.769] X.Org Video Driver: 11.0
[ 51.769] X.Org XInput driver : 13.0
[ 51.769] X.Org Server Extension : 6.0
[ 51.770] (--) PCI:*(0:1:0:0) 10de:0112:1028:00f3 rev 178, Mem @ 0xe0000000/16777216, 0xf0000000/134217728, BIOS @ 0x????????/65536
[ 51.770] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 51.770] (II) Open APM successful
[ 51.770] (II) LoadModule: "extmod"
[ 51.797] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 51.809] (II) Module extmod: vendor="X.Org Foundation"
[ 51.809] compiled for 1.11.4, module version = 1.0.0
[ 51.809] Module class: X.Org Server Extension
[ 51.809] ABI class: X.Org Server Extension, version 6.0
[ 51.809] (II) Loading extension MIT-SCREEN-SAVER
[ 51.809] (II) Loading extension XFree86-VidModeExtension
[ 51.809] (II) Loading extension XFree86-DGA
[ 51.809] (II) Loading extension DPMS
[ 51.809] (II) Loading extension XVideo
[ 51.809] (II) Loading extension XVideo-MotionCompensation
[ 51.809] (II) Loading extension X-Resource
[ 51.809] (II) LoadModule: "dbe"
[ 51.810] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 51.815] (II) Module dbe: vendor="X.Org Foundation"
[ 51.815] compiled for 1.11.4, module version = 1.0.0
[ 51.815] Module class: X.Org Server Extension
[ 51.815] ABI class: X.Org Server Extension, version 6.0
[ 51.815] (II) Loading extension DOUBLE-BUFFER
[ 51.815] (II) LoadModule: "glx"
[ 51.815] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 51.844] (II) Module glx: vendor="X.Org Foundation"
[ 51.844] compiled for 1.11.4, module version = 1.0.0
[ 51.844] ABI class: X.Org Server Extension, version 6.0
[ 51.845] (==) AIGLX enabled
[ 51.845] (II) Loading extension GLX
[ 51.845] (II) LoadModule: "record"
[ 51.845] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 51.846] (II) Module record: vendor="X.Org Foundation"
[ 51.846] compiled for 1.11.4, module version = 1.13.0
[ 51.846] Module class: X.Org Server Extension
[ 51.846] ABI class: X.Org Server Extension, version 6.0
[ 51.846] (II) Loading extension RECORD
[ 51.846] (II) LoadModule: "dri"
[ 51.847] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 51.857] (II) Module dri: vendor="X.Org Foundation"
[ 51.857] compiled for 1.11.4, module version = 1.0.0
[ 51.857] ABI class: X.Org Server Extension, version 6.0
[ 51.857] (II) Loading extension XFree86-DRI
[ 51.857] (II) LoadModule: "dri2"
[ 51.857] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 51.858] (II) Module dri2: vendor="X.Org Foundation"
[ 51.858] compiled for 1.11.4, module version = 1.2.0
[ 51.858] ABI class: X.Org Server Extension, version 6.0
[ 51.858] (II) Loading extension DRI2
[ 51.858] (II) LoadModule: "nouveau"
[ 51.859] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[ 51.875] (II) Module nouveau: vendor="X.Org Foundation"
[ 51.875] compiled for 1.11.3, module version = 0.0.16
[ 51.875] Module class: X.Org Video Driver
[ 51.875] ABI class: X.Org Video Driver, version 11.0
[ 51.875] (II) NOUVEAU driver
[ 51.875] (II) NOUVEAU driver for NVIDIA chipset families :
[ 51.875] RIVA TNT (NV04)
[ 51.875] RIVA TNT2 (NV05)
[ 51.875] GeForce 256 (NV10)
[ 51.875] GeForce 2 (NV11, NV15)
[ 51.875] GeForce 4MX (NV17, NV18)
[ 51.875] GeForce 3 (NV20)
[ 51.876] GeForce 4Ti (NV25, NV28)
[ 51.876] GeForce FX (NV3x)
[ 51.876] GeForce 6 (NV4x)
[ 51.876] GeForce 7 (G7x)
[ 51.876] GeForce 8 (G8x)
[ 51.876] GeForce GTX 200 (NVA0)
[ 51.876] GeForce GTX 400 (NVC0)
[ 51.876] (--) using VT number 7
[ 51.901] drmOpenDevice: node name is /dev/dri/card0
[ 52.076] [drm] failed to load kernel module "nouveau"
[ 52.076] (EE) [drm] failed to open device
[ 52.076] (EE) No devices detected.
[ 52.076]
Fatal server error:
[ 52.076] no screens found
[ 52.076]
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 52.076] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 52.076]
Seems the important line here is:
[ 52.076] [drm] failed to load kernel module "nouveau"
"modprobe nouveau" gives:
ERROR: could not insert 'wmi': No such device
Don't remember getting that error before. Nouveau would load fine.
Offline
While I have no idea what wmi is, a quick google search of it turns up quite a bit about acpi. I'll point out that I've passed the option acpi=off when booting (as you can see in the Xorg log). This must be done as the laptop won't boot Arch with acpi enabled (not sure why).
Not sure if this is relevant, but it may have something to do with the above error.
Offline
Curious if anyone could enlighten me on what wmi is and how to enable it. A search of that error message turns up nothing.
Offline
The only thing I can think of that abbreviation could mean would be Windows Management Instrumentation. Which doesn't make much sense.
Anyway, you're saying that your laptop won't boot without acpi=off. It's just a guess, but to me that seems to be the important bit. How exactly it won't boot, what happens there? Any error messages?
Running arch is like raising a puppy - if you spend a bit of time with it each day and do just a bit of training you'll end up with the most loyal partner you could want; if you lock it in a room and don't check on if for several days, it'll tear apart your stuff and poop everywhere.
Offline
With acpi on it hangs at "Booting the kernel." Checking kernel.log after a successful boot turns up no entries for that failed boot (though I'm not sure it would, as the dmesg log doesn't get saved until after the kernel is loaded, right?)
I'll add that I used to have Xubuntu on this laptop a long time ago. While it would boot fine with acpi on, the keyboard and touchpad failed to work (I could use a usb keyboard and mouse).
Only bad thing about having acpi off is I can't see the battery percentage (battery probably drains a little quicker too).
EDIT: This is a Dell Inspiron 2650. Failed to mention that. This seems to suggest that it's a bug with the kernel, though the comments at the bottom suggest it was fixed with kernel 2.6.31-17.54.
Last edited by Pres (2012-02-03 19:12:50)
Offline
Keeping acpi off would be a workaround, not a solution. However, I'm not sure how much more can be done, if you see absolutely no error messages and the system just hangs, then it's hard to debug as we have nothing to go with.
It's most likely useless trying to debug with acpi=off, whatever is the problem doesn't get loaded during boot, and hence it won't show itself on any logs. You need to debug with acpi turned on, but how to do that when logs show nothing? You could enable CONFIG_DEBUG_LL in the kernel, that should give you early logs and let you see where exactly the kernel stops. That means compiling a kernel. Even then there's no guarantee though, but it's the only thing I can think of right now...
Not to mention we can't be even sure that your original issue with the nouveau driver is connected to this. I think it must be, but just because I hate such coincidences. No proof.
Running arch is like raising a puppy - if you spend a bit of time with it each day and do just a bit of training you'll end up with the most loyal partner you could want; if you lock it in a room and don't check on if for several days, it'll tear apart your stuff and poop everywhere.
Offline
Curious if anyone could enlighten me on what wmi is and how to enable it.
I wouldn't know how to enable it (it should happen automatically), but wmi stuff are acpi extensions (courtesy of everyone's favorite company - Microsoft). They're laptop vendor specific, which is why the kernel has several different modules, one for each vendor.
Offline
Pres wrote:Curious if anyone could enlighten me on what wmi is and how to enable it.
I wouldn't know how to enable it (it should happen automatically), but wmi stuff are acpi extensions (courtesy of everyone's favorite company - Microsoft). They're laptop vendor specific, which is why the kernel has several different modules, one for each vendor.
Here you go. A connection between acpi and your nouveau problem.
Running arch is like raising a puppy - if you spend a bit of time with it each day and do just a bit of training you'll end up with the most loyal partner you could want; if you lock it in a room and don't check on if for several days, it'll tear apart your stuff and poop everywhere.
Offline
Thanks for the info on wmi and suggestions. I'll try compiling a custom kernel later when I have time and see if that gets me anywhere with the acpi issue.
Offline
Just an update: I compiled the kernel with CONFIG_DEBUG_LL=y and noticed no difference after installing it and booting with acpi on. Still nothing in the logs.
I know I had it booting with Xubuntu awhile back, so I'll try some other distros and see if I can get one to boot so I'll have some logs to compare.
Offline
Another update on this: I ended running Xubuntu and comparing the dmesg logs. What I found there gave my the idea to try and see if I could disable specific parts of acpi to attempt to isolate the problem (no idea why I didn't try this before). I found this list:
acpi=ht
the most like "acpi=off", disables all of ACPI except what is needed to enumerate processors.
If acpi=off works and acpi=ht fails, then the issue is in the ACPI table parsing code itself, or perhaps the SMP code.
pci=noacpi
Disables ACPI for PCI root bus enumeration.
Disables ACPI for IRQ routing.
acpi=noirq
Disables ACPI for IRQ routing.
pnpacpi=off
Disables the ACPI component of the Linux Plug and Play code.
noapic
Disables the IO-APIC for IRQ routing.
nolapic
Disables the Local-APIC and the IO-APIC.
I found setting pci=noacpi allows Arch to boot. acpi=noirq doesn't boot, so that means "ACPI for PCI root bus enumeration" is the villain here (no idea if anything can be done for this).
The nouveau driver works now with the new settings. I actually switched back to the nvidia driver after though. X and conky were using up way more CPU resources with the nouveau driver (about 60-70% idling, compared to about 3-5% with the nvidia driver). Still, I can now see my battery status.
Last edited by Pres (2012-02-05 03:25:11)
Offline