WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: graphics cards and chips  (Read 7613 times)

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: graphics cards and chips
« Reply #15 on: November 13, 2014, 03:44:39 AM »
uh

i am trying all ways.

Vince.


Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: graphics cards and chips
« Reply #16 on: November 13, 2014, 03:57:20 AM »
it did not work.  THe instructions.

It just gets caught in a loop....issuing the same command line after line

dmz....radeon initialized.....at minor 0
dmr....radeon initialized """"""

30 times


then  FAILED in wait for x


seems the code is wrong

VInce.

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: graphics cards and chips
« Reply #17 on: November 13, 2014, 04:18:28 AM »
it seems to be working right ...

like Juanto says...from a cold boot (without any "waiting" edits on the .xsession file)  the computer boots
up and then the graphics jumps to a special font as it loads both "x86-ati-driver" and the "radeon firmware".

They are both correctly loaded and running at the TCL gui desktop.


The earlier commands for checking your graphics card sub system do NOT work in Xorg. (at least not here now
so how can i check the machine is indeed using the 128 megs and correct ati driver?)

thanks

VInce.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14634
Re: graphics cards and chips
« Reply #18 on: November 13, 2014, 04:26:48 AM »
You could replace the loop by "sleep 15" or similar, but for testing purposes, maybe it would be easier to add Xorg, the ati/radeon driver and radeon firmware "onboot", remove Xvesa from "onboot" and add the bootcode "text" to prevent tc from booting to the gui.

This would enable to you check dmesg for radeon firmware messages before issuing the "startx" command.

In /var/log/Xorg.0.log you will see that Xorg decides which drivers it thinks it could use and then tries to load them one by one before selecting the best one. This is for intel hardware, but you should see something analogous:
Code: [Select]
[   191.464] (==) Matched intel as autoconfigured driver 0
[   191.464] (==) Matched intel as autoconfigured driver 1
[   191.464] (==) Matched modesetting as autoconfigured driver 2
[   191.464] (==) Matched fbdev as autoconfigured driver 3
[   191.464] (==) Matched vesa as autoconfigured driver 4
[   191.464] (==) Assigned the driver to the xf86ConfigLayout
[   191.464] (II) LoadModule: "intel"
[   191.464] (II) Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so
[   191.472] (II) Module intel: vendor="X.Org Foundation"
[   191.472] compiled for 1.16.1, module version = 2.99.916
[   191.472] Module class: X.Org Video Driver
[   191.472] ABI class: X.Org Video Driver, version 18.0
[   191.472] (II) LoadModule: "modesetting"
[   191.473] (WW) Warning, couldn't open module modesetting
[   191.473] (II) UnloadModule: "modesetting"
[   191.473] (II) Unloading modesetting
[   191.473] (EE) Failed to load module "modesetting" (module does not exist, 0)
[   191.473] (II) LoadModule: "fbdev"
[   191.473] (WW) Warning, couldn't open module fbdev
[   191.473] (II) UnloadModule: "fbdev"
[   191.473] (II) Unloading fbdev
[   191.473] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   191.473] (II) LoadModule: "vesa"
[   191.473] (WW) Warning, couldn't open module vesa
[   191.473] (II) UnloadModule: "vesa"
[   191.473] (II) Unloading vesa
[   191.473] (EE) Failed to load module "vesa" (module does not exist, 0)
[   191.473] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[   191.473] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[   191.473] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[   191.473] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[   191.473] (--) using VT number 2
[   191.477] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20080730
[   191.478] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4400
[   191.479] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: graphics cards and chips
« Reply #19 on: November 13, 2014, 05:19:16 AM »
Juanto

so i your example it used (i915)


so i am looking for what?  (ati driver).....used....?


Vince.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14634
Re: graphics cards and chips
« Reply #20 on: November 13, 2014, 05:30:17 AM »
You're looking for:

"matched ati as autoconfigured driver.."
"matched radeon as autoconfigured driver.."
"Loading /usr/local/lib/xorg/modules/drivers/ati_drv.so"
"Loading /usr/local/lib/xorg/modules/drivers/radeon_drv.so"

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: graphics cards and chips
« Reply #21 on: November 13, 2014, 05:40:53 AM »
hmmm Juanrto...ok

uh.....i never knew the difference between "firmware" and a "driver"....

anyhow...i will check for what you said.


but i am no good at the terminal for finding , opening and reading a file.


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14634
Re: graphics cards and chips
« Reply #22 on: November 13, 2014, 05:44:49 AM »
Code: [Select]
$ cat /var/log/Xorg.0.log | grep -i autoconfigured
$ cat /var/log/Xorg.0.log | grep -i drv.so

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: graphics cards and chips
« Reply #23 on: November 13, 2014, 01:01:59 PM »
ye

had to start completely from scratch and it still got me foxed

xorg.0.log   seems to appear only once  then after rebooting even with backup its gone?

is there a more simple check than what you describe

also Xvesa is nowhere to be found in Onboot.  It's never listed no matter what..... so can't be removed like you say above.
(a clean fresh "base" TCL boot....does not even list Xvesa in Onboot. It just shows that Xvesa is installed
that's all.   TCL  4.3.1

V
« Last Edit: November 13, 2014, 01:33:25 PM by cast-fish »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14634
Re: graphics cards and chips
« Reply #24 on: November 13, 2014, 09:22:04 PM »
Xorg.0.log is only written when Xorg runs and is not saved across boots unless you added it to your backup.

You can look at Xorg.0.log with any text editor (for example, beaver) from the gui.

What do you mean by "shows that Xvesa is installed"? If Xvesa is not in onboot.lst and you didn't load it manually, then it should not be installed.

Even if Xvesa is installed, Xorg will run as long as it was installed after Xvesa.

Edit: btw, ~/.xsession should look like this with Xorg-7.7:
Code: [Select]
$ cat .xsession
/usr/local/bin/Xorg -nolisten tcp &
export XPID=$!
waitforX || ! echo failed in waitforX || exit
"$DESKTOP" 2>/tmp/wm_errors &
export WM_PID=$!
[ -x $HOME/.setbackground ] && $HOME/.setbackground
[ -x $HOME/.mouse_config ] && $HOME/.mouse_config &
[ $(which "$ICONS".sh) ] && ${ICONS}.sh &
[ -d "$HOME/.X.d" ] && find "$HOME/.X.d" -type f -print | while read F; do . "$F"; done
« Last Edit: November 14, 2014, 12:37:49 AM by Juanito »

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: graphics cards and chips
« Reply #25 on: November 14, 2014, 01:03:35 AM »
Yeah

Confusing.

The "what do you mean" bit is exactly as i stated Juanto. That is what it means. It Can't be
anymore semantic than it describes.  Read it again.  I will repeat it below.
******On a raw boot of TCL 4.3.1 CD disc with no drives involved just ram.....Xvesa is
never listed in Onboot. Xvesa only shows as "installed" via system stats "installed"
button from control panel.******

I appreciate that running Xorg would over-ride Xvesa....so your instructions are kind
of in conflict........... but parallel.

The instructions about a text boot........... don't make sense to me. The LOG file does
not seem to stick around.  I only do the backup offered at the TCL exit prompt.....The instructions are missing something?

Several hours on this and boots etc. No progress.


V



ps

in essence forget about everything above.

1) assume a raw boot of TCL 4.3.1 and an empty TCE directory on thumb ready to recieve and virgin.
2) We are talking about 3 things here.  Xorg 7.6, the radeon FW and the ATI driver.
3) How difficult is it to explain HOW to install these 3 things and get a graphics driver
running and check it's running on subsequent booting of the machine?.....the end objective.

This thread advice has not yet worked properly....is there something missing?

you could model this RAW approach and surely it would just then be a list of DO's....in a proper
order. Assume i know nothing.

thanks for trying. 

V







« Last Edit: November 14, 2014, 01:11:39 AM by cast-fish »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14634
Re: graphics cards and chips
« Reply #26 on: November 14, 2014, 01:33:44 AM »
Ah - you're using tc-4.x and Xorg-7.6...

Assuming you can boot tc-4.x with an empty /tce folder and with an internet connection:
Code: [Select]
$ tce-load -w Xorg-7.6 xf86-video-all firmware-radeon
$ tce-load -i Xorg-7.6 xf86-video-all firmware-radeon
$ startx

Once the gui starts, you can use the apps browser to install a text editor like beaver to look at /var/log/Xorg.0.log

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: graphics cards and chips
« Reply #27 on: November 14, 2014, 07:44:20 AM »
Hello,

uh is it a can of worms coming?


what am i suppossed to use with TCL 4.3.1,,,,    Xorg 7.4,....... 5, 6..... ?  (3D or not?)

i will try what your last post stated.


thanks

« Last Edit: November 14, 2014, 07:57:48 AM by cast-fish »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14634
Re: graphics cards and chips
« Reply #28 on: November 14, 2014, 10:55:11 PM »
I chose Xorg-7.6 because it was the most recent extension for tc-4.x...

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: graphics cards and chips
« Reply #29 on: November 15, 2014, 06:05:13 PM »
ok
i followed your instructions by booting a virgin TCL into the text prompt......... and then following your
code lines........the xorg log file is attached here....
-----------------------------------------------------------------------------------

is it right?

i notice that the machine also has Xvesa installed.

If this data above proves that indeed the ati drivers and radeon drv are working right ........then how can i lower the
screen rez of Xorg to 800 600....?

thx

V

thanks

V