Error while compiling unity package #22
Comments
Thanks for the complement! I won't need anymore information. From the error, it seems that you still have the old |
a tip: prepend 'LANG=C' to your command when creating logs for bug reports. |
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? |
Could you add my repo to your pacman.conf and reinstall the Unity packages from the repo?
.
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 |
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? |
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:
|
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. 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. |
If that's the case, could you login to the Unity X session then switch to a TTY and run:
As long as you choose nvidia-libgl, instead of any other libgl, Unity should run properly.
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
in a TTY to see if I can logout of the Unity session properly. If that fails, then I just restart lightdm
It seems Compiz is what's crashing then. After resetting Compiz with the command above, could you post your By the way, the |
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.
(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' ** (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. ** (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. (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): 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 |
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 EDIT: The output of
does not say LLVMpipe anywhere, right? |
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. |
Darn, this is really frustrating. Could you run
make Unity crash and then upload /tmp/unity-lens-fail.log ? |
glxinfo ain't a known package The log: compiz (core) - Info: Loading plugin: core |
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 |
Thanks for the log! We're getting closer to the source of the issue. The crash is indeed caused by:
I found a related bug here: https://lists.launchpad.net/unity-dev/msg00247.html I'll look into it more tomorrow.
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?
All the packages listed should show that they are built by EDIT2: Maybe also try reinstalling unity (just the package). That package contains all the pictures that are failing to load. |
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. |
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? |
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. |
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. |
64 bit Thank you very much! |
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 :) |
why not release an "Archlinux with Unity" distro? :D |
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. |
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. |
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?! |
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:
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. |
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 I don't know why the last line isn't translated. It means, memoryaccesserror, error while accessing memory. |
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 Btw, to get root access on the LiveCD, use |
and Running this should be enough:
|
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. |
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. |
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 :) |
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:
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. |
There's no such thing as a stupid question :)
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.
Which cursor themes are you trying to use? The Ubuntu ones are in the
The
For this, I'd first try testing the connection speed between the two computers. You can use
on the other, run
That will give you the speed between the two machines. Remember that 1 Megabyte = 8 Megabits. So, on my machine: 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. |
The new mousetheme is much better :) The old one was just ugly... I'd already added a xorg-conf-file Section "InputClass" 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? |
Great!
What if you put
in the "evdev keyboard catchall" section of /etc/X11/xorg.conf.d/10-evdev.conf? EDIT: Try this if it doesn't work:
I'm not sure what would cause it, but code-wise quite a few things have changed since Unity 5.0 (12.04) :P
Do both ethernet cards support gigabit LAN? You can check by installing the |
This is my evdev: Section "InputClass" Section "InputClass" Section "InputClass" Section "InputClass" Section "InputClass" 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 💃 |
If I may ask a personal question. In which timezone do you live in? Here in CET+summertime it is 06:08 AM |
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 |
Darn it, sorry for replying so late. I missed the email notification from Github.
Glad you got it working! I know nothing about keyboard layouts. That was just a wild guess :)
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 By the way, |
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!! |
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:
It's autosuspending the USB ports too, so maybe a recent kernel update changed the defaults? Try adding the following to
That should permanently disable the autosuspend (unless you are using laptop-mode-tools, tlp, etc). Hope this helps :) |
Thank you very much, it seems to have worked! In first I thought it didn't, but after another reboot it did! THX! |
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. Any guesses? |
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, 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 |
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. |
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. |
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. |
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. |
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:
|
Great!! You've fixed the VLC bug :D |
What?? Really?? |
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. |
I hope this might help with the VLC problem. |
I have same problem with vlc |
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 :)
The text was updated successfully, but these errors were encountered: