Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Partially solved] Cannot start X on ATI AIW 128 PRO AGP
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
pdraganov
n00b
n00b


Joined: 17 Oct 2014
Posts: 27

PostPosted: Sun Jan 17, 2016 12:02 am    Post subject: [Partially solved] Cannot start X on ATI AIW 128 PRO AGP Reply with quote

I am trying to install X on an old PC with ATI All-in-wonder with Rage 128 PRO chip by following current Gentoo how-tos without success. As suggested, X should start without any configuration. When I startx, it loads modesetting and tries to load ati driver instead of r128:
Code:
[ 35110.555]
X.Org X Server 1.17.4
Release Date: 2015-10-28
[ 35110.555] X Protocol Version 11, Revision 0
[ 35110.555] Build Operating System: Linux 3.14.14-gentoo x86_64 Gentoo
[ 35110.556] Current Operating System: Linux AthlonXP 4.1.12-gentoo #1 Sun Jan 10 21:51:34 EET 2016 i686
[ 35110.556] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.1.12-gentoo root=/dev/sda1 ro net.ifnames=0
[ 35110.556] Build Date: 12 January 2016  07:03:01AM
[ 35110.556] 
[ 35110.557] Current version of pixman: 0.32.8
[ 35110.557]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[ 35110.557] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 35110.559] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 17 03:31:42 2016
[ 35110.560] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 35110.560] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 35110.560] (==) No Layout section.  Using the first Screen section.
[ 35110.560] (==) No screen section available. Using defaults.
[ 35110.560] (**) |-->Screen "Default Screen Section" (0)
[ 35110.560] (**) |   |-->Monitor "<default monitor>"
[ 35110.560] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[ 35110.560] (==) Automatically adding devices
[ 35110.560] (==) Automatically enabling devices
[ 35110.560] (==) Automatically adding GPU devices
[ 35110.560] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[ 35110.560]    Entry deleted from font path.
[ 35110.560] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 35110.560]    Entry deleted from font path.
[ 35110.560] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 35110.561]    Entry deleted from font path.
[ 35110.561] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 35110.561]    Entry deleted from font path.
[ 35110.561] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[ 35110.561]    Entry deleted from font path.
[ 35110.561] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[ 35110.561]    Entry deleted from font path.
[ 35110.561] (==) FontPath set to:
       
[ 35110.561] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 35110.561] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 35110.561] (II) Loader magic: 0x826b680
[ 35110.561] (II) Module ABI versions:
[ 35110.561]    X.Org ANSI C Emulation: 0.4
[ 35110.561]    X.Org Video Driver: 19.0
[ 35110.561]    X.Org XInput driver : 21.0
[ 35110.561]    X.Org Server Extension : 9.0
[ 35110.561] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 35110.563] (--) PCI:*(0:1:0:0) 1002:5046:1002:002a rev 0, Mem @ 0xd8000000/67108864, 0xdfefc000/16384, I/O @ 0x0000a800/256, BIOS @ 0x????????/131072
[ 35110.563] (II) LoadModule: "glx"
[ 35110.563] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 35110.566] (II) Module glx: vendor="X.Org Foundation"
[ 35110.566]    compiled for 1.17.4, module version = 1.0.0
[ 35110.566]    ABI class: X.Org Server Extension, version 9.0
[ 35110.566] (==) AIGLX enabled
[ 35110.566] (==) Matched ati as autoconfigured driver 0
[ 35110.566] (==) Matched ati as autoconfigured driver 1
[ 35110.566] (==) Matched modesetting as autoconfigured driver 2
[ 35110.566] (==) Matched fbdev as autoconfigured driver 3
[ 35110.566] (==) Matched vesa as autoconfigured driver 4
[ 35110.566] (==) Assigned the driver to the xf86ConfigLayout
[ 35110.566] (II) LoadModule: "ati"
[ 35110.566] (WW) Warning, couldn't open module ati
[ 35110.566] (II) UnloadModule: "ati"
[ 35110.566] (II) Unloading ati
[ 35110.566] (EE) Failed to load module "ati" (module does not exist, 0)
[ 35110.566] (II) LoadModule: "modesetting"
[ 35110.566] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 35110.567] (II) Module modesetting: vendor="X.Org Foundation"
[ 35110.567]    compiled for 1.17.4, module version = 1.17.4
[ 35110.567]    Module class: X.Org Video Driver
[ 35110.567]    ABI class: X.Org Video Driver, version 19.0
[ 35110.567] (II) LoadModule: "fbdev"
[ 35110.567] (WW) Warning, couldn't open module fbdev
[ 35110.567] (II) UnloadModule: "fbdev"
[ 35110.567] (II) Unloading fbdev
[ 35110.567] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 35110.567] (II) LoadModule: "vesa"
[ 35110.567] (WW) Warning, couldn't open module vesa
[ 35110.567] (II) UnloadModule: "vesa"
[ 35110.567] (II) Unloading vesa
[ 35110.567] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 35110.567] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 35110.567] (--) using VT number 7

[ 35110.572] (WW) Falling back to old probe method for modesetting
[ 35110.572] (EE) Screen 0 deleted because of no matching config section.
[ 35110.572] (II) UnloadModule: "modesetting"
[ 35110.572] (EE) Device(s) detected, but none match those in the config file.
[ 35110.572] (EE)
Fatal server error:
[ 35110.573] (EE) no screens found(EE)
[ 35110.575] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[ 35110.576] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 35110.577] (EE)
[ 35110.580] (EE) Server terminated with error (1). Closing log file.


If I create /etc/X11/xorg.conf.d/40-monitor.conf:
Code:
Section "Device"
        Identifier      "ATI_AIW"
        Driver          "r128"
EndSection

modesetting is not loaded:
Code:
[ 35864.687]
X.Org X Server 1.17.4
Release Date: 2015-10-28
[ 35864.687] X Protocol Version 11, Revision 0
[ 35864.688] Build Operating System: Linux 3.14.14-gentoo x86_64 Gentoo
[ 35864.688] Current Operating System: Linux AthlonXP 4.1.12-gentoo #1 Sun Jan 10 21:51:34 EET 2016 i686
[ 35864.688] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.1.12-gentoo root=/dev/sda1 ro net.ifnames=0
[ 35864.688] Build Date: 12 January 2016  07:03:01AM
[ 35864.689] 
[ 35864.689] Current version of pixman: 0.32.8
[ 35864.689]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[ 35864.690] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 35864.691] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 17 03:44:16 2016
[ 35864.692] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 35864.692] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 35864.692] (==) No Layout section.  Using the first Screen section.
[ 35864.692] (==) No screen section available. Using defaults.
[ 35864.692] (**) |-->Screen "Default Screen Section" (0)
[ 35864.692] (**) |   |-->Monitor "<default monitor>"
[ 35864.693] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[ 35864.693] (**) |   |-->Device "ATI_AIW"
[ 35864.693] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[ 35864.693] (==) Automatically adding devices
[ 35864.693] (==) Automatically enabling devices
[ 35864.693] (==) Automatically adding GPU devices
[ 35864.693] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[ 35864.693]    Entry deleted from font path.
[ 35864.693] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 35864.693]    Entry deleted from font path.
[ 35864.693] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 35864.693]    Entry deleted from font path.
[ 35864.693] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 35864.693]    Entry deleted from font path.
[ 35864.693] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[ 35864.693]    Entry deleted from font path.
[ 35864.693] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[ 35864.693]    Entry deleted from font path.
[ 35864.693] (==) FontPath set to:
       
[ 35864.693] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 35864.693] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 35864.693] (II) Loader magic: 0x826b680
[ 35864.693] (II) Module ABI versions:
[ 35864.693]    X.Org ANSI C Emulation: 0.4
[ 35864.693]    X.Org Video Driver: 19.0
[ 35864.693]    X.Org XInput driver : 21.0
[ 35864.693]    X.Org Server Extension : 9.0
[ 35864.694] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 35864.695] (--) PCI:*(0:1:0:0) 1002:5046:1002:002a rev 0, Mem @ 0xd8000000/67108864, 0xdfefc000/16384, I/O @ 0x0000a800/256, BIOS @ 0x????????/131072
[ 35864.695] (II) LoadModule: "glx"
[ 35864.696] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 35864.698] (II) Module glx: vendor="X.Org Foundation"
[ 35864.698]    compiled for 1.17.4, module version = 1.0.0
[ 35864.698]    ABI class: X.Org Server Extension, version 9.0
[ 35864.698] (==) AIGLX enabled
[ 35864.698] (II) LoadModule: "r128"
[ 35864.699] (II) Loading /usr/lib/xorg/modules/drivers/r128_drv.so
[ 35864.699] (II) Module r128: vendor="X.Org Foundation"
[ 35864.699]    compiled for 1.17.4, module version = 6.10.0
[ 35864.699]    Module class: X.Org Video Driver
[ 35864.699]    ABI class: X.Org Video Driver, version 19.0
[ 35864.699] (II) R128: Driver for ATI Rage 128 chipsets:
        ATI Rage 128 Mobility M3 LE (PCI), ATI Rage 128 Mobility M3 LF (AGP),
        ATI Rage 128 Mobility M4 MF (AGP), ATI Rage 128 Mobility M4 ML (AGP),
        ATI Rage 128 Pro GL PA (PCI/AGP), ATI Rage 128 Pro GL PB (PCI/AGP),
        ATI Rage 128 Pro GL PC (PCI/AGP), ATI Rage 128 Pro GL PD (PCI),
        ATI Rage 128 Pro GL PE (PCI/AGP), ATI Rage 128 Pro GL PF (AGP),
        ATI Rage 128 Pro VR PG (PCI/AGP), ATI Rage 128 Pro VR PH (PCI/AGP),
        ATI Rage 128 Pro VR PI (PCI/AGP), ATI Rage 128 Pro VR PJ (PCI/AGP),
        ATI Rage 128 Pro VR PK (PCI/AGP), ATI Rage 128 Pro VR PL (PCI/AGP),
        ATI Rage 128 Pro VR PM (PCI/AGP), ATI Rage 128 Pro VR PN (PCI/AGP),
        ATI Rage 128 Pro VR PO (PCI/AGP), ATI Rage 128 Pro VR PP (PCI),
        ATI Rage 128 Pro VR PQ (PCI/AGP), ATI Rage 128 Pro VR PR (PCI),
        ATI Rage 128 Pro VR PS (PCI/AGP), ATI Rage 128 Pro VR PT (PCI/AGP),
        ATI Rage 128 Pro VR PU (PCI/AGP), ATI Rage 128 Pro VR PV (PCI/AGP),
        ATI Rage 128 Pro VR PW (PCI/AGP), ATI Rage 128 Pro VR PX (PCI/AGP),
        ATI Rage 128 GL RE (PCI), ATI Rage 128 GL RF (AGP),
        ATI Rage 128 RG (AGP), ATI Rage 128 VR RK (PCI),
        ATI Rage 128 VR RL (AGP), ATI Rage 128 4X SE (PCI/AGP),
        ATI Rage 128 4X SF (PCI/AGP), ATI Rage 128 4X SG (PCI/AGP),
        ATI Rage 128 4X SH (PCI/AGP), ATI Rage 128 4X SK (PCI/AGP),
        ATI Rage 128 4X SL (PCI/AGP), ATI Rage 128 4X SM (AGP),
        ATI Rage 128 4X SN (PCI/AGP), ATI Rage 128 Pro ULTRA TF (AGP),
        ATI Rage 128 Pro ULTRA TL (AGP), ATI Rage 128 Pro ULTRA TR (AGP),
        ATI Rage 128 Pro ULTRA TS (AGP?), ATI Rage 128 Pro ULTRA TT (AGP?),
        ATI Rage 128 Pro ULTRA TU (AGP?)
[ 35864.699] (--) using VT number 7

[ 35864.703] (II) R128(0): PCI bus 1 card 0 func 0
[ 35864.703] (II) R128(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[ 35864.703] (==) R128(0): Depth 24, (--) framebuffer bpp 32
[ 35864.703] (II) R128(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[ 35864.703] (==) R128(0): Default visual is TrueColor
[ 35864.703] (II) Loading sub module "vgahw"
[ 35864.703] (II) LoadModule: "vgahw"
[ 35864.703] (II) Loading /usr/lib/xorg/modules/libvgahw.so
[ 35864.703] (II) Module vgahw: vendor="X.Org Foundation"
[ 35864.703]    compiled for 1.17.4, module version = 0.1.0
[ 35864.703]    ABI class: X.Org Video Driver, version 19.0
[ 35864.704] (II) R128(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0
[ 35864.704] (==) R128(0): RGB weight 888
[ 35864.704] (II) R128(0): Using 8 bits per RGB (8 bit DAC)
[ 35864.704] (II) Loading sub module "int10"
[ 35864.704] (II) LoadModule: "int10"
[ 35864.704] (II) Loading /usr/lib/xorg/modules/libint10.so
[ 35864.704] (II) Module int10: vendor="X.Org Foundation"
[ 35864.704]    compiled for 1.17.4, module version = 1.0.0
[ 35864.704]    ABI class: X.Org Video Driver, version 19.0
[ 35864.704] (II) R128(0): initializing int10
[ 35864.709] (II) R128(0): Primary V_BIOS segment is: 0xc000
[ 35864.710] (--) R128(0): Chipset: "ATI Rage 128 Pro GL PF (AGP)" (ChipID = 0x5046)
[ 35864.710] (--) R128(0): Linear framebuffer at 0xd8000000
[ 35864.710] (--) R128(0): MMIO registers at 0xdfefc000
[ 35864.710] (--) R128(0): VideoRAM: 16384 kByte (64-bit SDR SGRAM 2:1)
[ 35864.710] (II) Loading sub module "ddc"
[ 35864.710] (II) LoadModule: "ddc"
[ 35864.710] (II) Module "ddc" already built-in
[ 35864.710] (II) Loading sub module "i2c"
[ 35864.710] (II) LoadModule: "i2c"
[ 35864.710] (II) Module "i2c" already built-in
[ 35864.710] (II) Loading sub module "vbe"
[ 35864.710] (II) LoadModule: "vbe"
[ 35864.710] (II) Loading /usr/lib/xorg/modules/libvbe.so
[ 35864.710] (II) Module vbe: vendor="X.Org Foundation"
[ 35864.710]    compiled for 1.17.4, module version = 1.1.0
[ 35864.710]    ABI class: X.Org Video Driver, version 19.0
[ 35864.711] (II) R128(0): VESA BIOS detected
[ 35864.711] (II) R128(0): VESA VBE Version 2.0
[ 35864.711] (II) R128(0): VESA VBE Total Mem: 16384 kB
[ 35864.711] (II) R128(0): VESA VBE OEM: ATI RAGE128
[ 35864.711] (II) R128(0): VESA VBE OEM Software Rev: 1.0
[ 35864.711] (II) R128(0): VESA VBE OEM Vendor: ATI Technologies Inc.
[ 35864.711] (II) R128(0): VESA VBE OEM Product: R128
[ 35864.711] (II) R128(0): VESA VBE OEM Product Rev: 01.00
[ 35864.858] (II) R128(0): VESA VBE DDC supported
[ 35864.858] (II) R128(0): VESA VBE DDC Level 2
[ 35864.858] (II) R128(0): VESA VBE DDC transfer in appr. 2 sec.
[ 35865.269] (II) R128(0): VESA VBE DDC read successfully
[ 35865.269] (II) R128(0): Manufacturer: SAM  Model: 1156  Serial#: 1095643447
[ 35865.269] (II) R128(0): Year: 2004  Week: 11
[ 35865.269] (II) R128(0): EDID Version: 1.3
[ 35865.269] (II) R128(0): Analog Display Input,  Input Voltage Level: 0.700/0.700 V
[ 35865.269] (II) R128(0): Sync:  Separate
[ 35865.269] (II) R128(0): Max Image Size [cm]: horiz.: 32  vert.: 24
[ 35865.269] (II) R128(0): Gamma: 2.08
[ 35865.269] (II) R128(0): DPMS capabilities: Off; RGB/Color Display
[ 35865.269] (II) R128(0): First detailed timing is preferred mode
[ 35865.269] (II) R128(0): redX: 0.639 redY: 0.323   greenX: 0.275 greenY: 0.597
[ 35865.269] (II) R128(0): blueX: 0.143 blueY: 0.062   whiteX: 0.283 whiteY: 0.298
[ 35865.269] (II) R128(0): Supported established timings:
[ 35865.269] (II) R128(0): 720x400@70Hz
[ 35865.269] (II) R128(0): 720x400@88Hz
[ 35865.269] (II) R128(0): 640x480@60Hz
[ 35865.269] (II) R128(0): 640x480@67Hz
[ 35865.269] (II) R128(0): 640x480@72Hz
[ 35865.269] (II) R128(0): 640x480@75Hz
[ 35865.269] (II) R128(0): 800x600@56Hz
[ 35865.269] (II) R128(0): 800x600@60Hz
[ 35865.269] (II) R128(0): 800x600@72Hz
[ 35865.269] (II) R128(0): 800x600@75Hz
[ 35865.269] (II) R128(0): 832x624@75Hz
[ 35865.269] (II) R128(0): 1024x768@87Hz (interlaced)
[ 35865.269] (II) R128(0): 1024x768@60Hz
[ 35865.269] (II) R128(0): 1024x768@70Hz
[ 35865.269] (II) R128(0): 1024x768@75Hz
[ 35865.269] (II) R128(0): 1280x1024@75Hz
[ 35865.269] (II) R128(0): 1152x864@75Hz
[ 35865.269] (II) R128(0): Manufacturer's mask: 0
[ 35865.269] (II) R128(0): Supported standard timings:
[ 35865.269] (II) R128(0): #0: hsize: 640  vsize 480  refresh: 60  vid: 16433
[ 35865.269] (II) R128(0): #1: hsize: 640  vsize 480  refresh: 85  vid: 22833
[ 35865.269] (II) R128(0): #2: hsize: 800  vsize 600  refresh: 85  vid: 22853
[ 35865.269] (II) R128(0): #3: hsize: 1024  vsize 768  refresh: 85  vid: 22881
[ 35865.269] (II) R128(0): #4: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[ 35865.269] (II) R128(0): #5: hsize: 1600  vsize 1200  refresh: 65  vid: 17833
[ 35865.269] (II) R128(0): #6: hsize: 1792  vsize 1344  refresh: 60  vid: 16577
[ 35865.269] (II) R128(0): Supported detailed timing:
[ 35865.269] (II) R128(0): clock: 94.5 MHz   Image Size:  312 x 234 mm
[ 35865.269] (II) R128(0): h_active: 1024  h_sync: 1072  h_sync_end 1168 h_blank_end 1376 h_border: 0
[ 35865.269] (II) R128(0): v_active: 768  v_sync: 769  v_sync_end 772 v_blanking: 808 v_border: 0
[ 35865.269] (II) R128(0): Ranges: V min: 50 V max: 160 Hz, H min: 30 H max: 85 kHz, PixClock max 205 MHz
[ 35865.269] (II) R128(0): Monitor name: SyncMaster
[ 35865.269] (II) R128(0): Serial No: HSAX310588
[ 35865.269] (II) R128(0): EDID (in hex):
[ 35865.269] (II) R128(0):      00ffffffffffff004c2d561137314e41
[ 35865.269] (II) R128(0):      0b0e01036820186c2abbb9a352469824
[ 35865.269] (II) R128(0):      0f484cffff8031403159455961598180
[ 35865.269] (II) R128(0):      a945c1400101ea240060410028303060
[ 35865.269] (II) R128(0):      130038ea1000001e000000fd0032a01e
[ 35865.270] (II) R128(0):      5514000a202020202020000000fc0053
[ 35865.270] (II) R128(0):      796e634d61737465720a2020000000ff
[ 35865.270] (II) R128(0):      00485341583331303538380a202000ec
[ 35865.270] (II) R128(0): EDID vendor "SAM", prod id 4438
[ 35865.270] (II) R128(0): Using EDID range info for horizontal sync
[ 35865.270] (II) R128(0): Using EDID range info for vertical refresh
[ 35865.270] (II) R128(0): Printing DDC gathered Modelines:
[ 35865.270] (II) R128(0): Modeline "1024x768"x0.0   94.50  1024 1072 1168 1376  768 769 772 808 +hsync +vsync (68.7 kHz eP)
[ 35865.270] (II) R128(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[ 35865.270] (II) R128(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[ 35865.270] (II) R128(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[ 35865.270] (II) R128(0): Modeline "640x480"x0.0   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)
[ 35865.270] (II) R128(0): Modeline "640x480"x0.0   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[ 35865.270] (II) R128(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[ 35865.270] (II) R128(0): Modeline "720x400"x0.0   35.50  720 738 846 900  400 421 423 449 -hsync -vsync (39.4 kHz e)
[ 35865.270] (II) R128(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[ 35865.270] (II) R128(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[ 35865.270] (II) R128(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[ 35865.270] (II) R128(0): Modeline "1024x768"x0.0   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[ 35865.270] (II) R128(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[ 35865.270] (II) R128(0): Modeline "1024x768i"x0.0   44.90  1024 1032 1208 1264  768 768 772 817 interlace +hsync +vsync (35.5 kHz e)
[ 35865.270] (II) R128(0): Modeline "832x624"x0.0   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
[ 35865.270] (II) R128(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[ 35865.270] (II) R128(0): Modeline "800x600"x0.0   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
[ 35865.270] (II) R128(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[ 35865.270] (II) R128(0): Modeline "640x480"x0.0   36.00  640 696 752 832  480 481 484 509 -hsync -vsync (43.3 kHz e)
[ 35865.270] (II) R128(0): Modeline "800x600"x0.0   56.25  800 832 896 1048  600 601 604 631 +hsync +vsync (53.7 kHz e)
[ 35865.270] (II) R128(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[ 35865.270] (II) R128(0): Modeline "1600x1200"x0.0  175.50  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (81.2 kHz e)
[ 35865.270] (II) R128(0): Modeline "1792x1344"x0.0  204.75  1792 1920 2120 2448  1344 1345 1348 1394 -hsync +vsync (83.6 kHz e)
[ 35865.286] (II) R128(0): PLL parameters: rf=2700 rd=60 min=12500 max=40000; xclk=7150
[ 35865.286] (II) R128(0): Found CRT table, assuming VGA connector
[ 35865.286] (II) R128(0): Output VGA-0 has no monitor section
[ 35865.286] (II) R128(0): I2C bus "VGA-0" initialized.
[ 35865.286] (II) R128(0): I2C device "VGA-0:ddc2" registered at address 0xA0.
[ 35865.289] (II) UnloadModule: "r128"
[ 35865.289] (II) UnloadSubModule: "vbe"
[ 35865.289] (II) Unloading vbe
[ 35865.289] (II) UnloadSubModule: "int10"
[ 35865.289] (II) Unloading int10
[ 35865.289] (II) UnloadSubModule: "vgahw"
[ 35865.289] (II) Unloading vgahw
[ 35865.289] (EE) Screen(s) found, but none have a usable configuration.
[ 35865.290] (EE)
Fatal server error:
[ 35865.290] (EE) no screens found(EE)
[ 35865.291] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[ 35865.292] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 35865.292] (EE)
[ 35865.295] (EE) Server terminated with error (1). Closing log file.

This is much better, as it recognizes the video card and monitor, but it still asks for additional configuration. I never created such before and tried some variants, by reading man page for xorg.conf, but without success.
lspci -vv
Code:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Rage 128 PRO AGP 4x TMDS (prog-if 00 [VGA controller])
   Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Rage 128 Pro AIW AGP
   Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx-
   Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Latency: 32 (2000ns min), Cache Line Size: 32 bytes
   Interrupt: pin A routed to IRQ 11
   Region 0: Memory at d8000000 (32-bit, prefetchable) [size=64M]
   Region 1: I/O ports at a800 [size=256]
   Region 2: Memory at dfefc000 (32-bit, non-prefetchable) [size=16K]
   Expansion ROM at dfec0000 [disabled] [size=128K]
   Capabilities: [50] AGP version 2.0
      Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2,x4
      Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP- GART64- 64bit- FW- Rate=<none>
   Capabilities: [5c] Power Management version 2
      Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
      Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-

Any ideas?


Last edited by pdraganov on Fri Jan 22, 2016 7:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Sun Jan 17, 2016 6:03 am    Post subject: Reply with quote

The X11 config is not sufficient.
Back to top
View user's profile Send private message
pdraganov
n00b
n00b


Joined: 17 Oct 2014
Posts: 27

PostPosted: Sun Jan 17, 2016 6:38 am    Post subject: Reply with quote

What else can be configured?
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Sun Jan 17, 2016 8:06 am    Post subject: Reply with quote

Have a look at X11 doc here: http://www.x.org/wiki/UserDocumentation/
and
https://wiki.archlinux.org/index.php/xorg
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Sun Jan 17, 2016 9:30 am    Post subject: Reply with quote

pdraganov,

As you say, I would have expected the automatic set up to just work.
Code:
[ 35865.289] (EE) Screen(s) found, but none have a usable configuration.


Do you have a framebuffer driver configured in the kernel?
Some Xorg drivers don't like that.

Maybe automatic setup was never ported to the r128 driver but I didn't think it was driver dependent.
It was all looking good too.

At face value, you need a Screen section in xorg.conf
That sounds odd as automatic everything else seemed to work.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pdraganov
n00b
n00b


Joined: 17 Oct 2014
Posts: 27

PostPosted: Sun Jan 17, 2016 10:22 am    Post subject: Reply with quote

Keruskerfuerst, I read a lot of documentation, but most of it is for radeons and my video card is since a pre-radeon millenium :)

NeddySeagoon, I followed Gentoo how-tos and I have in the kernel:
Code:
<*> Support for frame buffer devices  --->
[*] Enable Video Mode Handling Helpers
[*] Enable Tile Blitting Support
...
< > ATI Radeon display support
< > ATI Rage128 display support
< > ATI Mach64 display support
and all other *** Frame buffer hardware drivers *** disabled


I have also:
Code:
Console display driver support  --->
    <*> Framebuffer Console support
    [ ]   Map the console to the primary display device
    [ ]   Framebuffer Console Rotation
<*> /dev/agpgart (AGP Support)  --->
    <*>   ATI chipset support
Direct Rendering Manager  --->
    <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->
        <*>   ATI Rage 128


I tried:
Code:
Section "Device"
        Identifier      "ATI_AIW"
        Driver          "r128"
        BusID           "PCI:1:0:0"
        Screen          0
        Option          "Monitor-VGA-0" "Samsung"
        Option          "Monitor-S-Video" "TV"
EndSection
Section "Monitor"
        Identifier      "Samsung"
EndSection
Section "Monitor"
        Identifier      "TV"
EndSection
Section "Screen"
        Identifier      "Screen0"
        Device          "ATI_AIW"
        Monitor         "Samsung"
        Monitor         "TV"
EndSection


without success:
Code:
[ 12951.720]
X.Org X Server 1.17.4
Release Date: 2015-10-28
[ 12951.720] X Protocol Version 11, Revision 0
[ 12951.720] Build Operating System: Linux 3.14.14-gentoo x86_64 Gentoo
[ 12951.721] Current Operating System: Linux AthlonXP 4.1.12-gentoo #1 Sun Jan 10 21:51:34 EET 2016 i686
[ 12951.721] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.1.12-gentoo root=/dev/sda1 ro net.ifnames=0
[ 12951.721] Build Date: 12 January 2016  07:03:01AM
[ 12951.721] 
[ 12951.722] Current version of pixman: 0.32.8
[ 12951.722]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[ 12951.722] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 12951.724] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 17 14:07:09 2016
[ 12951.724] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 12951.725] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 12951.725] (==) No Layout section.  Using the first Screen section.
[ 12951.725] (**) |-->Screen "Screen0" (0)
[ 12951.725] (**) |   |-->Monitor "TV"
[ 12951.725] (**) |   |-->Device "ATI_AIW"
[ 12951.725] (==) Automatically adding devices
[ 12951.725] (==) Automatically enabling devices
[ 12951.725] (==) Automatically adding GPU devices
[ 12951.725] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[ 12951.725]    Entry deleted from font path.
[ 12951.725] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 12951.726]    Entry deleted from font path.
[ 12951.726] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 12951.726]    Entry deleted from font path.
[ 12951.726] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 12951.726]    Entry deleted from font path.
[ 12951.726] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[ 12951.726]    Entry deleted from font path.
[ 12951.726] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[ 12951.726]    Entry deleted from font path.
[ 12951.726] (==) FontPath set to:
       
[ 12951.726] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 12951.726] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 12951.726] (II) Loader magic: 0x826b680
[ 12951.726] (II) Module ABI versions:
[ 12951.726]    X.Org ANSI C Emulation: 0.4
[ 12951.726]    X.Org Video Driver: 19.0
[ 12951.726]    X.Org XInput driver : 21.0
[ 12951.726]    X.Org Server Extension : 9.0
[ 12951.726] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 12951.728] (--) PCI:*(0:1:0:0) 1002:5046:1002:002a rev 0, Mem @ 0xd8000000/67108864, 0xdfefc000/16384, I/O @ 0x0000a800/256, BIOS @ 0x????????/131072
[ 12951.728] (II) LoadModule: "glx"
[ 12951.728] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 12951.731] (II) Module glx: vendor="X.Org Foundation"
[ 12951.731]    compiled for 1.17.4, module version = 1.0.0
[ 12951.731]    ABI class: X.Org Server Extension, version 9.0
[ 12951.731] (==) AIGLX enabled
[ 12951.731] (II) LoadModule: "r128"
[ 12951.731] (II) Loading /usr/lib/xorg/modules/drivers/r128_drv.so
[ 12951.731] (II) Module r128: vendor="X.Org Foundation"
[ 12951.731]    compiled for 1.17.4, module version = 6.10.0
[ 12951.731]    Module class: X.Org Video Driver
[ 12951.731]    ABI class: X.Org Video Driver, version 19.0
[ 12951.731] (II) R128: Driver for ATI Rage 128 chipsets:
        ATI Rage 128 Mobility M3 LE (PCI), ATI Rage 128 Mobility M3 LF (AGP),
        ATI Rage 128 Mobility M4 MF (AGP), ATI Rage 128 Mobility M4 ML (AGP),
        ATI Rage 128 Pro GL PA (PCI/AGP), ATI Rage 128 Pro GL PB (PCI/AGP),
        ATI Rage 128 Pro GL PC (PCI/AGP), ATI Rage 128 Pro GL PD (PCI),
        ATI Rage 128 Pro GL PE (PCI/AGP), ATI Rage 128 Pro GL PF (AGP),
        ATI Rage 128 Pro VR PG (PCI/AGP), ATI Rage 128 Pro VR PH (PCI/AGP),
        ATI Rage 128 Pro VR PI (PCI/AGP), ATI Rage 128 Pro VR PJ (PCI/AGP),
        ATI Rage 128 Pro VR PK (PCI/AGP), ATI Rage 128 Pro VR PL (PCI/AGP),
        ATI Rage 128 Pro VR PM (PCI/AGP), ATI Rage 128 Pro VR PN (PCI/AGP),
        ATI Rage 128 Pro VR PO (PCI/AGP), ATI Rage 128 Pro VR PP (PCI),
        ATI Rage 128 Pro VR PQ (PCI/AGP), ATI Rage 128 Pro VR PR (PCI),
        ATI Rage 128 Pro VR PS (PCI/AGP), ATI Rage 128 Pro VR PT (PCI/AGP),
        ATI Rage 128 Pro VR PU (PCI/AGP), ATI Rage 128 Pro VR PV (PCI/AGP),
        ATI Rage 128 Pro VR PW (PCI/AGP), ATI Rage 128 Pro VR PX (PCI/AGP),
        ATI Rage 128 GL RE (PCI), ATI Rage 128 GL RF (AGP),
        ATI Rage 128 RG (AGP), ATI Rage 128 VR RK (PCI),
        ATI Rage 128 VR RL (AGP), ATI Rage 128 4X SE (PCI/AGP),
        ATI Rage 128 4X SF (PCI/AGP), ATI Rage 128 4X SG (PCI/AGP),
        ATI Rage 128 4X SH (PCI/AGP), ATI Rage 128 4X SK (PCI/AGP),
        ATI Rage 128 4X SL (PCI/AGP), ATI Rage 128 4X SM (AGP),
        ATI Rage 128 4X SN (PCI/AGP), ATI Rage 128 Pro ULTRA TF (AGP),
        ATI Rage 128 Pro ULTRA TL (AGP), ATI Rage 128 Pro ULTRA TR (AGP),
        ATI Rage 128 Pro ULTRA TS (AGP?), ATI Rage 128 Pro ULTRA TT (AGP?),
        ATI Rage 128 Pro ULTRA TU (AGP?)
[ 12951.732] (--) using VT number 8

[ 12951.734] (II) R128(0): PCI bus 1 card 0 func 0
[ 12951.734] (II) R128(0): Creating default Display subsection in Screen section
        "Screen0" for depth/fbbpp 24/32
[ 12951.734] (==) R128(0): Depth 24, (--) framebuffer bpp 32
[ 12951.734] (II) R128(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[ 12951.734] (==) R128(0): Default visual is TrueColor
[ 12951.734] (II) Loading sub module "vgahw"
[ 12951.734] (II) LoadModule: "vgahw"
[ 12951.734] (II) Loading /usr/lib/xorg/modules/libvgahw.so
[ 12951.734] (II) Module vgahw: vendor="X.Org Foundation"
[ 12951.734]    compiled for 1.17.4, module version = 0.1.0
[ 12951.734]    ABI class: X.Org Video Driver, version 19.0
[ 12951.734] (II) R128(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0
[ 12951.734] (==) R128(0): RGB weight 888
[ 12951.734] (II) R128(0): Using 8 bits per RGB (8 bit DAC)
[ 12951.735] (II) Loading sub module "int10"
[ 12951.735] (II) LoadModule: "int10"
[ 12951.735] (II) Loading /usr/lib/xorg/modules/libint10.so
[ 12951.735] (II) Module int10: vendor="X.Org Foundation"
[ 12951.735]    compiled for 1.17.4, module version = 1.0.0
[ 12951.735]    ABI class: X.Org Video Driver, version 19.0
[ 12951.735] (II) R128(0): initializing int10
[ 12951.737] (II) R128(0): Primary V_BIOS segment is: 0xc000
[ 12951.738] (--) R128(0): Chipset: "ATI Rage 128 Pro GL PF (AGP)" (ChipID = 0x5046)
[ 12951.738] (--) R128(0): Linear framebuffer at 0xd8000000
[ 12951.738] (--) R128(0): MMIO registers at 0xdfefc000
[ 12951.738] (--) R128(0): VideoRAM: 16384 kByte (64-bit SDR SGRAM 2:1)
[ 12951.738] (II) Loading sub module "ddc"
[ 12951.738] (II) LoadModule: "ddc"
[ 12951.738] (II) Module "ddc" already built-in
[ 12951.738] (II) Loading sub module "i2c"
[ 12951.738] (II) LoadModule: "i2c"
[ 12951.738] (II) Module "i2c" already built-in
[ 12951.738] (II) Loading sub module "vbe"
[ 12951.738] (II) LoadModule: "vbe"
[ 12951.738] (II) Loading /usr/lib/xorg/modules/libvbe.so
[ 12951.738] (II) Module vbe: vendor="X.Org Foundation"
[ 12951.738]    compiled for 1.17.4, module version = 1.1.0
[ 12951.738]    ABI class: X.Org Video Driver, version 19.0
[ 12951.738] (II) R128(0): VESA BIOS detected
[ 12951.738] (II) R128(0): VESA VBE Version 2.0
[ 12951.738] (II) R128(0): VESA VBE Total Mem: 16384 kB
[ 12951.738] (II) R128(0): VESA VBE OEM: ATI RAGE128
[ 12951.739] (II) R128(0): VESA VBE OEM Software Rev: 1.0
[ 12951.739] (II) R128(0): VESA VBE OEM Vendor: ATI Technologies Inc.
[ 12951.739] (II) R128(0): VESA VBE OEM Product: R128
[ 12951.739] (II) R128(0): VESA VBE OEM Product Rev: 01.00
[ 12951.887] (II) R128(0): VESA VBE DDC supported
[ 12951.887] (II) R128(0): VESA VBE DDC Level 2
[ 12951.887] (II) R128(0): VESA VBE DDC transfer in appr. 2 sec.
[ 12952.303] (II) R128(0): VESA VBE DDC read successfully
[ 12952.303] (II) R128(0): Manufacturer: SAM  Model: 1156  Serial#: 1095643447
[ 12952.303] (II) R128(0): Year: 2004  Week: 11
[ 12952.303] (II) R128(0): EDID Version: 1.3
[ 12952.303] (II) R128(0): Analog Display Input,  Input Voltage Level: 0.700/0.700 V
[ 12952.303] (II) R128(0): Sync:  Separate
[ 12952.303] (II) R128(0): Max Image Size [cm]: horiz.: 32  vert.: 24
[ 12952.303] (II) R128(0): Gamma: 2.08
[ 12952.303] (II) R128(0): DPMS capabilities: Off; RGB/Color Display
[ 12952.303] (II) R128(0): First detailed timing is preferred mode
[ 12952.303] (II) R128(0): redX: 0.639 redY: 0.323   greenX: 0.275 greenY: 0.597
[ 12952.303] (II) R128(0): blueX: 0.143 blueY: 0.062   whiteX: 0.283 whiteY: 0.298
[ 12952.303] (II) R128(0): Supported established timings:
[ 12952.303] (II) R128(0): 720x400@70Hz
[ 12952.303] (II) R128(0): 720x400@88Hz
[ 12952.303] (II) R128(0): 640x480@60Hz
[ 12952.303] (II) R128(0): 640x480@67Hz
[ 12952.303] (II) R128(0): 640x480@72Hz
[ 12952.303] (II) R128(0): 640x480@75Hz
[ 12952.303] (II) R128(0): 800x600@56Hz
[ 12952.303] (II) R128(0): 800x600@60Hz
[ 12952.303] (II) R128(0): 800x600@72Hz
[ 12952.303] (II) R128(0): 800x600@75Hz
[ 12952.303] (II) R128(0): 832x624@75Hz
[ 12952.303] (II) R128(0): 1024x768@87Hz (interlaced)
[ 12952.303] (II) R128(0): 1024x768@60Hz
[ 12952.303] (II) R128(0): 1024x768@70Hz
[ 12952.303] (II) R128(0): 1024x768@75Hz
[ 12952.303] (II) R128(0): 1280x1024@75Hz
[ 12952.303] (II) R128(0): 1152x864@75Hz
[ 12952.303] (II) R128(0): Manufacturer's mask: 0
[ 12952.303] (II) R128(0): Supported standard timings:
[ 12952.303] (II) R128(0): #0: hsize: 640  vsize 480  refresh: 60  vid: 16433
[ 12952.303] (II) R128(0): #1: hsize: 640  vsize 480  refresh: 85  vid: 22833
[ 12952.303] (II) R128(0): #2: hsize: 800  vsize 600  refresh: 85  vid: 22853
[ 12952.303] (II) R128(0): #3: hsize: 1024  vsize 768  refresh: 85  vid: 22881
[ 12952.303] (II) R128(0): #4: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[ 12952.303] (II) R128(0): #5: hsize: 1600  vsize 1200  refresh: 65  vid: 17833
[ 12952.303] (II) R128(0): #6: hsize: 1792  vsize 1344  refresh: 60  vid: 16577
[ 12952.303] (II) R128(0): Supported detailed timing:
[ 12952.303] (II) R128(0): clock: 94.5 MHz   Image Size:  312 x 234 mm
[ 12952.304] (II) R128(0): h_active: 1024  h_sync: 1072  h_sync_end 1168 h_blank_end 1376 h_border: 0
[ 12952.304] (II) R128(0): v_active: 768  v_sync: 769  v_sync_end 772 v_blanking: 808 v_border: 0
[ 12952.304] (II) R128(0): Ranges: V min: 50 V max: 160 Hz, H min: 30 H max: 85 kHz, PixClock max 205 MHz
[ 12952.304] (II) R128(0): Monitor name: SyncMaster
[ 12952.304] (II) R128(0): Serial No: HSAX310588
[ 12952.304] (II) R128(0): EDID (in hex):
[ 12952.304] (II) R128(0):      00ffffffffffff004c2d561137314e41
[ 12952.304] (II) R128(0):      0b0e01036820186c2abbb9a352469824
[ 12952.304] (II) R128(0):      0f484cffff8031403159455961598180
[ 12952.304] (II) R128(0):      a945c1400101ea240060410028303060
[ 12952.304] (II) R128(0):      130038ea1000001e000000fd0032a01e
[ 12952.304] (II) R128(0):      5514000a202020202020000000fc0053
[ 12952.304] (II) R128(0):      796e634d61737465720a2020000000ff
[ 12952.304] (II) R128(0):      00485341583331303538380a202000ec
[ 12952.304] (II) R128(0): EDID vendor "SAM", prod id 4438
[ 12952.304] (II) R128(0): Using EDID range info for horizontal sync
[ 12952.304] (II) R128(0): Using EDID range info for vertical refresh
[ 12952.304] (II) R128(0): Printing DDC gathered Modelines:
[ 12952.304] (II) R128(0): Modeline "1024x768"x0.0   94.50  1024 1072 1168 1376  768 769 772 808 +hsync +vsync (68.7 kHz eP)
[ 12952.304] (II) R128(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[ 12952.304] (II) R128(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[ 12952.304] (II) R128(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[ 12952.304] (II) R128(0): Modeline "640x480"x0.0   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)
[ 12952.304] (II) R128(0): Modeline "640x480"x0.0   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[ 12952.304] (II) R128(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[ 12952.304] (II) R128(0): Modeline "720x400"x0.0   35.50  720 738 846 900  400 421 423 449 -hsync -vsync (39.4 kHz e)
[ 12952.304] (II) R128(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[ 12952.304] (II) R128(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[ 12952.304] (II) R128(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[ 12952.304] (II) R128(0): Modeline "1024x768"x0.0   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[ 12952.304] (II) R128(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[ 12952.304] (II) R128(0): Modeline "1024x768i"x0.0   44.90  1024 1032 1208 1264  768 768 772 817 interlace +hsync +vsync (35.5 kHz e)
[ 12952.304] (II) R128(0): Modeline "832x624"x0.0   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
[ 12952.304] (II) R128(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[ 12952.304] (II) R128(0): Modeline "800x600"x0.0   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
[ 12952.304] (II) R128(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[ 12952.304] (II) R128(0): Modeline "640x480"x0.0   36.00  640 696 752 832  480 481 484 509 -hsync -vsync (43.3 kHz e)
[ 12952.304] (II) R128(0): Modeline "800x600"x0.0   56.25  800 832 896 1048  600 601 604 631 +hsync +vsync (53.7 kHz e)
[ 12952.304] (II) R128(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[ 12952.304] (II) R128(0): Modeline "1600x1200"x0.0  175.50  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (81.2 kHz e)
[ 12952.304] (II) R128(0): Modeline "1792x1344"x0.0  204.75  1792 1920 2120 2448  1344 1345 1348 1394 -hsync +vsync (83.6 kHz e)
[ 12952.321] (II) R128(0): PLL parameters: rf=2700 rd=60 min=12500 max=40000; xclk=7150
[ 12952.321] (II) R128(0): Found CRT table, assuming VGA connector
[ 12952.321] (II) R128(0): Output VGA-0 using monitor section Samsung
[ 12952.321] (II) R128(0): I2C bus "VGA-0" initialized.
[ 12952.321] (II) R128(0): I2C device "VGA-0:ddc2" registered at address 0xA0.
[ 12952.324] (II) UnloadModule: "r128"
[ 12952.324] (II) UnloadSubModule: "vbe"
[ 12952.324] (II) Unloading vbe
[ 12952.324] (II) UnloadSubModule: "int10"
[ 12952.324] (II) Unloading int10
[ 12952.324] (II) UnloadSubModule: "vgahw"
[ 12952.324] (II) Unloading vgahw
[ 12952.324] (EE) Screen(s) found, but none have a usable configuration.
[ 12952.324] (EE)
Fatal server error:
[ 12952.325] (EE) no screens found(EE)
[ 12952.325] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[ 12952.326] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 12952.327] (EE)
[ 12952.329] (EE) Server terminated with error (1). Closing log file.

When I started "make menuconfig" to check kernel config, I noticed following warning:

warning: (DRM_PS8622 && DRM_RADEON && DRM_NOUVEAU && DRM_I915 && DRM_GMA500 && DRM_SHMOBILE && DRM_TILCDC && FB_BACKLIGHT && FB_MX3 && USB_APPLEDISPLAY && FB_OLPC_DCON && ASUS_LAPTOP && SONY_LAPTOP && THINKPAD_ACPI && EEEPC_LAPTOP && ACPI_CMPC && SAMSUNG_Q10) selects BACKLIGHT_CLASS_DEVICE which has unmet direct dependencies (HAS_IOMEM && BACKLIGHT_LCD_SUPPORT)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Sun Jan 17, 2016 1:10 pm    Post subject: Reply with quote

pdraganov,

A few things.

Lets see if it will work with the vesa driver. This is just a test.
Rename your xorg.conf so Xorg can't find it.
Code:
emerge -1 xf86-video-vesa

Now try startx

Next, use wgetpaste to put your kernel .config file onto a pastebin.

That error message suggets that you may have used $EDITOR on the .config file.
That's a very bad thing. The recovery is to throw it away and start again.
The .config file that is.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pdraganov
n00b
n00b


Joined: 17 Oct 2014
Posts: 27

PostPosted: Sun Jan 17, 2016 5:13 pm    Post subject: Reply with quote

It works with vesa driver, but after few minutes (probably when video goes to stand-by) it freezes with blinking caps lock and scroll lock. It happened twice.
.config file is in https://bpaste.net/show/a1719933629e
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Sun Jan 17, 2016 5:30 pm    Post subject: Reply with quote

pdraganov,

The kernel .config looks OK.

The flashing caps lock and scroll lock indicate a kernel panic.
Something happened that the kernel could not recover from.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pdraganov
n00b
n00b


Joined: 17 Oct 2014
Posts: 27

PostPosted: Sun Jan 17, 2016 8:35 pm    Post subject: Reply with quote

OK, so how can I use r128 driver instead of vesa?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Sun Jan 17, 2016 8:52 pm    Post subject: Reply with quote

pdraganov,

Post your /var/log/Xorg.0.log first please.
Xorg should have tried r128 first. Lets see what the log says.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pdraganov
n00b
n00b


Joined: 17 Oct 2014
Posts: 27

PostPosted: Mon Jan 18, 2016 4:34 am    Post subject: Reply with quote

It still tries to load ati instead of r128: https://bpaste.net/show/3b1ea61b9c64
I cannot understand how Xorg matches autoconfigured drivers and how to change this.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Mon Jan 18, 2016 7:25 pm    Post subject: Reply with quote

pdraganov,

Some time ago, there was only the xf86-video-ati driver for all ATI cards. Recently, the r128 and mach64 drivers were split out.
Neither are well maintained.

Your VIDEO_CARDS= needs to list vesa and r128 but not ati.
vesa is a get-you-going.

If the automatics persist in the list in the log
Code:
[    16.682] (==) Matched ati as autoconfigured driver 0
[    16.682] (==) Matched ati as autoconfigured driver 1
[    16.682] (==) Matched modesetting as autoconfigured driver 2
[    16.682] (==) Matched fbdev as autoconfigured driver 3
[    16.682] (==) Matched vesa as autoconfigured driver 4
there is a bug.

The workaround is to have a xorg.conf just with a device section.
Code:
Section "Device"
    Identifier  "ATI Rage"
    Driver     "r128"
EndSection
That will force the use of the r128 driver.

This driver depends on CONFIG_DRM_R128 in the kernel. If the r128 driver fails, post the Xorg.0.log.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pdraganov
n00b
n00b


Joined: 17 Oct 2014
Posts: 27

PostPosted: Mon Jan 18, 2016 8:43 pm    Post subject: Reply with quote

My VIDEO_CARDS="r128" only. Should I add "vesa" and recompile whole X, or emerging xf86-video-vesa installed what was needed? Anyway, vesa makes kernel panic.
I included Xorg.0.log in my initial post, but I tried it again with the same result: https://bpaste.net/show/35ba33772fc3
I think that r128 driver is not matched with /dev/dri/card0 video card and that is why X unloads r128 module.
I tried with:
Code:
Section "OutputClass"
        Identifier      "r128"
        Driver          "r128"
EndSection
Section "Device"
        Identifier      "ATI_AIW"
        Driver          "r128"
        BusID           "PCI:1:0:0"
        Screen          0
        Option          "Monitor-VGA-0" "Samsung"
#       Option          "Monitor-S-Video" "TV"
EndSection
Section "Monitor"
        Identifier      "Samsung"
EndSection
#Section "Monitor"
#        Identifier      "TV"
#EndSection
Section "Screen"
        Identifier      "Screen0"
        Device          "ATI_AIW"
        Monitor         "Samsung"
#       Monitor         "TV"
        SubSection      "Display"
                Depth   24
        EndSubSection
EndSection
Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Screen0"
EndSection

without success too: https://bpaste.net/show/449dacfde882
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Mon Jan 18, 2016 9:26 pm    Post subject: Reply with quote

pdraganov,

Your log says
Code:
[   245.279] (==) Automatically adding devices
[   245.279] (==) Automatically enabling devices
[   245.279] (==) Automatically adding GPU devices
so it should work with no xorg.conf.
As it keeps loading the ati driver, the xorg.conf - just the one Section "Device" I posted above, should fix that.
Please test.

If it still fails, pastebin the Xorg.0.log and your kernel .config file.

The log says
Code:
[   245.878] (EE) Screen(s) found, but none have a usable configuration.
but I don't see anything wrong with your Section "Screen"

That the vesa driver causes a kernel panic makes me think of a hardware issue, as its OK for a few minutes.
That driver works on any video card made since about 1998. Its old and slow and reliable.

The
Code:
emerge xf86-video-vesa
was all that's needed to install the vesa driver. To keep it installed, it needs to be added to VIDEO_CARDS.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Mon Jan 18, 2016 9:51 pm    Post subject: Reply with quote

R128 is a pre-KMS driver, so you may have to do this the old-fashioned way: by manually defining 「SubSection "Display"」 entries inside the 「Section "Screen"」 one. If you run `X -configure` it should generate a default config file with those in it, which you can copy and paste from.

Keep in mind the card only has 16MB of VRAM, so it might get unhappy with 24bpp @ maximum res; you may need to settle for 「Depth 16」.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Mon Jan 18, 2016 10:00 pm    Post subject: Reply with quote

Ant P.

It was trying to run at 1024x768 in 24 bit colour. At 4 bytes per pixel, that's less that 4MB per pixel buffer, so it fits into 16MB with double buffering.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pdraganov
n00b
n00b


Joined: 17 Oct 2014
Posts: 27

PostPosted: Tue Jan 19, 2016 5:24 am    Post subject: Reply with quote

NeddySeagoon, as I wrote, I tested with just one Section "Device" and Xorg.0.log is in https://bpaste.net/show/35ba33772fc3. I didn't change the kernel, so its .config is at https://bpaste.net/show/a1719933629e. The PC worked OK with ubuntu before I decided to reinstall it with the latest Gentoo, so most probably there is no hardware problem with it.
Ant P., I generated a config file with X -configure and tried it with X -config /root/xorg.conf.new without success - the generated config and log are in https://bpaste.net/show/529b6502a68d
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Tue Jan 19, 2016 6:59 pm    Post subject: Reply with quote

pdraganov,

In this section of the kernel, you need support for your motherboard chipset. It does not relate to your Graphics card.
You discover your motherboard chipset from
Code:
lspci


Code:
# Graphics support
#
CONFIG_AGP=y
# CONFIG_AGP_ALI is not set
CONFIG_AGP_ATI=y
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
CONFIG_AGP_INTEL=y
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
CONFIG_AGP_VIA=y
# CONFIG_AGP_EFFICEON is not set
CONFIG_INTEL_GTT=y
CONFIG_VGA_ARB=y
CONFIG_VGA_ARB_MAX_GPUS=16
CONFIG_VGA_SWITCHEROO=y


Here, you choose support for your graphics card

Code:
#
# Direct Rendering Manager
#
CONFIG_DRM=y
# CONFIG_DRM_TDFX is not set
CONFIG_DRM_R128=y
That is correct.

What motherboard chipset do you have?
If you need to rebuild your kernel, be sure to make changes with
Code:
make menuconfig
and not a text editor.

Your xorg.conf from X -configure looks good too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Tue Jan 19, 2016 7:37 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Ant P.

It was trying to run at 1024x768 in 24 bit colour. At 4 bytes per pixel, that's less that 4MB per pixel buffer, so it fits into 16MB with double buffering.

Ahh okay, I only mentioned it because I had a few cards from the early 00s that were a bit iffy with memory management. May have been Matrox ones though...
Back to top
View user's profile Send private message
pdraganov
n00b
n00b


Joined: 17 Oct 2014
Posts: 27

PostPosted: Wed Jan 20, 2016 5:27 am    Post subject: Reply with quote

Motherboard is Gigabyte GA-7VRX with VIA KT333 chipset
Code:
00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP]
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8100/8101L/8139 PCI Fast Ethernet Adapter (rev 10)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8233A ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.2 USB controller: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller (rev 23)
00:11.3 USB controller: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller (rev 23)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 40)
00:14.0 USB controller: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller (rev 50)
00:14.1 USB controller: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller (rev 50)
00:14.2 USB controller: VIA Technologies, Inc. USB 2.0 (rev 51)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Rage 128 PRO AGP 4x TMDS

Should I disable "ATI chipset support" and "Intel 440LX/BX/GX, I8xx and E7x05 chipset support" (and probably "Laptop Hybrid Graphics - GPU switching support")?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Wed Jan 20, 2016 5:20 pm    Post subject: Reply with quote

pdraganov,

The kernel options you don't need are just bloat. You can disable them if you wish.

What does uname -v show?
When did you last build your kernel?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pdraganov
n00b
n00b


Joined: 17 Oct 2014
Posts: 27

PostPosted: Wed Jan 20, 2016 7:59 pm    Post subject: Reply with quote

I downloaded latest Gentoo after Christmas and I made clean install.
uname -v
#1 Sun Jan 10 21:51:34 EET 2016
uname -a
Linux AthlonXP 4.1.12-gentoo #1 Sun Jan 10 21:51:34 EET 2016 i686 AMD Athlon(tm) XP 2000+ AuthenticAMD GNU/Linux
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Wed Jan 20, 2016 8:07 pm    Post subject: Reply with quote

pdraganov,

Code:
#1 Sun Jan 10 21:51:34 EET 2016
is the date and time your running kernel was compiled.
If you have made a new kernel since that date/time, you are not running it.

I am trying to check that the kernel .config file you have posted actually belongs to the running kernel.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pdraganov
n00b
n00b


Joined: 17 Oct 2014
Posts: 27

PostPosted: Wed Jan 20, 2016 8:21 pm    Post subject: Reply with quote

My .config file is modified on 10th of January 21:35, just before I compiled the kernel. I didn't make any changes to it since I first asked my question.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum