LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Starting X - error (https://www.linuxquestions.org/questions/slackware-14/starting-x-error-632418/)

Pscylo 04-02-2008 07:21 AM

Starting X - error
 
I have a HP6720s laptop on which I've installed Slackware 12.0

I've been trying to configure X and initially hit the problem that (if I read correctly) the video card (GM965/X3100) wasn't supported by the the version of Xorg server that's bundled with 12.0. I think it supported up to the 915 intel chip; could be wrong though.

The problem I had with that was that I couldn't get X to use the full 1280x800 resolution though the vesa driver worked fine (but with black bars left and right of the centred screen). No surprise really since the vesa driver doesn't support 1280x800.

Anyhoo, I tinkered a bit and installed a later version of X server and client (and installed the kbd and mouse drivers to suit IIRC), and I can now get X to start using the "intel" driver in 8 bit colour depth. I don't know if I did good there or not, but the fact that it now runs at the right resolution is encouraging. By all means correct me if I'm wrong though.

Anyway, the problem is that I can't drive it at anything other than 8b depth. If I try anthing else I get (and this is from memory - I'm on a windows machne at work at the minute):

Unable to open /dev/agpgart (No such file or directory)

if I then do:

mknod /dev/agpgart c 10 175

I get:

(EE) GARTInit: Unable to open /dev/agpgart (No such device)

from the Xorg log. The file that mknod creates seems to disappear on reboot as well which seems odd.

Any ideas what I'm missing here? Everything else is a standard Slack 12.0 install other than the changes I made that I mentioned above. Do I need a different kernel? Any thoughts?

Rob

din 04-02-2008 07:44 AM

Hi, Pscylo.

I have this video card. After installation slackware 12.0
i configured it with xorgsetup and everything worked fine.
Try it if you didn't.

The only thing i still have problems is "direct rendering".

Pscylo 04-02-2008 08:37 AM

Yeah did try Xorgsetp - do you have a widescreen monitor?

din 04-02-2008 10:35 AM

Yes. It worked for me without any changes.
Look at my xorg.conf, maybe it will help you.

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi/:unscaled"
EndSection

Section "Module"
Load "glx"
Load "dbe"
Load "record"
Load "GLcore"
Load "extmod"
Load "xtrap"
Load "dri"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc101"
Option "XkbLayout" "us,il"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
#DisplaySize 330 210 # mm
Identifier "Monitor0"
VendorName "AUO"
ModelName "8174"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
#Option "DRI" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "PageFlip" # [<bool>]
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "Mobile Integrated Graphics Controller"
BusID "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Pscylo 04-02-2008 10:55 AM

HAve you got a copy of the Xorg.0.log too?

Pscylo 04-02-2008 04:37 PM

there are a few differences with the "Module" section

I tried with your options but it still barfs on /edev/xagpgart (devioce niot found)

din 04-02-2008 10:54 PM

Sorry, but i can't help u here.

my error of xorg :


cat /var/log/Xorg.0.log |grep WW
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found
(WW) intel(0): Bad V_BIOS checksum


~$ cat /var/log/Xorg.0.log |grep EE
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI.
(EE) AIGLX: Screen 0 is not DRI capable


All times are GMT -5. The time now is 10:53 PM.