WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: fglrx driver for ATI radeon 5450 card problem  (Read 16934 times)

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: driver for HDMI monitor
« Reply #15 on: November 27, 2013, 02:53:18 AM »
Code: [Select]
[code$lsmod
]Module                  Size  Used by    Tainted: P 
powernow_k8            16384  1
mperf                  12288  1 powernow_k8
cpufreq_userspace      12288  0
cpufreq_powersave      12288  0
cpufreq_stats          12288  0
cpufreq_conservative    12288  0
oss_usb                90112  0
oss_hdaudio           143360  0
osscore               503808  2 oss_usb,oss_hdaudio
squashfs               24576 42
scsi_wait_scan         12288  0
zcache                 12288  0
zram                   12288  1
loop                   16384 84
ppdev                  12288  0
parport_pc             24576  0
pcspkr                 12288  0
parport                24576  2 ppdev,parport_pc
atl1c                  28672  0
wmi                    12288  0

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: driver for HDMI monitor
« Reply #16 on: November 27, 2013, 04:46:34 AM »
The agpgart module is not loaded, so you would need to load that before attempting to load fglrx

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: driver for HDMI monitor
« Reply #17 on: November 27, 2013, 11:01:43 PM »
how to do that ? any tcz  i have to install ?

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: driver for HDMI monitor
« Reply #18 on: November 27, 2013, 11:45:58 PM »
See Xorg server .info.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: driver for HDMI monitor
« Reply #19 on: November 28, 2013, 04:54:13 AM »
Code: [Select]
$ tce-load -i graphics-KERNEL
$ sudo modprobe agpgart
$ sudo modprobe fglrx

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: driver for HDMI monitor
« Reply #20 on: November 28, 2013, 11:40:58 PM »
after installing graphics-3.0.21-tinycore.tcz , the HDMI & CRT monitor (both attached to graphic card) turned off .
AFter killing xserver (ctrl+alt+backspace) & restarting (startx) . I installed driver successfully (see fglrx-install.log).
Code: [Select]
Supported adapter detected.
Check if system has the tools required for installation.
Uninstalling any previously installed drivers.
Unloading radeon module...
rmmod: can't unload 'radeon': Resource temporarily unavailable
Unloading drm module...
rmmod: can't unload 'drm': Resource temporarily unavailable
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make -C /lib/modules/3.0.21-tinycore/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/local/src/linux-headers-3.0.21-tinycore'
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_debug.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_io.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_pci.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_str.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_iommu.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_wait.o
  LD [M]  /lib/modules/fglrx/build_mod/2.6.x/fglrx.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
  LD [M]  /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/local/src/linux-headers-3.0.21-tinycore'
build succeeded with return value 0
duplicating results into driver repository...
done.
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
- recreating module dependency list
- trying a sample load of the kernel modules
done.
Following appears as /etc/X11/xorg.conf
Code: [Select]
Section "ServerLayout"
Identifier     "aticonfig Layout"
Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
Identifier   "aticonfig-Monitor[0]-0"
Option     "VendorName" "ATI Proprietary Driver"
Option     "ModelName" "Generic Autodetecting Monitor"
Option     "DPMS" "true"
EndSection

Section "Device"
Identifier  "aticonfig-Device[0]-0"
Driver      "fglrx"
BusID       "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device     "aticonfig-Device[0]-0"
Monitor    "aticonfig-Monitor[0]-0"
DefaultDepth     24
SubSection "Display"
Viewport   0 0
Depth     24
EndSubSection
EndSection
Now
Quote
$sudo modprobe fglrx
$ lsmod

Module                  Size  Used by    Tainted: P 
fglrx                4337664  0
radeon                516096  1
drm_kms_helper         20480  1 radeon
ttm                    36864  1 radeon
drm                   106496  3 radeon,drm_kms_helper,ttm
agpgart                24576  3 fglrx,ttm,drm
backlight              12288  1 radeon
i2c_algo_bit           12288  1 radeon
i2c_piix4              12288  0
powernow_k8            16384  1
cpufreq_stats          12288  0
mperf                  12288  1 powernow_k8
cpufreq_userspace      12288  0
cpufreq_powersave      12288  0
cpufreq_conservative    12288  0
oss_usb                90112  0
oss_hdaudio           143360  0
osscore               503808  2 oss_usb,oss_hdaudio
squashfs               24576 44
scsi_wait_scan         12288  0
zcache                 12288  0
zram                   12288  1
loop                   16384 88
ppdev                  12288  0
parport_pc             24576  0
atl1c                  28672  0
parport                24576  2 ppdev,parport_pc
pcspkr                 12288  0
wmi                    12288  0
i thought of restarting X server but killing ' /usr/local/bin/Xorg -nolisten tcp' leaves me with a black screen & cursor blinking at top right , hard reboot seems to only work.
« Last Edit: November 28, 2013, 11:44:31 PM by manit123 »

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: driver for HDMI monitor
« Reply #21 on: November 29, 2013, 02:31:39 AM »
i thought of restarting X server but killing ' /usr/local/bin/Xorg -nolisten tcp' leaves me with a black screen & cursor blinking at top right , hard reboot seems to only work.
You can try if SysRq still works.

What about blacklisting the radeon driver and see what happens then.

Also, please consider changing the topic, as this is specific to the flgrx proprietary driver, but not at all to HDMI.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: driver for HDMI monitor
« Reply #22 on: December 02, 2013, 01:07:53 AM »
'failed in wait for x' after fglrx , agpgart module has been loaded

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: fglrx driver for ATI radeon 5450 card problem
« Reply #23 on: December 02, 2013, 01:24:16 AM »
Try "Xorg -nolisten tcp" instead of "startx" to troubleshoot

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: fglrx driver for ATI radeon 5450 card problem
« Reply #24 on: December 02, 2013, 11:52:18 PM »
Quote
$lsmod
Module                  Size  Used by    Tainted: P 
fglrx                4337664  0
powernow_k8            16384  1
mperf                  12288  1 powernow_k8
cpufreq_userspace      12288  0
cpufreq_stats          12288  0
cpufreq_conservative    12288  0
cpufreq_powersave      12288  0
oss_usb                90112  0
oss_hdaudio           143360  0
osscore               503808  2 oss_usb,oss_hdaudio
radeon                516096  1
drm_kms_helper         20480  1 radeon
ttm                    36864  1 radeon
drm                   106496  3 radeon,drm_kms_helper,ttm
agpgart                24576  3 fglrx,ttm,drm
backlight              12288  1 radeon
i2c_algo_bit           12288  1 radeon
i2c_piix4              12288  0
squashfs               24576  0
scsi_wait_scan         12288  0
zcache                 12288  0
zram                   12288  1
loop                   16384  0
$Xorg -nolisten tcp
X.Org X Server 1.11.0
Release Date: 2011-08-26
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.0.3-tinycore i686
Current Operating System: Linux box 3.0.21-tinycore #3021 SMP Sat Feb 18 11:54:11 EET 2012 i686
Kernel command line: waitusb=10 loop.max_loop=256 lst=gdg.lst mydata=gdg
Build Date: 23 September 2011  05:05:20PM
 
Current version of pixman: 0.30.0
   Before reporting problems, check www.tinycorelinux.com
   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 Dec  2 22:00:58 2013
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
(EE) Failed to load module "fglrx" (module does not exist, 0)
(EE) No drivers available.

Fatal server error:
no screens found

Please consult the TinyCore Linux support
    at www.tinycorelinux.com
 for help
xorg.0.log
Code: [Select]
[   218.594]
X.Org X Server 1.11.0
Release Date: 2011-08-26
[   218.594] X Protocol Version 11, Revision 0
[   218.594] Build Operating System: Linux 3.0.3-tinycore i686
[   218.594] Current Operating System: Linux box 3.0.21-tinycore #3021 SMP Sat Feb 18 11:54:11 EET 2012 i686
[   218.594] Kernel command line: waitusb=10 loop.max_loop=256 lst=gdg.lst mydata=gdg
[   218.594] Build Date: 23 September 2011  05:05:20PM
[   218.594] 
[   218.594] Current version of pixman: 0.30.0
[   218.594] Before reporting problems, check www.tinycorelinux.com
to make sure that you have the latest version.
[   218.594] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   218.595] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Dec  2 22:00:58 2013
[   218.595] (==) Using config file: "/etc/X11/xorg.conf"
[   218.595] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[   218.595] (==) ServerLayout "aticonfig Layout"
[   218.595] (**) |-->Screen "aticonfig-Screen[0]-0" (0)
[   218.595] (**) |   |-->Monitor "aticonfig-Monitor[0]-0"
[   218.596] (**) |   |-->Device "aticonfig-Device[0]-0"
[   218.596] (==) Not automatically adding devices
[   218.596] (==) Not automatically enabling devices
[   218.596] (WW) The directory "/usr/lib/X11/fonts/TTF/" does not exist.
[   218.596] Entry deleted from font path.
[   218.596] (WW) The directory "/usr/lib/X11/fonts/OTF/" does not exist.
[   218.596] Entry deleted from font path.
[   218.596] (WW) The directory "/usr/lib/X11/fonts/Type1/" does not exist.
[   218.596] Entry deleted from font path.
[   218.596] (WW) The directory "/usr/lib/X11/fonts/100dpi/" does not exist.
[   218.596] Entry deleted from font path.
[   218.596] (==) FontPath set to:
/usr/lib/X11/fonts/misc/,
/usr/lib/X11/fonts/75dpi/
[   218.596] (==) ModulePath set to "/usr/local/lib/X11/modules"
[   218.596] (==) |-->Input Device "<default pointer>"
[   218.596] (==) |-->Input Device "<default keyboard>"
[   218.596] (==) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
[   218.596] (==) The core keyboard device wasn't specified explicitly in the layout.
Using the default keyboard configuration.
[   218.596] (II) Loader magic: 0x818a5d0
[   218.596] (II) Module ABI versions:
[   218.596] X.Org ANSI C Emulation: 0.4
[   218.596] X.Org Video Driver: 11.0
[   218.596] X.Org XInput driver : 13.0
[   218.596] X.Org Server Extension : 5.0
[   218.597] (--) PCI:*(0:1:0:0) 1002:68f9:1682:303a rev 0, Mem @ 0xd0000000/268435456, 0xfeae0000/131072, I/O @ 0x0000d000/256, BIOS @ 0x????????/131072
[   218.597] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   218.597] (II) "extmod" will be loaded by default.
[   218.597] (II) "dbe" will be loaded by default.
[   218.597] (II) "glx" will be loaded by default.
[   218.597] (II) "record" will be loaded by default.
[   218.597] (II) "dri" will be loaded by default.
[   218.597] (II) "dri2" will be loaded by default.
[   218.597] (II) LoadModule: "extmod"
[   218.597] (II) Loading /usr/local/lib/X11/modules/extensions/libextmod.so
[   218.597] (II) Module extmod: vendor="X.Org Foundation"
[   218.597] compiled for 1.11.0, module version = 1.0.0
[   218.597] Module class: X.Org Server Extension
[   218.597] ABI class: X.Org Server Extension, version 5.0
[   218.597] (II) Loading extension MIT-SCREEN-SAVER
[   218.597] (II) Loading extension XFree86-VidModeExtension
[   218.597] (II) Loading extension XFree86-DGA
[   218.597] (II) Loading extension DPMS
[   218.597] (II) Loading extension XVideo
[   218.597] (II) Loading extension XVideo-MotionCompensation
[   218.597] (II) Loading extension X-Resource
[   218.597] (II) LoadModule: "dbe"
[   218.597] (II) Loading /usr/local/lib/X11/modules/extensions/libdbe.so
[   218.598] (II) Module dbe: vendor="X.Org Foundation"
[   218.598] compiled for 1.11.0, module version = 1.0.0
[   218.598] Module class: X.Org Server Extension
[   218.598] ABI class: X.Org Server Extension, version 5.0
[   218.598] (II) Loading extension DOUBLE-BUFFER
[   218.598] (II) LoadModule: "glx"
[   218.598] (II) Loading /usr/local/lib/X11/modules/extensions/libglx.so
[   218.598] (II) Module glx: vendor="X.Org Foundation"
[   218.598] compiled for 1.11.0, module version = 1.0.0
[   218.598] ABI class: X.Org Server Extension, version 5.0
[   218.598] (==) AIGLX enabled
[   218.598] (II) Loading extension GLX
[   218.598] (II) LoadModule: "record"
[   218.598] (II) Loading /usr/local/lib/X11/modules/extensions/librecord.so
[   218.598] (II) Module record: vendor="X.Org Foundation"
[   218.598] compiled for 1.11.0, module version = 1.13.0
[   218.598] Module class: X.Org Server Extension
[   218.598] ABI class: X.Org Server Extension, version 5.0
[   218.598] (II) Loading extension RECORD
[   218.598] (II) LoadModule: "dri"
[   218.598] (II) Loading /usr/local/lib/X11/modules/extensions/libdri.so
[   218.598] (II) Module dri: vendor="X.Org Foundation"
[   218.598] compiled for 1.11.0, module version = 1.0.0
[   218.598] ABI class: X.Org Server Extension, version 5.0
[   218.598] (II) Loading extension XFree86-DRI
[   218.598] (II) LoadModule: "dri2"
[   218.598] (II) Loading /usr/local/lib/X11/modules/extensions/libdri2.so
[   218.598] (II) Module dri2: vendor="X.Org Foundation"
[   218.598] compiled for 1.11.0, module version = 1.2.0
[   218.598] ABI class: X.Org Server Extension, version 5.0
[   218.598] (II) Loading extension DRI2
[   218.598] (II) LoadModule: "fglrx"
[   218.599] (WW) Warning, couldn't open module fglrx
[   218.599] (II) UnloadModule: "fglrx"
[   218.599] (II) Unloading fglrx
[   218.599] (EE) Failed to load module "fglrx" (module does not exist, 0)
[   218.599] (II) LoadModule: "mouse"
[   218.599] (II) Loading /usr/local/lib/X11/modules/input/mouse_drv.so
[   218.599] (II) Module mouse: vendor="X.Org Foundation"
[   218.599] compiled for 1.11.0, module version = 1.7.1
[   218.599] Module class: X.Org XInput Driver
[   218.599] ABI class: X.Org XInput driver, version 13.0
[   218.599] (II) LoadModule: "kbd"
[   218.599] (II) Loading /usr/local/lib/X11/modules/input/kbd_drv.so
[   218.599] (II) Module kbd: vendor="X.Org Foundation"
[   218.599] compiled for 1.11.0, module version = 1.6.0
[   218.599] Module class: X.Org XInput Driver
[   218.599] ABI class: X.Org XInput driver, version 13.0
[   218.599] (EE) No drivers available.
[   218.599]
Fatal server error:
[   218.599] no screens found
[   218.599]
Please consult the TinyCore Linux support
at www.tinycorelinux.com
 for help.
[   218.599] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   218.599]

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: fglrx driver for ATI radeon 5450 card problem
« Reply #25 on: December 03, 2013, 03:05:54 AM »
Xorg is looking for a driver named /usr/local/lib/X11/modules/drivers/fglrx_drv.so, not to be confused with the kernel module fglrx.ko

Maybe you need the ati Xorg driver and the fglrx kernel module?

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11624
Re: fglrx driver for ATI radeon 5450 card problem
« Reply #27 on: December 03, 2013, 11:34:11 AM »
Hi manit123
Did you try using the ATI packages from the repo?
ati-catalyst.tcz
ati-fglrx-kernel-source.tcz
ati-fglrx.tcz

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: fglrx driver for ATI radeon 5450 card problem
« Reply #28 on: December 04, 2013, 10:47:51 PM »
Not yet.
Will do.
BTW ,
Quote
$sudo aticonfig --lsa
* 0. 01:00.0 ATI Radeon HD 5450     

* - Default adapter
#Even though fglrx module is loaded , still
$sudo fglrxinfo
Error: unable to open display (null)
#after I create a link in /usr/local/lib/X11/modules/extension to  /usr/lib/xorg/modules/drivers/flgrx_drv.so
#I get a black frozen screen with _ on top left corner

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11624
Re: fglrx driver for ATI radeon 5450 card problem
« Reply #29 on: December 05, 2013, 02:22:51 AM »
Hi manit123
Be sure to read the info file for  ati-fglrx.tcz
Quote
#after I create a link in /usr/local/lib/X11/modules/extension to  /usr/lib/xorg/modules/drivers/flgrx_drv.so
usr/local/lib/X11/modules/drivers/fglrx_drv.so  is provided by  ati-fglrx.tcz