Forums

Skip to content

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

Xorg problems startx doesn't work (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
14 posts • Page 1 of 1
Author
Message
noobux
Tux's lil' helper
Tux's lil' helper
Posts: 148
Joined: Sat May 14, 2011 1:57 pm

Xorg problems startx doesn't work (Solved !!!)

  • Quote

Post by noobux » Sat May 28, 2011 3:13 pm

Hi everyone,

I have a little (or big ) problem with Xorg, i have tried many things before going here ( i have first posted in the french forum ) I have tried fglrx ( it didn't work ) so iam trying to use radeon ( and radeonhd ).

My cards : ATI Mobility Radeon HD 5470

Code: Select all

/usr/sbin/lspci | grep -i vga
00 : 02.0 VGA compatible controller : Intel Corporation Core Processor Integrated Graphics Controller (rev 02) 
01 : 00.0 VGA compatible controller : ATI Technologies Inc Device 68e0 
As you can see i have two graphics cards and under windows, i can take the card I want.

When I use startx withtout any xorg.conf (it might work with radeon) i have some errors messages and xorg doesn't start :

Code: Select all

Failed to load module "intel" 
Failed to load module "vesa" 
Failed to load module "fbdev" 

No drivers available 

EDIT : here is my xorg.conf (X-configure) :
[url]pastebin.ca/2071151[/url]
 And my make.conf 
[url]pastebin.ca/2071152[/url]
Fatal error : No screens found
Now if I use X -configure I get a black screen without any windows on it and I have the following Xorg.0.log :
http://pastebin.ca/2069126
I have tried some tips from the gentoo handbook and the gentoo wiki but it still don't work :(.
What should I do? Is it possible to fix this problem? I realy need some help iam trying to have a X server working since 2 weeks :(.

If you want my kernel-configuration I can post it, I have set KMS (modesetting on radeon by default) and also the DRM (direct rendering manager).

(Remember that iam french iam sorry if my english is not good :D ).

EDIT : here is my xorg.conf :
http://pastebin.ca/2071151
And my make.conf
http://pastebin.ca/2071152
If i set intel in my make.conf it was to try the intel driver but it wasn't working, ive got the same without it.

If you answer me I will be very fast to give you the informations you want.
Last edited by noobux on Wed Jun 01, 2011 11:36 am, edited 1 time in total.
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Sat May 28, 2011 4:02 pm

Over a half of that xorg.conf is redundant.

Pastebin your xorg log.

You've set VIDEO_CARDS - does that imply that the drivers are actually emerged or not ?

Having both ati-drivers and xf86-video-ati installed is sometimes tricky - it's better to unmerge the other one.

More after the log.
Top
noobux
Tux's lil' helper
Tux's lil' helper
Posts: 148
Joined: Sat May 14, 2011 1:57 pm

  • Quote

Post by noobux » Sat May 28, 2011 4:07 pm

I don't have ati-drivers or intel-drivers at this moment i have unmerged everything and i have compiled the world with newuse and also the x11-drivers.

I've already pastebin my Xorg.0.log :
http://pastebin.ca/2069126

Iam trying with the radeon (free drivers).

I don't know if it's important but i have a 64 bits operating system.

EDIT : I tried another time and here is the new Xorg.0.log :
http://pastebin.ca/2071188
When you say "more after the log" what do you mean?
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Sat May 28, 2011 4:35 pm

I was answering, while you were editing your post.

But anyway...
Check 'eselect opengl', 'eselect mesa', post 'emerge -1pv libdrm mesa'.

Add 'evdev' to INPUT_DEVICES and emerge xf86-input-evdev.
Top
noobux
Tux's lil' helper
Tux's lil' helper
Posts: 148
Joined: Sat May 14, 2011 1:57 pm

  • Quote

Post by noobux » Sat May 28, 2011 4:42 pm

So opengl is already set to xorg-x11 (the only opengl available).

I did emerge xf86-input-evdev.

Eselect mesa list : http://paste.pocoo.org/show/396728

emerge -1pv libdrm mesa : http://paste.pocoo.org/show/396730

And it still don't work.

EDIT : i emerged xf86-input-evdev sorry for the mystake (first I thought I had to post it with pastebin ^^) but it still doesn't work.
Last edited by noobux on Sun May 29, 2011 10:53 am, edited 1 time in total.
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Sat May 28, 2011 7:29 pm

It might be a laptop problem (in such case, I likely won't be able to help), but pastebin kernel config first.
Top
noobux
Tux's lil' helper
Tux's lil' helper
Posts: 148
Joined: Sat May 14, 2011 1:57 pm

  • Quote

Post by noobux » Sat May 28, 2011 7:37 pm

I hope it's not a laptop problem ... But if ubuntu linux, fedora and debian work other linux distributions might work too no? It's true that many livecd (like the livedvd gentoo, opensuse or PClinusOS) don't work on my laptop.

Here is my .config (/usr/src/linux/.config) :
http://pastebin.ca/2071314
my kernel was compiled with genkernel by executing the following command :

Code: Select all

genkernel --no-mrproper --menuconfig --kernname="kernname" --makeopts="-j5" all
EDIT : iam going to sleep, i'll be back tomorrow morning good night :D.
Top
Gusar
Advocate
Advocate
Posts: 2665
Joined: Sat Apr 09, 2005 10:19 pm
Location: Slovenia

  • Quote

Post by Gusar » Sun May 29, 2011 12:38 am

Which graphic card is that exactly, is it HD5xxx or HD6xxx by any chance? Those require firmware if you want to use the open driver. So if it's HD5xxx or HD6xxx, install x11-drivers/radeon-ucode. It's also possible the 2.6.37 kernel is too old, so upgrade to 2.6.38 or even 2.6.39.

If it still doesn't work, pastebin the output of dmesg, maybe that will give some insight. Also, in case you still have one, remove xorg.conf. It's only needed if you want to use the closed driver.
Top
noobux
Tux's lil' helper
Tux's lil' helper
Posts: 148
Joined: Sat May 14, 2011 1:57 pm

  • Quote

Post by noobux » Sun May 29, 2011 7:42 am

Read the entire post (sorry), especially the end of it. (Sry for the english)

Thanks for the answer :). So yeah it is a HD5xxx it is a ATI Radeon Mobility HD 5470 but i don't now which rxx it is (r600-r500...).

I have installed radeon-ucode but it didn't fix the problem (I just elerge radeon-ucode). Yeah maybe I need a kernel 2.6.38 or >= I'll try this.

I also don't know if I have an AGP card? Do you know if I have one?

Here is the lspci command :

Code: Select all

/usr/sbin/lspci | grep -i vga 
00 : 02.0 VGA compatible controller : Intel Corporation Core Processor Integrated Graphics Controller (rev 02) 
01 : 00.0 VGA compatible controller : ATI Technologies Inc Device 68e0
I have removed my xorg.conf and still have some errors. (the same errors which are in the description).

Maybe I have a problem with my kernel config http://pastebin.ca/2071314 :( have you checked it? Because iam new to gentoo and it's possible I made a mystake ( I have already checked myself the configuration but iam not sure it's right).


When I used the --menuconfig instruction, I set :

Code: Select all

Linux Kernel Configuration: Enabling radeon KMS necessities
Device Drivers  --->
	Graphics support  --->
		<*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->
			<*> ATI Radeon
				[*] Enable modesetting on radeon by default
General setup  --->
	[*] Enable PCI quirk workarounds

Code: Select all

Linux Kernel Configuration: Adding the radeon-ucode firmware
Device Drivers --->
	Generic Driver Options --->
		[*]  Include in-kernel firmware blobs in kernel binary
		# RadeonHD 2000, 3000, and 4000 series cards:
		(radeon/R600_rlc.bin 
                 radeon/R700_rlc.bin) External firmware blobs
		# RadeonHD 5000 and above(Evergreen):
		(radeon/CEDAR_me.bin 
                 radeon/CEDAR_pfp.bin 
                 radeon/CEDAR_rlc.bin
                 radeon/CYPRESS_me.bin
                 radeon/CYPRESS_pfp.bin 
                 radeon/CYPRESS_rlc.bin 
                 radeon/JUNIPER_me.bin 
                 radeon/JUNIPER_pfp.bin 
                 radeon/JUNIPER_rlc.bin
		 radeon/REDWOOD_me.bin 
                 radeon/REDWOOD_pfp.bin 
		 radeon/REDWOOD_rlc.bin) External firmware blobs
		(/lib/firmware/) Firmware blobs root directory
I have downloaded a new livedvd of gentoo (gentoo 11 x86 almd64) and it works !!!!!!!!!!!! That means it's possible to have a working gentoo operating system with kde on my laptop (I think). Informations in this LiveDVD can be usefull, I have already seen the X11 directory but there is no xorg.conf ( I think it's because the system use the radeon driver and not the fglrx one).

My startx still doesn't work but I hope someone can help me with the help of the LiveDVD. How can I use its configuration?
Top
Gusar
Advocate
Advocate
Posts: 2665
Joined: Sat Apr 09, 2005 10:19 pm
Location: Slovenia

  • Quote

Post by Gusar » Sun May 29, 2011 5:56 pm

Compile radeon as module by setting "ATI Radeon" to <M>
Top
noobux
Tux's lil' helper
Tux's lil' helper
Posts: 148
Joined: Sat May 14, 2011 1:57 pm

  • Quote

Post by noobux » Sun May 29, 2011 6:06 pm

Ok I am going to do this. But if I use genkernel How can I tell it to use .config as a config file It seems genkernel always uses make oldconfig.

EDIT : I have edit my genkernel.conf and the first option I saw was oldconfig="yes" iam so confused ... /D.

I will post when the kernel will be compiled.
Top
noobux
Tux's lil' helper
Tux's lil' helper
Posts: 148
Joined: Sat May 14, 2011 1:57 pm

  • Quote

Post by noobux » Mon May 30, 2011 6:32 pm

Iam still searching the answer of my problem but I haven't find it yet, I have boot with the liveDVD of gentoo (it works now but only 1/2 times) and I just copy and paste the kernel-config, then I upgraded my gentoo-sources like the gentoo-sources of the live and I compiled the new kernel with genkernel, I boot with the new kernel and I try startx but it doesn't work, I think I should re-emerge xorg-x11 and kde with the new kernel, or I should install the packages which are installed in the livedvd by using qlist -I to find them.

I don't know if what iam doing is right.
Top
Gusar
Advocate
Advocate
Posts: 2665
Joined: Sat Apr 09, 2005 10:19 pm
Location: Slovenia

  • Quote

Post by Gusar » Mon May 30, 2011 8:45 pm

Do you have a kernel now where radeon is a module? And is it the same kernel version as on the LiveDVD? If yes to both, post again Xorg.0.log and dmesg.
Top
noobux
Tux's lil' helper
Tux's lil' helper
Posts: 148
Joined: Sat May 14, 2011 1:57 pm

It works now.

  • Quote

Post by noobux » Wed Jun 01, 2011 11:06 am

Hey ! ! It works !!! I have compiled the same kernel as the kernel of the livedvd (and I have delet useless options), I had an error of compilation with genkernel and I found the solution with the bug-tracker of gentoo. I have then unmerged kde and xorg and then I have emerged the xorg packages that were installed on the liveDVD (using qlist -IC), then I tried a startx but it didn't work, then I removed the xorg.conf and restart the X server, I saw a black screen so I emerged xterm and twm and now ... it works !!

Thank you for helping !! Iam now going to emerge kde :).

Born to compile !!
Top
Post Reply

14 posts • Page 1 of 1

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 Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy