WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] Xorg 7.6 failing to work with Radeon Xpress 200G  (Read 10027 times)

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
Re: Xorg 7.6 failing to work with Radeon Xpress 200G
« Reply #15 on: December 31, 2011, 08:57:48 AM »
I realise that, Gerald, which is why I tried a re-install without specifying those parameters, and still no '/opt/.filetool.lst'.

I think I'll come back to TCL once I've had a bit more time to familiarise myself with Linux in general. In the meantime, Racy Puppy seems to be working well.

Cheers, Jon.
When I was in the learning phase in Xorg (still learning..), I booted from puppy, knoppix, antix, slitaz and everytime I saved the different conf files and log files (knoppix and puppy gave the best automatic configurations). Now I have a good conf file putting my screen at his maximum pixel conf in xorg74.

And: use the boot code noacpi?

I would personally try the new commandline
Kernel command line (see your log file): initrd=/boot/tinycore.gz quiet mydata=mydata lst=onboot.lst noswap waitusb=5:UUID="2ae0b8a0-7a21-4044-bcb9-bebff368a38f" tce=UUID="2ae0b8a0-7a21-4044-bcb9-bebff368a38f"
BOOT_IMAGE=/boot/vmlinuz
(take away the norestore, put a onboot.lst in the tce directory with the lines content fluff.tcz and Xorg76.tcz, create a backup mydata.tgz with a conf file to be optimized step by step with the knoppix puppy.. conf files data).

And: perhaps you should load the latest 4.2 iso. Then so far I understood, the file.lst is already installed.
« Last Edit: December 31, 2011, 09:12:21 AM by floppy »
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline Triophile

  • Jr. Member
  • **
  • Posts: 72
Re: Xorg 7.6 failing to work with Radeon Xpress 200G
« Reply #16 on: December 31, 2011, 03:19:49 PM »
Hi floppy.

Might be a while before I can understand more than about 10% of your post, technically-speaking ;-) The advice to save the various config files certainly sounds wise though.

Rich: I tried "cp xorg.conf /etc/X11/" after "Xorg -configure" and before "startx" and the response was:

"cp:  can't stat xorg.conf : No such file or directory"

Where does that xorg.conf which is being built up according to the Xorg log actually get filed when it's complete? If I could find the damn thing, I could copy it manually to /etc/X11/. Given my record with finding files, it's probably right under my nose...

Thanks, Jon.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: Xorg 7.6 failing to work with Radeon Xpress 200G
« Reply #17 on: December 31, 2011, 05:11:57 PM »
Hi Triophile
If it's anywhere on your system, this will find it:
Code: [Select]
sudo find / -iname xorg*

Offline Triophile

  • Jr. Member
  • **
  • Posts: 72
Re: Xorg 7.6 failing to work with Radeon Xpress 200G
« Reply #18 on: December 31, 2011, 05:56:09 PM »
Hmmm. I typed in "sudo find / -iname xorg*" Rich and it was unable to find any xorg.conf apart from xorg.conf.vesa in /etc/X11/ None of the other xorg* files it came up with were xorg.conf or xorg.conf*

I typed "sudo find / -iname xorg*" both after "Xorg -configure" and after I'd re-started Xorg, and no luck either way.

Could the file be going by another name, or am I doing something stupid again?

Thanks, Jon.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: Xorg 7.6 failing to work with Radeon Xpress 200G
« Reply #19 on: December 31, 2011, 06:11:12 PM »
Hi Triophile
Sounds like it's not creating config file for some reason. What happens if you take a copy of the
config file from Puppy and use that?

Offline Triophile

  • Jr. Member
  • **
  • Posts: 72
Re: Xorg 7.6 failing to work with Radeon Xpress 200G
« Reply #20 on: January 03, 2012, 01:40:50 PM »
Hope you had a good New Year's guys.

Rich, I tried the Puppy xorg.conf, and my keyboard and mouse stopped working :-) On top of that, the screen stayed at 1024 x 768 (in Puppy, it's set at 1280 x 1024). Interesting thing from reading the Puppy Xorg, though, is that the driver is listed as"vesa", not "ati" or "radeon", despite Puppy telling me it was using the "ati radeon" driver in the pop-up configuration box.

I installed TC 4.2 a few days ago, and am getting the same behaviour with Xorg: ie, no discernible xorg.conf, but a Xorg log which shows the same sort of probing and configuring as my previous installation.

I've been digging up a bit more info about my monitor, and found a couple of xorg.confs on the web which incorporate it, so I'm going to try putting together my own xorg.conf again from what's in my own Xorg log, and what I've found on the web.

Wish me luck!

Cheers, Jon.
« Last Edit: January 03, 2012, 04:52:20 PM by Triophile »

Offline Triophile

  • Jr. Member
  • **
  • Posts: 72
Re: Xorg 7.6 failing to work with Radeon Xpress 200G
« Reply #21 on: January 03, 2012, 04:58:27 PM »
OK, this xorg.conf is a work in progress, but, I'm hoping, close to being finished.

Are there any glaring errors in there (syntax, or anything else for that matter)?

All of the numbers relating to the monitor (modelines, horizontal and vertical frequencies, etc) have either come from my own Xorg log, or from those of others who own the same monitor, so I think there's a good chance they are all accurate.

Many thanks, Jon.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

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

Section "Files"
   ModulePath   "/usr/local/lib/X11/modules"
   FontPath     "/usr/local/lib/X11/fonts/misc/"
   FontPath     "/usr/local/lib/X11/fonts/TTF/"
   FontPath     "/usr/local/lib/X11/fonts/OTF"
   FontPath     "/usr/local/lib/X11/fonts/Type1/"
   FontPath     "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
   Load  "glx"
   Load  "dri"
   Load  "extmod"
   Load  "dbe"
   Load  "freetype"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
   Option        "Protocol" "standard"
   Option       "XkbModel" "pc105"
   Option      "XkbLayout" "gb"
EndSection

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

Section "Monitor"
   Identifier      "Monitor0"
   HorizSync   30-80
   VertRefresh   56-75
   DisplaySize   380 300
   Modeline    "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
   Modeline    "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
   Modeline    "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz)
   Modeline    "640x480"x59.9   25.18  640 656 752 800  480 489 492 525 -hsync -vsync (31.5 kHz)
   Option      "PreferredMode" "1280x1024"
EndSection

Section "Device"
   Identifier  "Card0"
   Driver      "radeon"
   Option       "BusID" "PCI:0000:01:05.0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   DefaultDepth 24

   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes     "1280x1024"
   EndSubSection

   SubSection "Display"
      Viewport   0 0
      Depth     16
      Modes     "1024x768"
   EndSubSection
EndSection

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
Re: Xorg 7.6 failing to work with Radeon Xpress 200G
« Reply #22 on: January 03, 2012, 11:35:48 PM »
Interesting. Post xour xorg.log here with this conf file. Post the end of your dmesg output.
Perhaps, use the firmware.tcz ? see here what this firmware has   http://packages.debian.org/sid/firmware-linux-nonfree
According  the gentoo xorg wiki, a command can make changing your resolution
$ cvt 1280 x 1024 etc., so perhaps you could put this command + others (if no success with the xorg.conf) in a start script?
and .. http://www.x.org/wiki/radeonBuildHowTo.. and.. (Mr. Google)
« Last Edit: January 03, 2012, 11:47:49 PM by floppy »
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline Triophile

  • Jr. Member
  • **
  • Posts: 72
Re: Xorg 7.6 failing to work with Radeon Xpress 200G
« Reply #23 on: January 08, 2012, 10:21:47 AM »
OK, using the xorg.conf above, Xorg failed to run, producing the error message:

"Parse error on line 46 of section Monitor in file blah.../xorg.conf
ModeLine dotclock expected
Problem parsing the config file
Error parsing the config file"

The line in question is:

"Modeline    "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)"

I used PowerStrip on my Windows machine to confirm that the frequency 108.00 is correct for the 1280x1024 resolution, and it is.

As far as I'm aware, the dotclock is the number "108.00". If this is the case, I wonder if the problem is caused by what appears to be a partially-corrupt EDID on my monitor, as the ModeLine above was the only one not found by Xorg in the xorg log. If that's the case, I'm guessing I'll have to persuade Xorg to ignore the monitor's EDID altogether and go with the ModeLines I've supplied. Not sure if there's any other info I'd need to add, but I found a few bits and pieces on the web regarding ignoring the EDID info when it's corrupt.

If, on the other hand, dotclock relates to my video card, from what I've read, I could "x -probeonly" and get some results that way, though I'm not too sure how to add the clocks to the xorg.conf.

Cheers, Jon.

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
Re: Xorg 7.6 failing to work with Radeon Xpress 200G
« Reply #24 on: January 08, 2012, 10:33:21 AM »
One time, I scanned like you (other values)
..   HorizSync   30-80
   VertRefresh   56-75
..
but did not use the other parameters (double usage? not the same range?)...
   DisplaySize   380 300
   Modeline    "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
(I would personally make sure this modeline would have been confirmed in another log file).


here: http://forum.tinycorelinux.net/index.php/topic,12144.msg65105.html#msg65105


So, I would use in your case

Modeline    "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz) without HorizSync and VertRefresh  (I dont know how to activate such modeline; I never does it)

Or no modeline and ..   
   HorizSync   60-65
   VertRefresh   55-110  ?  (extend the range?)

My (non professional) evaluation is that 108 ist out of the range you restricted in   " VertRefresh   56-75", so perhaps its why it say no way.. ?

Im guessing.
« Last Edit: January 08, 2012, 11:54:02 AM by floppy »
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline Triophile

  • Jr. Member
  • **
  • Posts: 72
Re: Xorg 7.6 failing to work with Radeon Xpress 200G
« Reply #25 on: January 08, 2012, 04:28:16 PM »
Mmmm, I was wondering whether to take the "full information" or "minimal information" approach to Xorg...

OK, I'll remove the horizontal sync and vertical refresh info, and the monitor size, and see how I go.

This page was useful for me in understanding a bit more about ModeLines:

http://www.freebsd.org/doc/en/books/handbook/x-config.html

Down at the bottom is a useful explanation.

PowerStrip gave me the info I needed to confirm that the ModeLine for "1280x1024" in the Xorg log appears to be correct (at least, the info matches the info displayed for the same monitor at 1280x1024 under XP:



That said, it appears I can omit what follows the final four-digit number in each of the ModeLines, so maybe I'll get rid of those items too...

It seems to be the case that 108.00MHz is the frequency at which the pixel clock (AKA dotclock) is running, whereas the horizontal sync is expressed in kHz, and the vertical refresh in Hz. I'm not quite sure which measurements might be messing each other up, but if keeping just the ModeLine works, +1 to Floppy :-)

Thanks, Jon.

Offline Triophile

  • Jr. Member
  • **
  • Posts: 72
Re: Xorg 7.6 failing to work with Radeon Xpress 200G
« Reply #26 on: January 09, 2012, 09:17:01 AM »
Sorry, Floppy, looks as if the +1 goes to me instead ;-) This assumes, of course, that Xorg continues to run correctly on this machine (and is, indeed, operating with acceleration).

I had another look around the internet at general Xorg ModeLines, and realised that I'd got the syntax in all of the ModeLines wrong.

I changed this:
Modeline    "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)

to this:
Modeline    "1280x1024x60.0"  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync

The reason Xorg couldn't parse the line, or find the dotclock, was that x60.0 was the first item after the double quotes, which is where the dotclock frequency should be. In addition to this change, I removed (64.0 kHz) from the end of this line and the other ModeLines, though I doubt it was a problem. As I'd changed the start of the ModeLines by moving the double quotes, I had to change the PreferredMode string  accordingly, and the Modes string in the Screen subsections.

I'm writing this with a 1280x1024x60 screen resolution, and a British keyboard layout, so it looks as if the xorg.conf has worked fine, but only time will tell!

Many thanks for your help, Floppy, and thanks too for the help of everyone else who contributed to this thread. Apologies I'm such a slow learner!

Cheers, Jon.

Offline Triophile

  • Jr. Member
  • **
  • Posts: 72
Re: Xorg 7.6 failing to work with Radeon Xpress 200G
« Reply #27 on: January 10, 2012, 04:04:19 PM »
Well, it appears to be official: the Xorg log tells me that acceleration is enabled, and successive restarts have worked perfectly.

Sorted!

Now I should be able to get the ropey SiS onboard graphics working on my HP thin client...

Cheers, Jon.

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
Re: [SOLVED] Xorg 7.6 failing to work with Radeon Xpress 200G
« Reply #28 on: February 10, 2012, 11:27:28 AM »
hello jon,
can you please post your full xorg.conf here?
I will need to see how is your final syntax of your full xorg.conf

Im not hacking.. and will create next time a new thread with..
I will have to force a modeline on a P4 I got today (3GHz! 1GB RAM 40GB HDD! wow..).
My xorg76 log show
..
[    21.813] (II) intel(0): Modeline "1600x1200"x75.0  202.50  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (93.8 kHz)
[    21.813] (II) intel(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz)
[    21.813] (II) intel(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz)
[    21.813] (II) intel(0): Modeline "1024x768"x75.1   78.80  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.1 kHz)
..
it goes automatically to 1600x1200 which is too much.
I must try to reduce step by step and see what would be the best modeline. So, I would like to use jon xorg.conf to see the structure he had.
« Last Edit: February 10, 2012, 11:53:32 AM by floppy »
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline Triophile

  • Jr. Member
  • **
  • Posts: 72
Re: [SOLVED] Xorg 7.6 failing to work with Radeon Xpress 200G
« Reply #29 on: February 12, 2012, 09:52:44 AM »
Hi Floppy, hope you're well.

I'm trying to straighten out a Windows machine at the moment, but later tonight, or some time tomorrow, I should be able to post my final xorg.conf.

Cheers, Jon.