You are not logged in.

#1 2009-08-12 12:26:39

ewigkeit
Member
Registered: 2009-01-06
Posts: 53

Can't get any video driver working (X-Server)

Hi everybody (and thx for reading this),


I'm about to install Arch Linux 64 Bit on a new machine, an Acer Aspire 8935G. I installed Arch Linux on several plattforms over the last months with help from the brilliant Wiki-Guide. Unfortunatley I can't figure out how to get the X-Server running this time, so I need a little (???) help here to point me in the right direction.

System is up and running. Graphic Card is a ATI Mobility Radeon HD 4670 (and an Mobile Intel GM45). What I did so far was installing the radeonhd driver first (and later others, because radeonhd wouldn't work) and configure X with:

# Xorg - configure

Which resulted in a message of the X Protocol:

List of video drivers:
radeonhd
intel
ati
radeon
fbdev
vesa

after that I installed and ran HAL, to avoid problems with input hotplugging.

Finally, to test the configuration:

# X -config /root/xorg.conf.new

(EE) RADEONHD(0): rhdAtomGetDDCIndex: GPIO_DDC Index 5 exceeds maximum 5
(EE) RADEONHD(0): AtomBIOS returned 3 Grey Levels
(EE) RADEONHD(0): AtomBIOS returned 3 Grey Levels
(EE) RADEONHD(0): rhdAtomLvdsDDC: unknown record type: c
(EE) RADEONHD(0):  ParseTable said: CD_INVALID_OPCODE
(EE) RADEONHD(0): atomSetBacklightFromBIOSScratch: rhtAtomDigTransmitterControl(atomTransEnable) failed.

^C

Playing around with vesa, intel and fbdev didn't bring me any further. Vesa and Intel led to a black screen without responding keys (hard reset is necessary every time) and FBDEV led to a error message:

Primary device is not PCI
(EE) FBDEV(0): FBIOBLANK: Invalid argument

Maybe it's an issue with the integrated full hd monitor, because of the DDC-Message, but googling around didn't help for the moment. The hardware works with Linux, Mandriva 32-bit-Image ran out of the box with X-Server and KDE 4.2. But I would prefer an Installation of Arch Linux with the software, I really need and want.

I will try to add the xorg.conf later on as I'm writing this on an other machine.


Thx in advance for the help!


EDIT (xorg.conf):

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

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

Section "Module"
    Load  "dri2"
    Load  "glx"
    Load  "dri"
    Load  "dbe"
    Load  "record"
    Load  "extmod"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

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

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

#Section "Monitor"
#    Identifier   "Monitor1"
#    VendorName   "Monitor Vendor"
#    ModelName    "Monitor Model"
#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     "AccelMethod"            # [<str>]
        #Option     "offscreensize"          # [<str>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "ignoreconnector"        # [<str>]
        #Option     "forcereduced"           # [<bool>]
        #Option     "forcedpi"               # <i>
        #Option     "useconfiguredmonitor"     # [<bool>]
        #Option     "HPD"                    # <str>
        #Option     "NoRandr"                # [<bool>]
        #Option     "RROutputOrder"          # [<str>]
        #Option     "DRI"                    # [<bool>]
        #Option     "TVMode"                 # [<str>]
        #Option     "ScaleType"              # [<str>]
        #Option     "UseAtomBIOS"            # [<bool>]
        #Option     "AtomBIOS"               # [<str>]
        #Option     "UnverifiedFeatures"     # [<bool>]
        #Option     "Audio"                  # [<bool>]
        #Option     "HDMI"                   # [<str>]
        #Option     "COHERENT"               # [<str>]
    Identifier  "Card0"
    Driver      "radeonhd"
    VendorName  "ATI Technologies Inc"
    BoardName   "Unknown Board"
    BusID       "PCI:1:0:0"
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  "Card1"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "Mobile 4 Series Chipset Integrated Graphics Controller"
    BusID       "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    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
        Modes "1024x768" "1280x1024"
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen1"
    Device     "Card1"
    Monitor    "Monitor1"
    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

Last edited by ewigkeit (2009-08-12 12:36:46)

Offline

#2 2009-08-14 19:25:51

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Can't get any video driver working (X-Server)

Hello ewigkeit!

Did you try with hwd -x or to port a working one from Mandriva ?

Offline

#3 2009-08-15 23:53:02

ewigkeit
Member
Registered: 2009-01-06
Posts: 53

Re: Can't get any video driver working (X-Server)

Hello djszapi,

and thanks for your reply. Yeah, I thought about that in the last days, too. But Mandriva has the closed source ati driver built in the kernel which runs out of the box without any problems. For the time being and because I need to work with that machine, I'm stuck with the unpreferred "solution". But help would still be welcome, because I still want to run Arch on that machine some day.

Thx in advance!

Offline

#4 2009-08-16 00:20:56

AdrenalineJunky
Member
Registered: 2009-05-03
Posts: 149

Re: Can't get any video driver working (X-Server)

have you tried ati or vesa?

Last edited by AdrenalineJunky (2009-08-16 00:21:18)

Offline

#5 2009-08-16 22:37:07

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Can't get any video driver working (X-Server)

"I thought about that in the last days, too. But Mandriva has the closed source ati driver built in the kernel which runs out of the box without any problems." -> I thought for porting xorg.conf e.g., can you try it ?

Offline

#6 2009-08-17 16:20:26

ewigkeit
Member
Registered: 2009-01-06
Posts: 53

Re: Can't get any video driver working (X-Server)

After setting up an extra partition for Arch again, I tried hwd -x after installing it from AUR. Gave me a non working vesa-config with the message "no screens found" when I tested it.

Other steps:

- Tried Xorg -configure with vesa-setup. Improvement against hwd -x is, it results in a black screen with an cursor in the upper left corner.
- Tried the xorg.conf from Mandriva, but that didn't work, because Mandriva uses the proprietary (closed-source) ati-driver. Also tried to edit to vesa, but that doesn't work also.


This is really driving me crazy. Not even vesa is working.

Offline

#7 2009-08-17 19:26:55

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: Can't get any video driver working (X-Server)

You do know that with the latest xserver-xorg your xorg.conf is of less relevance? If you encounter problems with non-responsive input devices, I'd say that you have a problem with HAL. In fact lots of people complained after upgrading without having read the announcement some months ago...

And are you using the latest software? I installed Debian stable on a G45-chipset with intel graphics last week and I had to use at least the 2.6.2-driver IIRC, or upon loading the (old) driver, the DVI-port was disconnected and I was left with a black screen, but otherwise working install smile

The Ati-drivers are not supported anymore, are you sure your chips is not too new for the opensource drivers? And if even vesa is failing you, than there's more to it. What is the output of
# cat /var/log/X.0.log | grep EE
?

Have you tried vga for a driver?

Zl.

Offline

#8 2009-08-17 19:32:45

AdrenalineJunky
Member
Registered: 2009-05-03
Posts: 149

Re: Can't get any video driver working (X-Server)

both xf86-video-ati and xf86-video-radeonhd should support his card ^^

Last edited by AdrenalineJunky (2009-08-17 19:33:04)

Offline

#9 2009-08-18 16:25:24

ewigkeit
Member
Registered: 2009-01-06
Posts: 53

Re: Can't get any video driver working (X-Server)

zenlord wrote:

You do know that with the latest xserver-xorg your xorg.conf is of less relevance?

Yes, I know. I also tried to get it working without an preconfigured xorg.conf. You know it... yeah... results in a black screen ;-).

zenlord wrote:

And are you using the latest software? I installed Debian stable on a G45-chipset with intel graphics last week and I had to use at least the 2.6.2-driver IIRC, or upon loading the (old) driver, the DVI-port was disconnected and I was left with a black screen, but otherwise working install smile

Yesterday, I experimented with the Intel driver, because I found out that Mandriva also uses them, not fglrx like I thought. First I tried the xf86-video-intel. Have given me the typical X-Server feeling at start, probing the monitor I guess, than the backlight of the screen is on but the screen itself stays black. Fells like it's working, just the monitor is not respondig. Tried 1001 different screen settings, but the problem can't get solved. The same phenomenon can be experienced when usen the latest Intel-Git-Drivers from AUR. Last message of Xorg was: Setting up DRM Master or something like that. I will go and check it tonight again and report back.

zenlord wrote:

The Ati-drivers are not supported anymore, are you sure your chips is not too new for the opensource drivers?

Like AdrenalineJunky stated radeonhd supports the card. I read about it yesterday.

zenlord wrote:

And if even vesa is failing you, than there's more to it.

Where can I sign that? ;-)

zenlord wrote:

Have you tried vga for a driver?

Not yet, will be done.

zenlord wrote:

What is the output of
# cat /var/log/X.0.log | grep EE
?

Vesa-Setup

X.Org X Server 1.6.3
Release Date: 2009-7-31
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.30-ARCH i686 
Current Operating System: Linux acer8935 2.6.30-ARCH #1 SMP PREEMPT Fri Jul 31 18:10:38 UTC 2009 i686
Build Date: 14 August 2009  11:31:10AM
 
    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: Mon Aug 17 18:43:33 2009
(++) Using config file: "/root/xorg.conf.new"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Screen "Screen1" (1)
(**) |   |-->Monitor "Monitor1"
(**) |   |-->Device "Card1"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/TTF" does not exist.
    Entry deleted from font path.
(WW) The directory "/usr/share/fonts/Type1" does not exist.
    Entry deleted from font path.
(WW) The directory "/usr/share/fonts/TTF" does not exist.
    Entry deleted from font path.
(WW) The directory "/usr/share/fonts/Type1" does not exist.
    Entry deleted from font path.
(**) FontPath set to:
    /usr/share/fonts/misc,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/misc,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    built-ins
(**) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(II) Loader magic: 0xe40
(II) Module ABI versions:
    X.Org ANSI C Emulation: 0.4
    X.Org Video Driver: 5.0
    X.Org XInput driver : 4.0
    X.Org Server Extension : 2.0
(II) Loader running on linux
(--) using VT number 7

(!!) More than one possible primary device found
(--) PCI: (0:0:2:0) 8086:2a42:1025:019f Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller rev 7, Mem @ 0xf0000000/4194304, 0xd0000000/268435456, I/O @ 0x00001800/8
(--) PCI: (0:1:0:0) 1002:9488:1025:019f ATI Technologies Inc rev 0, Mem @ 0xc0000000/268435456, 0xf0400000/65536, I/O @ 0x00002000/256, BIOS @ 0x????????/131072
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel
(II) System resource ranges:
    [0] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [1] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [5] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "record" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri" will be loaded by default.
(II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
    compiled for 1.6.3, module version = 1.1.0
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "fgl.renamed.libglx"
(WW) Warning, couldn't open module fgl.renamed.libglx
(II) UnloadModule: "fgl.renamed.libglx"
(EE) Failed to load module "fgl.renamed.libglx" (module does not exist, 0)
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"
    compiled for 1.6.3, module version = 1.0.0
    ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
    compiled for 1.6.3, module version = 1.13.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "fgl.renamed.libdri"
(WW) Warning, couldn't open module fgl.renamed.libdri
(II) UnloadModule: "fgl.renamed.libdri"
(EE) Failed to load module "fgl.renamed.libdri" (module does not exist, 0)
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
    compiled for 1.6.3, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
    compiled for 1.6.3, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
dlopen: /usr/lib/xorg/modules/extensions//libdri.so: cannot open shared object file: No such file or directory
(EE) Failed to load /usr/lib/xorg/modules/extensions//libdri.so
(II) UnloadModule: "dri"
(EE) Failed to load module "dri" (loader failed, 7)
(II) LoadModule: "vesa"
(II) Loading /usr/lib/xorg/modules/drivers//vesa_drv.so
(II) Module vesa: vendor="X.Org Foundation"
    compiled for 1.6.0, module version = 2.2.0
    Module class: X.Org Video Driver
    ABI class: X.Org Video Driver, version 5.0
(II) VESA: driver for VESA chipsets: vesa
(II) Primary Device is: 
(II) resource ranges after probing:
    [0] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [1] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [5] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
(II) Loading sub module "vbe"
(II) LoadModule: "vbe"
(II) Loading /usr/lib/xorg/modules//libvbe.so
(II) Module vbe: vendor="X.Org Foundation"
    compiled for 1.6.3, module version = 1.1.0
    ABI class: X.Org Video Driver, version 5.0
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/lib/xorg/modules//libint10.so
(II) Module int10: vendor="X.Org Foundation"
    compiled for 1.6.3, module version = 1.0.0
    ABI class: X.Org Video Driver, version 5.0
(II) VESA(0): initializing int10

Offline

#10 2009-08-18 21:36:45

ewigkeit
Member
Registered: 2009-01-06
Posts: 53

Re: Can't get any video driver working (X-Server)

Improvement:

It was / is indeed a HAL problem, daemon wouldn't start. Intel driver is working but testing with X -config ... doesn't work well, because I don't get an X on the screen. After trying a different method (exec xterm in .xinitrc) xterm shows up but input devices only work after waiting about ten seconds. And only hotplugging works, AutoAddDevices False didn't work.

Thx for the input everyone, KDE 4.3 works now like it should.

Offline

Board footer

Powered by FluxBB