Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] no dekstop after emerge -uDN world
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
certem
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2013
Posts: 125

PostPosted: Mon Oct 14, 2013 9:58 am    Post subject: [Solved] no dekstop after emerge -uDN world Reply with quote

Hi
I did an emerge -uDN and after the graphical login screen there's no desktop.

Is there a way to see the warnings that are generated during an emerge? Because when I came back to the box I read a warning something like "you mayhave to emerge xorg-server for your keyboard...etc"... I may have missed warnings that occured during the emerges that happened when I was away from the box.

The message that I received when I tried to emerge xorg-server is:

Code:
baks ~ # emerge -av xorg-server

 * IMPORTANT: 7 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] x11-base/xorg-server-1.14.3:0/1.14.3  USE="ipv6 nptl suid udev xorg -dmx -doc -kdrive -minimal (-selinux) -static-libs -tslib -xnest -xvfb" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests
>>> Running pre-merge checks for x11-base/xorg-server-1.14.3
 * gcc-config: Active gcc profile is invalid!
gcc-config: error: could not run/locate 'i686-pc-linux-gnu-cpp'
 * ERROR: x11-base/xorg-server-1.14.3::gentoo failed (pretend phase):
 *   Sorry, but gcc earlier than 4.0 will not work for xorg-server.
 *
 * Call stack:
 *                   ebuild.sh, line  93:  Called pkg_pretend
 *   xorg-server-1.14.3.ebuild, line 124:  Called die
 * The specific snippet of code:
 *      [[ "${MERGE_TYPE}" != "binary" && $(gcc-major-version) -lt 4 ]] && \
 *              die "Sorry, but gcc earlier than 4.0 will not work for xorg-server."
 *
 * If you need support, post the output of `emerge --info '=x11-base/xorg-server-1.14.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-base/xorg-server-1.14.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-base/xorg-server-1.14.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-base/xorg-server-1.14.3/temp/die.env'.
 * Working directory: '/usr/lib/portage/pym'
 * S: '/var/tmp/portage/x11-base/xorg-server-1.14.3/work/xorg-server-1.14.3'

 * Messages for package x11-base/xorg-server-1.14.3:

 * ERROR: x11-base/xorg-server-1.14.3::gentoo failed (pretend phase):
 *   Sorry, but gcc earlier than 4.0 will not work for xorg-server.
 *
 * Call stack:
 *                   ebuild.sh, line  93:  Called pkg_pretend
 *   xorg-server-1.14.3.ebuild, line 124:  Called die
 * The specific snippet of code:
 *      [[ "${MERGE_TYPE}" != "binary" && $(gcc-major-version) -lt 4 ]] && \
 *              die "Sorry, but gcc earlier than 4.0 will not work for xorg-server."
 *
 * If you need support, post the output of `emerge --info '=x11-base/xorg-server-1.14.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-base/xorg-server-1.14.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-base/xorg-server-1.14.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-base/xorg-server-1.14.3/temp/die.env'.
 * Working directory: '/usr/lib/portage/pym'
 * S: '/var/tmp/portage/x11-base/xorg-server-1.14.3/work/xorg-server-1.14.3'


In the dmesg there are somethings that say "broken bios", "invalid gcc profile".

When I tried to get the emerge --info -avuDN world|wgetpaste I got this message:
Code:
baks ~ # emerge --info -avuDN world|wgetpaste
!!! No gcc found. You probably need to 'source /etc/profile'
!!! to update the environment of this terminal and possibly
!!! other terminals also.

The wgetpaste is here:
http://bpaste.net/show/140306/

The dmesg:
http://bpaste.net/show/140307/

The lspci-k:
Code:
baks ~ # lspci -k
00:00.0 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
        Subsystem: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
        Kernel driver in use: agpgart-via
00:00.1 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. PT890 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237/VX700 PCI Bridge
00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
        Subsystem: Biostar Microtech Int'l Corp Device 3206
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
        Subsystem: Biostar Microtech Int'l Corp Device 3206
        Kernel driver in use: pata_via
00:10.0 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
        Subsystem: Biostar Microtech Int'l Corp Device 3206
        Kernel driver in use: uhci_hcd
00:10.1 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
        Subsystem: Biostar Microtech Int'l Corp Device 3206
        Kernel driver in use: uhci_hcd
00:10.2 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
        Subsystem: Biostar Microtech Int'l Corp Device 3206
        Kernel driver in use: uhci_hcd
00:10.3 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
        Subsystem: Biostar Microtech Int'l Corp Device 3206
        Kernel driver in use: uhci_hcd
00:10.4 USB controller: VIA Technologies, Inc. USB 2.0 (rev 86)
        Subsystem: Biostar Microtech Int'l Corp Device 3206
        Kernel driver in use: ehci-pci
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
        Subsystem: VIA Technologies, Inc. DFI KT600-AL / Soltek SL-B9D-FGR Motherboard
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
        Subsystem: Biostar Microtech Int'l Corp Device 8209
        Kernel driver in use: snd_via82xx
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
        Subsystem: VIA Technologies, Inc. VT6102 [Rhine II] Embeded Ethernet Controller on VT8235
        Kernel driver in use: via-rhine
        Kernel modules: via_rhine
01:00.0 VGA compatible controller: VIA Technologies, Inc. CN700/P4M800 Pro/P4M800 CE/VN800 Graphics [S3 UniChrome Pro] (rev 01)
        Subsystem: Biostar Microtech Int'l Corp Device 1202


Last edited by certem on Mon Oct 14, 2013 3:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
rorgoroth
Apprentice
Apprentice


Joined: 06 Aug 2012
Posts: 221
Location: England, UK

PostPosted: Mon Oct 14, 2013 10:07 am    Post subject: Reply with quote

Firstly, run # gcc-config -l
Then select one using (for example): # gcc-config 1
... or the full name (for example): # gcc-config x86_64-pc-linux-gnu-4.8.1
and follow any instructions the output gives you.

You need to set your new gcc via gcc-config before depclean-ing the currently used "old" one.
Back to top
View user's profile Send private message
certem
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2013
Posts: 125

PostPosted: Mon Oct 14, 2013 10:25 am    Post subject: Reply with quote

Ok.
I selected # gcc-config 1 succesfully.
Now I'm running emerge xorg-server now.
Back to top
View user's profile Send private message
certem
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2013
Posts: 125

PostPosted: Mon Oct 14, 2013 10:39 am    Post subject: Reply with quote

I did emerge xorg-server and emerge xorg-drivers

But still I'm with a blank screen and a mouse pointer.

The /var/log/Xorg.0.log is:
http://bpaste.net/show/140313/
Back to top
View user's profile Send private message
rorgoroth
Apprentice
Apprentice


Joined: 06 Aug 2012
Posts: 221
Location: England, UK

PostPosted: Mon Oct 14, 2013 11:00 am    Post subject: Reply with quote

Okay good, 1 issue down.
I really have no idea, I only see one error in that log. I can only suggest you try an # emerge @x11-module-rebuild
Back to top
View user's profile Send private message
certem
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2013
Posts: 125

PostPosted: Mon Oct 14, 2013 11:36 am    Post subject: Reply with quote

In the /var/log/Xorg.0.log it says:

Quote:
[ 149.788] (!!) VIA Technologies does not support this driver in any way.
[ 149.788] (!!) For support, please refer to http://www.openchrome.org/.


and the errors are
Quote:
[ 149.783] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 149.783] (EE) Failed to load module "modesetting" (module does not exist, 0)
[ 149.784] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 150.234] (EE) AIGLX error: dlopen of /usr/lib/dri/unichrome_dri.so failed (/usr/lib/dri/unichrome_dri.so: cannot open shared object file: No such file or directory)
[ 150.234] (EE) AIGLX: reverting to software rendering


Down below the log supported chipsets are:
Quote:
[ 149.784] (II) OPENCHROME: Driver for VIA Chrome chipsets: CLE266, KM400/KN400,
K8M800/K8N800, PM800/PM880/CN400, VM800/P4M800Pro/VN800/CN700,
CX700/VX700, K8M890/K8N890, P4M890, P4M900/VN896/CN896, VX800/VX820,
VX855/VX875, VX900


My chipset

Code:
01:00.0 VGA compatible controller: VIA Technologies, Inc. CN700/P4M800 Pro/P4M800 CE/VN800 Graphics [S3 UniChrome Pro] (rev 01)

I have no idea about how to read chipset numbers. Is my graphics card supported or not? If supported what should I correct? If not supported how can I get rid off openchrome and get a working driver?
Back to top
View user's profile Send private message
certem
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2013
Posts: 125

PostPosted: Mon Oct 14, 2013 12:22 pm    Post subject: Reply with quote

Yes I've emerged them.

It's still the same. Blank screen and mouse pointer.

The here /var/log/Xorg.0.log is

http://bpaste.net/show/140337/
Back to top
View user's profile Send private message
mrbassie
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2013
Posts: 135

PostPosted: Mon Oct 14, 2013 12:35 pm    Post subject: Reply with quote

certem wrote:
Yes I've emerged them.

It's still the same. Blank screen and mouse pointer.

The here /var/log/Xorg.0.log is

http://bpaste.net/show/140337/


Ah, I actually deleted that suggestion after I had a look at my own log and saw the same errors. I don't think they're your problem.

Code:
[    20.057] (EE) open /dev/fb0: No such file or directory


That I suspect is more to do with it.

Is
Code:
x11-drivers/xf86-video-openchrome
actually installed?

EDIT:
Code:
(EE) AIGLX error: dlopen of /usr/lib/dri/unichrome_dri.so failed (/usr/lib/dri/unichrome_dri.so: cannot open shared object file: No such file or directory)


That's your problem, I've recreated it by renaming the equivalent file on my setup. Check that your driver hasn't been uninstalled, if it hasn't then I think revdep-rebuild might fix it. It did on mine.
Back to top
View user's profile Send private message
certem
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2013
Posts: 125

PostPosted: Mon Oct 14, 2013 2:23 pm    Post subject: Reply with quote

Sorry for late reply. I was unmerging and emerging xorg-server and xorg-drivers.

revdep-rebuild didn't work.

I'm trying to emerge some older xorg-server and xorg-drivers to get rid off openchrome. Without it I was happy. :)
Back to top
View user's profile Send private message
certem
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2013
Posts: 125

PostPosted: Mon Oct 14, 2013 3:15 pm    Post subject: Reply with quote

I downgraded the driver to
Quote:
x11-drivers/xf86-video-openchrome-0.3.1

from x11-drivers/xf86-video-openchrome-0.3.3

I have my desktop back again :)
Back to top
View user's profile Send private message
mrbassie
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2013
Posts: 135

PostPosted: Mon Oct 14, 2013 3:23 pm    Post subject: Reply with quote

glad you sorted it mate.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum