Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Not able to install qt in Gentoo
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Mon Aug 25, 2014 1:45 pm    Post subject: Not able to install qt in Gentoo Reply with quote

Hi Experts, I am trying ti install QT on my gentoo server, When I run the script, I get the below error :-

./qt-opensource-linux-x64-5.3.1.run
qt-opensource-linux-x64-5.3.1.run: cannot connect to X server


To verify the display, I use

Quote:
Maxwell ~ # echo $DISPLAY

Maxwell

Nothing is set. So I defined the Display as below :-

Quote:
Maxwell ~ # export DISPLAY=:0.0
Maxwell ~ # echo $DISPLAY
:0.0

But still getting the same error when running the QT installtion script as below


Quote:
Maxwell ~ # ./qt-opensource-linux-x64-5.3.1.run
qt-opensource-linux-x64-5.3.1.run: cannot connect to X server :0.0
Maxwell ~ #


How could this be fixed ?

Appreciate all your help in advance.
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: Mon Aug 25, 2014 1:54 pm    Post subject: Reply with quote

Simple. Stop trying to install software outside of Gentoo's package manager. Essentially every component of Qt is in Portage so you shouldn't even be tempted. See all of the packages in the dev-qt category.

In addition, just to help you avoid other issues, have you installed X yet? Have you proven that it works? If not, let me point you to the excellent Gentoo Wiki article: Xorg/Configuration. I'd recommend this as a prerequisite to installing any part of Qt.

- 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
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4565

PostPosted: Mon Aug 25, 2014 1:59 pm    Post subject: Reply with quote

John R. Graham wrote:
Simple. Stop trying to install software outside of Gentoo's package manager. Essentially every component of Qt is in Portage so you shouldn't even be tempted. See all of the packages in the dev-qt category.

MEEEP ;)
Qt-5.x has to be installed from the qt-overlay, so not available (by default) in portage.
Solution: install layman, add qt to your overlays and then start installing Qt-5.3.1.
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: Mon Aug 25, 2014 2:01 pm    Post subject: Reply with quote

MEEEP? ;)

Although factually correct, I'd recommend staying away from Qt-5.x right now, unless you have a specific need. In any case, using Portage is the correct approach.

- 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
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Mon Aug 25, 2014 3:00 pm    Post subject: Reply with quote

Thanks John, franzf for looking into this. Appreciate all your help.

Please forgive me for my stupid questions. I believe XOrg is installed. Is there a way I could check that ? Just for information, I installed tightvnc and xfce some time back and I am able to connect and view the dektop. Does this mean that the XOrg is installed ?

Also , I installed layman, but not sure how to add qt to your overlays and then install it from there . Would be really helpful if you could guide me with it.

Thanks a lot guys for all your help.
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: Mon Aug 25, 2014 3:39 pm    Post subject: Reply with quote

It depends.
Code:
~ # equery list -p qtcore
 * Searching for qtcore ...
[-P-] [  ] dev-qt/qtcore-4.8.5-r1:4
[IP-] [  ] dev-qt/qtcore-4.8.5-r2:4
Are you okay with Qt 4.x or is 5.x an absolute requirement? 4.x is in Portage without you loading an overlay.

Regarding whether X is installed, run the following command:
Code:
~ # equery list -i xorg-server
 * Searching for xorg-server ...
[IP-] [  ] x11-base/xorg-server-1.15.0:0/1.15.0
(equery is part of app-portage/gentoolkit; emerge that if the equery commands doesn't work.) Alternatively, just try running it:
Code:
startx
- 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
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Mon Aug 25, 2014 3:59 pm    Post subject: Reply with quote

Hi John,

Here is what I see :-


Quote:
Maxwell ~ # equery list -p qtcore
--- Invalid atom in /etc/portage/package.use: gtk
* Searching for qtcore ...
--- Invalid atom in /etc/portage/package.use: gtk
[-P-] [ ] dev-qt/qtcore-4.8.5-r1:4
[IP-] [ ] dev-qt/qtcore-4.8.5-r2:4




Quote:
Maxwell ~ # equery list -i xorg-server
* Searching for xorg-server ...
[IP-] [ ] x11-base/xorg-server-1.15.0:0/1.15.0



Quote:
Maxwell ~ # startx
xauth: file /root/.serverauth.26714 does not exist


X.Org X Server 1.15.0
Release Date: 2013-12-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.14.14-gentoo x86_64 Gentoo
Current Operating System: Linux Maxwell 3.14.14-gentoo #3 SMP Fri Aug 15 07:20:11 2014 x86_64
Kernel command line: BOOT_IMAGE=/boot/kernel-3.12.13-gentoo root=/dev/sda1 ro
Build Date: 25 August 2014 02:51:53PM

Current version of pixman: 0.32.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Aug 25 15:54:15 2014
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
(II) [KMS] drm report modesetting isn't supported.
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.




xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

Maxwell ~ #


It says connection refused.
Back to top
View user's profile Send private message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Mon Aug 25, 2014 4:04 pm    Post subject: Reply with quote

Also, here is what I see in /var/log/Xorg

Quote:
[ 2238.100] (II) [KMS] drm report modesetting isn't supported.
[ 2238.100] (EE) Screen 0 deleted because of no matching config section.
[ 2238.100] (II) UnloadModule: "radeon"
[ 2238.100] (EE) Device(s) detected, but none match those in the config file.
[ 2238.100] (EE)
Fatal server error:
[ 2238.100] (EE) no screens found(EE)
[ 2238.100] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.



Here is what I have as my VGA Driver

Quote:
Maxwell ~ # lspci -v | grep VGA
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Redwood XT GL [FirePro V4800] (prog-if 00 [VGA controller])
Maxwell ~ #


I have added this under /etc/portage/make.conf file

Code:
VIDEO_CARDS="intel nouveau radeon"
INPUT_DEVICES="evdev keyboard mouse"


Please let me know if I am missing something here.
Back to top
View user's profile Send private message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Mon Aug 25, 2014 5:03 pm    Post subject: Reply with quote

Just to add,

Quote:
Maxwell bin # emerge -pv xorg-drivers

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

Calculating dependencies... done!
[ebuild N ] app-admin/eselect-opencl-1.1.0-r1 37 kB
[ebuild N ] sys-power/acpid-2.0.20 USE="(-selinux)" 148 kB
[ebuild N ] media-libs/glu-9.0.0-r1 USE="-static-libs" 482 kB
[ebuild N ] virtual/glu-9.0-r1 0 kB
[ebuild N ] virtual/linux-sources-1 USE="-firmware" 0 kB
[ebuild N ] x11-drivers/ati-drivers-14.4_p1:1 USE="modules -debug (-multilib) -pax_kernel -qt4 -static-libs" 120,566 kB
[ebuild R ] x11-base/xorg-drivers-1.15 INPUT_DEVICES="evdev keyboard mouse -acecad -aiptek -elographics -fpit -hyperpen -joystick -mutouch -penmount -synaptics -tslib -vmmouse -void -wacom" VIDEO_CARDS="fglrx* intel nouveau radeon -apm -ast -chips -cirrus -dummy -epson -fbdev (-freedreno) (-geode) -glint -i128 (-i740) -mach64 -mga -modesetting -neomagic -nv -nvidia (-omap) (-omapfb) -qxl -r128 -radeonsi -rendition -s3virge -savage -siliconmotion -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vesa -via -virtualbox -vmware (-voodoo)" 0 kB

Total: 7 packages (6 new, 1 reinstall), Size of downloads: 121,232 kB

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


I see the
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: Mon Aug 25, 2014 5:10 pm    Post subject: Reply with quote

I suggest you follow the Xorg guide previously linked. In particular, the following line from your attempted run of startx:
Code:
II) [KMS] drm report modesetting isn't supported.
indicates that you don't have needed kernel features enabled.

Secondly,
Code:
VIDEO_CARDS="intel nouveau radeon"
is strange (although harmless). You have an AMD/ATI video card (for which "radeon" is correct but have left behind instructions to build drivers for two video cards you don't have).

In addition, don't run X as root. Next time you try startx, do it as a regular user. After all, that's the way you're going to be using it, right? Right? ;)

Finally, you already appear to have Qt installed. You never did answer my question. Do you need Qt 5.x for something? Also, what's your ultimate goal in installing Qt? Development activities?

- 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
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Mon Aug 25, 2014 5:51 pm    Post subject: Reply with quote

Hey John,

Sorry , I missed your question. I dont really need Qt-5.x, 4.x would work just fine.

I did followed the doc u shared and I have the exact entries as mentioned.

Quote:
## (Enable Radeon KMS support)
Device Drivers --->
Graphics support --->
<*> Direct Rendering Manager --->
<*> ATI Radeon
[*] Enable modesetting on radeon by default



I then rebuild my kernel using

Quote:
make -j20 && make -j20 modules_install

cp <new image> /boot/kernel-<new-one>-gentoo

grub2-install /dev/sda

grub2-mkconfig -o /boot/grub/grub.cfg


Then I booted using the new kernel image . Now when I log into one of the user and run startx, I still get the same error.

Quote:
[ 228.044] (--) using VT number 7

[ 228.046] (II) [KMS] drm report modesetting isn't supported.
[ 228.046] (EE) Screen 0 deleted because of no matching config section.
[ 228.046] (II) UnloadModule: "radeon"
[ 228.046] (EE) Device(s) detected, but none match those in the config file.
[ 228.046] (EE)
Fatal server error:
[ 228.046] (EE) no screens found(EE)
[ 228.046] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 228.046] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 228.046] (EE)
[ 228.047] (EE) Server terminated with error (1). Closing log file.
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: Mon Aug 25, 2014 5:54 pm    Post subject: Reply with quote

Hmm. Okay. Let's check the obvious first. Please report the kernel source you're using:
Code:
ls -l /usr/src
and the kernel you're running:
Code:
uname -r
- 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
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Mon Aug 25, 2014 5:58 pm    Post subject: Reply with quote

Here it is John

Quote:
Maxwell ~ # ls -l /usr/src
total 8
lrwxrwxrwx 1 root root 20 Aug 9 15:57 linux -> linux-3.14.14-gentoo
drwxr-xr-x 25 root root 4096 Aug 25 17:47 linux-3.14.14-gentoo
drwxr-xr-x 7 root root 4096 Aug 12 14:08 rpm



Quote:
Maxwell ~ # uname -r
3.14.14-gentoo
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: Mon Aug 25, 2014 6:07 pm    Post subject: Reply with quote

That all looks good. Have you rebuild xorg-drivers since making changes to the VIDEO_CARDS variable in /etc/portage/make.conf? If not, then go ahead & do that (and xorg-server for good measure):
Code:
emerge -1va xorg-drivers xorg-server
- 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
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Mon Aug 25, 2014 6:30 pm    Post subject: Reply with quote

Hi John,

I rebuild the xorg-drivers and all went fine. I then login as a normal user and run ' startx' but it fails again with the same error message.[/quote]



Quote:
# su - ken

# startx

[ 3080.709] (--) using VT number 7

[ 3080.709] (II) [KMS] drm report modesetting isn't supported.
[ 3080.710] (EE) Screen 0 deleted because of no matching config section.
[ 3080.710] (II) UnloadModule: "radeon"
[ 3080.710] (EE) Device(s) detected, but none match those in the config file.
[ 3080.710] (EE)
Fatal server error:
[ 3080.710] (EE) no screens found(EE)
[ 3080.710] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 3080.710] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 3080.710] (EE)
[ 3080.711] (EE) Server terminated with error (1). Closing log file.
[quote]
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: Mon Aug 25, 2014 6:34 pm    Post subject: Reply with quote

Okay. Please post the output of
Code:
lspci -n
- 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
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Mon Aug 25, 2014 6:45 pm    Post subject: Reply with quote

Here it is John.

Quote:
Maxwell ~ # lspci -n
00:00.0 0600: 8086:3406 (rev 22)
00:01.0 0604: 8086:3408 (rev 22)
00:03.0 0604: 8086:340a (rev 22)
00:07.0 0604: 8086:340e (rev 22)
00:14.0 0800: 8086:342e (rev 22)
00:14.1 0800: 8086:3422 (rev 22)
00:14.2 0800: 8086:3423 (rev 22)
00:1a.0 0c03: 8086:3a37
00:1a.1 0c03: 8086:3a38
00:1a.2 0c03: 8086:3a39
00:1a.7 0c03: 8086:3a3c
00:1b.0 0403: 8086:3a3e
00:1c.0 0604: 8086:3a40
00:1c.5 0604: 8086:3a4a
00:1d.0 0c03: 8086:3a34
00:1d.1 0c03: 8086:3a35
00:1d.2 0c03: 8086:3a36
00:1d.7 0c03: 8086:3a3a
00:1e.0 0604: 8086:244e (rev 90)
00:1f.0 0601: 8086:3a16
00:1f.2 0106: 8086:3a22
00:1f.3 0c05: 8086:3a30
01:00.0 0604: 12d8:e130 (rev 04)
04:00.0 0300: 1002:68c8
04:00.1 0403: 1002:aa60
05:00.0 0100: 1000:0058 (rev 08)
06:00.0 0200: 14e4:1681 (rev 10)
07:0a.0 0c00: 104c:8023
20:03.0 0604: 8086:340a (rev 22)
20:07.0 0604: 8086:340e (rev 22)
20:09.0 0604: 8086:3410 (rev 22)
20:14.0 0800: 8086:342e (rev 22)
20:14.1 0800: 8086:3422 (rev 22)
20:14.2 0800: 8086:3423 (rev 22)
24:00.0 0104: 1000:0060 (rev 04)
3f:00.0 0600: 8086:2c70 (rev 02)
3f:00.1 0600: 8086:2d81 (rev 02)
3f:02.0 0600: 8086:2d90 (rev 02)
3f:02.1 0600: 8086:2d91 (rev 02)
3f:02.2 0600: 8086:2d92 (rev 02)
3f:02.3 0600: 8086:2d93 (rev 02)
3f:02.4 0600: 8086:2d94 (rev 02)
3f:02.5 0600: 8086:2d95 (rev 02)
3f:03.0 0600: 8086:2d98 (rev 02)
3f:03.1 0600: 8086:2d99 (rev 02)
3f:03.2 0600: 8086:2d9a (rev 02)
3f:03.4 0600: 8086:2d9c (rev 02)
3f:04.0 0600: 8086:2da0 (rev 02)
3f:04.1 0600: 8086:2da1 (rev 02)
3f:04.2 0600: 8086:2da2 (rev 02)
3f:04.3 0600: 8086:2da3 (rev 02)
3f:05.0 0600: 8086:2da8 (rev 02)
3f:05.1 0600: 8086:2da9 (rev 02)
3f:05.2 0600: 8086:2daa (rev 02)
3f:05.3 0600: 8086:2dab (rev 02)
3f:06.0 0600: 8086:2db0 (rev 02)
3f:06.1 0600: 8086:2db1 (rev 02)
3f:06.2 0600: 8086:2db2 (rev 02)
3f:06.3 0600: 8086:2db3 (rev 02)
Maxwell ~ #
Back to top
View user's profile Send private message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Mon Aug 25, 2014 7:18 pm    Post subject: Reply with quote

Anything that we were able to find out with the o/p's.

John and other guys, I honestly appreciate all your efforts in getting this done. I am now out of ideas as to what next to try.
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: Mon Aug 25, 2014 7:31 pm    Post subject: Reply with quote

Okay, that video card is indeed supported by the radeon driver. Take a look through the Radeon article on the Gentoo Wiki and make sure you have all the setup done.

- 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
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Tue Aug 26, 2014 2:43 am    Post subject: Reply with quote

Sure John, I am doing that right now.
Back to top
View user's profile Send private message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Tue Aug 26, 2014 5:27 am    Post subject: Reply with quote

I did followed the steps mentioned but no go.

Still getting stuck at the same point.

Quote:
ken@Maxwell ~ $ startx
xauth: file /home/ken/.serverauth.2483 does not exist


X.Org X Server 1.15.0
Release Date: 2013-12-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.14.14-gentoo x86_64 Gentoo
Current Operating System: Linux Maxwell 3.14.14-gentoo #5 SMP Tue Aug 26 04:38:37 2014 x86_64
Kernel command line: BOOT_IMAGE=/boot/kernel-3.12.13.1-gentoo root=/dev/sda1 ro
Build Date: 25 August 2014 06:21:25PM

Current version of pixman: 0.32.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Aug 26 05:09:57 2014
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
(II) [KMS] drm report modesetting isn't supported.
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
ken@Maxwell ~ $



Is there a way we could do a screen sharing and see what exactly I am missing on this.

Appreciate all your help.
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Tue Aug 26, 2014 7:15 am    Post subject: Reply with quote

The fact that the Xorg server says that KMS is not supported should be enough of a hint ;)

So, things to check:


  • I haven't seen the /var/log/Xorg.0.log file yet. That's the first thing you guys should check and not just the startx output ;)
  • uname -a, triple-check the compilation date. Maybe you are not using the kernel you think you are using.
  • kernel fb drivers or any other proprietary driver MUST NOT be installed unless you know how to deal with module blacklisting, the Xorg log should hint at that if this is the problem though. Uninstall fglrx (and please, make sure you didn't install this crap manually like you were doing with Qt, because that would be a real problem, due to leftovers that can't be easily removed) and make sure you don't have enabled radeonfb in your kernel.
  • Check your bootloader configuration and make sure you haven't set some crazy framebuffer driver mode there. Double check also that you are not using the "nomodeset" option to boot your kernel.


If in doubt, please, post the contents of Xorg.0.log.

PS: Also, please, make sure you don't have any leftovers from any previous attempt into /etc/X11/xorg.conf or /etc/X11/xorg.conf.d/*. The radeon driver should just work, without additional configuration.
Back to top
View user's profile Send private message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Tue Aug 26, 2014 7:32 am    Post subject: Reply with quote

Thanks for looking into this i92guboj. I see almost the same thing in the logs as well :-


Quote:
1 [ 644.820]
2 X.Org X Server 1.15.0
3 Release Date: 2013-12-27
4 [ 644.820] X Protocol Version 11, Revision 0
5 [ 644.820] Build Operating System: Linux 3.14.14-gentoo x86_64 Gentoo
6 [ 644.820] Current Operating System: Linux Maxwell 3.14.14-gentoo #5 SMP Tue Aug 26 04:38:37 2014 x86_64
7 [ 644.820] Kernel command line: BOOT_IMAGE=/boot/kernel-3.12.13.1-gentoo root=/dev/sda1 ro
8 [ 644.820] Build Date: 25 August 2014 06:21:25PM
9 [ 644.820]
10 [ 644.820] Current version of pixman: 0.32.4
11 [ 644.820] Before reporting problems, check http://wiki.x.org
12 to make sure that you have the latest version.
13 [ 644.820] Markers: (--) probed, (**) from config file, (==) default setting,
14 (++) from command line, (!!) notice, (II) informational,
15 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
16 [ 644.820] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Aug 26 05:09:57 2014
17 [ 644.844] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
18 [ 644.871] (==) No Layout section. Using the first Screen section.
19 [ 644.871] (==) No screen section available. Using defaults.
20 [ 644.871] (**) |-->Screen "Default Screen Section" (0)
21 [ 644.871] (**) | |-->Monitor "<default monitor>"
22 [ 644.871] (==) No monitor specified for screen "Default Screen Section".
23 Using a default monitor configuration.
24 [ 644.871] (==) Automatically adding devices
25 [ 644.871] (==) Automatically enabling devices
26 [ 644.871] (==) Automatically adding GPU devices
27 [ 644.871] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
28 [ 644.871] Entry deleted from font path.
29 [ 644.871] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
30 [ 644.871] Entry deleted from font path.
31 [ 644.871] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
32 [ 644.871] Entry deleted from font path.
33 [ 644.881] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
34 [ 644.881] Entry deleted from font path.
35 [ 644.881] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
36 [ 644.881] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
37 [ 644.881] Entry deleted from font path.
38 [ 644.881] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
39 [ 644.881] (==) FontPath set to:
40 /usr/share/fonts/misc/
41 [ 644.881] (==) ModulePath set to "/usr/lib64/xorg/modules"
42 [ 644.881] (II) The server relies on udev to provide the list of input devices.
43 If no devices become available, reconfigure udev or disable AutoAddDevices.
44 [ 644.881] (II) Loader magic: 0x808c60
45 [ 644.881] (II) Module ABI versions:
46 [ 644.881] X.Org ANSI C Emulation: 0.4
47 [ 644.881] X.Org Video Driver: 15.0
48 [ 644.881] X.Org XInput driver : 20.0
49 [ 644.881] X.Org Server Extension : 8.0
51 [ 644.883] Initializing built-in extension Generic Event Extension
52 [ 644.883] Initializing built-in extension SHAPE
53 [ 644.883] Initializing built-in extension MIT-SHM
54 [ 644.883] Initializing built-in extension XInputExtension
55 [ 644.883] Initializing built-in extension XTEST
56 [ 644.883] Initializing built-in extension BIG-REQUESTS
57 [ 644.883] Initializing built-in extension SYNC
58 [ 644.883] Initializing built-in extension XKEYBOARD
59 [ 644.883] Initializing built-in extension XC-MISC
60 [ 644.883] Initializing built-in extension XINERAMA
61 [ 644.883] Initializing built-in extension XFIXES
62 [ 644.883] Initializing built-in extension RENDER
63 [ 644.883] Initializing built-in extension RANDR
64 [ 644.883] Initializing built-in extension COMPOSITE
65 [ 644.883] Initializing built-in extension DAMAGE
66 [ 644.883] Initializing built-in extension MIT-SCREEN-SAVER
67 [ 644.883] Initializing built-in extension DOUBLE-BUFFER
68 [ 644.883] Initializing built-in extension RECORD
69 [ 644.883] Initializing built-in extension DPMS
70 [ 644.883] Initializing built-in extension Present
71 [ 644.883] Initializing built-in extension DRI3
72 [ 644.883] Initializing built-in extension X-Resource
73 [ 644.883] Initializing built-in extension XVideo
74 [ 644.883] Initializing built-in extension XVideo-MotionCompensation
75 [ 644.883] Initializing built-in extension XFree86-VidModeExtension
76 [ 644.883] Initializing built-in extension XFree86-DGA
77 [ 644.883] Initializing built-in extension XFree86-DRI
78 [ 644.883] Initializing built-in extension DRI2
79 [ 644.883] (II) "glx" will be loaded by default.
80 [ 644.883] (II) LoadModule: "dri2"
81 [ 644.883] (II) Module "dri2" already built-in
82 [ 644.883] (II) LoadModule: "glamoregl"
83 [ 644.893] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
84 [ 644.908] (II) Module glamoregl: vendor="X.Org Foundation"
85 [ 644.908] compiled for 1.15.0, module version = 0.6.0
86 [ 644.908] ABI class: X.Org ANSI C Emulation, version 0.4
87 [ 644.908] (II) LoadModule: "glx"
88 [ 644.918] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
89 [ 644.940] (II) Module glx: vendor="X.Org Foundation"
90 [ 644.940] compiled for 1.15.0, module version = 1.0.0
91 [ 644.940] ABI class: X.Org Server Extension, version 8.0
92 [ 644.940] (==) AIGLX enabled
93 [ 644.940] Loading extension GLX
94 [ 644.940] (==) Matched ati as autoconfigured driver 0
95 [ 644.940] (==) Matched modesetting as autoconfigured driver 1
96 [ 644.940] (==) Matched fbdev as autoconfigured driver 2
97 [ 644.940] (==) Matched vesa as autoconfigured driver 3
98 [ 644.940] (==) Assigned the driver to the xf86ConfigLayout
99 [ 644.940] (II) LoadModule: "ati"
100 [ 644.940] (II) Loading /usr/lib64/xorg/modules/drivers/ati_drv.so
101 [ 644.941] (II) Module ati: vendor="X.Org Foundation"
102 [ 644.941] compiled for 1.15.0, module version = 7.3.0
103 [ 644.941] Module class: X.Org Video Driver
104 [ 644.941] ABI class: X.Org Video Driver, version 15.0
105 [ 644.941] (II) LoadModule: "radeon"
106 [ 644.941] (II) Loading /usr/lib64/xorg/modules/drivers/radeon_drv.so
107 [ 644.960] (II) Module radeon: vendor="X.Org Foundation"
108 [ 644.960] compiled for 1.15.0, module version = 7.3.0
109 [ 644.961] Module class: X.Org Video Driver
110 [ 644.961] ABI class: X.Org Video Driver, version 15.0
111 [ 644.961] (II) LoadModule: "modesetting"
112 [ 644.961] (WW) Warning, couldn't open module modesetting
113 [ 644.961] (II) UnloadModule: "modesetting"
114 [ 644.961] (II) Unloading modesetting
115 [ 644.961] (EE) Failed to load module "modesetting" (module does not exist, 0)
116 [ 644.961] (II) LoadModule: "fbdev"
117 [ 644.961] (WW) Warning, couldn't open module fbdev
118 [ 644.961] (II) UnloadModule: "fbdev"
119 [ 644.961] (II) Unloading fbdev
120 [ 644.961] (EE) Failed to load module "fbdev" (module does not exist, 0)
121 [ 644.961] (II) LoadModule: "vesa"
122 [ 644.961] (WW) Warning, couldn't open module vesa
123 [ 644.961] (II) UnloadModule: "vesa"
124 [ 644.961] (II) Unloading vesa
125 [ 644.961] (EE) Failed to load module "vesa" (module does not exist, 0)
126 [ 644.961] (II) RADEON: Driver for ATI Radeon chipsets:
127 ATI Radeon Mobility X600 (M24) 3150 (PCIE), ATI FireMV 2400 (PCI),
128 ATI Radeon Mobility X300 (M24) 3152 (PCIE),
129 ATI FireGL M24 GL 3154 (PCIE), ATI FireMV 2400 3155 (PCI),
130 ATI Radeon X600 (RV380) 3E50 (PCIE),
131 ATI FireGL V3200 (RV380) 3E54 (PCIE), ATI Radeon IGP320 (A3) 4136,
132 ATI Radeon IGP330/340/350 (A4) 4137, ATI Radeon 9500 AD (AGP),
133 ATI Radeon 9500 AE (AGP), ATI Radeon 9600TX AF (AGP),
134 ATI FireGL Z1 AG (AGP), ATI Radeon 9800SE AH (AGP),
135 ATI Radeon 9800 AI (AGP), ATI Radeon 9800 AJ (AGP),
136 ATI FireGL X2 AK (AGP), ATI Radeon 9600 AP (AGP),
137 ATI Radeon 9600SE AQ (AGP), ATI Radeon 9600XT AR (AGP),
138 ATI Radeon 9600 AS (AGP), ATI FireGL T2 AT (AGP), ATI Radeon 9650,
139 ATI FireGL RV360 AV (AGP), ATI Radeon 7000 IGP (A4+) 4237,
140 ATI Radeon 8500 AIW BB (AGP), ATI Radeon IGP320M (U1) 4336,
141 ATI Radeon IGP330M/340M/350M (U2) 4337,
142 ATI Radeon Mobility 7000 IGP 4437, ATI Radeon 9000/PRO If (AGP/PCI),
143 ATI Radeon 9000 Ig (AGP/PCI), ATI Radeon X800 (R420) JH (AGP),
144 ATI Radeon X800PRO (R420) JI (AGP),
145 ATI Radeon X800SE (R420) JJ (AGP), ATI Radeon X800 (R420) JK (AGP),
146 ATI Radeon X800 (R420) JL (AGP), ATI FireGL X3 (R420) JM (AGP),
148 ATI Radeon X800 SE (R420) (AGP), ATI Radeon X800XT (R420) JP (AGP),
149 ATI Radeon X800 VE (R420) JT (AGP), ATI Radeon X850 (R480) (AGP),
150 ATI Radeon X850 XT (R480) (AGP), ATI Radeon X850 SE (R480) (AGP),
151 ATI Radeon X850 PRO (R480) (AGP), ATI Radeon X850 XT PE (R480) (AGP),
152 ATI Radeon Mobility M7 LW (AGP),
153 ATI Mobility FireGL 7800 M7 LX (AGP),
154 ATI Radeon Mobility M6 LY (AGP), ATI Radeon Mobility M6 LZ (AGP),
155 ATI FireGL Mobility 9000 (M9) Ld (AGP),
156 ATI Radeon Mobility 9000 (M9) Lf (AGP),
157 ATI Radeon Mobility 9000 (M9) Lg (AGP), ATI FireMV 2400 PCI,
158 ATI Radeon 9700 Pro ND (AGP), ATI Radeon 9700/9500Pro NE (AGP),
159 ATI Radeon 9600TX NF (AGP), ATI FireGL X1 NG (AGP),
160 ATI Radeon 9800PRO NH (AGP), ATI Radeon 9800 NI (AGP),
161 ATI FireGL X2 NK (AGP), ATI Radeon 9800XT NJ (AGP),
162 ATI Radeon Mobility 9600/9700 (M10/M11) NP (AGP),
163 ATI Radeon Mobility 9600 (M10) NQ (AGP),
164 ATI Radeon Mobility 9600 (M11) NR (AGP),
165 ATI Radeon Mobility 9600 (M10) NS (AGP),
166 ATI FireGL Mobility T2 (M10) NT (AGP),
167 ATI FireGL Mobility T2e (M11) NV (AGP), ATI Radeon QD (AGP),
168 ATI Radeon QE (AGP), ATI Radeon QF (AGP), ATI Radeon QG (AGP),
169 ATI FireGL 8700/8800 QH (AGP), ATI Radeon 8500 QL (AGP),
170 ATI Radeon 9100 QM (AGP), ATI Radeon 7500 QW (AGP/PCI),
171 ATI Radeon 7500 QX (AGP/PCI), ATI Radeon VE/7000 QY (AGP/PCI),
172 ATI Radeon VE/7000 QZ (AGP/PCI), ATI ES1000 515E (PCI),
173 ATI Radeon Mobility X300 (M22) 5460 (PCIE),
174 ATI Radeon Mobility X600 SE (M24C) 5462 (PCIE),
175 ATI FireGL M22 GL 5464 (PCIE), ATI Radeon X800 (R423) UH (PCIE),
176 ATI Radeon X800PRO (R423) UI (PCIE),
177 ATI Radeon X800LE (R423) UJ (PCIE),
178 ATI Radeon X800SE (R423) UK (PCIE),
179 ATI Radeon X800 XTP (R430) (PCIE), ATI Radeon X800 XL (R430) (PCIE),
180 ATI Radeon X800 SE (R430) (PCIE), ATI Radeon X800 (R430) (PCIE),
181 ATI FireGL V7100 (R423) (PCIE), ATI FireGL V5100 (R423) UQ (PCIE),
182 ATI FireGL unknown (R423) UR (PCIE),
183 ATI FireGL unknown (R423) UT (PCIE),
184 ATI Mobility FireGL V5000 (M26) (PCIE),
185 ATI Mobility FireGL V5000 (M26) (PCIE),
186 ATI Mobility Radeon X700 XL (M26) (PCIE),
187 ATI Mobility Radeon X700 (M26) (PCIE),
188 ATI Mobility Radeon X700 (M26) (PCIE),
189 ATI Radeon X550XTX 5657 (PCIE), ATI Radeon 9100 IGP (A5) 5834,
190 ATI Radeon Mobility 9100 IGP (U3) 5835,
191 ATI Radeon XPRESS 200 5954 (PCIE),
192 ATI Radeon XPRESS 200M 5955 (PCIE), ATI Radeon 9250 5960 (AGP),
193 ATI Radeon 9200 5961 (AGP), ATI Radeon 9200 5962 (AGP),
194 ATI Radeon 9200SE 5964 (AGP), ATI FireMV 2200 (PCI),
195 ATI ES1000 5969 (PCI), ATI Radeon XPRESS 200 5974 (PCIE),
196 ATI Radeon XPRESS 200M 5975 (PCIE),
371 [ 644.963] (--) using VT number 7
372
373 [ 644.970] (II) [KMS] drm report modesetting isn't supported.
374 [ 644.970] (EE) Screen 0 deleted because of no matching config section.
375 [ 644.970] (II) UnloadModule: "radeon"
376 [ 644.970] (EE) Device(s) detected, but none match those in the config file.
377 [ 644.970] (EE)
378 Fatal server error:
379 [ 644.970] (EE) no screens found(EE)
380 [ 644.970] (EE)
381 Please consult the The X.Org Foundation support
382 at http://wiki.x.org
383 for help.
384 [ 644.970] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
385 [ 644.970] (EE)
386 [ 644.971] (EE) Server terminated with error (1). Closing log file.

Quote:

Maxwell ~ # uname -a
Linux Maxwell 3.14.14-gentoo #5 SMP Tue Aug 26 04:38:37 2014 x86_64 Intel(R) Xeon(R) CPU X5690 @ 3.47GHz GenuineIntel GNU/Linux


Appreciate all your help.
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Tue Aug 26, 2014 7:39 am    Post subject: Reply with quote

Well, at least now we can discard some things.

The fact that it can't load the modesetting module is worrying though.

One thing you can check is whether libdrm has the libkms USE flag enabled or not.

Also, just to be on the safe side, run "emerge @preserved-rebuild" and the old revdep-rebuild tool.
Back to top
View user's profile Send private message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Tue Aug 26, 2014 7:44 am    Post subject: Reply with quote

Thanks for the prompt reply.

Quote:
Maxwell ~ # cat /etc/portage/package.use
=x11-libs/libdrm-2.4.52 libkms
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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