Like slitazuserpaul, I was using a Compaq Armada E500 with Slitaz v 3 and was stuck with an 800x600 resolution.
I followed slitazuserpaul's suggestion to add certain HorizSync and VertRefresh Lines to my xorg.conf, after which I got a 1024x768 resolution and the same output from xrandr as he did.
mojo additionally suggested installing the mach64 driver and editing xorg.conf further. I did that too and rebooted successfully.
However, I'm not sure which driver I'm using, whether mach64 or (still) vesa.
If I'm using mach64, should it be showing up when I run lsmod? It doesn't.
Leslie
EDIT: More information. I ran the following three tazpkg commands as root in the order shown. Running tazpkg reconfigure xorg-xf86-video-mach64-6.8.0 returns that the package isn't installed; running tazpkg install xorg-xf86-video-mach64-6.8.0 returns that the package is installed; running tazpkg remove xorg-xf86-video-mach64-6.8.0 returns that the package isn't installed.
How is one supposed to resolve the inconsistent returns?
The log has many references to mach 64. I'll only mention two.
Early on, there's: "Loading /usr/lib/X11/modules/drivers//mach64_drv.so". However, later, there's: '[drm] failed to load kernel module "mach64"'.
I checked and mach64_drv.so does indeed exist. Whether it existed before, I can't say, but I did force the installation of the mach64 package, as you suggested.
Also, modprobe -l still doesn't show mach64 as a loadable module.
Thanks again, Kultex. I'd really appreciate being told how to proceed now.
load the modules with modprobe - whatever you need mach64, agp?, dri? and restart X - to make your changes permanent, all modules have to be added to the SliTaz Control Box under Initialization in “Load Modules”.
I've read the howto yet again and lots else besides since my earlier posts. I think I now understand my log file a bit better.
I AM using the mach64 driver; however, what the log file's telling me is that I'm not using drm/dri.
As to whether I'm using the mach64 driver, it seems that it doesn't have to appear in lsmod to be loaded and in use. An xfree86 document says,
"The XFree86 X server has a built-in run-time loader, which can load normal object files and libraries in most of the commonly used formats. The loader does not rely on an operating system's native dynamic loader support and it works on platforms that do not provide this feature. This allows for the modules to be operating system independent (although not, of course, CPU architecture independent) which means that a module compiled on Linux/x86 can be loaded by an X server running on Solaris/x86, or FreeBSD, or even OS/2."
My understanding now is that, provided my xorg.conf file names mach64 as my video driver, that driver will be loaded without worrying about modprobe. That would seem to be confirmed by the fact that, when I was using the vesa driver, it didn't appear in lsmod either.
As to not using drm/dri, my log file has the following entries:
(II) MACH64(0): [drm] SAREA 2200+1208: 3408 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (No such device) drmOpenDevice: open result is -1, (No such device) drmOpenDevice: Open failed drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (No such device) drmOpenDevice: open result is -1, (No such device) drmOpenDevice: Open failed [drm] failed to load kernel module "mach64" (EE) [drm] drmOpen failed. (EE) MACH64(0): [dri] DRIScreenInit Failed
I've tried to figure out how to overcome that problem, but failed.
My attempt involved installing mesa-dri-ati, which got me a file called /usr/lib/dri/mach64_dri.so. I then set LIBGL_DRIVERS_PATH to the path to that file. Things I read on the Web suggested that that might get DRM/DRI going, but it didn't. (I'd also followed the relevant steps in the howto.)
If you have any further suggestions for me as to how to get DRM/DRI going, I'd be grateful.
@UR10: it tells me that there's no such file or directory. As to finding out what the mknod codes should be: (1) doing searches hasn't found an answer to that; and (2) I'd try another distro's livecd, but I tried SliTaz because the laptop I'm using it on has only 128MB of RAM. If you can suggest another distro that might be suitable for the experiment, I'd be happy to give it a go.
More generally, what I've read tells me that some module, when loaded, adds card0 to /dev/dri. I'm guessing that it might be the mach64_dri module and that the line in the log, '[drm] failed to load kernel module "mach64"' is really referring in the context to mach64_dri.
@kultex: yes, I am ignorant, but, no, I'm not stupid. I'd taken those steps, following the howto, even before writing my original post
I tried Puppy Linux 5.01, Crunchbang 9.04 and Knoppix 6.2, all on livecd. The second wouldn't boot (though there was nothing wrong with the CD; it booted in a computer with more RAM); in the first and the third, direct rendering was disabled, according to the relevant log.