Page 7 of 8 FirstFirst ... 5678 LastLast
Results 61 to 70 of 77

Thread: HOWTO: Nouveau - Open source 3d drivers for nvidia graphic cards

  1. #61
    Join Date
    Feb 2007
    Location
    Alabama
    Beans
    38
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Nouveau - Open source 3d drivers for nvidia graphic cards

    Ok, I installed the driver as specified, and removed the xorg.conf. It doesn't seem like 3D is working, though...I try to switch on desktop effects and it tells me it can't.

    Is there something else I need to do to enable the 3D?
    - Sean Clayton
    Learning n00b

  2. #62
    Join Date
    Nov 2006
    Location
    Denmark
    Beans
    83

    Re: HOWTO: Nouveau - Open source 3d drivers for nvidia graphic cards

    Quote Originally Posted by SeanCly10 View Post
    Ok, I installed the driver as specified, and removed the xorg.conf. It doesn't seem like 3D is working, though...I try to switch on desktop effects and it tells me it can't.

    Is there something else I need to do to enable the 3D?
    Compiz doesn't work with nouveau, so you can't have all the fancy effects with nouveau. To test 3d you can just run glxgears or some 3d game. Also you can take a look at /var/log/Xorg.0.log to see if the driver was loaded correctly.

  3. #63
    Join Date
    Feb 2007
    Location
    Alabama
    Beans
    38
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Nouveau - Open source 3d drivers for nvidia graphic cards

    Alrighty, I see that the driver loaded correctly, and glxgears gives me about 300-350 FPS. That about what I should expect?
    - Sean Clayton
    Learning n00b

  4. #64
    Join Date
    Nov 2006
    Location
    Denmark
    Beans
    83

    Re: HOWTO: Nouveau - Open source 3d drivers for nvidia graphic cards

    Quote Originally Posted by SeanCly10 View Post
    Alrighty, I see that the driver loaded correctly, and glxgears gives me about 300-350 FPS. That about what I should expect?
    Yeah, I guess so.
    BTW, if you are using gnome 2.32 or older version, you can still enable compositing built-in in gnome default window manager called metacity. For more info, see instructions here.

  5. #65
    Join Date
    Aug 2006
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Question Re: HOWTO: Nouveau - Open source 3d drivers for nvidia graphic cards

    Hi,

    After issuing command
    Code:
    NOUVEAUROOTDIR=../../../.. make
    I'm getting following error:
    Code:
    make -C /lib/modules/2.6.38-11-generic/build KCPPFLAGS="-I/media/home/nouveau/master/include/drm" SUBDIRS="/media/home/nouveau/master/drivers/gpu/drm" CONFIG_DRM=m CONFIG_DRM_KMS_HELPER=m CONFIG_DRM_TTM=m CONFIG_DRM_NOUVEAU=m CONFIG_DRM_NOUVEAU_KMS=n CONFIG_DRM_NOUVEAU_BACKLIGHT=y CONFIG_DRM_NOUVEAU_DEBUG=y CONFIG_DRM_I2C_CH7006=m CONFIG_DRM_I2C_SIL164=m CONFIG_DRM_TDFX=n CONFIG_DRM_R128=n CONFIG_DRM_RADEON=n CONFIG_DRM_MGA=n CONFIG_DRM_I810=n CONFIG_DRM_I830=n CONFIG_DRM_I915=n CONFIG_DRM_SIS=n CONFIG_DRM_SAVAGE=n CONFIG_DRM_VIA=n CONFIG_DRM_VMWGFX=n EXTRA_CFLAGS=" -DCONFIG_DRM_NOUVEAU_BACKLIGHT -DCONFIG_DRM_NOUVEAU_DEBUG " modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.38-11-generic'
    Makefile:631: "WARNING: Appending $KCPPFLAGS (-I/media/home/nouveau/master/include/drm) from command line to kernel $CPPFLAGS"
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_auth.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_buffer.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_bufs.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_cache.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_context.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_dma.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_drv.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_fops.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_gem.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_ioctl.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_irq.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_lock.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_memory.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_proc.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_stub.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_vm.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_agpsupport.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_scatter.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/ati_pcigart.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_pci.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_platform.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_sysfs.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_hashtab.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_sman.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_mm.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_crtc.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_modes.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_edid.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_info.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_debugfs.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_encoder_slave.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_trace_points.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_global.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_usb.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_ioc32.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_fb_helper.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_crtc_helper.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_dp_i2c_helper.o
      LD [M]  /media/home/nouveau/master/drivers/gpu/drm/drm_kms_helper.o
      LD [M]  /media/home/nouveau/master/drivers/gpu/drm/drm.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/i2c/ch7006_drv.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/i2c/ch7006_mode.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/i2c/sil164_drv.o
      LD [M]  /media/home/nouveau/master/drivers/gpu/drm/i2c/ch7006.o
      LD [M]  /media/home/nouveau/master/drivers/gpu/drm/i2c/sil164.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/ttm/ttm_agp_backend.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/ttm/ttm_memory.o
      CC [M]  /media/home/nouveau/master/drivers/gpu/drm/ttm/ttm_tt.o
    /media/home/nouveau/master/drivers/gpu/drm/ttm/ttm_tt.c: In function ‘ttm_tt_swapin’:
    /media/home/nouveau/master/drivers/gpu/drm/ttm/ttm_tt.c:488:3: error: implicit declaration of function ‘shmem_read_mapping_page’
    /media/home/nouveau/master/drivers/gpu/drm/ttm/ttm_tt.c:488:13: warning: assignment makes pointer from integer without a cast
    /media/home/nouveau/master/drivers/gpu/drm/ttm/ttm_tt.c: In function ‘ttm_tt_swapout’:
    /media/home/nouveau/master/drivers/gpu/drm/ttm/ttm_tt.c:561:11: warning: assignment makes pointer from integer without a cast
    make[3]: *** [/media/home/nouveau/master/drivers/gpu/drm/ttm/ttm_tt.o] Error 1
    make[2]: *** [/media/home/nouveau/master/drivers/gpu/drm/ttm] Error 2
    make[1]: *** [_module_/media/home/nouveau/master/drivers/gpu/drm] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-11-generic'
    make: *** [modules] Error 2
    Any idea what could be wrong?

  6. #66
    Join Date
    Nov 2006
    Location
    Denmark
    Beans
    83

    Re: HOWTO: Nouveau - Open source 3d drivers for nvidia graphic cards

    Quote Originally Posted by tamashumi View Post
    Any idea what could be wrong?
    Just a guess: old kernel version? What kernel are you using?

  7. #67
    Join Date
    Aug 2006
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: Nouveau - Open source 3d drivers for nvidia graphic cards

    Quote Originally Posted by Hakimio View Post
    Just a guess: old kernel version? What kernel are you using?
    Thx for reply

    It was from kernel: 2.6.38-11
    Fresh install of Ubuntu 11.04 (natty), plus apt-get update/upgrade.

    Is it wrong kernel? I checked Makefile according to instruction for supported kernel version info but haven't found it :F

    I just have tried get through whole procedure again with fresh install of 11.10 Beta 2 (oneric without apt-get update/upgrade), kernel 3.0.0-11
    Everything went fine unitil 3D driver installation (fine despite I had to install some 2 additional packages for pciaccess and llvm).

    Afeter command
    Code:
    sudo cp lib/gallium/nouveau_dri.so /usr/lib
    no file found. lib/gallium contains files:
    r300_dri.so
    r600_dri.so
    swrast_dri.so
    That's strange because I did run the script autorun.sh with all those disable/enable flags.
    I think script was run successfully. Last part of the command output attached. You can see, no 'error' there.

    EDIT:
    01:00.0 VGA compatible controller: nVidia Corporation GF110 [GeForce GTX 560 Ti] (rev a1)
    Attached Files Attached Files

  8. #68
    Join Date
    Nov 2006
    Location
    Denmark
    Beans
    83

    Re: HOWTO: Nouveau - Open source 3d drivers for nvidia graphic cards

    Quote Originally Posted by tamashumi View Post
    Thx for reply

    It was from kernel: 2.6.38-11
    Fresh install of Ubuntu 11.04 (natty), plus apt-get update/upgrade.

    Is it wrong kernel? I checked Makefile according to instruction for supported kernel version info but haven't found it :F
    The makefile says it needs 3.1:
    Code:
    VERSION = 3
    PATCHLEVEL = 1
    I have included in the tutorial a link to a site where you can get the deb packages of the latest kernel.
    Quote Originally Posted by tamashumi View Post
    I just have tried get through whole procedure again with fresh install of 11.10 Beta 2 (oneric without apt-get update/upgrade), kernel 3.0.0-11
    Everything went fine unitil 3D driver installation (fine despite I had to install some 2 additional packages for pciaccess and llvm).

    Afeter command
    Code:
    sudo cp lib/gallium/nouveau_dri.so /usr/lib
    no file found. lib/gallium contains files:
    r300_dri.so
    r600_dri.so
    swrast_dri.so
    That's strange because I did run the script autorun.sh with all those disable/enable flags.
    I think script was run successfully. Last part of the command output attached. You can see, no 'error' there.
    Yeah, slaykristian complained about that a while ago. The switches for autogen should be updated. I think I'll do that this weekend.

  9. #69
    Join Date
    Aug 2006
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: Nouveau - Open source 3d drivers for nvidia graphic cards

    Thanks for info.

    Do you think upgrading kernel 3.0 up to 3.1 will change anything or better wait for the command update?

    I saw you wrote Compiz won't work with nouveau. I Saw at the end of this that it might be possible. How do you think?

    Just bought GTX 560 Ti and I'll be really happy if it would run my dual head desktop with single monitor rotated including Compiz. Is such a miracle by any chance possible?

  10. #70
    Join Date
    Nov 2006
    Location
    Denmark
    Beans
    83

    Re: HOWTO: Nouveau - Open source 3d drivers for nvidia graphic cards

    Quote Originally Posted by tamashumi View Post
    Thanks for info.

    Do you think upgrading kernel 3.0 up to 3.1 will change anything or better wait for the command update?
    No, instead of upgrading kernel just try replacing the autogen line in the tutorial with the one suggested by slaykristian:
    Code:
    ./autogen.sh --with-dri-drivers= --with-gallium-drivers=swrast,nouveau --enable-debug \
     --enable-texture-float --disable-asm --enable-opengl --disable-gles2 --disable-openvg \
     --enable-dri --enable-glx --enable-xvmc --disable-va --disable-vdpau --disable-osmesa \
     --disable-egl --disable-xorg --disable-d3d1x --disable-xa --disable-gbm --disable-xlib-glx \
     --disable-gallium-egl --disable-gallium-gbm --disable-gallium-llvm --disable-xcb \
     --enable-driglx-direct --enable-glx-tls --enable-glu --enable-glw --disable-motif PKG_CONFIG_PATH=/lib/pkgconfig
    Quote Originally Posted by tamashumi View Post
    I saw you wrote Compiz won't work with nouveau. I Saw at the end of this that it might be possible. How do you think?

    Just bought GTX 560 Ti and I'll be really happy if it would run my dual head desktop with single monitor rotated including Compiz. Is such a miracle by any chance possible?
    Last time I checked it didn't work because some of the required extensions were not implemented, but it was long ago and things might have changed since then. You could try launching compiz after the 3d driver installation yourself and you could ask some developers on IRC (freenode server, nouveau channel) if there is any way to get compiz running with nouveau.

Page 7 of 8 FirstFirst ... 5678 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •