Skip to content
This repository has been archived by the owner on Feb 27, 2018. It is now read-only.

Error while compiling unity package #22

Open
mielouk opened this issue Apr 3, 2013 · 55 comments
Open

Error while compiling unity package #22

mielouk opened this issue Apr 3, 2013 · 55 comments

Comments

@mielouk
Copy link

mielouk commented Apr 3, 2013

Linking CXX executable social_previews
[ 57%] Built target social_previews
Scanning dependencies of target launcher-lib
[ 57%] Building CXX object launcher/CMakeFiles/launcher-lib.dir/EdgeBarrierController.cpp.o
In file included from /home/mielouk/AUR/Unity-for-Arch/unity/src/unity-6.12.0daily13.03.01/launcher/PointerBarrier.h:26:0,
from /home/mielouk/AUR/Unity-for-Arch/unity/src/unity-6.12.0daily13.03.01/launcher/EdgeBarrierController.h:23,
from /home/mielouk/AUR/Unity-for-Arch/unity/src/unity-6.12.0daily13.03.01/launcher/EdgeBarrierController.cpp:21:
/usr/include/X11/extensions/XInput2.h:173:22: Fehler: in Konflikt stehende Deklaration »typedef unsigned int BarrierEventID«
In file included from /home/mielouk/AUR/Unity-for-Arch/unity/src/unity-6.12.0daily13.03.01/launcher/PointerBarrier.h:25:0,
from /home/mielouk/AUR/Unity-for-Arch/unity/src/unity-6.12.0daily13.03.01/launcher/EdgeBarrierController.h:23,
from /home/mielouk/AUR/Unity-for-Arch/unity/src/unity-6.12.0daily13.03.01/launcher/EdgeBarrierController.cpp:21:
/usr/include/X11/extensions/Xfixes.h:274:17: Fehler: »BarrierEventID« hat eine vorherige Deklaration als »typedef int32_t BarrierEventID«
/home/mielouk/AUR/Unity-for-Arch/unity/src/unity-6.12.0daily13.03.01/launcher/EdgeBarrierController.cpp: In Funktion »void unity::ui::SetupXI2Events()«:
/home/mielouk/AUR/Unity-for-Arch/unity/src/unity-6.12.0daily13.03.01/launcher/EdgeBarrierController.cpp:143:3: Fehler: »XI_BarrierHit« wurde in diesem Gültigkeitsbereich nicht definiert
/home/mielouk/AUR/Unity-for-Arch/unity/src/unity-6.12.0daily13.03.01/launcher/EdgeBarrierController.cpp:144:3: Fehler: »XI_BarrierLeave« wurde in diesem Gültigkeitsbereich nicht definiert
/home/mielouk/AUR/Unity-for-Arch/unity/src/unity-6.12.0daily13.03.01/launcher/EdgeBarrierController.cpp: In Elementfunktion »bool unity::ui::EdgeBarrierController::Impl::HandleEvent(XEvent)«:
/home/mielouk/AUR/Unity-for-Arch/unity/src/unity-6.12.0daily13.03.01/launcher/EdgeBarrierController.cpp:204:11: Fehler: »XI_BarrierHit« wurde in diesem Gültigkeitsbereich nicht definiert
make[2]: *** [launcher/CMakeFiles/launcher-lib.dir/EdgeBarrierController.cpp.o] Fehler 1
make[1]: *** [launcher/CMakeFiles/launcher-lib.dir/all] Fehler 2
make: *** [all] Fehler 2
==> FEHLER: Ein Fehler geschah in build().
Breche ab ...

Translations:

Gültigkeitsbereich = area of validity
nicht definiert = not defined
ein Fehler geschah in build = an error happend during build
Breche ab = canceling

This is my first bugreport. Do you need any other information?
I like Unity very much, especially combined with the clear usability of ARCH :)

@chenxiaolong
Copy link
Owner

Thanks for the complement!

I won't need anymore information. From the error, it seems that you still have the old xorg-server-ubuntu, xorg-server-ubuntu-devel, fixesproto-ubuntu, and libxfixes-ubuntu. Please install the non -ubuntu versions of those packages. After that, Unity should compile fine :D

@brainpower
Copy link

a tip: prepend 'LANG=C' to your command when creating logs for bug reports.
for example '$ LANG=C makepkg' . that way, (usually) all messages of the command will be in english.

@mielouk
Copy link
Author

mielouk commented Apr 3, 2013

Well, I replaced the mentioned packages and did pacman -Suy to bring everything up to date. Now it doesn't start anymore to the desktop. I tried to compile unity, but it failed with a different error. So I thouhgt of compiling everything from the beginning. The two GTKs compiled fine, qt4 had a conflict between nvidia-utils and mesa-libgl (I think) which is a problem I've had before. Libdbusmenu stops compiling, but I can't post an image of the error because I've no GUI on the machine. Any suggestions?

@chenxiaolong
Copy link
Owner

Could you add my repo to your pacman.conf and reinstall the Unity packages from the repo?

[Unity-for-Arch] 
SigLevel = Optional TrustAll 
Server = http://dl.dropbox.com/u/486665/Repos/Unity-for-Arch/$arch

.

pacman -Sy $(pacman -Slq Unity-for-Arch)

That way, you can at least get a working GUI (hopefully). The packages are cleanly and automatically built in a chroot.

If that doesn't work, try reinstalling nvidia-utils again to make sure the NVIDIA drivers are used.

@mielouk
Copy link
Author

mielouk commented Apr 4, 2013

The update replaced the packages I couldn't compile, but it didn't help. The reinstallation of nvidia-utils helped. Thank you very much! Shall I use this repo in the future?

@chenxiaolong
Copy link
Owner

You're welcome! I'm glad you got it working :D

You can certainly use the repo if you want. Every time I make a change/commit, my server will automatically compile the new packages and upload it to the repo, so it will always have the latest packages.

The packages are always built cleanly in a chroot, so it should work well on any Arch system :)

EDIT: The packages for Unity-for-Arch-Extra are available in this repo:

[Unity-for-Arch-Extra] 
SigLevel = Optional TrustAll 
Server = http://dl.dropbox.com/u/486665/Repos/Unity-for-Arch-Extra/$arch

@mielouk
Copy link
Author

mielouk commented Apr 4, 2013

Unfortunately it didn't really help. Lightdm is starting up, I can login, but I just see the wallpaper and nothing else, cursor is moving though.
I don't think that the unity packages are to blame. The new X together with a new nvidia version might have done the trick.
At first, after pressing the superbutton, the bar and the lens appeared and vanished immediately, like something was resetting itself. After pressing super once again, the whole interface was gone for good and I had to reboot.

Pacman -Suy says that everything is up to date. I tried reinstalling X which led to a conflict between competing libgl. I chose nvidia-libgl after deinstalling al. nvidia packages and reinstalling them afterwards.

By the way, whats the appropiate manner to restart X in Unity for Arch? Ctrl+Alt+Del , Ctrl+Alt+Back , Alt+Print+K/REISUB, these don't work.

EDIT: Hmm, I can rightclick on the desktop and could change the wallpaper and reach into the systempreferences, the close-, maxbuttons are not present though. Ctrl+Q makes it possible to close the winodw, but nothing else is visible.

@chenxiaolong
Copy link
Owner

If that's the case, could you login to the Unity X session then switch to a TTY and run:

DISPLAY=:0.0 compiz.reset

As long as you choose nvidia-libgl, instead of any other libgl, Unity should run properly.

By the way, whats the appropiate manner to restart X in Unity for Arch? Ctrl+Alt+Del , Ctrl+Alt+Back , Alt+Print+K/REISUB, these don't work.

Doesn't REISUB kill all programs and restart the computer immediately? :D

But anyway, I'm not aware of any key combination to restart X. I usually run

DISPLAY=:0.0 gnome-session-quit --logout

in a TTY to see if I can logout of the Unity session properly. If that fails, then I just restart lightdm

sudo systemctl restart lightdm.service

EDIT: Hmm, I can rightclick on the desktop and could change the wallpaper and reach into the systempreferences, the close-, maxbuttons are not present though. Ctrl+Q makes it possible to close the winodw, but nothing else is visible.

It seems Compiz is what's crashing then. After resetting Compiz with the command above, could you post your ~/.xsession-errors file? (if Unity still doesn't start, of course :P)

By the way, the nautilus-open-terminal package is pretty useful. You can right click the desktop or any other nautilus window to open a terminal.

@mielouk
Copy link
Author

mielouk commented Apr 4, 2013

Logout failed, so I restarted with systemctl, twice, because each time I tip the superbutton, the lens appears disappears, something restarts and the second time the bars vanish. Opening programms with super+(1-0) works.

It's very kind of you to help me so patiently.

Here the xsession-errors:

N: [pulseaudio] main.c: User-configured server at {fa07f133313a4c9ea3aa50a483200d40}unix:/run/user/1000/pulse/native, which appears to be local. Probing deeper.
compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
compiz (core) - Info: Loading plugin: ccp
compiz (core) - Info: Starting plugin: ccp

  • dconf dump /desktop/unity/
  • dconf load /com/canonical/unity/
    compiz (core) - Info: Loading plugin: composite
    compiz (core) - Info: Starting plugin: composite
  • dconf reset -f /desktop/unity/
    compiz (core) - Info: Loading plugin: opengl
    compiz (core) - Info: Unity is not supported by your hardware. Enabling software rendering instead (slow).
    compiz (core) - Info: Unity is not supported by your hardware. Enabling software rendering instead (slow).
    compiz (core) - Info: Starting plugin: opengl

(gnome-settings-daemon:1978): GLib-CRITICAL **: g_variant_get_boolean: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_BOOLEAN)' failed

(gnome-settings-daemon:1978): keyboard-plugin-WARNING **: Unhandled settings change, key 'bell-custom-file'
compiz (core) - Info: Loading plugin: compiztoolbox
compiz (core) - Info: Starting plugin: compiztoolbox
compiz (core) - Info: Loading plugin: decor
compiz (core) - Info: Starting plugin: decor
compiz (core) - Info: Loading plugin: snap
compiz (core) - Info: Starting plugin: snap
compiz (core) - Info: Loading plugin: grid
compiz (core) - Info: Starting plugin: grid
compiz (core) - Info: Loading plugin: copytex
compiz (core) - Info: Starting plugin: copytex
compiz (core) - Info: Loading plugin: vpswitch
compiz (core) - Info: Starting plugin: vpswitch
compiz (core) - Info: Loading plugin: move
compiz (core) - Info: Starting plugin: move
compiz (core) - Info: Loading plugin: mousepoll
compiz (core) - Info: Starting plugin: mousepoll
compiz (core) - Info: Loading plugin: wall
compiz (core) - Info: Starting plugin: wall

** (nm-applet:2006): WARNING *: Could not initialize NMClient /org/freedesktop/NetworkManager: Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details.
*
Message: applet now removed from the notification area
compiz (core) - Info: Loading plugin: regex
compiz (core) - Info: Starting plugin: regex
compiz (core) - Info: Loading plugin: resize
compiz (core) - Info: Starting plugin: resize
compiz (core) - Info: Loading plugin: imgpng
compiz (core) - Info: Starting plugin: imgpng
compiz (core) - Info: Loading plugin: place
compiz (core) - Info: Starting plugin: place
compiz (core) - Info: Loading plugin: gnomecompat
compiz (core) - Info: Starting plugin: gnomecompat
compiz (core) - Info: Loading plugin: unitymtgrabhandles
compiz (core) - Info: Starting plugin: unitymtgrabhandles
compiz (core) - Info: Loading plugin: animation

** (nm-applet:2006): WARNING **: fetch_connections_done: error fetching connections: (32) Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details..

** (nm-applet:2006): WARNING **: Failed to register as an agent: (32) Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details.
compiz (core) - Info: Starting plugin: animation
compiz (core) - Info: Loading plugin: fade
compiz (core) - Info: Starting plugin: fade
compiz (core) - Info: Loading plugin: session
compiz (core) - Info: Starting plugin: session
I/O warning : failed to load external entity "/home/mielouk/.compiz/session/1085a4651ba2d1381136509964064044800000019310022"
compiz (core) - Info: Loading plugin: scale
compiz (core) - Info: Starting plugin: scale
compiz (core) - Info: Loading plugin: expo
compiz (core) - Info: Starting plugin: expo
compiz (core) - Info: Loading plugin: workarounds
compiz (core) - Info: Starting plugin: workarounds
compiz (core) - Info: Loading plugin: ezoom
compiz (core) - Info: Starting plugin: ezoom
compiz (core) - Info: Loading plugin: unityshell

(gnome-settings-daemon:1978): GLib-CRITICAL *: g_variant_get_boolean: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_BOOLEAN)' failed
compiz (core) - Info: Starting plugin: unityshell
*
Message: using fallback from indicator to GtkStatusIcon

(gnome-settings-daemon:1978): keyboard-plugin-WARNING **: Unhandled settings change, key 'bell-custom-file'

** (gnome-settings-daemon:1978): CRITICAL **: setup_bg: assertion `manager->priv->bg == NULL' failed

(gnome-settings-daemon:1978): GLib-CRITICAL **: g_variant_get_boolean: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_BOOLEAN)' failed

(gnome-settings-daemon:1978): keyboard-plugin-WARNING **: Unhandled settings change, key 'bell-custom-file'

** (gnome-settings-daemon:1978): CRITICAL **: setup_bg: assertion `manager->priv->bg == NULL' failed

(gnome-settings-daemon:1978): GLib-CRITICAL **: g_variant_get_boolean: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_BOOLEAN)' failed

(gnome-settings-daemon:1978): keyboard-plugin-WARNING **: Unhandled settings change, key 'bell-custom-file'

** (gnome-settings-daemon:1978): CRITICAL **: setup_bg: assertion `manager->priv->bg == NULL' failed

(gnome-settings-daemon:1978): GLib-CRITICAL **: g_variant_get_boolean: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_BOOLEAN)' failed

(gnome-settings-daemon:1978): keyboard-plugin-WARNING **: Unhandled settings change, key 'bell-custom-file'

** (gnome-settings-daemon:1978): CRITICAL **: setup_bg: assertion `manager->priv->bg == NULL' failed

** (gnome-settings-daemon:1978): CRITICAL *: setup_bg: assertion `manager->priv->bg == NULL' failed
*
Message: moving back from GtkStatusIcon to indicator

@chenxiaolong
Copy link
Owner

Logout failed, so I restarted with systemctl, twice, because each time I tip the superbutton, the lens appears disappears, something restarts and the second time the bars vanish. Opening programms with super+(1-0) works.

It's very kind of you to help me so patiently.

No problem. I want everyone to have a working and stable Unity on Arch :)

Since Unity doesn't seem to be logging anything related to the crash, we'll have to go at this by trial-and-error. Since you said that Unity works until you hit the super button to open the lens, could you remove all of the unity-lens-* packages to rule out the possibility that those are broken?

EDIT: The output of

glxinfo | grep renderer

does not say LLVMpipe anywhere, right?

@mielouk
Copy link
Author

mielouk commented Apr 4, 2013

I removed the lenses, but nothing changed. The same error occured when I click on the "lensbutton", not instantly but as soon as I typed something in the line.

@chenxiaolong
Copy link
Owner

Darn, this is really frustrating. Could you run

unity --replace &>/tmp/unity-lens-fail.log

make Unity crash and then upload /tmp/unity-lens-fail.log ?

@mielouk
Copy link
Author

mielouk commented Apr 5, 2013

glxinfo ain't a known package

The log:

compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
compiz (core) - Info: Loading plugin: ccp
compiz (core) - Info: Starting plugin: ccp
compiz (core) - Info: Loading plugin: composite
compiz (core) - Info: Starting plugin: composite
compiz (core) - Info: Loading plugin: opengl
compiz (core) - Info: Unity is fully supported by your hardware.
compiz (core) - Info: Unity is fully supported by your hardware.
compiz (core) - Info: Starting plugin: opengl
compiz (core) - Info: Loading plugin: compiztoolbox
compiz (core) - Info: Starting plugin: compiztoolbox
compiz (core) - Info: Loading plugin: decor
compiz (core) - Info: Starting plugin: decor
compiz (core) - Info: Loading plugin: snap
compiz (core) - Info: Starting plugin: snap
compiz (core) - Info: Loading plugin: grid
compiz (core) - Info: Starting plugin: grid
compiz (core) - Info: Loading plugin: copytex
compiz (core) - Info: Starting plugin: copytex
compiz (core) - Info: Loading plugin: vpswitch
compiz (core) - Info: Starting plugin: vpswitch
compiz (core) - Info: Loading plugin: move
compiz (core) - Info: Starting plugin: move
compiz (core) - Info: Loading plugin: mousepoll
compiz (core) - Info: Starting plugin: mousepoll
compiz (core) - Info: Loading plugin: wall
compiz (core) - Info: Starting plugin: wall
compiz (core) - Info: Loading plugin: regex
compiz (core) - Info: Starting plugin: regex
compiz (core) - Info: Loading plugin: resize
compiz (core) - Info: Starting plugin: resize
compiz (core) - Info: Loading plugin: imgpng
compiz (core) - Info: Starting plugin: imgpng
compiz (core) - Info: Loading plugin: place
compiz (core) - Info: Starting plugin: place
compiz (core) - Info: Loading plugin: gnomecompat
compiz (core) - Info: Starting plugin: gnomecompat
compiz (core) - Info: Loading plugin: unitymtgrabhandles
compiz (core) - Info: Starting plugin: unitymtgrabhandles
compiz (core) - Info: Loading plugin: animation
compiz (core) - Info: Starting plugin: animation
compiz (core) - Info: Loading plugin: fade
compiz (core) - Info: Starting plugin: fade
compiz (core) - Info: Loading plugin: session
compiz (core) - Info: Starting plugin: session
compiz (core) - Info: Loading plugin: scale
compiz (core) - Info: Starting plugin: scale
compiz (core) - Info: Loading plugin: expo
compiz (core) - Info: Starting plugin: expo
compiz (core) - Info: Loading plugin: workarounds
compiz (core) - Info: Starting plugin: workarounds
compiz (core) - Info: Loading plugin: ezoom
compiz (core) - Info: Starting plugin: ezoom
compiz (core) - Info: Loading plugin: unityshell
compiz (core) - Info: Starting plugin: unityshell
compizconfig - Info: Backend : gsettings
compizconfig - Info: Integration : true
compizconfig - Info: Profile : unity
WARN 2013-04-05 05:07:26 unity.libindicator :0 Desktop file '/usr/share/applications/libreoffice-writer.desktop' is using a deprecated format for its actions that will be dropped soon.
WARN 2013-04-05 05:07:26 unity.dash.style DashStyle.cpp:2557 Unable to texture /usr/share/unity/6/search_circle.svg: Format der Bilddatei unbekannt
WARN 2013-04-05 05:07:26 unity.dash.style DashStyle.cpp:2557 Unable to texture /usr/share/unity/6/search_close.svg: Format der Bilddatei unbekannt
WARN 2013-04-05 05:07:26 unity.dash.style DashStyle.cpp:2557 Unable to texture /usr/share/unity/6/search_spin.svg: Format der Bilddatei unbekannt
compiz (decor) - Warn: No default decoration found, placement will not be correct
compiz (decor) - Warn: No default decoration found, placement will not be correct
compiz (decor) - Warn: No default decoration found, placement will not be correct
compiz (decor) - Warn: No default decoration found, placement will not be correct
compiz (decor) - Warn: No default decoration found, placement will not be correct
WARN 2013-04-05 05:07:32 unity.dash.style DashStyle.cpp:2557 Unable to texture /usr/share/unity/6/search_circle.svg: Format der Bilddatei unbekannt
WARN 2013-04-05 05:07:32 unity.dash.style DashStyle.cpp:2557 Unable to texture /usr/share/unity/6/search_close.svg: Format der Bilddatei unbekannt
WARN 2013-04-05 05:07:32 unity.dash.style DashStyle.cpp:2557 Unable to texture /usr/share/unity/6/search_spin.svg: Format der Bilddatei unbekannt
WARN 2013-04-05 05:07:32 unity.dash.style DashStyle.cpp:2557 Unable to texture /usr/share/unity/6/information_icon.svg: Format der Bilddatei unbekannt
WARN 2013-04-05 05:07:32 unity.iconloader IconLoader.cpp:709 Unable to load icon file:///usr/share/unity/6/lens-nav-home.svg at size -1x24: Format der Bilddatei unbekannt

@mielouk
Copy link
Author

mielouk commented Apr 5, 2013

Sorry, I forgot LANG=C.

Format der Bilddatei unbekannt = Format of the picture(file) unknown

Oh and this do I get for the reboot command:

$ reboot
User lightdm is logged in on seat0.
User lightdm is logged in on seat0.
Please retry operation after closing inhibitors and logging out other users.
Alternatively, ignore inhibitors and users with 'systemctl reboot -i'.

@chenxiaolong
Copy link
Owner

Thanks for the log! We're getting closer to the source of the issue. The crash is indeed caused by:

WARN 2013-04-05 05:07:32 unity.dash.style DashStyle.cpp:2557 Unable to texture /usr/share/unity/6/search_circle.svg: Format der Bilddatei unbekannt
WARN 2013-04-05 05:07:32 unity.dash.style DashStyle.cpp:2557 Unable to texture /usr/share/unity/6/search_close.svg: Format der Bilddatei unbekannt
WARN 2013-04-05 05:07:32 unity.dash.style DashStyle.cpp:2557 Unable to texture /usr/share/unity/6/search_spin.svg: Format der Bilddatei unbekannt
WARN 2013-04-05 05:07:32 unity.dash.style DashStyle.cpp:2557 Unable to texture /usr/share/unity/6/information_icon.svg: Format der Bilddatei unbekannt
WARN 2013-04-05 05:07:32 unity.iconloader IconLoader.cpp:709 Unable to load icon file:///usr/share/unity/6/lens-nav-home.svg at size -1x24: Format der Bilddatei unbekannt

I found a related bug here: https://lists.launchpad.net/unity-dev/msg00247.html I'll look into it more tomorrow.

Oh and this do I get for the reboot command:

$ reboot
User lightdm is logged in on seat0.
User lightdm is logged in on seat0.
Please retry operation after closing inhibitors and logging out other users.
Alternatively, ignore inhibitors and users with 'systemctl reboot -i'.

This problem will go away as soon as Ubuntu ports LightDM to use systemd's logind (a service that tracks logged in users). As far as I know, this should be done by the time Ubuntu 13.04 is released.

EDIT: Would you mind checking one more time that the packages are from my repo?

LANG=C && for i in $(pacman -Slq Unity-for-Arch); do pacman -Qi ${i} | sed -n "s/Packager.*: \(.*\)$/Package ${i}\n  - Built by: \1/p"; done

All the packages listed should show that they are built by Jenkins CI Autobuilder <chenxiaolong@cxl.epac.to>

EDIT2: Maybe also try reinstalling unity (just the package). That package contains all the pictures that are failing to load.

@mielouk
Copy link
Author

mielouk commented Apr 5, 2013

I looked up the entries and they are all from your repo. I also reinstalled unity, which didn't help. I reinstalled all UfA and UfAE packages yesterday. Well, the Problems began with me not be able to compile the unity package. Which I did several times before, because I'm using UfA since late january.

@chenxiaolong
Copy link
Owner

That's really strange. I don't know why a failed build would cause Unity to crash. If you create a new user, does Unity work fine there?

@mielouk
Copy link
Author

mielouk commented Apr 5, 2013

No, unfortunately it doesn't. The superbutton didn't react at all, I guess because the lenses were not installed. When I hit the arch-lense-button it crashes, resurrects, another pinch on the button and it dies, till I restart the lightdm session.

I'm not aware of any major changes, except the pacman -Suy yesterday.

@chenxiaolong
Copy link
Owner

At this point, I really have no idea what's wrong. Are you using 32 bit or 64 bit Arch? I'll build a LiveCD so you can see if Unity works on a perfect fresh live session.

@mielouk
Copy link
Author

mielouk commented Apr 6, 2013

64 bit

Thank you very much!

@chenxiaolong
Copy link
Owner

You're welcome! I'm building the LiveCD now. Could you send me an email at chenxiaolong AT cxl.epac.to ? I'll reply with the link after it's done uploading. I'd rather not post the link here, because too many downloads will probably get my dropbox account deleted :)

@conan513
Copy link

conan513 commented Apr 6, 2013

why not release an "Archlinux with Unity" distro? :D

@chenxiaolong
Copy link
Owner

All of the LiveCD stuff is available here: https://github.com/chenxiaolong/Unity-for-Arch-LiveCD :D

To be honest, I don't have the time and experience to maintain a LiveCD. For example, it takes me way too long to find out why ATI graphics boot with a black screen on the LiveCD, but not on a standard installation.

(Also, my ISP sent me warning letters for uploading too much before...oops :P)

But, you never know. If I can make the process automatic, like with Unity-for-Arch (http://cxl.epac.to:8091/), then maybe I'll create weekly/monthly LiveCDs.

@mielouk
Copy link
Author

mielouk commented Apr 6, 2013

I can boot up, the lenses are working fine without any crash, but the rest freezes. For example, when I try to change the iconsize of the bar, the whole appearancewindow freezes as does the "shutdown" menu. I've to start the terminal, with the lenses ;) and reboot the computer. I couldn't try a upgrade because I don't have the password. Firefox didn't start up either...

Well, if the build is not the problem, how can I investigate my lens-issues?

EDIT: I figure that there's something seriously wrong with my installation. Over a few weeks I've to install a server via SSH, so this is a good opportunity to do that.
Thank you very much for your help, again :)

@mielouk
Copy link
Author

mielouk commented Apr 7, 2013

I've reinstalled the whole package from the beginning. The lenses are working fine, now. But as with the LiveCD, I can't start neither firefox nor thunderbird. Both tell me that there is already a session running, but no window appears?!

@chenxiaolong
Copy link
Owner

I'm glad you got Unity working again! Too bad we couldn't figure out what was wrong. But whatever, it works now right :)

I'll look into the Firefox issue. I'm guessing it's because some of the plugins are not compatible with Firefox 20. Try running Firefox in no-plugin mode:

killall firefox
firefox -safe-mode

Btw, sorry for asking you to try so many things. I don't have a working computer right now, so it's kind of hard to give useful suggestions.

@mielouk
Copy link
Author

mielouk commented Apr 7, 2013

Yeah, I got the functionality back, but I lost half of my media library because of my own stupidity :(

The commands help. Even after closing FF safe mode, I'm able to start firefox from console. It's unfortunately not possible to start it through GUI-means.

It's a fresh install, thus there were no plugins present..

EDIT: Does this help?

LANG=C firefox

(firefox:28207): Gdk-CRITICAL **: gdk_keymap_have_bidi_layouts: assertion `GDK_IS_KEYMAP (keymap)' failed

(firefox:28207): GLib-GObject-WARNING **: cannot register existing type `GdkKeymap'

(firefox:28207): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed

(firefox:28207): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed

(firefox:28207): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
Speicherzugriffsfehler (Speicherabzug geschrieben)

I don't know why the last line isn't translated. It means, memoryaccesserror, error while accessing memory.
(Copy of memory written)

@chenxiaolong
Copy link
Owner

Did you install any packages from Unity-for-Arch-Extra? The Unity WebApps packages install some Firefox plugins.

I think I found the cause of the problem. If I remove firefox-extension-websites-integration and firefox-extension-unity in the LiveCD, then Firefox starts correctly.

Btw, to get root access on the LiveCD, use su instead of sudo.

@chenxiaolong
Copy link
Owner

firefox-extension-unity is part of Unity-for-Arch-Extra/unity-firefox-extension (bad naming, I know)

and firefox-extension-websites-integration is part of Unity-for-Arch-Extra/webapps-greasemonkey

Running this should be enough:

pacman -Rc firefox-extension-websites-integration firefox-extension-unity

@mielouk
Copy link
Author

mielouk commented Apr 7, 2013

Worked fine for the firefox, thunderbird still says there's another instance running.

EDIT: Thunderbird works now also. I don't know what exactly I'd have done, but after the 10th retry or so, it just worked.

@chenxiaolong
Copy link
Owner

Awesome, I hope you finally have a stable Unity now :) It really helps to have patient people, like you, help find the causes of certain problems in this project!

If Thunderbird fails to start again after a reboot or something, let me know, and I'll see if there's a broken plugin that might cause the issue.

I'll see what I can do about the broken Firefox plugins after I have a computer again.

@mielouk
Copy link
Author

mielouk commented Apr 9, 2013

Yes, it's very stable. I love it!

It's very comforting to know someone who is willing to help. If other problems, appear I'll file a bugreport.

THX again, CU :)

@mielouk
Copy link
Author

mielouk commented Apr 16, 2013

As this thread is still open I want to ask you whether I should open a new bugreport on these little problems. It depends on whether they are bugs at all, or I'm just to stupid.

I reinstalled my laptop, because it has become a mess in the meanwhile. Everything works fine, except:

  • The lenses and the Alt+Tab Icons are "stuttering" while appearing (works fine on my desktop though, the laptop has a optimus/bumblebee-solution. Could there be any issue?)
  • The mousethemes can't be changed anymore / aren't included anymore
  • The lightdm-greeter doesn't accept systemwide changes in keyboard layouts. Everything has a german keyboard layout except my login, very weird! I edited locale.gen locale.conf vconsole.conf

And a probably "off-topic" question - Is it normal to have a SMB-transferrate of 10Mbyte/s or less? 10 with Ubuntu, ~8 with Arch.

@chenxiaolong
Copy link
Owner

As this thread is still open I want to ask you whether I should open a new bugreport on these little problems. It depends on whether they are bugs at all, or I'm just to stupid.

There's no such thing as a stupid question :)

The lenses and the Alt+Tab Icons are "stuttering" while appearing (works fine on my desktop though, the laptop has a optimus/bumblebee-solution. Could there be any issue?)

I think this may be dependant on your GPU. I've booted the same Arch installation on two computers, both with an Intel GMA4500MHD graphics card. One would always stutter while the other never did. I have no idea why this happens. I don't think it's related to bumblebee though. On optimus systems, Unity will always run with Intel card, not the NVIDIA one.

The mousethemes can't be changed anymore / aren't included anymore

Which cursor themes are you trying to use? The Ubuntu ones are in the xcursor-vanilla-dmz package. gnome-tweak-tool should have no problem changing the cursor theme.

The lightdm-greeter doesn't accept systemwide changes in keyboard layouts. Everything has a german keyboard layout except my login, very weird! I edited locale.gen locale.conf vconsole.conf

The /etc/vconsole.conf file configures the keyboard layout for the TTY consoles and the layout after you login is not system-wide. I think setting a system-wide keyboard layout for Xorg will fix this: https://wiki.archlinux.org/index.php/Configuring_keyboard_layouts_in_X

And a probably "off-topic" question - Is it normal to have a SMB-transferrate of 10Mbyte/s or less? 10 with Ubuntu, ~8 with Arch.

For this, I'd first try testing the connection speed between the two computers. You can use iperf for this (Linux versions is in the repos, Windows version is available here: http://www.iperfwindows.com/). On one computer, run

iperf -s

on the other, run

iperf -c IP_ADDRESS -d

That will give you the speed between the two machines. Remember that 1 Megabyte = 8 Megabits. So, on my machine:

Screenshot from 2013-04-15 22:07:38

So, the maximum I should ever reach is 5.28/8 = 0.66 MB/s when transferring files (yes, I have a horrible wireless connection :D) The SMB performance should be a little bit lower than what iperf reports.

@mielouk
Copy link
Author

mielouk commented Apr 16, 2013

The new mousetheme is much better :) The old one was just ugly...

I'd already added a xorg-conf-file

Section "InputClass"
Identifier "keyboard"
MatchIsKeyboard "yes"
Option "XkbLayout" "de-latin1"
Option "XkbVariant" "nodeadkeys"
EndSection

Which I had already copied from the german Arch-Wiki

As I mentioned, I just wiped my laptop, which had a Ubuntu on it. There was no stuttering at all with 12.04 and the standard nvidia-drivers.

Iperf shows a transferrate of 91,4 Mbit!/s thus ~11MB/s How is that possible with a Gb-LAN connection over just one switch?

@chenxiaolong
Copy link
Owner

The new mousetheme is much better :) The old one was just ugly...

Great!

I'd already added a xorg-conf-file

What if you put

Option "XkbLayout" "de-latin1"
Option "XkbVariant" "nodeadkeys"

in the "evdev keyboard catchall" section of /etc/X11/xorg.conf.d/10-evdev.conf?

EDIT: Try this if it doesn't work:

Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"

As I mentioned, I just wiped my laptop, which had a Ubuntu on it. There was no stuttering at all with 12.04 and the standard nvidia-drivers.

I'm not sure what would cause it, but code-wise quite a few things have changed since Unity 5.0 (12.04) :P

Iperf shows a transferrate of 91,4 Mbit!/s thus ~11MB/s How is that possible with a Gb-LAN connection over just one switch?

Do both ethernet cards support gigabit LAN? You can check by installing the ethtool package and running ethtool eth0. It should have 1000baseT/Full in the Supported link modes: section.

@mielouk
Copy link
Author

mielouk commented Apr 16, 2013

This is my evdev:

Section "InputClass"
Identifier "evdev pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection

Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection

Section "InputClass"
Identifier "evdev touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection

Section "InputClass"
Identifier "evdev tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection

Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection

There's a catchall in every section. Where shall I put it?

As expected do both NICs support 1000baseT/Full. I guess I've to check the NIC-drivers.

EDIT: Changing de-latin1 to de in the 20-keyboard.conf did the trick 💃

@mielouk
Copy link
Author

mielouk commented Apr 16, 2013

If I may ask a personal question. In which timezone do you live in? Here in CET+summertime it is 06:08 AM

@mielouk
Copy link
Author

mielouk commented Apr 23, 2013

Hi, another -Syu and I get a blank screen with moving cursor.

While updating he asked whether to:

Replace libsoup-gnome with extra/libsoup? [Y/n]

Which I did. The command DISPLAY=:0.0 compiz.reset couldn't be applied before stopping lightdm. Didn't change anything though.

EDIT: I see https://bbs.archlinux.org/viewtopic.php?pid=1262744#p1262744

@chenxiaolong
Copy link
Owner

Darn it, sorry for replying so late. I missed the email notification from Github.

EDIT: Changing de-latin1 to de in the 20-keyboard.conf did the trick 💃

Glad you got it working! I know nothing about keyboard layouts. That was just a wild guess :)

If I may ask a personal question. In which timezone do you live in? Here in CET+summertime it is 06:08 AM

I live in the EDT timezone (EST + daylight savings) in the US. I think EDT is 5 hours behind CET+summertime.

For the GNOME 3.8 updates, everything should now work. Just update to the latest packages. If Unity still doesn't start, try running compiz.reset again.

By the way, DISPLAY=:0.0 compiz.reset will only work if you are logged in to a Xorg session. It doesn't have enough permissions to run when you're still at the login screen :)

@mielouk
Copy link
Author

mielouk commented Jun 30, 2013

Long time, no write ;)

Unity works still beutifully, but I've a question for which I don't get an answer on ARCH Forum.

I want to disable the usb autosuspend or delay it longer. I've found some hints

http://www.mjmwired.net/kernel/Documentation/usb/power-management.txt

https://wiki.archlinux.org/index.php/Power_saving#USB_Autosuspend

but none of them seems to work. I tried messing with the /sys/devices/usbcore and /sys/modules/parameters, but the changes don't seem to stick. Even after changing the parameters through chroot, they don't stick. I don't think, that it's a Unity related issue, but maybe you can help me. It's really annoying to have your mouse autosuspend after 2 seconds!!

@chenxiaolong
Copy link
Owner

Hi mielouk, nice to see you here again :)

I'm not entirely sure the issue is related to Unity. I did a quick check on my server with no GUI:

[chenxiaolong@vm-ufabuilder parameters]$ cat /sys/module/usbcore/parameters/autosuspend
2

It's autosuspending the USB ports too, so maybe a recent kernel update changed the defaults? Try adding the following to /etc/udev/rules.d/usb_power_save.rules

ACTION=="add", SUBSYSTEM=="usb", TEST=="power/control" ATTR{power/control}="on"

That should permanently disable the autosuspend (unless you are using laptop-mode-tools, tlp, etc).

Hope this helps :)

@mielouk
Copy link
Author

mielouk commented Jul 1, 2013

Thank you very much, it seems to have worked! In first I thought it didn't, but after another reboot it did!

THX!

@mielouk
Copy link
Author

mielouk commented Jul 16, 2013

Hi again :)

Since two weeks, I've got a bug which is really a pain in the ass, but I can't pinpoint the cause.

VLC is stuttering for a few times when I'm starting a video before it finally starts the clip. When I try to close it with Ctrl+Q, ALT+F4 or the menu, it keeps stuttering until I manage to open the also stuttering starter and click the "close" button. I don't have to kill the process, just manage to click the button.
I don't know whether the nvidia-driver, unity or vlc is the problem.

Any guesses?

@mielouk
Copy link
Author

mielouk commented Jul 20, 2013

Here I've a definitive Unity problem.

I can't find a fitting xstartup for my tigervnc. All solutions that should work, point either to .xinitrc, which is not present,
or point towards unity-2D, which isn't supported anymore.

Do you have a working xstartup or a hint where I might look on?

This is the xstartup, which was present after install, but is always showing a grey screen:

#!/bin/sh

unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
OS=uname -s
if [ $OS = 'Linux' ]; then
case "$WINDOWMANAGER" in
gnome)
if [ -e /etc/SuSE-release ]; then
PATH=$PATH:/opt/gnome/bin
export PATH
fi
;;
esac
fi
if [ -x /etc/X11/xinit/xinitrc ]; then
exec /etc/X11/xinit/xinitrc
fi
if [ -f /etc/X11/xinit/xinitrc ]; then
exec sh /etc/X11/xinit/xinitrc
fi
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &

@chenxiaolong
Copy link
Owner

You may have to consider using an alternative VNC server. TigerVNC does not support the Xorg composite extension, so compositors, such as Unity/compiz and gnome-shell, won't run even if your xstartup file worked.

That's why all the guides recommended using Unity-2D.

@mielouk
Copy link
Author

mielouk commented Jul 21, 2013

Thx, I'll look for more capable vncservers. Any suggestions for the VLC problem? I uninstalled, reinstalled, looked for errorlogs, but I can't find any problem.

@chenxiaolong
Copy link
Owner

No problem. Do you need to VNC session to be a new session? x11vnc works fine with Unity, but it controls the session your are currently logged into.

I have an Nvidia optimus system on my laptop and I've found that if I boot with Intel graphics, VLC has no problem. If I boot with the Nvidia card, then I get the same problem as you describe. But I still don't know if the problem is in Unity or the nvidia drivers.

@mielouk
Copy link
Author

mielouk commented Jul 22, 2013

No it doesn't have to be a new session, I want to control my desktop via my laptop. I didn't have the time to try x11vnc, yet. It looks promising from what I've read until now.

My guess is that the driver is the problem.

@chenxiaolong
Copy link
Owner

As far as I know, x11vnc is the only VNC software that can control your current session. Hopefully that'll work for you. Normally, when I want to control my other computer, I ssh into it and run:

DISPLAY=:0.0 x11vnc

@mielouk
Copy link
Author

mielouk commented Jul 28, 2013

Great!! You've fixed the VLC bug :D

@chenxiaolong
Copy link
Owner

What?? Really??

@mielouk
Copy link
Author

mielouk commented Jul 29, 2013

Very, very strange. After I updated my machine, VLC behaved perfectly for hours. No stuttering while opening or closing. Then after a reboot everything went back to it's usual state :-|

Sorry for the false alarm...

I also found a similar behaviour on my laptop with no nvidia drivers at all. It just happens occasionally, every ten times or so.

@mielouk
Copy link
Author

mielouk commented Aug 14, 2013

I hope this might help with the VLC problem.

http://paste.ubuntu.com/5986446/

@ghost
Copy link

ghost commented Sep 17, 2013

I have same problem with vlc

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants