Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
07-07-2014, 09:51 AM
|
#16
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,148
Rep:
|
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.
|
07-08-2014, 08:16 AM
|
#17
|
Member
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238
Original Poster
Rep:
|
Quote:
Originally Posted by Didier Spaier
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.
|
|
|
07-08-2014, 11:10 AM
|
#18
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,148
Rep:
|
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.
|
07-09-2014, 08:36 AM
|
#19
|
Member
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238
Original Poster
Rep:
|
Quote:
Originally Posted by Didier Spaier
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
|
|
|
07-09-2014, 05:39 PM
|
#20
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,148
Rep:
|
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.
|
|
|
07-10-2014, 10:48 AM
|
#21
|
Member
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238
Original Poster
Rep:
|
Quote:
Originally Posted by Didier Spaier
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
|
|
|
07-10-2014, 12:03 PM
|
#22
|
LQ 5k Club
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,438
|
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.
|
|
|
07-10-2014, 06:00 PM
|
#23
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,148
Rep:
|
@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.
|
07-11-2014, 08:13 AM
|
#24
|
Member
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238
Original Poster
Rep:
|
Quote:
Originally Posted by Didier Spaier
@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
|
|
|
07-11-2014, 08:36 AM
|
#25
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,148
Rep:
|
Quote:
Originally Posted by dumdadum
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.
|
07-11-2014, 08:39 AM
|
#26
|
Member
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238
Original Poster
Rep:
|
Quote:
Originally Posted by Didier Spaier
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
|
|
|
07-11-2014, 04:53 PM
|
#27
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,148
Rep:
|
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.
|
07-11-2014, 05:24 PM
|
#28
|
Member
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238
Original Poster
Rep:
|
Quote:
Originally Posted by Didier Spaier
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
|
|
|
07-14-2014, 08:01 AM
|
#29
|
Member
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238
Original Poster
Rep:
|
Quote:
Originally Posted by Didier Spaier
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
|
|
|
07-14-2014, 10:38 AM
|
#30
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,148
Rep:
|
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.
|
All times are GMT -5. The time now is 11:04 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|