You are not logged in.

#1 2011-01-05 16:28:06

ViruSzZ
Member
From: The Streets
Registered: 2010-10-14
Posts: 202
Website

Xorg failed to start :: Please help

Hi there, I have been trying to start X for more than 3 days and I can't seem to find a solution to this. Sorry for my english and please can someone give me some tips on this. Here's my setup:

[root@ViruSzZ ~]# 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 Manhattan [Mobility Radeon HD 5000 Series]

I installed Intel's and Ati's video drivers. I also tried using the ati's git version but none of them worked. Here's the /var/log/Xorg.0.log without using xorg.conf [ http://pastebin.com/wb4pqz69 ] and here's the ones using xorg.conf [ http://pastebin.com/wPULBM0z ] and the logfile [ http://pastebin.com/U4MN2ByM ].

I setup the above xorg.conf because when I try to generate it I get the following:

root@ViruSzZ ~]# Xorg -configure

X.Org X Server 1.9.2
Release Date: 2010-10-30
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.35-ARCH i686 
Current Operating System: Linux ViruSzZ 2.6.36-ARCH #1 SMP PREEMPT Fri Dec 10 20:01:53 UTC 2010 i686
Kernel command line: root=/dev/sda3 ro vga=773 radeon.modeset=0 i915.modeset=0
Build Date: 01 November 2010  10:35:30PM
 
Current version of pixman: 0.20.0
    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: Wed Jan  5 17:23:39 2011
List of video drivers:
    intel
    ati
    radeon
    vesa
dlopen: /usr/lib/xorg/modules/drivers/vesa_drv.so: file too short
(EE) Failed to load /usr/lib/xorg/modules/drivers/vesa_drv.so
(EE) Failed to load module "vesa" (loader failed, 7)
(++) Using config file: "/root/xorg.conf.new"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(II) [KMS] No DRICreatePCIBusID symbol, no kernel modesetting.
Number of created screens does not match number of detected devices.
  Configuration failed.

I never faced this kind of issue before. I have arch running on my desktop on GeForce 8600GT and on my other laptop with Intel chipset. Please if someone can help me with this so I can get Arch running on my brand new notebook.

Thanks and Respect

P.S."Please tell me if something else is necessary to provide"


Their Momma Made Em, Their Momma Gave em & now she can`t even SAVE`em | My WebLog

Offline

#2 2011-01-05 16:55:43

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Xorg failed to start :: Please help

Ummm, do you have two graphic cards running at the same time? Are both connected to a computer screen?

Intel drivers need KMS, change 'i915.modeset=0' to 'i915.modeset=1' and remove 'vga=773'.
I know nothing about Ati.

Last edited by karol (2011-01-05 16:59:02)

Offline

#3 2011-01-05 17:10:20

ViruSzZ
Member
From: The Streets
Registered: 2010-10-14
Posts: 202
Website

Re: Xorg failed to start :: Please help

Yes, the laptop comes with two graphic the ATI Mobility Radeon HD 5470 and Intel (integrated). The monitor is the one on the notebook (:

I did like you suggested, and once the boot process come to 'waiting for udev events to be processed' the screen goes blank. However I did notice that only the light turned off, so I logged in blind and started X. Hence, there is 'exec xterm' in my .xinitrc, I get a flashlight and I see that it came up but the display is still with out lights .....

What now?


Their Momma Made Em, Their Momma Gave em & now she can`t even SAVE`em | My WebLog

Offline

#4 2011-01-05 17:18:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Xorg failed to start :: Please help

I think you need the vga_switcheroo to get your hybrid graphics under control.
What notebook is it? I've read that https://lists.launchpad.net/hybrid-grap … 00362.html "HP doesn't (and won't) support a switch in the BIOS."

Not much here, but better than nothing: https://bbs.archlinux.org/viewtopic.php?pid=816879

Last edited by karol (2011-01-05 17:24:33)

Offline

#5 2011-01-05 17:25:35

ViruSzZ
Member
From: The Streets
Registered: 2010-10-14
Posts: 202
Website

Re: Xorg failed to start :: Please help

It is Hp Pavilion G62 >> http://h10025.www1.hp.com/ewfrf/wc/docu … ct=4201183

Yes, I already read about vga_switcheroo and I can manage to get it working. I'll try to disable the ATI with something like this:

modprobe radeon ; echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

and will try again. I know, there is no option in the BIOS to control the cards.

Thanks. Let me try with this now.


Their Momma Made Em, Their Momma Gave em & now she can`t even SAVE`em | My WebLog

Offline

#6 2011-01-05 18:14:17

ViruSzZ
Member
From: The Streets
Registered: 2010-10-14
Posts: 202
Website

Re: Xorg failed to start :: Please help

Finally, I booted into DE (gnome in this moment). I needed to add the following inside my rc.local

modprobe radeon
echo "OFF" > /sys/kernel/debug/vgaswitcheroo/switch

After that gnome started successfully but the screen remained black (no brightness at all). I fixed the brightness with the following command:

echo 5 > /sys/class/backlight/acpi_video0/brightness

can someone explain why is this strange behavior ? I can manage to get all this steps automated and switch between the cards via vga_switcheroo, the only pain I have was the X server.

I am really really appreciated to this community. If there are some other tips on this please let me know.


Their Momma Made Em, Their Momma Gave em & now she can`t even SAVE`em | My WebLog

Offline

#7 2011-01-05 18:20:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Xorg failed to start :: Please help

If you can spare some time, you can create a wiki page for your notebook, just like this one https://wiki.archlinux.org/index.php/HP_Pavilion_ze5500

Offline

#8 2011-01-05 18:29:25

ViruSzZ
Member
From: The Streets
Registered: 2010-10-14
Posts: 202
Website

Re: Xorg failed to start :: Please help

Sure it will be my pleasure to document it. Now I have to go and celebrate my birthday (it was yesterday but i was at work) tonight. Here in Macedonia is 19.26 PM. I`ll automate all this and will document it in the WiKi. I have to do some testings with the switching of the graphics first too.

Anyhow, get all of my respect, take care and I hope I`ll get yall a bier or two one day.

OUT


Their Momma Made Em, Their Momma Gave em & now she can`t even SAVE`em | My WebLog

Offline

Board footer

Powered by FluxBB