Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't install any graphical environment.[SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Budoka
l33t
l33t


Joined: 03 Jun 2012
Posts: 777
Location: Tokyo, Japan

PostPosted: Sun Nov 11, 2012 12:59 pm    Post subject: Can't install any graphical environment.[SOLVED] Reply with quote

I have installed Gentoo on my 64bit Samsung laptop using the Gentoo guide http://www.gentoo.org/doc/en/handbook/handbook-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/kde/kde4-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:
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:
"/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:
"/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:
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:
# 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
Back to top
View user's profile Send private message
keet
Guru
Guru


Joined: 09 Sep 2008
Posts: 565

PostPosted: Sun Nov 11, 2012 1:58 pm    Post subject: Reply with quote

Code:
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:
"/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.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54096
Location: 56N 3W

PostPosted: Sun Nov 11, 2012 3:07 pm    Post subject: Reply with quote

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:
/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:
_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.
Back to top
View user's profile Send private message
Budoka
l33t
l33t


Joined: 03 Jun 2012
Posts: 777
Location: Tokyo, Japan

PostPosted: Tue Nov 13, 2012 4:40 am    Post subject: Reply with quote

keet wrote:
Code:
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:
"/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:
# 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/kde/kde4-guide.xml
Back to top
View user's profile Send private message
Budoka
l33t
l33t


Joined: 03 Jun 2012
Posts: 777
Location: Tokyo, Japan

PostPosted: Tue Nov 13, 2012 4:46 am    Post subject: Reply with quote

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:
/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:
_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.

Quote:
$ 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:
genkernel  --lvm --luks --menuconfig all


I also added the following to use my luks on lvm.

Code:

[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]


Quote:
real_root=/dev/mapper/vg-root crypt_root=/dev/sda2 dolvm ro
is in my bootloader.

Thanks for the help everyone.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Tue Nov 13, 2012 4:46 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Budoka
l33t
l33t


Joined: 03 Jun 2012
Posts: 777
Location: Tokyo, Japan

PostPosted: Tue Nov 13, 2012 5:38 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Tue Nov 13, 2012 6:08 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Budoka
l33t
l33t


Joined: 03 Jun 2012
Posts: 777
Location: Tokyo, Japan

PostPosted: Tue Nov 13, 2012 6:21 am    Post subject: Reply with quote

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
Quote:
Fatal server error: no screens found
Quote:
server terminated with error (1)
error.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Tue Nov 13, 2012 6:40 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54096
Location: 56N 3W

PostPosted: Tue Nov 13, 2012 9:13 pm    Post subject: Reply with quote

Budoka,

Code:
wgetpaste /path/to/file
works. For command output, use
Code:
<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.
Back to top
View user's profile Send private message
Budoka
l33t
l33t


Joined: 03 Jun 2012
Posts: 777
Location: Tokyo, Japan

PostPosted: Tue Jan 29, 2013 10:43 pm    Post subject: Reply with quote

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:
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.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54096
Location: 56N 3W

PostPosted: Tue Jan 29, 2013 11:08 pm    Post subject: Reply with quote

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:
 [   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:
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.
Back to top
View user's profile Send private message
Budoka
l33t
l33t


Joined: 03 Jun 2012
Posts: 777
Location: Tokyo, Japan

PostPosted: Wed Jan 30, 2013 2:17 pm    Post subject: Reply with quote

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:
 [   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:
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:
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.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Jan 30, 2013 4:55 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Wed Jan 30, 2013 5:05 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Budoka
l33t
l33t


Joined: 03 Jun 2012
Posts: 777
Location: Tokyo, Japan

PostPosted: Wed Jan 30, 2013 9:13 pm    Post subject: Reply with quote

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. [url] http://bpaste.net/show/73952/[/url]

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
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Wed Jan 30, 2013 9:59 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Budoka
l33t
l33t


Joined: 03 Jun 2012
Posts: 777
Location: Tokyo, Japan

PostPosted: Thu Jan 31, 2013 3:12 pm    Post subject: Reply with quote

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:
 [   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:
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.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Thu Jan 31, 2013 3:24 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Thu Jan 31, 2013 4:09 pm    Post subject: Reply with quote

Unless 74086 log is truncated (which it seems to be), there's nothing in it, that would suggest abnormal termination.
Back to top
View user's profile Send private message
Budoka
l33t
l33t


Joined: 03 Jun 2012
Posts: 777
Location: Tokyo, Japan

PostPosted: Thu Jan 31, 2013 4:39 pm    Post subject: Reply with quote

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:
cat /var/log/Xorg.0.log | wgetpaste
.

How do In troubleshoot an abnormal termination if there is nothing in the log?
Back to top
View user's profile Send private message
Budoka
l33t
l33t


Joined: 03 Jun 2012
Posts: 777
Location: Tokyo, Japan

PostPosted: Thu Jan 31, 2013 4:43 pm    Post subject: Reply with quote

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
Quote:
[*]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?
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Thu Jan 31, 2013 5:25 pm    Post subject: Reply with quote

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
Quote:
[*]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
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54096
Location: 56N 3W

PostPosted: Thu Jan 31, 2013 6:30 pm    Post subject: Reply with quote

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.
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
Goto page 1, 2, 3  Next
Page 1 of 3

 
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