Hello.
I have the problem of X not finding any screens, and runing it with -configure will just inform me it's missing output drivers as expected.
The drivers won't install. I want the proprietary due to me needing "MOAR PERFORMANCE".
The chip in question is an AMD HD6850 (barts i think?)
Kernel is manually configured to work, as seen here: http://bpaste.net/show/61537
Output from emerge ati-drivers: http://bpaste.net/show/61533
Line 99 and forward is the interesting.
It can't build glxgears for some reason, but I don't need glxgears, do I? Isn't that just for benchmarking and testing?
Anyways, I'd be grateful for any help, and i will paste output of any command.
Thank you,
onii

Last edited by oniichan on Sat Dec 01, 2012 8:50 pm; edited 2 times in total

oh thank GNU that solved it, I feel stupid.
note to others, it has to be run as root or the command was not found
I got a black screen running now but I'm not sure i've installed TWM and xterm yet.
Thank you

How are you starting X11? If you have xinit installed with USE=-minimal it should pull in twm, xterm, etc. and pull up a rudimentary windowing environment._________________Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSDWhat am I supposed watching?

How are you starting X11? If you have xinit installed with USE=-minimal it should pull in twm, xterm, etc. and pull up a rudimentary windowing environment.

No mouse cursor, nothing at all. Just a illuminated, black screen. Clicking does nothing, I can't switch TTY and blindly login as root to pkill/shutdown either.
http://bpaste.net/show/61557/ is my xorg.conf.
if I run "twm" in TTY it says

Code:

twm: unable to open display ""

if I run "exec twm" it will throw me back at TTY login.
my .xinitrc is simply

Code:

#!/bin/sh
exec twm

I was told X should "JustWerk" without a xorg.conf, but it whines about no screen found.

I switched to the open source driver at the beginning of the year so I'm going by recollection and not an actual configuration setup.

Is VIDEO_CARDS="fglrx" in your make.conf and are you in the video group

I also noticed CONFIG_AGP_AMD64=y According to http://www.gentoo.org/doc/en/ati-faq.xml
If you want to use AMD/ATI's internal agpgart support instead of the Linux kernel one, the agpgart driver and the chip set specific driver (in your kernel configuration) must be built as modules or not at all - I compiled everything as a module.

Also, I don't believe these should be set:
CONFIG_AGP_INTEL=m
CONFIG_AGP_SIS=m
CONFIG_AGP_VIA=m_________________Good luck

I also noticed CONFIG_AGP_AMD64=y According to http://www.gentoo.org/doc/en/ati-faq.xml
If you want to use AMD/ATI's internal agpgart support instead of the Linux kernel one, the agpgart driver and the chip set specific driver (in your kernel configuration) must be built as modules or not at all - I compiled everything as a module.

can you please explain this further - I don't think I understand this fully.

BillWho wrote:

Also, I don't believe these should be set:
CONFIG_AGP_INTEL=m
CONFIG_AGP_SIS=m
CONFIG_AGP_VIA=m

They won't do anything unless they're loaded, right? Meaning that they do nothing but "bloat".
I'll remove them if I have to recompile.

When you run X clients you should either set your DISPLAY variable or use the -display option to set to ":0"...

That watermark is weird... usually means you're trying to run on an unsupported video chip...

I am running startx, just tried X and it did exactly the same. So did xinit.

Yeah, about that DISPLAY thing, shouldn't that be taken care of by the xorg.conf? I generated it earlier as you can see, and it's posted in this thread. So is my .xinitrc;
how is the DISPLAY usually set?

I searched on that watermark, and I couldn't find it anywhere else. It'd say "unsupported chip" or something else everywhere else i searched.
The driver is the latest one fresh from portage...

For lack of any brilliant ideas is an .xsession-errors file created in your home startx as user - not root

Nope, the only .{X,x,}*-files in my home director are .Xauthority, which I didn't create, and .xinitrc, which I did create.

BillWho wrote:

What does env|grep DISPLAY return after trying to start X

Uh, it freezes after trying to start X I think. Well, I get at a situation where I can't do anything, I'm not sure it's frozen.
Before starting X it returns nothing. I guess this means DISPLAY isn't set?

BillWho wrote:

Check Xorg.0.log to see if the card is getting detected...

The file is empty and so is Xorg.0.log.old .

hedmo wrote:

oniichan

the drivers are working and to get the the watermark away you can disable it in your package.use file(x11-drivers/ati-drivers disable-watermark).

Re-emerging them with that set, it caused no watermark on X start, however it's still a black illuminated screen. (No powersave from the physical monitor, it gets "told" to "show black".)

hedmo wrote:

what do you want to star in xint?

regards hedmo

I want to start my Window Manager...? (twm) I think? You made me unsure now... In all other distros i've entered "exec twm" or something like that to start installed window manager twm, after setting some stuff. Isn't that correct?

I want to start my Window Manager...? (twm) I think? You made me unsure now... In all other distros i've entered "exec twm" or something like that to start installed window manager twm, after setting some stuff. Isn't that correct

oniichan

that sounds correct.if you have "emerge twm" and to start it is twm,the first line in xinitrc will be exec twm.if you emerge a terminal like xterm and put exec xterm in xinitrc you should have the xterm when you hit startx at the console.

Oh, and another thing. Ever since I recompiled kernel for the first time, it's been taking awfully long at "Switching to clocksource tsc" at boot. Like, 40-60 seconds. Tried googling it but couldn't get anything useful from it.

remove x11-drivers/xf86-video-ati-7.0.0.it is not good to have them both(ati-drivers and xf86-video-ati).if you startx and it is black.hold ctrl+alt and hit f11 then alt+f1.this will take you to a login.is this correct?