Skip to contentSkip to conversation

Does Nouveau break the nVidia drivers?

DISCUSSION Louise Hoffman 4 participants 10 messages Jul 12, 2007 – Jul 14, 2007 7 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Dear developers

I would like to submit dumps, but I spend ~4 hours last time on installing the nVidia drivers, and ended up with the livna.org RPM's.

So can I install the Nouveau driver without damaging the nVidia drivers?

I am using Fedora 7 and integrated NVIDIA GeForce 6150. That's the C51 core, right?

Hugs,
Louise

A message that is not in the archive (sent off-list or not yet received): 30c82f5f0707120641v45a01c72yb3a828271d1d64f9-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#2 lore raw

I'm not a nouveau developer, but I'm a Fedora user and I've tried this.

Yes you can have the nVidia binary drivers and nouveau at the same time, as long as you use the livna packages:

check this post
http://forums.fedoraforum.org/showpost.php?p=810199&postcount=12

Quoted 18 lines · Louise Hoffman

Dear developers

I would like to submit dumps, but I spend ~4 hours last time on installing the nVidia drivers, and ended up with the livna.org RPM's.

So can I install the Nouveau driver without damaging the nVidia drivers?

I am using Fedora 7 and integrated NVIDIA GeForce 6150. That's the C51 core, right?

Hugs,
Louise
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw
Quoted 4 lines · Ioannis Nousias

I'm not a nouveau developer, but I'm a Fedora user and I've tried this.

Yes you can have the nVidia binary drivers and nouveau at the same time, as long as you use the livna packages:

If you want to use the latest ddx (xrg-x11-drv-nouveau) you'll need the latest DRM, which requires pulling in tons of other stuff due to api changes. I was playing with nouveau from git on fedora yesterday [1] and resorted to installing libdrm from git, compiling a custom kernel with a new drm hacked in, compiling ddx, and then trying to compile mesa.

It works, but it's not something that's particularly easy to test nor backport. When drm syncs with the kernel (hopefully soon) it will be very easy to add the nouveau stuff into the fedora rawhide kernel once again.

Richard.

[1] http://hughsient.livejournal.com/29989.html

A message that is not in the archive (sent off-list or not yet received): 30c82f5f0707121009o55e1c4dfo6c5a4cc4d7db51da-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#7 lore raw
Quoted 10 lines · Louise Hoffman
Quoted 5 lines

Yes you can have the nVidia binary drivers and nouveau at the same time, as long as you use the livna packages:

check this post
http://forums.fedoraforum.org/showpost.php?p=810199&postcount=12

What does he mean by "setting the dri permissions"?

"do the usual changes to xorg.conf file, like changing the driver, loading glx and dri and setting the dri permissions."

what I mean is add something like this in your xorg.conf:

Section "DRI"

       mode 666

EndSection

and by 'loading' the glx and dri modules, I mean add these two in the 'Section "Module"' of your xorg.conf:
Load "glx"
Load "dri"

I think the new server loads these by default anyway.

As Richard said, it's a much more daunting task if you need the latest nouveau drivers. And frankly, if you want to test anything useful, you will need the new ones, since those that come with fedora are pretty old and incomplete. They are missing the DRI part (nouveau_dri.so, part of Mesa).

A message that is not in the archive (sent off-list or not yet received): [email protected]

#9 lore raw
Quoted 8 lines

Section "DRI"

       mode 666

EndSection

and by 'loading' the glx and dri modules, I mean add these two in the 'Section "Module"' of your xorg.conf:
Load "glx"
Load "dri"

Thanks =)

Quoted 5 lines

As Richard said, it's a much more daunting task if you need the latest nouveau drivers. And frankly, if you want to test anything useful, you will need the new ones, since those that come with fedora are pretty old and incomplete. They are missing the DRI part (nouveau_dri.so, part of Mesa).

So I can't try send dumps to Nouveau without breaking livna nVidia drivers? =(

A message that is not in the archive (sent off-list or not yet received): 30c82f5f0707121048o4453a2b6n57e752468ef7a2d2-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#11 lore raw
Quoted 11 lines · Louise Hoffman
Quoted 8 lines

Section "DRI"

       mode 666

EndSection

and by 'loading' the glx and dri modules, I mean add these two in the 'Section "Module"' of your xorg.conf:
Load "glx"
Load "dri"

Thanks =)

Quoted 8 lines
Quoted 5 lines

As Richard said, it's a much more daunting task if you need the latest nouveau drivers. And frankly, if you want to test anything useful, you will need the new ones, since those that come with fedora are pretty old and incomplete. They are missing the DRI part (nouveau_dri.so, part of Mesa).

So I can't try send dumps to Nouveau without breaking livna nVidia drivers? =(

Probably not. Even though, the livna package keeps the nvidia libGL.so, libglx.so (and all other components that the official nvidia installer replaces) into separate directories ('/usr/lib/xorg/modules/extensions/nvidia/' and '/usr/lib/nvidia/'), the problem is that you need to compile your own kernel (as Richard said). That means you can't use livna's package, since the kernel module it contains, is compiled against a specific kernel version.

Having said that, by keeping both kernels (always a good choice), in theory you could switch between your custom kernel with nouveau and the fedora kernel with the livna package. Also keep two copies of your xorg.conf for each setup and update the dynamic linker's bindings accordingly (as in the forum post). Haven't try this myself. If you have the time and don't mind messing around with your OS installation, give it a go and tell us if it works :-P

Something tells me I'm leading you to a 'dark place' ;)

-Ioannis

A message that is not in the archive (sent off-list or not yet received): [email protected]

#13 lore raw
Quoted 1 line

Something tells me I'm leading you to a 'dark place' ;)

I get that very feeling too =)

I guess I better wait to play with the Nouveau driver till it can be compiled as a kernel module =)

#14 lore raw
In reply to a message not in the archive
Quoted 2 lines

So I can't try send dumps to Nouveau without breaking livna nVidia drivers? =(

Dear Louise,

if you only want to send dumps, I'm afraid everyone has so far only mislead you.

The dumps (renouveau[1] and kmmio[2]) are for the reverse engineering effort. They need the proprietary driver up and running. After all, there is little point in spying the Nouveau driver as it is open source. We want to know what the proprietary driver does, so we can guess how the card works.

On the other hand, if you want to try the Nouveau driver, you need the kernel bits (DRM) and Xorg driver bits (DDX), and preferably not the Mesa bits (DRI) unless you want to try your luck with glxgears (I forget which card you have, nv4x cards have a chance). All these bits you get from the respective git repositories [3]. I do not know why people have recommended building a new kernel, that is usually not needed. The DRM bits are built out of kernel tree anyway, you just have to make sure the in-kernel drm.ko module is not used (if it is not a module but is built-in, then you need a new kernel).

Thanks.

[1] http://nouveau.freedesktop.org/wiki/REnouveau
[2] http://nouveau.freedesktop.org/wiki/MmioTrace
[3] http://nouveau.freedesktop.org/wiki/InstallNouveau

Signature · 1 line
pq from his secondary email client

A message that is not in the archive (sent off-list or not yet received): 10164.84.249.198.26.1184324451.squirrel-2RFepEojUI0TTWcJVwXbgg@public.gmane.org

#16 lore raw
Quoted 4 lines

The dumps (renouveau[1] and kmmio[2]) are for the reverse engineering effort. They need the proprietary driver up and running. After all, there is little point in spying the Nouveau driver as it is open source. We want to know what the proprietary driver does, so we can guess how the card works.

I guess it was me that had it all wrong then =) I thought the dumps were from the Nouveau drivers, and served as a "gdb" output or a kind of "talkback", so you could see what went wrong on the different graphics cards =)

Quoted 9 lines

On the other hand, if you want to try the Nouveau driver, you need the kernel bits (DRM) and Xorg driver bits (DDX), and preferably not the Mesa bits (DRI) unless you want to try your luck with glxgears (I forget which card you have, nv4x cards have a chance). All these bits you get from the respective git repositories [3]. I do not know why people have recommended building a new kernel, that is usually not needed. The DRM bits are built out of kernel tree anyway, you just have to make sure the in-kernel drm.ko module is not used (if it is not a module but is built-in, then you need a new kernel).

It sounds so easy, but I am sure I will break something if I try now.

I will now try my luck to make a dump from my 6150 (C51 core) =)