[GLLUG] Wanting to write my own xorg.conf

Charles Ulrich charles at idealso.com
Wed May 10 21:08:07 EDT 2006


Giovanni DiMatteo wrote:
> I tried replacing the Device section with that which you suggested above 
> and got the same error "no screen found."  Below is my 
> /var/log/Xorg.0.log in its full glory.  I was also able to find an 
> xorg.conf for gentoo on the Thinkpad R51 at 
> http://www.jenny-and-jp.org/files/thinkpad/xorg.conf ,  but pasting it 
> in as my own didn't work either. 

Okay, let's have a look-see here.

[snip]
> (--) PCI:*(0:2:0) Intel Corp. 82852/855GM Integrated Graphics Device rev 
> 2, Mem @ 0xe0000000/27, 0xd0000000/19, I/O @ 0x1800/3
> (--) PCI: (0:2:1) Intel Corp. 82852/855GM Integrated Graphics Device rev 
> 2, Mem @ 0xe8000000/27, 0xd0080000/19

Er, you say you have an ATI chipset in that laptop? Because when X 
probed the PCI bus, it found an Intel 855GM. This would be why the i810 
driver worked and the ATI driver didn't.

[snip]
> (II) LoadModule: "i810"
> (II) Loading /usr/X11R6/lib/modules/drivers/i810_drv.o
> (II) Module i810: vendor="X.Org Foundation"
>     compiled for 6.8.2, module version = 1.3.0
>     Module class: X.Org Video Driver
>     ABI class: X.Org Video Driver, version 0.7
> (II) LoadModule: "mouse"
> (II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
> (II) Module mouse: vendor="X.Org Foundation"
>     compiled for 6.8.2, module version = 1.0.0
>     Module class: X.Org XInput Driver
>     ABI class: X.Org XInput driver, version 0.4
> (II) LoadModule: "kbd"
> (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.o
> (II) Module kbd: vendor="X.Org Foundation"
>     compiled for 6.8.2, module version = 1.0.0
>     Module class: X.Org XInput Driver
>     ABI class: X.Org XInput driver, version 0.4
> (II) I810: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100,
>     i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G
> (II) Primary Device is: PCI 00:02:0
> (--) Assigning device section with no busID to primary device
> (--) Chipset 852GM/855GM found

Here X is loading the i810 driver. If there was no Intel chipset in the 
machine, it would have failed at this point. Are you sure that the line:

Driver "i810"

is no longer in your xorg.conf? It's possible that X is probing the PCI 
bus and going, "Okay, I found an Intel chipset, I must need the i810 
driver and sod what the user says." But I wasn't aware that it could do 
this.

[snip]
> (**) I810(0): Depth 24, (--) framebuffer bpp 32
> (==) I810(0): RGB weight 888
> (==) I810(0): Default visual is TrueColor
> (II) Loading sub module "int10"
> (II) LoadModule: "int10"
> (II) Reloading /usr/X11R6/lib/modules/linux/libint10.a
> (II) I810(0): initializing int10
> (WW) I810(0): Bad V_BIOS checksum
> (II) I810(0): Primary V_BIOS segment is: 0xc000
> (II) I810(0): VESA BIOS detected
> (II) I810(0): VESA VBE Version 3.0
> (II) I810(0): VESA VBE Total Mem: 8000 kB
> (II) I810(0): VESA VBE OEM: Intel(r)852GM/852GME/855GM/855GME Graphics 
> Chip Accelerated VGA BIOS
> (II) I810(0): VESA VBE OEM Software Rev: 1.0
> (II) I810(0): VESA VBE OEM Vendor: Intel Corporation
> (II) I810(0): VESA VBE OEM Product: Intel(r)852GM/852GME/855GM/855GME 
> Graphics Controller
> (II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
> (II) I810(0): Integrated Graphics Chipset: Intel(R) 855GME
> (--) I810(0): Chipset: "852GM/855GM"
> (--) I810(0): Linear framebuffer at 0xE0000000
> (--) I810(0): IO registers at addr 0xD0000000
> (II) I810(0): 2 display pipes available.
> (II) I810(0): detected 8060 kB stolen memory.
> (EE) GARTInit: Unable to open /dev/agpgart (No such file or directory)
> (WW) I810(0): /dev/agpgart is either not available, or no memory is 
> available
> for allocation.  Using pre-allocated memory only.
> (II) I810(0): Checking Lid status enabled
> (--) I810(0): Pre-allocated VideoRAM: 8060 kByte
> (--) I810(0): VideoRAM: 8060 kByte
> (==) I810(0): video overlay key set to 0x101fe
> (**) I810(0): page flipping disabled
> (==) I810(0): Using gamma correction (1.0, 1.0, 1.0)
> (II) I810(0): BIOS Build: 3181
> (II) I810(0): Using new Pipe switch code
> (==) I810(0): Device Presence: disabled.
> (WW) I810(0): Primary Pipe is B, switching off second monitor (0x800)
> (==) I810(0): Display Info: enabled.
> (II) I810(0): Broken BIOSes cause the system to hang here.
>           If you encounter this problem please add
>          Option "DisplayInfo" "FALSE"
>           to the Device section of your XF86Config file.
> (II) I810(0): Display Info: CRT: attached: FALSE, present: TRUE, size: 
> (720,400)
> (II) I810(0): Display Info: TV: attached: FALSE, present: TRUE, size: 
> (800,600)
> (II) I810(0): Display Info: DFP (digital flat panel): attached: FALSE, 
> present: FALSE, size: (0,2059)
> (II) I810(0): Display Info: LFP (local flat panel): attached: TRUE, 
> present: TRUE, size: (1024,768)
> (II) I810(0): Display Info: CRT2 (second CRT): attached: FALSE, present: 
> FALSE, size: (0,2059)
> (II) I810(0): Display Info: TV2 (second TV): attached: FALSE, present: 
> FALSE, size: (0,2059)
> (II) I810(0): Size of device LFP (local flat panel) is 1024 x 768
> (II) I810(0): No active displays on Pipe A.
> (II) I810(0): Currently active displays on Pipe B:
> (II) I810(0):     LFP (local flat panel)
> (II) I810(0): Lowest common panel size for pipe B is 1024 x 768
> (==) I810(0): Display is using Pipe B
> (--) I810(0): HW Cursor disabled because it needs agpgart memory.
> (--) I810(0): Maximum frambuffer space: 7912 kByte

All of this would have failed too. Gosh, with all this stuff that it's 
probing, why on earth is xorg.conf even needed these days?

[snip]
> (**) Keyboard0: CustomKeycodes disabled
> (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
> (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
> (--) Mouse0: PnP-detected protocol: "ExplorerPS/2"
> (II) Mouse0: ps2EnableDataReporting: succeeded
> Could not init font path element /usr/share/fonts/local, removing from list!

Here we've reached the end of the log. There were no errors. 
Specifically, there are no "no screen found" errors. According to this, 
your X session should be running on virtual terminal 7. The top of the 
log had a timestamp from today at 5:50PM, so it's probably not an old 
log file. It appears to be using /etc/X11/xorg.conf as the configuration 
file, so it would be worth verifying that that's correct.

I'm at a loss, I guess. If you can attend the meeting tomorrow, feel 
free to bring the laptop with you and I be happy to take a look at it.

-- 
Charles Ulrich
Ideal Solution, LLC -- http://www.idealso.com


More information about the linux-user mailing list