https://bugs.freedesktop.org/show_bug.cgi?id=27211
Brent <bzipitidoo(a)hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #34263|0 |1
is obsolete| |
--- Comment #12 from Brent <bzipitidoo(a)hotmail.com> 2010-05-13 09:51:11 PDT ---
Created an attachment (id=35628)
--> (https://bugs.freedesktop.org/attachment.cgi?id=35628)
messages.log
3 boots in this log:
Arch Linux kernel 2.6.33.3, noaccel
Nouveau Linux kernel 2.6.34-rc5, noaccel
Nouveau Linux kernel 2.6.34-rc5, accel
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=27211
--- Comment #11 from Xavier <shiningxc(a)gmail.com> 2010-05-13 02:10:38 PDT ---
AFAIK, your last combination is fine and is what I wanted you to try.
Can you also paste a full kernel log with that ?
I am afraid that very few people use nouveau on a tnt card, so it's much less
likely to work than anything newer (even the first geforce cards).
I doubt updating libdrm and xf86-video-nouveau would fix your problem. But this
should at least have the benefit to provide debug symbols and not strip them,
which could provide a better segfault trace.
Instructions are there : http://nouveau.freedesktop.org/wiki/InstallNouveau
(btw Arch Linux doesn't patch the kernel. As you noticed yourself, they ship a
nouveau-drm package with external modules, which can be more recent than what
the kernel version provides).
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=27211
--- Comment #10 from Brent <bzipitidoo(a)hotmail.com> 2010-05-12 15:01:37 PDT ---
I built a custom kernel with the source of 2.6.33.3 from kernel.org, not from
an Arch Linux package. I patched it with the above mwk patch. That resulted
in the error I gave in the previous comment.
I am not clear on what all parts of Nouveau are what. The nouveau-drm package
seems to be only kernel modules. When I built my custom kernel, I made sure it
had its own Nouveau modules. I am not sure what is in libdrm
(/usr/lib/libdrm_nouveau.so), but Pacman reports a version number of 2.4.19-2.
>From what I read, the version of Nouveau in 2.6.33.3 is too old to work with
versions of libdrm from 2.4.18 on. I suppose this means that the Arch Linux
people must have patched their version of Linux kernel 2.6.33.3, otherwise it
should not have worked with that version of libdrm? Finally, there is the
xf86-video-nouveau package, which now is version 0.0.15_git20100314-1.
This time, I cloned the git repository of the Nouveau sources with this
command:
"git clone --depth 1 git://anongit.freedesktop.org/nouveau/linux-2.6", which
turned out to be version 2.6.34-rc5 of the Linux kernel. The patch utility
refused to apply the mwk patch, as they were already there. So I tried that
kernel as is, and this time X segfaulted, dropping the computer back to the
80x50 text screen. Should I build different versions of libdrm, or
xf86-video-nouveau?
Attached is the Xorg.0.log resulting from this combination of Nouveau kernel
2.6.34-rc5, libdrm 2.4.19-2, and xf86-video-nouveau 0.0.15_git20100314-1.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=25997
Kristian Høgsberg <krh(a)bitplanet.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Kristian Høgsberg <krh(a)bitplanet.net> 2010-05-12 10:57:44 PDT ---
Fixed, thanks.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=25881
Kristian Høgsberg <krh(a)bitplanet.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Kristian Høgsberg <krh(a)bitplanet.net> 2010-05-12 10:44:21 PDT ---
drm.h and drm_mode.h are fixed in git now. If the use of stdint in
$driver_drm.h breaks anything, please file bugs against those drivers to get
them to use __u32 etc.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=26994
Kristian Høgsberg <krh(a)bitplanet.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #5 from Kristian Høgsberg <krh(a)bitplanet.net> 2010-05-12 10:42:18 PDT ---
Fixed in git.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=27211
--- Comment #8 from Xavier <shiningxc(a)gmail.com> 2010-05-12 02:45:17 PDT ---
I am not sure I understood, but if you built a custom kernel, you need to
rebuild the external modules for your custom kernel :
nouveau-drm 0.0.16_20100313-2
Because this package only provides modules built for Arch kernel. Check list of
installed files with pacman -Ql nouveau-drm.
It's also in nouveau-drm (external modules) that you need to apply the patch.
Did you apply the patch to a 2.6.33 kernel, and were trying to use the nouveau
module shipped with the kernel ? If so, that will give you abi 0.0.15. So you
also need to downgrade both libdrm and xf86-video-nouveau to the previous
version to match the abi.
Imo the simplest way is to just follow the instructions here to fetch the
kernel from git, then apply mwk patch with git am, then build&install&enjoy :
http://nouveau.freedesktop.org/wiki/InstallDRM
If you insist on using a package, you could try :
http://aur.archlinux.org/packages.php?ID=30158
By getting it from git, you will have nouveau 0.0.16 which will work with your
current libdrm and xf86-video-nouveau.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=27211
--- Comment #7 from Brent <bzipitidoo(a)hotmail.com> 2010-05-11 23:35:47 PDT ---
Tried the above patch against the stock 2.6.33.3 kernel, with acceleration
turned on, and got "(EE) [drm] failed to open device" in Xorg.0.log. But it
did give me a 80x50 text console, so it seems the framebuffer works. And it is
no longer filling the logs with error messages. So that's something.
>From what I read, nouveau and drm are very touchy about matching versions. I
started with the kernel configuration for Arch Linux, but ended up removing
many modules as otherwise that 350 MHz Pentium II needed 6 hours to compile. I
updated the system before I tried the patch. These are the current versions
for Arch Linux:
nouveau-drm 0.0.16_20100313-2
xf86-video-nouveau 0.0.15_git20100314-1
kernel26 2.6.33.3-2
Here is the tail of Xorg.0.log:
(II) Module nouveau: vendor="X.Org Foundation"
compiled for 1.7.5.902, module version = 0.0.15
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 6.0
(II) NOUVEAU driver
(II) NOUVEAU driver for NVIDIA chipset families :
RIVA TNT (NV04)
RIVA TNT2 (NV05)
GeForce 256 (NV10)
GeForce 2 (NV11, NV15)
GeForce 4MX (NV17, NV18)
GeForce 3 (NV20)
GeForce 4Ti (NV25, NV28)
GeForce FX (NV3x)
GeForce 6 (NV4x)
GeForce 7 (G7x)
GeForce 8 (G8x)
(II) Primary Device is: PCI 01@00:00:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
(EE) [drm] failed to open device
(EE) No devices detected.
Fatal server error:
no screens found
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.