Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Can't install any graphical environment.[SOLVED]

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
52 posts
  • 1
  • 2
  • 3
  • Next
Author
Message
Budoka
l33t
l33t
Posts: 777
Joined: Sun Jun 03, 2012 9:26 am
Location: Tokyo, Japan

Can't install any graphical environment.[SOLVED]

  • Quote

Post by Budoka » Sun Nov 11, 2012 12:59 pm

I have installed Gentoo on my 64bit Samsung laptop using the Gentoo guide http://www.gentoo.org/doc/en/handbook/h ... -amd64.xml. The onlybthing thatis a bit different is that I am using LUKS on LVM.

I didn't realize that the guide only installed a "base" system without any graphical interface at all. I have attempted to install both Xorg http://www.gentoo.org/doc/en/xorg-config.xml, KDE http://www.gentoo.org/proj/en/desktop/k ... -guide.xml, and XFCE http://www.gentoo.org/doc/en/xfce-config.xml without any success at all.

After installing xorg and upon issuing startx I gert the following error:

Code: Select all

hostname: Host name lookup failure
xauth:  file /root/.serverauth.2390 does not exist

_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already running

Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

Server terminated with error (1). Closing log file.
Invalid MIT-MAGIC-COOKIE-1 keyxinit: giving up
xinit: unable to connect to X server: Resource temporarily unavailable
xinit: server error
If I emerge KDE the following:

Code: Select all

"/etc/make.conf", line 2: [Errno 2] No such file or directory: '/usr/portage/local/layman/make.conf'
Traceback (most recent call last):
  File "/usr/bin/emerge", line 48, in <module>
    retval = emerge_main()
  File "/usr/lib64/portage/pym/_emerge/main.py", line 1009, in emerge_main
    settings, trees, mtimedb = load_emerge_config()
  File "/usr/lib64/portage/pym/portage/proxy/objectproxy.py", line 31, in __call__
    return result(*args, **kwargs)
  File "/usr/lib64/portage/pym/_emerge/actions.py", line 3061, in load_emerge_config
    trees = portage.create_trees(trees=trees, **kwargs)
  File "/usr/lib64/portage/pym/portage/__init__.py", line 522, in create_trees
    env=env, eprefix=eprefix)
  File "/usr/lib64/portage/pym/portage/package/ebuild/config.py", line 334, in __init__
    expand=make_conf) or {})
  File "/usr/lib64/portage/pym/portage/util/__init__.py", line 616, in getconfig
    key=lex.get_token()
  File "/usr/lib64/python3.2/shlex.py", line 96, in get_token
    spec = self.sourcehook(self.read_token())
  File "/usr/lib64/python3.2/shlex.py", line 251, in sourcehook
    return (newfile, open(newfile, "r"))
IOError: [Errno 2] No such file or directory: '/usr/portage/local/layman/make.conf'
XFCE the following:

Code: Select all

"/etc/make.conf", line 2: [Errno 2] No such file or directory: '/usr/portage/local/layman/make.conf'
Traceback (most recent call last):
  File "/usr/bin/emerge", line 48, in <module>
    retval = emerge_main()
  File "/usr/lib64/portage/pym/_emerge/main.py", line 1009, in emerge_main
    settings, trees, mtimedb = load_emerge_config()
  File "/usr/lib64/portage/pym/portage/proxy/objectproxy.py", line 31, in __call__
    return result(*args, **kwargs)
  File "/usr/lib64/portage/pym/_emerge/actions.py", line 3061, in load_emerge_config
    trees = portage.create_trees(trees=trees, **kwargs)
  File "/usr/lib64/portage/pym/portage/__init__.py", line 522, in create_trees
    env=env, eprefix=eprefix)
  File "/usr/lib64/portage/pym/portage/package/ebuild/config.py", line 334, in __init__
    expand=make_conf) or {})
  File "/usr/lib64/portage/pym/portage/util/__init__.py", line 616, in getconfig
    key=lex.get_token()
  File "/usr/lib64/python3.2/shlex.py", line 96, in get_token
    spec = self.sourcehook(self.read_token())
  File "/usr/lib64/python3.2/shlex.py", line 251, in sourcehook
    return (newfile, open(newfile, "r"))
IOError: [Errno 2] No such file or directory: '/usr/portage/local/layman/make.conf'
Layman generates:

Code: Select all

layman -f -a kde
* Failed to update the overlay list from: http://www.gentoo.org/proj/en/overlays/repositories.xml
* Error was:
* <urlopen error [Errno -2] Name or service not known>
* Program "/usr/bin/git" not found
* Program "/usr/bin/git" not found
* Program "/usr/bin/git" not found
* Failed to add overlay "kde".
* Error was: Adding overlay "kde" failed!
This is my first install so I am a bit lost. How can I gert a graphical environment???

Code: Select all

# lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b4)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b4)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Caicos [Radeon HD 6400M/7400M Series]
02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6230 (rev 34)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
04:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
Last edited by Budoka on Mon Apr 01, 2013 1:31 am, edited 1 time in total.
Top
keet
Guru
Guru
Posts: 581
Joined: Tue Sep 09, 2008 12:04 am

  • Quote

Post by keet » Sun Nov 11, 2012 1:58 pm

Code: Select all

hostname: Host name lookup failure 
This looks like you haven't set your hostname, if I am interpreting it correctly. That should be in the Gentoo handbook.

Code: Select all

"/etc/make.conf", line 2: [Errno 2] No such file or directory: '/usr/portage/local/layman/make.conf' 
Have you properly installed and configured Layman? At this point, you should probably not even have Layman, and just stick to the basics. I don't understand why you're using Layman. Is some package that you want only in an overlay? You can install KDE or XFCE without an overlay, I think. In any case, if you do want an overlay right now for some reason, you probably just need to configure it properly per the Gentoo overlay guide at http://wiki.gentoo.org/wiki/Layman.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56264
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun Nov 11, 2012 3:07 pm

Budoka,

You need Xorg for all of the GUIs you have tried to use, so lets fix that first.

Your hostname needs to be set and networking needs to work too. Xorg is a network transparent application, in that it is deigned to work over a network. This means that when its all installed in the same system, it still communicates with itself over the network.

Code: Select all

/root/.serverauth.2390 does not exist 
You are trying to run Xorg as root. It should work but its a very bad thing. Please run startx as your normal user.

Tell us how you configured and made your kernel

Code: Select all

_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed 
can indicate that some networking support options are missing from your kernel.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Budoka
l33t
l33t
Posts: 777
Joined: Sun Jun 03, 2012 9:26 am
Location: Tokyo, Japan

  • Quote

Post by Budoka » Tue Nov 13, 2012 4:40 am

keet wrote:

Code: Select all

hostname: Host name lookup failure 
This looks like you haven't set your hostname, if I am interpreting it correctly. That should be in the Gentoo handbook.

Code: Select all

"/etc/make.conf", line 2: [Errno 2] No such file or directory: '/usr/portage/local/layman/make.conf' 
Have you properly installed and configured Layman? At this point, you should probably not even have Layman, and just stick to the basics. I don't understand why you're using Layman. Is some package that you want only in an overlay? You can install KDE or XFCE without an overlay, I think. In any case, if you do want an overlay right now for some reason, you probably just need to configure it properly per the Gentoo overlay guide at http://wiki.gentoo.org/wiki/Layman.
Setting the hostname was in the handbook and I did so. Here are the contents of my /etc/conf.d/hostname file:

Code: Select all

# Set to the hostname of this machine
#hostname="localhost"
hostname="SamsungGentoo"
I was using Layman because the KDE install guide instructed to do so. How can I install KDE without it? How can I verify the integrity of my Layman install?

http://www.gentoo.org/proj/en/desktop/k ... -guide.xml
Top
Budoka
l33t
l33t
Posts: 777
Joined: Sun Jun 03, 2012 9:26 am
Location: Tokyo, Japan

  • Quote

Post by Budoka » Tue Nov 13, 2012 4:46 am

NeddySeagoon wrote:Budoka,

You need Xorg for all of the GUIs you have tried to use, so lets fix that first.

Your hostname needs to be set and networking needs to work too. Xorg is a network transparent application, in that it is deigned to work over a network. This means that when its all installed in the same system, it still communicates with itself over the network.

Code: Select all

/root/.serverauth.2390 does not exist 
You are trying to run Xorg as root. It should work but its a very bad thing. Please run startx as your normal user.

Tell us how you configured and made your kernel

Code: Select all

_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed 
can indicate that some networking support options are missing from your kernel.
Hi when I run startx as a user the result is the same.
$ startx
hostname: Unknown host
xauth: file /home/tlee/.serverauth.2285 does not exist
xauth: timeout in locking authority file /root/.Xauthority
xauth: timeout in locking authority file /root/.Xauthority
xauth: timeout in locking authority file /root/.Xauthority
xauth: timeout in locking authority file /root/.Xauthority

_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already running

Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

Server terminated with error (1). Closing log file.
No protocol specified
xinit: giving up
xinit: unable to connect to X server: Resource temporarily unavailable
xinit: server error
xauth: timeout in locking authority file /root/.Xauthority
Since this is my first install I used genkernel.

Code: Select all

genkernel  --lvm --luks --menuconfig all
I also added the following to use my luks on lvm.

Code: Select all

[quote]Device Drivers ---> 
Multi-device support (RAID and LVM) ---> 
<*> Device mapper support 
<*> Crypt target support [/quote]



[quote]File systems ---> 
Pseudo filesystems ---> 
[*] /proc file system support 
[*] Virtual memory file system support (former shm fs) 
# support for sysfs required (CONFIG_SYSFS)[/quote]



[quote]Cryptographic options ---> 
<*> SHA256 digest algorithm 
<*> SHA384 and SHA512 digest algorithms 
<*> Blowfish cipher algorithm 
<*> Twofish cipher algorithm 
<*> Serpent cipher algorithm 
<*> AES cipher algorithms (x86_64)
[/quote]


fstab looks like this:


[quote]/dev/sda1                      /boot       ext2            noauto,noatime  1 2 
/dev/mapper/vg-root     /              ext4            noatime             0 1 
/dev/mapper/vg-swp     none         swap            sw                   0 0 
/dev/mapper/vg-var      /var          ext4             noatime            0 1 
/dev/mapper/vg-home   /home       ext4            noatime            0 1[/quote]
real_root=/dev/mapper/vg-root crypt_root=/dev/sda2 dolvm ro
is in my bootloader.

Thanks for the help everyone.
Top
The Doctor
Bodhisattva
Bodhisattva
User avatar
Posts: 2678
Joined: Tue Jul 27, 2010 10:56 pm

  • Quote

Post by The Doctor » Tue Nov 13, 2012 4:46 am

Ok, you are following the wrong guide. That one is for the testing version of KDE which will be very unreliable. You probably want this one: http://wiki.gentoo.org/wiki/KDE
I think you will agree its much easier to install.

EDIT: since I posted here I may as well ask: what does X -retro do as a normal user?
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Top
Budoka
l33t
l33t
Posts: 777
Joined: Sun Jun 03, 2012 9:26 am
Location: Tokyo, Japan

  • Quote

Post by Budoka » Tue Nov 13, 2012 5:38 am

The Doctor wrote:Ok, you are following the wrong guide. That one is for the testing version of KDE which will be very unreliable. You probably want this one: http://wiki.gentoo.org/wiki/KDE
I think you will agree its much easier to install.

EDIT: since I posted here I may as well ask: what does X -retro do as a normal user?
the Doctor to the rescue again. Thanks so much. As you know I have been struggling with my install for sometime now but won't give up. Learning lots, and in between headaches, enjoying playing with Gentoo.

The KDE Guide you reference is much easier! I will definitely use it but I have to sort my X problem out first if I understand correctly?

X --rertro as a normal user returns a bash x command not found error.
Top
The Doctor
Bodhisattva
Bodhisattva
User avatar
Posts: 2678
Joined: Tue Jul 27, 2010 10:56 pm

  • Quote

Post by The Doctor » Tue Nov 13, 2012 6:08 am

To be honest, I think NeddySeagoon has a better idea of what is going then I do, although I doubt he will be able to respond for a while due to his location.

Yes, first you need to get X working, which is rather unusual since you did use genkernel.

Well, I find it very odd that X can't find X -retro I suppose you did spell it correctly? Did you install x11-base/xorg-server or xorg-x11?
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Top
Budoka
l33t
l33t
Posts: 777
Joined: Sun Jun 03, 2012 9:26 am
Location: Tokyo, Japan

  • Quote

Post by Budoka » Tue Nov 13, 2012 6:21 am

The Doctor wrote:To be honest, I think NeddySeagoon has a better idea of what is going then I do, although I doubt he will be able to respond for a while due to his location.

Yes, first you need to get X working, which is rather unusual since you did use genkernel.

Well, I find it very odd that X can't find X -retro I suppose you did spell it correctly? Did you install x11-base/xorg-server or xorg-x11?
Yes. I thought the same thing. I thought genkernel would handle everything.

My apologies. I didn't realize X -rertro was case sensitive. I tried it again and it threw a
Fatal server error: no screens found
server terminated with error (1)
error.
Top
The Doctor
Bodhisattva
Bodhisattva
User avatar
Posts: 2678
Joined: Tue Jul 27, 2010 10:56 pm

  • Quote

Post by The Doctor » Tue Nov 13, 2012 6:40 am

Did it have the same socket errors as before?

EDIT: you may as well post your Xorg log. To do that, first you should emerge wgetpaste if you have not already and then run cat /var/log/Xorg.0.log | wgetpaste and post the URL that is returned.
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56264
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue Nov 13, 2012 9:13 pm

Budoka,

Code: Select all

wgetpaste /path/to/file
works. For command output, use

Code: Select all

<command> | wgetpaste
genkernel cannot do everything. The problem is that it doesn't know the video driver you want to use in Xorg and some kernel settings to support different video drivers are mutually exclusive.
As a result, genkernel leaves the options unset.
If you want to use the intel, radeon or nouveau drivers you will need to set a few kernel options by hand.

genkernel will have made your kernel properly so you should not get socket errors unless you are running a hardened kernel.
However, your /etc/hosts could be incorrect.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Budoka
l33t
l33t
Posts: 777
Joined: Sun Jun 03, 2012 9:26 am
Location: Tokyo, Japan

  • Quote

Post by Budoka » Tue Jan 29, 2013 10:43 pm

This is driving me crazy.

So I recompiled my kernel as instructed here http://en.gentoo-wiki.com/wiki/Fglrx to accomodate my Radeon and I still can't startx. Here is the output from

Code: Select all

cat /var/log/Xorg.0.log | wgetpaste
...http://bpaste.net/show/73728/

Any ideas? What next?

<rant-on/>I know that the learning curve is suppose to be steep with Gentoo, and although not familiar with this distro, I am not exactly technically inept but this is just ridiculous. It has been a couple of months and I still can't get a working Gentoo up and running. </rant-off>

Anyway this forum has been great and an invaluable resource. Hope I can get over this next hump.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56264
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue Jan 29, 2013 11:08 pm

Budoka,

The fglrx wiki page you cite, is for the binary blob drivers, not the Radeon open source driver.

Your Xorg.conf log says

Code: Select all

 [   257.240] (EE) this is a Muxless PX A+I platform, we doesn't supported it
[   257.240] (EE) No devices detected.
This tells you have a laptop with two graphics chips. One is a low power chip for maximum battery life, the other offers better graphics performance but needs more power.

We need to sort out which two chips you have, please post your lspci output.

The Muxless part is a bit scary. It may mean that meanwhile, you can only use the low power chip. The problem is that both graphics chips can draw into the pixel buffer but only one can read the pixel buffer to the screen to generate the image. Work is in hand to make this work but its not complete. Xorg cannot stet up your system in this split manner. When you use the low power graphics, it will work, when you use the high power grahics you will get a black screen. This isn't a Gentoo thing, its the state of software development in GNU/Linux.

OK, I found your lspci ...

Code: Select all

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Caicos [Radeon HD 6400M/7400M Series] 
Until we get Xorg working, forget about the ATI graphics - it will only get you a black screen meanwhile.

Follow this page to get your Intel graphics to support Xorg

Post back with progress, questions etc.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Budoka
l33t
l33t
Posts: 777
Joined: Sun Jun 03, 2012 9:26 am
Location: Tokyo, Japan

  • Quote

Post by Budoka » Wed Jan 30, 2013 2:17 pm

NeddySeagoon wrote:Budoka,

The fglrx wiki page you cite, is for the binary blob drivers, not the Radeon open source driver.

Your Xorg.conf log says

Code: Select all

 [   257.240] (EE) this is a Muxless PX A+I platform, we doesn't supported it
[   257.240] (EE) No devices detected.
This tells you have a laptop with two graphics chips. One is a low power chip for maximum battery life, the other offers better graphics performance but needs more power.

We need to sort out which two chips you have, please post your lspci output.

The Muxless part is a bit scary. It may mean that meanwhile, you can only use the low power chip. The problem is that both graphics chips can draw into the pixel buffer but only one can read the pixel buffer to the screen to generate the image. Work is in hand to make this work but its not complete. Xorg cannot stet up your system in this split manner. When you use the low power graphics, it will work, when you use the high power grahics you will get a black screen. This isn't a Gentoo thing, its the state of software development in GNU/Linux.

OK, I found your lspci ...

Code: Select all

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Caicos [Radeon HD 6400M/7400M Series] 
Until we get Xorg working, forget about the ATI graphics - it will only get you a black screen meanwhile.

Follow this page to get your Intel graphics to support Xorg

Post back with progress, questions etc.
Thank you for the assistance and explanation.

I used the fglx page because I saw a note on the wiki indicating that if the video card was DirectX 10 or later that was the appropriate driver. If pre-Direct X 10 then use the Radeon open source driver. But I can't find where I saw that and may have mis-read it.

I also missed that there was an Intel chip as well and thus was trying to sort out the ATI. It specifically referenced "Radeon" so mistakenly thought I was on the right track.

Anyway, I took your advice and followed the instructions at this page . I recompiled the kernel as instructed etc but unfortunately x still won't start. Here is the log...http://bpaste.net/show/73872/.

I noticed two things when trying to

Code: Select all

startx
. The first is that it always times out when trying to connect to the .xauth* files. The second is that in the log it seems that it is still trying to use fglx but I am not sure why. Am I misreading the log. What would you suggest I try next?

I was also curious. When I was selecting the kernel options for Intel I noticed there were also options for ATI. Should I use them as well?

Thanks again.
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10905
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Wed Jan 30, 2013 4:55 pm

There's a guide for (among other things) what kernel options need to be set for ATI: the Gentoo Linux ATI FAQ. Take a look at that. :wink:

- John
I can confirm that I have received between 0 and 499 National Security Letters.
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Wed Jan 30, 2013 5:05 pm

OK, due to popular demand, even though I don't have a laptop, I've rechecked the available info about MUX-less support in xorg-server.

It's a bit murky, but you'll need:
- >=xorg-server-1.13.0
- >=xf86-video-ati-7.0.0 (if using open driver - no idea about the support in the proprietary blob)
- >=xf86-video-intel-2.20.7
- kernel >=3.5 (probably quite a bit more)
- >=mesa-9.0

The terms in question are PRIME, pixmap sharing and dri2 offload - at least regarding the commits.

I couldn't find much about the quality of the support.
xf86-video-ati since 7.0.0 is KMS-only, so you'll need the relevant bits in the kernel too.
The variable for mesa that controls the switch is DRI_PRIME.

As for the 73872 log, you need to remove the xorg conf snippet, that sets the driver to fglrx.

PS.: as for that FAQ, is a bit out of date and doesn't exactly cover laptop case.
Top
Budoka
l33t
l33t
Posts: 777
Joined: Sun Jun 03, 2012 9:26 am
Location: Tokyo, Japan

  • Quote

Post by Budoka » Wed Jan 30, 2013 9:13 pm

Slowly but surely I am making progress.

I wasn't sure if it was safe to edit the xorg.conf file by just deleting the ati snippets so I backed it up and replaced it with the pre-fgxl file. X will now lauch when using startx and bring me into a limited/ugly gui that only has terminal windows.

My concern is that when I check xorg.conf there is nothing populating the file. http://bpaste.net/show/73951/ All of the wiki's I have read so far indicate that xorg handles the file automatically and manual edits are not advised unless absolutely necessary. This is the file that I replaced. http://bpaste.net/show/73952/

I am also still getting timeouts on .Xauthority and something server. Here is my most recent log. http://bpaste.net/show/73954/

What should my next steps be? Try to configure ATI? Emerge a desktop again? Do I need to have my xorg.conf populated with proper data and if so how should I do that?

I know this is a n00b question but what is the LiveCd doing that gives me a screaming fast and good looking desktop/gui and why am I having such difficulty duplicating it on the instal?

Thanks
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Wed Jan 30, 2013 9:59 pm

Hard to answer your questions, without seeing the log from that livecd, though unless I'm missing something ATM we're talking just about the xserver.
LiveCD most likely had a full desktop environment installed, you probably don't have that yet.
Also, as I mentioned in the previous post, kernel upgrade might be recommended.

As for that old xorg.conf, there was nothing of use in it once you decided to drop the driver - the dummy file wasn't necessary, just deleting it would have been OK in this case.
Top
Budoka
l33t
l33t
Posts: 777
Joined: Sun Jun 03, 2012 9:26 am
Location: Tokyo, Japan

  • Quote

Post by Budoka » Thu Jan 31, 2013 3:12 pm

NeddySeagoon wrote:Budoka,

The fglrx wiki page you cite, is for the binary blob drivers, not the Radeon open source driver.

Your Xorg.conf log says

Code: Select all

 [   257.240] (EE) this is a Muxless PX A+I platform, we doesn't supported it
[   257.240] (EE) No devices detected.
This tells you have a laptop with two graphics chips. One is a low power chip for maximum battery life, the other offers better graphics performance but needs more power.

We need to sort out which two chips you have, please post your lspci output.

The Muxless part is a bit scary. It may mean that meanwhile, you can only use the low power chip. The problem is that both graphics chips can draw into the pixel buffer but only one can read the pixel buffer to the screen to generate the image. Work is in hand to make this work but its not complete. Xorg cannot stet up your system in this split manner. When you use the low power graphics, it will work, when you use the high power grahics you will get a black screen. This isn't a Gentoo thing, its the state of software development in GNU/Linux.

OK, I found your lspci ...

Code: Select all

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Caicos [Radeon HD 6400M/7400M Series] 
Until we get Xorg working, forget about the ATI graphics - it will only get you a black screen meanwhile.

Follow this page to get your Intel graphics to support Xorg

Post back with progress, questions etc.
Quick update.

I wasn't sure if you wanted me to deal with the ATI stuff after I had a basic Xorg working so I left it alone for the moment.

I emerged xfce and configured as instructed in the wiki referenced by the amd64 manual but still no success. The machine will now boot, prompt me for the password for my Luks encrypted volume, continue to boot, bring me to a gui login screen (slim) and then once I log in, bump me bag to the cli interface. Here is my most recent log. http://bpaste.net/show/74086/ I am reading these before posting and trying to decipher them but am a bit lost. Sorry.

I am in te process of emerging KDE to see if that fixes anything.
Top
DaggyStyle
Watchman
Watchman
User avatar
Posts: 5969
Joined: Wed Mar 22, 2006 6:57 am

  • Quote

Post by DaggyStyle » Thu Jan 31, 2013 3:24 pm

if it still doesn't work do the following:
  1. disable the intel igp in the bios
  2. remove xorg.conf
  3. make sure that the kernel is compiled with DRM and the relevant fw for your card
  4. emerge mesa and xf86-video-ati
then reboot, you system should boot to gui.
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Thu Jan 31, 2013 4:09 pm

Unless 74086 log is truncated (which it seems to be), there's nothing in it, that would suggest abnormal termination.
Top
Budoka
l33t
l33t
Posts: 777
Joined: Sun Jun 03, 2012 9:26 am
Location: Tokyo, Japan

  • Quote

Post by Budoka » Thu Jan 31, 2013 4:39 pm

VoidMage wrote:Unless 74086 log is truncated (which it seems to be), there's nothing in it, that would suggest abnormal termination.
I am not sure why it would truncatethe log. I used

Code: Select all

cat /var/log/Xorg.0.log | wgetpaste
.

How do In troubleshoot an abnormal termination if there is nothing in the log?
Top
Budoka
l33t
l33t
Posts: 777
Joined: Sun Jun 03, 2012 9:26 am
Location: Tokyo, Japan

  • Quote

Post by Budoka » Thu Jan 31, 2013 4:43 pm

DaggyStyle wrote:if it still doesn't work do the following:
  1. disable the intel igp in the bios
  2. remove xorg.conf
  3. make sure that the kernel is compiled with DRM and the relevant fw for your card
  4. emerge mesa and xf86-video-ati
then reboot, you system should boot to gui.
I will try this and report back. The only thing I am not sure about is
[*]make sure that the kernel is compiled with DRM and the relevant fw for your card
. I compiled with everything indicated in http://wiki.gentoo.org/wiki/Intel. Should I be looking at somethng else as well?
Top
DaggyStyle
Watchman
Watchman
User avatar
Posts: 5969
Joined: Wed Mar 22, 2006 6:57 am

  • Quote

Post by DaggyStyle » Thu Jan 31, 2013 5:25 pm

Budoka wrote:
DaggyStyle wrote:if it still doesn't work do the following:
  1. disable the intel igp in the bios
  2. remove xorg.conf
  3. make sure that the kernel is compiled with DRM and the relevant fw for your card
  4. emerge mesa and xf86-video-ati
then reboot, you system should boot to gui.
I will try this and report back. The only thing I am not sure about is
[*]make sure that the kernel is compiled with DRM and the relevant fw for your card
. I compiled with everything indicated in http://wiki.gentoo.org/wiki/Intel. Should I be looking at somethng else as well?
yes, http://wiki.gentoo.org/wiki/Radeon

what I wrote will disable your intel igp and use your ati discrete card
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56264
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Thu Jan 31, 2013 6:30 pm

DaggyStyle,

Its a muxless system. The ATI graphics chip can draw into the pixel buffer but not read it out. Only the Intel chip can do that.
As far as I know, Xorg does not yet support a split setup like this, so only the Intel chip can work as it can both draw in the pixel buffer and read the pixels out again to generated the video signal for the display.

Attempting to use the ATI chip will result in a blank screen as Xorg will set it up to generate the video signal - but it can't.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Post Reply

52 posts
  • 1
  • 2
  • 3
  • Next

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy