首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Gnome3未正确显示

Gnome3未正确显示
EN

Ask Ubuntu用户
提问于 2012-05-01 10:24:26
回答 2查看 3.2K关注 0票数 1

我相信这个问题以前已经被问过了,但是我似乎无法在这个网站上找到它,所以就这样做了。

我的gnome3看起来不应该。当我第一次安装gnome-shell时,它正常工作,但是在重新启动一次之后,这个接口看起来就像典型的gnome接口。

我正在寻找一个答案,为什么这种行为存在,以及如何解决它。

请注意,我以前遇到过这个问题,我(不小心)让它在Ubuntu11.10中工作,所以不太可能是硬件错误。

我在惠普馆dv6上运行Ubuntu12.04 32位。My > Details > Graphics读到“驱动程序:未知,环境:回退”

gnome-shell --replace的结果,它确实在顶部显示了gnome3条,还有超级键功能,但是这些窗口都是浮华的,很难在窗口之间导航。这是终端的输出。

代码语言:javascript
复制
gnome-shell --replace
Agent registration failed: Already Exists
Warning of window manager:Log level 16: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for the given subject
Waarschuwing van vensterbeheer:Log level 16: Error registering polkit authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for the given subject (polkit-error-quark 0)

(gnome-shell:4549): folks-WARNING **: Failed to find primary PersonaStore with type ID 'eds' and ID 'system'.
Individuals will not be linked properly and creating new links between Personas will not work.
The configured primary PersonaStore's backend may not be installed. If you are unsure, check with your distribution.
EN

回答 2

Ask Ubuntu用户

发布于 2012-05-08 18:41:22

上次apt升级后也有同样的错误。但是使用gnome--shell--替换它实际上已经启动,即使它确认了错误。

如果你用被禁止的司机做你的fglrx卡。一种解决方案是从AMD下载amd-driver-installer-12-4-x86.x86_64,使用以下命令:

代码语言:javascript
复制
wget http://www2.ati.com/drivers/linux/amd-driver-installer-12-4-x86.x86_64.run
sh amd-driver-installer-12-4-x86.x86_64.run --extract
cd fglrx-install.NDh3QS/common/lib/modules/fglrx/build_mod
vim fglrx.patch

并增加:

代码语言:javascript
复制
fixed fgrlx compilation error on 32-bit x86 arch with kernel 3.3-rc4 due to commit:
https://github.com/torvalds/linux/commit/f94edacf998516ac9d849f7bc6949a703977a7f3
later modified (in 3.3-rc5) by commit:
https://github.com/torvalds/linux/commit/7e16838d94b566a17b65231073d179bc04d590c8#diff-1
and finally backported to kernel 3.2.8.

This new version adds support for the 3.4 kernels, where some ASM header
file was splitted into several smaller files, so we have to explicitally
include the new file <asm/fpu-internal.h>.

Since 3.4-rc2, cpu_possible_map has been definitely removed. Let's use
cpu_possible_mask instead. This is probably required also for 64 bit kernels.

Signed-off-by: Gianluca Gennari <gennarone@gmail.com>
---
 firegl_public.c |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/firegl_public.c b/firegl_public.c
index a56fff1..b4bdfb7 100644
--- a/firegl_public.c
+++ b/firegl_public.c
@@ -187,6 +187,9 @@
 #include <linux/gfp.h>
 #include <linux/swap.h>
 #include "asm/i387.h"
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,0)
+#include <asm/fpu-internal.h>
+#endif

 #include "firegl_public.h"
 #include "kcl_osconfig.h"
@@ -4181,7 +4184,11 @@ static int kasInitExecutionLevels(unsigned long level_init)
 {
     unsigned int p;
     KCL_DEBUG5(FN_FIREGL_KAS, "%d\n", level_init);
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,0)
+    for_each_cpu_mask(p, cpu_possible_mask)
+#else
     for_each_cpu_mask(p, cpu_possible_map)
+#endif
     {
         KCL_DEBUG1(FN_FIREGL_KAS,"Setting initial execution level for CPU # %d\n", p);
         preempt_disable();
@@ -5799,10 +5806,16 @@ void ATI_API_CALL KCL_fpu_begin(void)
 #ifdef CONFIG_X86_64
     kernel_fpu_begin();
 #else
+#ifndef TS_USEDFPU
+    preempt_disable();
+    if (__thread_has_fpu(current))
+        __save_init_fpu(current);
+#else
     struct thread_info *cur_task = current_thread_info();
     preempt_disable();
     if (cur_task->status & TS_USEDFPU)
         __save_init_fpu(cur_task->task);
+#endif
     else
         clts();
 #endif
-- 
1.7.5.4

然后执行

代码语言:javascript
复制
patch -p1 < fglrx.patch
cd ../../../../
./ati-installer.sh 8.961 --buildpkg Ubuntu/precise
cd.. 
sudo dpkg -i *.deb
aticonfig --initial

现在内核模块位于/usr/src/fglrx-8.961,现在使用sudo dkms "remove/build/install" fglrx/8.961重新安装(添加未来的修补程序)就更容易了,如果需要更多信息,可以阅读dkms的手册页。

票数 1
EN

Ask Ubuntu用户

发布于 2012-06-16 16:17:04

我在惠普馆dv6上运行Ubuntu12.04 32位。My > Details > Graphics读到“驱动程序:未知,环境:回退”

“环境:退步”意味着您正在运行所谓的gnome会话-回退,它实际上是设计成gnome 2的。尝试退出并更改会话(可以通过登录栏上方的小圆按钮)工作。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/129217

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档