LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-07-2014, 09:51 AM   #16
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,148

Rep: Reputation: Disabled

Something seems a little weird: I don't see the module atyfb in the output of lsmod. Anyhow it should be a could one for your card according to "modinfo atyfb".

Maybe you videocard is not fully vesa compliant.

Remove /etc/X11/xorg.conf, do "startx" then look int /var/log/Xorg.0.log which driver is used. If it's not ATI then write an /etc/X11/xorg.conf fiel with just this:
Code:
Section "Device
  Identifier "mycard"
  Driver "ati"
EndSection
Then start X
 
1 members found this post helpful.
Old 07-08-2014, 08:16 AM   #17
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Original Poster
Rep: Reputation: 15
Question

Quote:
Originally Posted by Didier Spaier View Post
Something seems a little weird: I don't see the module atyfb in the output of lsmod. Anyhow it should be a could one for your card according to "modinfo atyfb".

Maybe you videocard is not fully vesa compliant.

Remove /etc/X11/xorg.conf, do "startx" then look int /var/log/Xorg.0.log which driver is used. If it's not ATI then write an /etc/X11/xorg.conf fiel with just this:
Code:
Section "Device
  Identifier "mycard"
  Driver "ati"
EndSection
Then start X

Hello Mr. Didier,

Here is the following command I did on the Xorg.0.log file: "cat Xorg.0.log | grep driver". Here is the output of the command:

Code:
[   648.084] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   648.084] 	X.Org XInput driver : 19.1
[   648.195] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[   648.196] (II) Loading /usr/lib/xorg/modules/drivers/mach64_drv.so
[   648.332] (II) MACH64(0): Not using driver mode "1024x768" (hsync out of range)
[   648.332] (II) MACH64(0): Not using driver mode "1024x768" (hsync out of range)
[   648.332] (II) MACH64(0): Not using driver mode "800x600" (hsync out of range)
[   648.332] (II) MACH64(0): Not using driver mode "1280x1024" (hsync out of range)
[   649.917] 	ABI class: X.Org XInput driver, version 19.1
[   649.918] (II) Using input driver 'evdev' for 'Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)'
[   649.921] (II) No input driver specified, ignoring this device.
[   649.923] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[   650.036] (II) Using input driver 'evdev' for 'Speakup'
I think it says ati_drv.so, so that must be the ati driver like you said. Correct? In any case, the Vesa driver loaded xfce with horizontal lines making it impossible to see the screen efficiently, but still I should try the ATI driver if you confirm ati_drv.so is like you said the ATI driver loaded without the xorg.conf file. So to load the ati driver I create a xorg.conf file from the xorg.conf-vesa file and change the Driver section of the Device from vesa to ati correct?

Waiting for your reply,
Dumdadum

Last edited by dumdadum; 07-08-2014 at 08:47 AM.
 
Old 07-08-2014, 11:10 AM   #18
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,148

Rep: Reputation: Disabled
We need to know which driver X eventually used (or tried), so please provide full Xorg.0.log (either inside [code] tags or as an attachment to your next post).

Also, assuming that it is actually MACH 64 (but this has to be confirmed) hsync should be properly set in /etc/X11/xorg.conf, and you could read /usr/doc/xf86-video-mach64-6.9.4/README to know more.
 
1 members found this post helpful.
Old 07-09-2014, 08:36 AM   #19
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Original Poster
Rep: Reputation: 15
Post

Quote:
Originally Posted by Didier Spaier View Post
We need to know which driver X eventually used (or tried), so please provide full Xorg.0.log (either inside [code] tags or as an attachment to your next post).

Also, assuming that it is actually MACH 64 (but this has to be confirmed) hsync should be properly set in /etc/X11/xorg.conf, and you could read /usr/doc/xf86-video-mach64-6.9.4/README to know more.
Here is the full Xorg.0.log file:




Thanks for the help,
Dumdadum
Attached Files
File Type: log Xorg.0.log (38.2 KB, 20 views)
 
Old 07-09-2014, 05:39 PM   #20
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,148

Rep: Reputation: Disabled
When I look at your log I see that the X server is crashing. I have no idea why and don't assume it's due to a resolution problem.

Blind guess: you could use e.g. cvt to compute a modeline with the resolution you wish and put that in /etc/X11/xorg.conf. See "man cvt" and "man xorg.conf"

Last edited by Didier Spaier; 07-10-2014 at 01:18 AM.
 
Old 07-10-2014, 10:48 AM   #21
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Original Poster
Rep: Reputation: 15
Question

Quote:
Originally Posted by Didier Spaier View Post
When I look at your log I see that the X server is crashing. I have no idea why and don't assume it's due to a resolution problem.

Blind guess: you could use e.g. cvt to compute a modeline with the resolution you wish and put that in /etc/X11/xorg.conf. See "man cvt" and "man xorg.conf"
cvt? modeline? I dont understand? what is that exactly? if you say you dont know why the X server crashes, is it possible that I need to use huge.s instead of hugesmp.s?

Thanks for more info,
Dumdadum
 
Old 07-10-2014, 12:03 PM   #22
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,438

Rep: Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783
Quote:
[ 166.696] (--) PCI:*(0:2:0:0) 1002:474d:1002:0008 rev 39, Mem @ 0xfd000000/16777216, 0xfeaff000/4096, I/O @ 0x0000d800/256, BIOS @ 0x????????/131072
...
[ 167.009] (==) MACH64(0): Using EXA acceleration architecture
...
[ 167.189] (--) MACH64(0): ATI 3D Rage XL or XC graphics controller detected.
[ 167.189] (--) MACH64(0): Chip type 474D "GM", version 7, foundry TSMC, class 0, revision 0x00.
[
Pentium 3 and ancient graphics card. Seems to be able to be made to work.
http://www.linuxquestions.org/questi...ds-4175486770/

Last edited by allend; 07-10-2014 at 12:09 PM.
 
Old 07-10-2014, 06:00 PM   #23
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,148

Rep: Reputation: Disabled
@dumdadum: If you want I can build a new package for you tomorrow, with the patch mentioned by Allend applied. Just tell if it's for Slackware-14.1 or Slackware64-14.1
 
1 members found this post helpful.
Old 07-11-2014, 08:13 AM   #24
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Didier Spaier View Post
@dumdadum: If you want I can build a new package for you tomorrow, with the patch mentioned by Allend applied. Just tell if it's for Slackware-14.1 or Slackware64-14.1
Thanks. I'm using slackware-14.1, not the 64bit one... I appreciate. Itll be a .tgz or .txz package?

Thanks again,
Dumdadum
 
Old 07-11-2014, 08:36 AM   #25
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,148

Rep: Reputation: Disabled
Quote:
Originally Posted by dumdadum View Post
Thanks. I'm using slackware-14.1, not the 64bit one... I appreciate. Itll be a .tgz or .txz package?
a .tgz probably, but that doesn't matter. I'll give the instructions for download and installation when it'll be ready.
 
1 members found this post helpful.
Old 07-11-2014, 08:39 AM   #26
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Didier Spaier View Post
a .tgz probably, but that doesn't matter. I'll give the instructions for download and installation when it'll be ready.
Cool, and thanks again.

Cheers,
Dumdadum
 
Old 07-11-2014, 04:53 PM   #27
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,148

Rep: Reputation: Disabled
Do this:
Code:
lftp -c "mirror http://slint.fr/misc/dumdadum"
cd dumdadum
md5sum *md5 # answer should be "OK"
su # to become root (type root's password upon request)
upgradepkg --reinstall *xz
Remove /etc/X11/xorg.conf if you had one.

Then (re) start X.

Good luck.

PS Tell us if that works, I have no way to try it.

Last edited by Didier Spaier; 07-11-2014 at 05:17 PM.
 
1 members found this post helpful.
Old 07-11-2014, 05:24 PM   #28
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Original Poster
Rep: Reputation: 15
Thumbs up

Quote:
Originally Posted by Didier Spaier View Post
Do this:
Code:
lftp -c "mirror http://slint.fr/misc/dumdadum"
cd dumdadum
md5sum *md5 # answer should be "OK"
su # to become root (type root's password upon request)
upgradepkg --reinstall *xz
Remove /etc/X11/xorg.conf if you had one.

Then (re) start X.

Good luck.

PS Tell us if that works, I have no way to try it.
Thanks, I appreciate all the efforts. I'll try it on monday when I go to the office.

Cheers,
Dumdadum
 
Old 07-14-2014, 08:01 AM   #29
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Original Poster
Rep: Reputation: 15
Talking

Quote:
Originally Posted by Didier Spaier View Post
Do this:
Code:
lftp -c "mirror http://slint.fr/misc/dumdadum"
cd dumdadum
md5sum *md5 # answer should be "OK"
su # to become root (type root's password upon request)
upgradepkg --reinstall *xz
Remove /etc/X11/xorg.conf if you had one.

Then (re) start X.

Good luck.

PS Tell us if that works, I have no way to try it.
Well dear Mr. Didier, it works!!! Thanks for the patch. I'm marking this thread as solved. So freaking cool!!! (=

Cheers,
Dumdadum
 
Old 07-14-2014, 10:38 AM   #30
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,148

Rep: Reputation: Disabled
Glad it worked. I'll erase the patched package I provided as I don't wan't to keep stuff I will soon hardly remember what it is.

But for future reference for people with the same issue, here is the URL of the patch and in case that disappears here is the patch itself:
Code:
diff --git a/src/atimach64render.c b/src/atimach64render.c
index ffde2cb..8d259fa 100644
--- a/src/atimach64render.c
+++ b/src/atimach64render.c
@@ -339,10 +339,13 @@ Mach64GetOrder(int val, int *shift)
 static Bool
 Mach64CheckTexture(PicturePtr pPict)
 {
-    int w = pPict->pDrawable->width;
-    int h = pPict->pDrawable->height;
+    int h,w;
     int l2w, l2h, level, i;
 
+    if (pPict->pDrawable == NULL)
+	    return FALSE;
+    w = pPict->pDrawable->width;
+    h = pPict->pDrawable->height;
     for (i = 0; i < MACH64_NR_TEX_FORMATS; i++) {
         if (Mach64TexFormats[i].pictFormat == pPict->format)
             break;
Instructions for use:
  • unpack this file from a Slackware mirror or installation media: source/x/x11/src/driver/xf86-video-mach64-<version>.tar.xz
  • check that the version of src/atimach64render.c in the unpacked archive be not already patched
  • patch it
  • re-pack the archive
  • run following command: src/x/x11/x11.SlackBuild driver xf86-video-mach64 to rebuild the package
  • upgrade using the new package

Last edited by Didier Spaier; 07-14-2014 at 02:10 PM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changed screen resolution and now can't see screen to change it back in Ubuntu lmb6832 Linux - Newbie 1 09-28-2010 10:52 PM
[SOLVED] Change screen resolution on slackware madsovenielsen Linux - Newbie 2 03-08-2010 02:03 PM
change screen resolution of xdm login screen in suse linux anon104 Linux - Desktop 2 04-02-2007 09:26 AM
Cannot change screen resolution (atir 3) in slackware 10 mmarkvillanueva Slackware 6 05-27-2005 06:31 PM
Can't change screen resolution on Slackware 9.1... luptinpitman Slackware 5 05-01-2004 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration