Re: X fails after upgrade to xorg-7.2; FreeBSD AMD64 w/ Radeon 9600 Pro

2007-06-30 Thread Byron Campbell
On Wednesday 20 June 2007 12:07:49 am Andy Fawcett wrote:

 One thing that *might* make a difference could be the drm
 stuff. I have it built into my kernel, you might be
 (auto)loading it as modules.

 Relevant lines from my kernel config:

 device  radeondrm
 device  drm

 Could be worth trying, if you don't already have it.

Thanks for the tip. I'm just now getting back to this issue 
after installing 6.2 Stable AMD64 on a newly acquired hard 
drive. And I have the above drm lines in my kernel, but the 
display still goes blank when I startx.

Some small headway: The problem with the display (which is now 
a SyncMaster 940t connected to the Radeon 9600 Pro DVI out) 
being driven out of range (I assume) and going blank was 
solved by setting the option NoAccel in the device section of 
my xorg.conf file. I've also tired both the  ati 
and radeon drivers, and both give identical results.

With acceleration disabled image tearing is bad, jumpy really,  
that is when one is dragging an X-term around on the desktop 
(xfce4.) But at least I've got a workable display now.

I've been trying several and varied radeon driver option 
settings / combinations to see if I can get a viewable 
display with acceleration, but no luck yet.  Maybe someone 
using the Radeon 9600 Pro [RV350 AP] video card with a 
similar TFT flatpanel will chime in with their experiences 
and / or workable settings. 

Byron - WA4GEG

-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FIX: Re: X fails after upgrade to xorg-7.2; FreeBSD AMD64 w/ Radeon 9600 Pro

2007-06-21 Thread Spencer PriceNash
On Tue, Jun 19, 2007 at 08:48:53PM -0400, Byron Campbell wrote:

 On Monday 18 June 2007 7:52:55 pm Mark Kirkwood wrote:
  Byron Campbell wrote:
   On Sunday 17 June 2007 10:23:19 pm Mark Kirkwood wrote:
  [...]
 
 Thanks for the input Mark. I did a make deinstall / reinstall 
 of both xorg-7.2 and xorg-drivers-7.2. 

I managed to get things working again after several days of trying
a number of things including portupgrade -f -a (which I needed to
do anyway...).

I'm not sure this is a real fix, but X now works after I used
xorgconfig to generat an /etc/X11/xorg.conf.

startx works like a charm.  The startup was perhaps five seconds
slower than I'm accustomed.  Otherwise, ctl-alt-F1 gets me to a
console and ctl-alf-F9 takes me back to X.

Back to normal.

Before using xorgconfig, X -configure generated an xorg.conf that
gave me a black screen from which only a reboot could recover.


 [...]
 Xorg -configure no longer reports the undefind symbol 
 but I still get a black screen when testing the config, 
 with out of range OSD when using a VGA to monitor cable, and 
 just a black screen (no OSD message) with the DVI cable. 
 Tried a second monitor also, same results. And under these 
 conditions I can't Alt F2 etc. to console, but must hit 
 the reset for a dirty reboot.

Same black screen happened here.  Load increases until the box
either hangs completely or reboots, or I quickly log in remotely
and reboot.


 Xorg -configure now reports:
 
 (++) Using config file: /root/xorg.conf.new
 (WW) RADEON: No matching Device section for instance (BusID 
 PCI:1:0:1) found
 (**) RADEON(0): RADEONPreInit

Same thing happened to me.


 [...]
 Thanks Andy, Mark for your help. But it looks like it is time 
 for plan #2; Reinstall from scratch but no X, cvsup ports to 
 latest and then do a fresh install of xorg-7.2. Maybe this 
 weekend's project...

Try using xorgconfig's result.

There are some niceties about the video that I'm lacking, but I
don't do those anyway.
-- 
Spencer PriceNash  [EMAIL PROTECTED]many other addresses
http://www.io.com/~spencer   many other sites
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X fails after upgrade to xorg-7.2; FreeBSD AMD64 w/ Radeon 9600 Pro

2007-06-19 Thread Andy Fawcett
On Tuesday 19 June 2007 02:52:55 Mark Kirkwood wrote:
 Byron Campbell wrote:
  On Sunday 17 June 2007 10:23:19 pm Mark Kirkwood wrote:
  AFAICS the symbol is defined in:
 
  /usr/local/lib/xorg/modules/drivers/ati_drv.so
 
  e.g:
 
  $ nm ati_drv.so|grep ATIMemoryTypeNames_88800CX
  b5c0 D ATIMemoryTypeNames_88800CX
 
  What does it show on your system (I'm wondering if your ati
  drivers have not been upgraded properly).
 
  Ah, good point. The output here is:
 
  00e940 D ATIMemoryTypeNames_88800CX

 Well - seems to be defined there hmmm. not sure why you are
 getting 'undefined symbol' in atimisc_drv.so in that case. I am
 wondering if the problem is tied up with amd64 specifically -
 hopefully someone else will have some ideas :-).

 In the meantime you could hack your xorg.conf to use 'vesa' driver
 and see if you can actually startup X - try adding modeline settings
 in there for your monitor if you still get 'out of range' (tho I must
 say I've *never* needed to put them in with Xorg...).

 Also worth trying might be borrowing a DVI cable (assuming your
 monitor has a DVI input) and seeing if X works with it connected
 instead of the VGA one.

I'm running the same board (Neo2-F) and card (9600) versions on amd64 at 
home, but with a CRT. When I get home this evening I will mail my 
xorg.conf to Byron directly to see if it helps.

Andy


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X fails after upgrade to xorg-7.2; FreeBSD AMD64 w/ Radeon 9600 Pro

2007-06-19 Thread Byron Campbell
On Monday 18 June 2007 7:52:55 pm Mark Kirkwood wrote:
 Byron Campbell wrote:
  On Sunday 17 June 2007 10:23:19 pm Mark Kirkwood wrote:
  AFAICS the symbol is defined in:
 
  /usr/local/lib/xorg/modules/drivers/ati_drv.so
 
  e.g:
 
  $ nm ati_drv.so|grep ATIMemoryTypeNames_88800CX
  b5c0 D ATIMemoryTypeNames_88800CX
 
  What does it show on your system (I'm wondering if your
  ati drivers have not been upgraded properly).
 
  Ah, good point. The output here is:
 
  00e940 D ATIMemoryTypeNames_88800CX

 Well - seems to be defined there hmmm. not sure why you
 are getting 'undefined symbol' in atimisc_drv.so in that
 case. I am wondering if the problem is tied up with amd64
 specifically - hopefully someone else will have some ideas
 :-).

 In the meantime you could hack your xorg.conf to use 'vesa'
 driver and see if you can actually startup X - try adding
 modeline settings in there for your monitor if you still
 get 'out of range' (tho I must say I've *never* needed to
 put them in with Xorg...).

 Also worth trying might be borrowing a DVI cable (assuming
 your monitor has a DVI input) and seeing if X works with it
 connected instead of the VGA one.

 Cheers

 Mark

Thanks for the input Mark. I did a make deinstall / reinstall 
of both xorg-7.2 and xorg-drivers-7.2. 

Xorg -configure no longer reports the undefind symbol 
but I still get a black screen when testing the config, 
with out of range OSD when using a VGA to monitor cable, and 
just a black screen (no OSD message) with the DVI cable. 
Tried a second monitor also, same results. And under these 
conditions I can't Alt F2 etc. to console, but must hit 
the reset for a dirty reboot.

Xorg -configure now reports:

(++) Using config file: /root/xorg.conf.new
(WW) RADEON: No matching Device section for instance (BusID 
PCI:1:0:1) found
(**) RADEON(0): RADEONPreInit

Manually doing the config by running xorgcfg -textmode gives a 
different BusID in the xorg.conf file -- BusID PCI:1:0:0 

Andy's xorg.conf is identical to mine,  except for the Horz / 
Vert monitor scan frequencies of course. And I've tried the 
vesa driver with the same blank / black screen results.

I'm also getting a sporadic stray irq7 kernel message from 
time to time. Something weird is going on, huh?

Booted Knoppix-Live and it runs just fine. Copied its 
xorg.conf detected mode lines into FreeBSD xorg.conf but 
still no luck.

Thanks Andy, Mark for your help. But it looks like it is time 
for plan #2; Reinstall from scratch but no X, cvsup ports to 
latest and then do a fresh install of xorg-7.2. Maybe this 
weekend's project...

Best regards,
Byron 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X fails after upgrade to xorg-7.2; FreeBSD AMD64 w/ Radeon 9600 Pro

2007-06-19 Thread Mark Kirkwood

Byron Campbell wrote:


Xorg -configure now reports:

(++) Using config file: /root/xorg.conf.new
(WW) RADEON: No matching Device section for instance (BusID 
PCI:1:0:1) found

(**) RADEON(0): RADEONPreInit

Manually doing the config by running xorgcfg -textmode gives a 
different BusID in the xorg.conf file -- BusID PCI:1:0:0 



FWIW on the PCI busids:

PCI:1:0:0 is the primary port of your card, PCI:1:0:1 is the secondary - 
the warning is just because 'Xorg -configure' does not create a setup 
for dual monitors.


For the rest, well done on getting rid of the undefined symbols... shame 
it still does not work. Good luck for the reinstall!


Cheers

Mark
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X fails after upgrade to xorg-7.2; FreeBSD AMD64 w/ Radeon 9600 Pro

2007-06-19 Thread Andy Fawcett
On Wednesday 20 June 2007 05:30:19 Mark Kirkwood wrote:
 Byron Campbell wrote:
  Xorg -configure now reports:
 
  (++) Using config file: /root/xorg.conf.new
  (WW) RADEON: No matching Device section for instance (BusID
  PCI:1:0:1) found
  (**) RADEON(0): RADEONPreInit
 
  Manually doing the config by running xorgcfg -textmode gives a
  different BusID in the xorg.conf file -- BusID PCI:1:0:0

 FWIW on the PCI busids:

 PCI:1:0:0 is the primary port of your card, PCI:1:0:1 is the secondary -
 the warning is just because 'Xorg -configure' does not create a setup
 for dual monitors.

 For the rest, well done on getting rid of the undefined symbols... shame
 it still does not work. Good luck for the reinstall!

One thing that *might* make a difference could be the drm stuff. I have it 
built into my kernel, you might be (auto)loading it as modules.

Relevant lines from my kernel config:

device  radeondrm
device  drm

Could be worth trying, if you don't already have it.

-- 
Andy Fawcett | [EMAIL PROTECTED]
 | [EMAIL PROTECTED]
In an open world without walls and fences,  | [EMAIL PROTECTED]
  we wouldn't need Windows and Gates.  -- anon  | [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X fails after upgrade to xorg-7.2; FreeBSD AMD64 w/ Radeon 9600 Pro

2007-06-18 Thread Byron Campbell
On Sunday 17 June 2007 10:23:19 pm Mark Kirkwood wrote:

 AFAICS the symbol is defined in:

 /usr/local/lib/xorg/modules/drivers/ati_drv.so

 e.g:

 $ nm ati_drv.so|grep ATIMemoryTypeNames_88800CX
 b5c0 D ATIMemoryTypeNames_88800CX

 What does it show on your system (I'm wondering if your ati
 drivers have not been upgraded properly).

Ah, good point. The output here is:

00e940 D ATIMemoryTypeNames_88800CX

--
Byron
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X fails after upgrade to xorg-7.2; FreeBSD AMD64 w/ Radeon 9600 Pro

2007-06-18 Thread Mark Kirkwood

Byron Campbell wrote:

On Sunday 17 June 2007 10:23:19 pm Mark Kirkwood wrote:

AFAICS the symbol is defined in:

/usr/local/lib/xorg/modules/drivers/ati_drv.so

e.g:

$ nm ati_drv.so|grep ATIMemoryTypeNames_88800CX
b5c0 D ATIMemoryTypeNames_88800CX

What does it show on your system (I'm wondering if your ati
drivers have not been upgraded properly).


Ah, good point. The output here is:

00e940 D ATIMemoryTypeNames_88800CX


Well - seems to be defined there hmmm. not sure why you are getting 
'undefined symbol' in atimisc_drv.so in that case. I am wondering if the 
problem is tied up with amd64 specifically - hopefully someone else will 
have some ideas :-).


In the meantime you could hack your xorg.conf to use 'vesa' driver and 
see if you can actually startup X - try adding modeline settings in 
there for your monitor if you still get 'out of range' (tho I must say 
I've *never* needed to put them in with Xorg...).


Also worth trying might be borrowing a DVI cable (assuming your monitor 
has a DVI input) and seeing if X works with it connected instead of the 
VGA one.


Cheers

Mark
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X fails after upgrade to xorg-7.2; FreeBSD AMD64 w/ Radeon 9600 Pro

2007-06-17 Thread [LoN]Kamikaze
Byron Campbell wrote:
 Help, X was working just fine until I did a portupgrade of 
 xorg 6.9.0 to 7.2.
 
 Looks like X is starting but my LCD monitor just goes black 
 with the monitor's OSD reporting video input, out of range.
 
 I've gone back through Xorg configuration 
 (via xorgcfg -textmode) and verified correct settings for 
 my graphics card and the monitor's Horz. / Vert. scan 
 frequencies etc., everything being in order.
 
 #Xorg -configure gives Driver ati, Boardname RV350 AP 
 [Radeon 9600] and BusID PCI:1:0:0
 
 I've also run #xorgcfg -textmode choosing Driver radeon and 
 Card ** ATI Radeon (generic).. and still no luck.
 
 Please help. Anyone have their Radeon 9600 card working in 
 Xorg-7.2 with just a basic / non accelerated setup, or any 
 setup? 
 
 Thanks,
 Byron
 
 
 System info:
 
 FreeBSD 6.2 stable (AMD64)  
 Graphics card: ATI  Radeon 9600 Pro (using the VGA monitor 
 connection jack)
 Mainboard: MSI KT8 Neo2-F

I'd suggest searching for a ModeLine generator and entering the specs of your
screen.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X fails after upgrade to xorg-7.2; FreeBSD AMD64 w/ Radeon 9600 Pro

2007-06-17 Thread Mark Kirkwood

Byron Campbell wrote:
Help, X was working just fine until I did a portupgrade of 
xorg 6.9.0 to 7.2.


Looks like X is starting but my LCD monitor just goes black 
with the monitor's OSD reporting video input, out of range.


I've gone back through Xorg configuration 
(via xorgcfg -textmode) and verified correct settings for 
my graphics card and the monitor's Horz. / Vert. scan 
frequencies etc., everything being in order.


#Xorg -configure gives Driver ati, Boardname RV350 AP 
[Radeon 9600] and BusID PCI:1:0:0


I've also run #xorgcfg -textmode choosing Driver radeon and 
Card ** ATI Radeon (generic).. and still no luck.


Please help. Anyone have their Radeon 9600 card working in 
Xorg-7.2 with just a basic / non accelerated setup, or any 
setup? 


Thanks,
Byron


System info:

FreeBSD 6.2 stable (AMD64)  
Graphics card: ATI  Radeon 9600 Pro (using the VGA monitor 
connection jack)

Mainboard: MSI KT8 Neo2-F


I've seen this with VGA connections - e.g I've a 9550 (RV350 AS) and for 
DVI connection it works fine with the file generated by 'Xorg 
-configure' with accel and drm, but with VGA fails with 'out of range'. 
I needed to tell it which display resolution to use by adding a 'Modes' 
clause to the Display subsection of xorg.conf e.g:


Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
SubSection Display
Viewport   0 0
Depth 24
Modes   1680x1050  # whatever mode your monitor uses here
EndSubSection
EndSection


Cheers

Mark
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X fails after upgrade to xorg-7.2; FreeBSD AMD64 w/ Radeon 9600 Pro

2007-06-17 Thread Byron Campbell
On Sunday 17 June 2007 7:21:03 pm Mark Kirkwood wrote:
 Byron Campbell wrote:
  Help, X was working just fine until I did a portupgrade
  of xorg 6.9.0 to 7.2.
 
  Looks like X is starting but my LCD monitor just goes
  black with the monitor's OSD reporting video input, out
  of range.
 
  I've gone back through Xorg configuration
  (via xorgcfg -textmode) and verified correct settings
  for my graphics card and the monitor's Horz. / Vert. scan
  frequencies etc., everything being in order.
 
  #Xorg -configure gives Driver ati, Boardname RV350 AP
  [Radeon 9600] and BusID PCI:1:0:0
 
  I've also run #xorgcfg -textmode choosing Driver radeon
  and Card ** ATI Radeon (generic).. and still no luck.
 
  Please help. Anyone have their Radeon 9600 card working
  in Xorg-7.2 with just a basic / non accelerated setup, or
  any setup?
 
  Thanks,
  Byron
 
 
  System info:
 
  FreeBSD 6.2 stable (AMD64)
  Graphics card: ATI  Radeon 9600 Pro (using the VGA
  monitor connection jack)
  Mainboard: MSI KT8 Neo2-F

 I've seen this with VGA connections - e.g I've a 9550
 (RV350 AS) and for DVI connection it works fine with the
 file generated by 'Xorg -configure' with accel and drm, but
 with VGA fails with 'out of range'. I needed to tell it
 which display resolution to use by adding a 'Modes' clause
 to the Display subsection of xorg.conf e.g:

 Section Screen
  Identifier Screen0
  Device Card0
  MonitorMonitor0
  SubSection Display
  Viewport   0 0
  Depth 24
   Modes   1680x1050  # whatever mode your monitor uses here
  EndSubSection
 EndSection


 Cheers

 Mark

Thanks for the suggestion Mark. I do have the modes entered, 
and even set it to the single mode of 1280x1024 but no 
luck. 

I went back and ran Xorg -configure again, and noted the 
following error messages:

dlopen: /usr/local/lib/xorg/modules/drivers//atimisc_drv.so: 
Undefined symbol ATIMemoryTypeNames_88800CX
(EE) Failed to 
load   /usr/local/lib/xorg/modules/drivers//atimisc_drv.so

(EE) Failed to load module atimisc (loader failed, 7)
(++) Using config file: /root/xorg.conf.new
(WW) RADEON: No matching Device section for instance (BusID 
PCI:1:0:1) found
(**) RADEON(0) : RADEONPreInit

atimisc_drv.so is present in the above mentioned directory. 

My graphics card is the PowerColor ATI Radeon 9600 Pro (RV350 
AP) 

Byron
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X fails after upgrade to xorg-7.2; FreeBSD AMD64 w/ Radeon 9600 Pro

2007-06-17 Thread Mark Kirkwood

Byron Campbell wrote:



I went back and ran Xorg -configure again, and noted the 
following error messages:


dlopen: /usr/local/lib/xorg/modules/drivers//atimisc_drv.so: 
Undefined symbol ATIMemoryTypeNames_88800CX
(EE) Failed to 
load   /usr/local/lib/xorg/modules/drivers//atimisc_drv.so


(EE) Failed to load module atimisc (loader failed, 7)
(++) Using config file: /root/xorg.conf.new
(WW) RADEON: No matching Device section for instance (BusID 
PCI:1:0:1) found

(**) RADEON(0) : RADEONPreInit

atimisc_drv.so is present in the above mentioned directory. 

My graphics card is the PowerColor ATI Radeon 9600 Pro (RV350 
AP) 


AFAICS the symbol is defined in:

/usr/local/lib/xorg/modules/drivers/ati_drv.so

e.g:

$ nm ati_drv.so|grep ATIMemoryTypeNaes_88800CX
b5c0 D ATIMemoryTypeNames_88800CX

What does it show on your system (I'm wondering if your ati drivers have 
not been upgraded properly).


Cheers

Mark
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]