Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: Unity 3D does not work after upgrade

  1. #11
    Join Date
    Feb 2006
    Beans
    216

    Re: Unity 3D does not work after upgrade

    Quote Originally Posted by effenberg0x0 View Post
    I see... New test:

    sudo service lightdm stop
    sudo gconftool-2 --recursive-unset /apps/compiz
    sudo gconftool-2 --recursive-unset /apps/compiz-1
    sudo gconftool-2 --recursive-unset /apps/compizconfig-1
    sudo unity --reset
    sudo service lightdm start

    Regards,
    Effenberg

    I tried the above mentioned things (with the gconf and unity parts run both with and without sudo) but still the same result.

    The difference being that when running "sudo unity --reset" I now get:

    Code:
    Traceback (most recent call last):
      File "/usr/bin/unity", line 213, in <module>
        reset_unity_compiz_profile ()
      File "/usr/bin/unity", line 84, in reset_unity_compiz_profile
        except (GError, AttributeError), e:
    NameError: global name 'GError' is not defined
    and no segfault.

    Maybe I can try to reinstall those packages again now?

    By the way: thanks for trying to help me! Really appreciate it!

  2. #12
    Join Date
    Mar 2007
    Location
    Caprica
    Beans
    1,995
    Distro
    Ubuntu Development Release

    Re: Unity 3D does not work after upgrade

    I am really curious about the problem you're facing. It's not something I have seen here so far. We tried a lot of things that usually solve the problem. We'll certainly learn something new when we find out whats going on there.

    We have not looked at your video card driver. You mention its a NVidia. What model and which driver are you using (nvidia-current, from Ubuntu repos, proprietary from Nvidia website, OpenSource Community Driver (Nouveau)?

    Regards,
    Effenberg

  3. #13
    Join Date
    Feb 2006
    Beans
    216

    Re: Unity 3D does not work after upgrade

    I have a nVidia Corporation GT200 [GeForce GTX 260] (rev a1) card and I'm using nVidias proprietary drivers from the official Ubuntu reops. (That "Hardware Drivers" thingy).

    According to the nVidia X Server Settings panel I'm running version 280.13.

    The segfault when doing "unity --reset" is back. It was me forgetting to run it whilst running (the crippled) Unity 3D...


    I took the liberty to run strace on the "unity --reset" command to see if I could get any wiser as to why it segfaults.

    It's difficult to say if really has something to do with this, but it seems like unity is loading svg-files when the SIGSEGV happens:

    Code:
    [pid 25401] sched_yield()               = 0
    [pid 25401] lstat("/usr/share/icons/Humanity/places/48/user-trash.svg", {st_mode=S_IFREG|0644, st_size=31961, ...}) = 0
    [pid 25401] open("/usr/share/icons/Humanity/places/48/user-trash.svg", O_RDONLY) = 22
    [pid 25401] fstat(22, {st_mode=S_IFREG|0644, st_size=31961, ...}) = 0
    [pid 25401] read(22, "<?xml version=\"1.0\" encoding=\"UT"..., 65536) = 31961
    [pid 25401] read(22, "", 65536)         = 0
    [pid 25401] close(22)                   = 0
    [pid 25401] sched_yield()               = 0
    [pid 25401] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
    Just to make sure, I opened the svg file in Eye of Gnome, and it looks ok. So possibly just a red herring.

    I'm going to be away from the computer for 2 hours or so, but I'll gladly test any ideas when I get back!

  4. #14
    Join Date
    Mar 2007
    Location
    Caprica
    Beans
    1,995
    Distro
    Ubuntu Development Release

    Re: Unity 3D does not work after upgrade

    Could it be some sort of error related to the icon set? Maybe not finding an icon, a corrupted SVG or wrong permissions in the icon svg file?
    Well, that would be absolutely new to me (and ridiculous) but.... lets look at it.

    sudo apt-get install --reinstall human-icon-theme humanity-icon-theme human-netbook human-theme.

    sudo ls -lha /usr/share/icons/Humanity/places/48 (paste results here).

    This a long shot. I doubt it can be the culprit but we have to check it.

    Regards,
    Effenberg

  5. #15
    Join Date
    Sep 2011
    Location
    india
    Beans
    297
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Unity 3D does not work after upgrade

    Quote Originally Posted by koma77 View Post
    I tried the above mentioned things (with the gconf and unity parts run both with and without sudo) but still the same result.

    The difference being that when running "sudo unity --reset" I now get:

    Code:
    Traceback (most recent call last):
      File "/usr/bin/unity", line 213, in <module>
        reset_unity_compiz_profile ()
      File "/usr/bin/unity", line 84, in reset_unity_compiz_profile
        except (GError, AttributeError), e:
    NameError: global name 'GError' is not defined
    and no segfault.

    Maybe I can try to reinstall those packages again now?

    By the way: thanks for trying to help me! Really appreciate it!
    i had the same problem which is now solved.
    what i did was ..
    1)log out using ctrl+alt+del, select unity2d and login
    2)install ccsm (compiz config settings manager) from software centre.
    3)open it and scroll down till u have unity plugin checkbox, uncheck and then recheck it(if it is already unchecked just check it). it will ask to resolve conflicts, click on resolve conflict button and u may get 2-3 conflicts, select the middle button in all the conflicts, and now u will have everything working..

    u may have to restart your system in between using terminal 'sudo reboot'. but don't panic it will be ok.

  6. #16
    Join Date
    Mar 2007
    Location
    Caprica
    Beans
    1,995
    Distro
    Ubuntu Development Release

    Re: Unity 3D does not work after upgrade

    Quote Originally Posted by techvish81 View Post
    i had the same problem which is now solved.
    what i did was ..
    1)log out using ctrl+alt+del, select unity2d and login
    2)install ccsm (compiz config settings manager) from software centre.
    3)open it and scroll down till u have unity plugin checkbox, uncheck and then recheck it(if it is already unchecked just check it). it will ask to resolve conflicts, click on resolve conflict button and u may get 2-3 conflicts, select the middle button in all the conflicts, and now u will have everything working..

    u may have to restart your system in between using terminal 'sudo reboot'. but don't panic it will be ok.
    Hopefully you're right. I'm out of ideas on how to help the OP.

    Regards,
    Effenberg

  7. #17
    Join Date
    Feb 2006
    Beans
    216

    Re: Unity 3D does not work after upgrade

    I tried to reinstall the human icon sets.

    This is what it looks like:

    Code:
    sudo ls -lha /usr/share/icons/Humanity/places/48
    totalt 392K
    drwxr-xr-x 2 root root  20K 2011-10-07 23:05 .
    drwxr-xr-x 9 root root 4,0K 2010-04-16 20:38 ..
    lrwxrwxrwx 1 root root   23 2011-08-25 23:27 application-x-gnome-saved-search.svg -> folder-saved-search.svg
    -rw-r--r-- 1 root root 4,1K 2011-08-25 23:37 bookmark-missing.svg
    lrwxrwxrwx 1 root root   16 2011-08-25 23:27 desktop.svg -> user-desktop.svg
    lrwxrwxrwx 1 root root   14 2011-08-25 23:27 distributor-logo.svg -> start-here.svg
    lrwxrwxrwx 1 root root   19 2011-08-25 23:27 edittrash.svg -> user-trash-full.svg
    lrwxrwxrwx 1 root root   14 2011-08-25 23:27 emptytrash.svg -> user-trash.svg
    -rw-r--r-- 1 root root  11K 2011-08-25 23:37 folder-documents.svg
    lrwxrwxrwx 1 root root   19 2011-08-25 23:27 folder-downloads.svg -> folder-download.svg
    lrwxrwxrwx 1 root root   19 2011-08-25 23:27 folder_download.svg -> folder-download.svg
    -rw-r--r-- 1 root root 6,6K 2011-08-25 23:36 folder-download.svg
    lrwxrwxrwx 1 root root   13 2011-08-25 23:27 folder_home.svg -> user-home.svg
    lrwxrwxrwx 1 root root   13 2011-08-25 23:27 folder-home.svg -> user-home.svg
    -rw-r--r-- 1 root root   57 2011-08-25 22:55 folder.icon
    lrwxrwxrwx 1 root root   19 2011-08-25 23:27 folder_images.svg -> folder-pictures.svg
    lrwxrwxrwx 1 root root   19 2011-08-25 23:27 folder-images.svg -> folder-pictures.svg
    -rw-r--r-- 1 root root 9,3K 2011-08-25 23:36 folder-music.svg
    lrwxrwxrwx 1 root root   19 2011-08-25 23:27 folder-open.svg -> folder-visiting.svg
    lrwxrwxrwx 1 root root   19 2011-08-25 23:27 folder_pictures.svg -> folder-pictures.svg
    -rw-r--r-- 1 root root 9,1K 2011-08-25 23:36 folder-pictures.svg
    -rw-r--r-- 1 root root 9,9K 2011-08-25 23:36 folder-publicshare.svg
    -rw-r--r-- 1 root root 7,1K 2011-08-25 23:37 folder-recent.svg
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 folder-remote-ftp.icon -> folder.icon
    lrwxrwxrwx 1 root root   17 2011-08-25 23:27 folder-remote-ftp.svg -> folder-remote.svg
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 folder-remote.icon -> folder.icon
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 folder-remote-nfs.icon -> folder.icon
    lrwxrwxrwx 1 root root   17 2011-08-25 23:27 folder-remote-nfs.svg -> folder-remote.svg
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 folder-remote-smb.icon -> folder.icon
    lrwxrwxrwx 1 root root   17 2011-08-25 23:27 folder-remote-smb.svg -> folder-remote.svg
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 folder-remote-ssh.icon -> folder.icon
    lrwxrwxrwx 1 root root   17 2011-08-25 23:27 folder-remote-ssh.svg -> folder-remote.svg
    -rw-r--r-- 1 root root  19K 2011-08-25 23:37 folder-remote.svg
    -rw-r--r-- 1 root root 9,9K 2011-08-25 23:36 folder-saved-search.svg
    -rw-r--r-- 1 root root 5,5K 2011-08-25 23:37 folder.svg
    -rw-r--r-- 1 root root 8,0K 2011-08-25 23:37 folder-system.svg
    -rw-r--r-- 1 root root  12K 2011-08-25 23:37 folder-templates.svg
    -rw-r--r-- 1 root root 8,3K 2011-08-25 23:37 folder-ubuntu.svg
    lrwxrwxrwx 1 root root   16 2011-08-25 23:27 folder-videos.svg -> folder-video.svg
    -rw-r--r-- 1 root root  11K 2011-08-25 23:36 folder-video.svg
    -rw-r--r-- 1 root root 5,7K 2011-08-25 23:36 folder-visiting.svg
    lrwxrwxrwx 1 root root   16 2011-08-25 23:27 gnome-ccdesktop.svg -> user-desktop.svg
    lrwxrwxrwx 1 root root   16 2011-08-25 23:27 gnome-desktop-config.svg -> user-desktop.svg
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 gnome-folder.icon -> folder.icon
    lrwxrwxrwx 1 root root   10 2011-08-25 23:27 gnome-folder.svg -> folder.svg
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 gnome-fs-blockdev.icon -> folder.icon
    lrwxrwxrwx 1 root root   17 2011-08-25 23:27 gnome-fs-blockdev.svg -> folder-remote.svg
    lrwxrwxrwx 1 root root   20 2011-08-25 23:27 gnome-fs-bookmark-missing.svg -> bookmark-missing.svg
    lrwxrwxrwx 1 root root   16 2011-08-25 23:27 gnome-fs-dav.svg -> gnome-fs-web.svg
    lrwxrwxrwx 1 root root   16 2011-08-25 23:27 gnome-fs-desktop.svg -> user-desktop.svg
    -rw-r--r-- 1 root root 5,5K 2011-08-25 23:36 gnome-fs-directory-accept.svg
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 gnome-fs-directory.icon -> folder.icon
    lrwxrwxrwx 1 root root   10 2011-08-25 23:27 gnome-fs-directory.svg -> folder.svg
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 gnome-fs-ftp.icon -> folder.icon
    lrwxrwxrwx 1 root root   17 2011-08-25 23:27 gnome-fs-ftp.svg -> folder-remote.svg
    lrwxrwxrwx 1 root root   13 2011-08-25 23:27 gnome-fs-home.svg -> user-home.svg
    lrwxrwxrwx 1 root root   33 2011-08-25 23:27 gnome-fs-loading-icon.svg -> ../../status/48/image-loading.svg
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 gnome-fs-network.icon -> folder.icon
    lrwxrwxrwx 1 root root   17 2011-08-25 23:27 gnome-fs-network.svg -> folder-remote.svg
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 gnome-fs-nfs.icon -> folder.icon
    lrwxrwxrwx 1 root root   17 2011-08-25 23:27 gnome-fs-nfs.svg -> folder-remote.svg
    lrwxrwxrwx 1 root root   18 2011-08-25 23:27 gnome-fs-server.svg -> network-server.svg
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 gnome-fs-share.icon -> folder.icon
    lrwxrwxrwx 1 root root   17 2011-08-25 23:27 gnome-fs-share.svg -> folder-remote.svg
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 gnome-fs-smb.icon -> folder.icon
    lrwxrwxrwx 1 root root   17 2011-08-25 23:27 gnome-fs-smb.svg -> folder-remote.svg
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 gnome-fs-ssh.icon -> folder.icon
    lrwxrwxrwx 1 root root   17 2011-08-25 23:27 gnome-fs-ssh.svg -> folder-remote.svg
    lrwxrwxrwx 1 root root   19 2011-08-25 23:27 gnome-fs-trash-empty-accept.svg -> user-trash-full.svg
    lrwxrwxrwx 1 root root   14 2011-08-25 23:27 gnome-fs-trash-empty.svg -> user-trash.svg
    lrwxrwxrwx 1 root root   19 2011-08-25 23:27 gnome-fs-trash-full.svg -> user-trash-full.svg
    -rw-r--r-- 1 root root  12K 2011-08-25 23:37 gnome-fs-web.svg
    lrwxrwxrwx 1 root root   13 2011-08-25 23:27 gnome-home.svg -> user-home.svg
    lrwxrwxrwx 1 root root   14 2011-08-25 23:27 gnome-main-menu.svg -> start-here.svg
    lrwxrwxrwx 1 root root   18 2011-08-25 23:27 gnome-mime-x-directory-nfs-server.svg -> network-server.svg
    lrwxrwxrwx 1 root root   18 2011-08-25 23:27 gnome-mime-x-directory-smb-server.svg -> network-server.svg
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 gnome-mime-x-directory-smb-share.icon -> folder.icon
    lrwxrwxrwx 1 root root   17 2011-08-25 23:27 gnome-mime-x-directory-smb-share.svg -> folder-remote.svg
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 gnome-mime-x-directory-smb-workgroup.icon -> folder.icon
    lrwxrwxrwx 1 root root   17 2011-08-25 23:27 gnome-mime-x-directory-smb-workgroup.svg -> folder-remote.svg
    lrwxrwxrwx 1 root root   19 2011-08-25 23:27 gnome-stock-trash-full.svg -> user-trash-full.svg
    lrwxrwxrwx 1 root root   14 2011-08-25 23:27 gnome-stock-trash.svg -> user-trash.svg
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 gtk-directory.icon -> folder.icon
    lrwxrwxrwx 1 root root   10 2011-08-25 23:27 gtk-directory.svg -> folder.svg
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 gtk-network.icon -> folder.icon
    lrwxrwxrwx 1 root root   17 2011-08-25 23:27 gtk-network.svg -> folder-remote.svg
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 inode-directory.icon -> folder.icon
    lrwxrwxrwx 1 root root   10 2011-08-25 23:27 inode-directory.svg -> folder.svg
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 neat.icon -> folder.icon
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 network.icon -> folder.icon
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 network_local.icon -> folder.icon
    lrwxrwxrwx 1 root root   17 2011-08-25 23:27 network_local.svg -> folder-remote.svg
    -rw-r--r-- 1 root root  15K 2011-08-25 23:36 network-server.svg
    lrwxrwxrwx 1 root root   17 2011-08-25 23:27 network.svg -> folder-remote.svg
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 network-workgroup.icon -> folder.icon
    lrwxrwxrwx 1 root root   17 2011-08-25 23:27 network-workgroup.svg -> folder-remote.svg
    lrwxrwxrwx 1 root root   14 2011-08-25 23:27 novell-button.svg -> start-here.svg
    lrwxrwxrwx 1 root root   16 2011-08-25 23:27 other-desktop.svg -> user-desktop.svg
    lrwxrwxrwx 1 root root   18 2011-08-25 23:27 redhat-network-server.svg -> network-server.svg
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 redhat-system-group.icon -> folder.icon
    lrwxrwxrwx 1 root root   18 2011-08-25 23:27 server.svg -> network-server.svg
    -rw-r--r-- 1 root root 9,7K 2011-08-25 23:37 start-here.svg
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 stock_folder.icon -> folder.icon
    lrwxrwxrwx 1 root root   10 2011-08-25 23:27 stock_folder.svg -> folder.svg
    -rw-r--r-- 1 root root  20K 2011-08-25 23:36 stock_music-library.svg
    lrwxrwxrwx 1 root root   39 2011-08-25 23:27 stock_playlist.svg -> ../../mimes/48/audio-x-mp3-playlist.svg
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 stock_shared-by-me.icon -> folder.icon
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 stock_shared-to-me.icon -> folder.icon
    -rw-r--r-- 1 root root 7,8K 2011-08-25 23:36 stock_smart-playlist.svg
    lrwxrwxrwx 1 root root   19 2011-08-25 23:27 stock_trash_full.svg -> user-trash-full.svg
    lrwxrwxrwx 1 root root   14 2011-08-25 23:27 trashcan_empty.svg -> user-trash.svg
    lrwxrwxrwx 1 root root   19 2011-08-25 23:27 trashcan_full.svg -> user-trash-full.svg
    lrwxrwxrwx 1 root root   43 2011-08-25 23:27 user-bookmarks.svg -> ../../actions/48/gnome-app-install-star.svg
    -rw-r--r-- 1 root root 5,5K 2011-08-25 23:37 user-desktop.svg
    -rw-r--r-- 1 root root 3,3K 2011-08-25 23:36 user-home.svg
    lrwxrwxrwx 1 root root   19 2011-08-25 23:27 user-images.svg -> folder-pictures.svg
    lrwxrwxrwx 1 root root   19 2011-08-25 23:27 user-pictures.svg -> folder-pictures.svg
    lrwxrwxrwx 1 root root   11 2011-08-25 23:27 user-share.icon -> folder.icon
    lrwxrwxrwx 1 root root   17 2011-08-25 23:27 user-share.svg -> folder-remote.svg
    -rw-r--r-- 1 root root  74K 2011-08-25 22:55 user-trash-full.svg
    -rw-r--r-- 1 root root  32K 2011-08-25 23:36 user-trash.svg
    lrwxrwxrwx 1 root root   14 2011-08-25 23:27 xfce-trash_empty.svg -> user-trash.svg
    lrwxrwxrwx 1 root root   19 2011-08-25 23:27 xfce-trash_full.svg -> user-trash-full.svg
    I don't know if that tells you anything, but it did not help to reinstall the themes.

    Toggling the checkbox in ccsm did not help eihter.

    I believe that compiz is segfaulting also when the ccsm starts fiddling...

  8. #18
    Join Date
    Mar 2007
    Location
    Caprica
    Beans
    1,995
    Distro
    Ubuntu Development Release

    Re: Unity 3D does not work after upgrade

    I just wanted to see if you have the files, if the links are correct, etc. Its equal to mine.

    I guess no luck with the suggestion on post #15 too? I got curious as to simply Deactivating / Activating Unity Plugin is CCSM using the 2D session could probably solve the problem, as the poster reported.

    Regards,
    Effenberg

  9. #19
    Join Date
    Mar 2007
    Location
    Caprica
    Beans
    1,995
    Distro
    Ubuntu Development Release

    Re: Unity 3D does not work after upgrade

    Ah, I missed one attempt actually.

    sudo service lightdm stop
    whoami (make sure you're logged in with the user who can't use the Ubuntu session)

    sudo mv ~/.local ~/.local.old
    sudo mv ~/.cache/compizconfig-1 ~/.cache/compizconfig-.old
    sudo mv ~/.compiz-1 ~/.compiz-1.old
    sudo mv ~/.config/compiz-1 ~/.config/compiz-1.old
    sudo mv ~/.cache/unity ~/.cache/unity.old
    sudo mv ~/.cache/zeitgeist ~/.cache/zeitgeist.old

    sudo service lightdm start
    DISPLAY=:0.0 /usr/bin/ccsm &
    Activate/deactivate Unity Plugin and close ccsm
    sudo service lightdm restart

    Regards,
    Effenberg

  10. #20
    Join Date
    Feb 2006
    Beans
    216

    Re: Unity 3D does not work after upgrade

    Comment # 15 did not solve the problem unfortunately.

    And moving the configuration files did not work either. I thought that would do the trick since the 3D Unity works fine for a newly created user...

    (And I verified that I was logged in as the correct user when I was moving files...)

    Very strange problem...
    You mentioned that you took a look in the source code of unity.
    Where can I download that and have a look myself?

    I'm off to get some sleep now, but I'll continue digging tomorrow...

    Cheers!

Page 2 of 3 FirstFirst 123 LastLast

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
  •