SlackwareThis 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.
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.
Hmm i setted 1280x1024 and changed vesa with radeon and when i relog in X, my res is like 1152x768, not 1280x1024. Hmm what should i edit so i could actually use it afterall?
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309
Rep:
Assuming radeon driver will fail to display that high resolution instead of removing it or decrease color depth you could install ATI proprietary driver (fglrx) as I described above. Perhaps fglrx driver will be better in that case than radeon one. But first try standard radeon.
On most "standard" X-servers, the vesa frame buffer driver is uvesafb, not vesa. I don't use a slackware distribution, and it's possible that the driver is named differently from the normal name, but, looking at the above posts, the Drive "vesa" line seems inconsistent with the Identifier "VESA Framebuffer" part. (Of course, the only xorg.conf requirement is that the Identifer text match the text in the Device item of the Screen stanza. But, still, it looks a little strange.)
Also, I believe the uvesafb driver may provide higher resolutions than the older vesa one.
On most "standard" X-servers, the vesa frame buffer driver is uvesafb, not vesa. I don't use a slackware distribution, and it's possible that the driver is named differently from the normal name, but, looking at the above posts, the Drive "vesa" line seems inconsistent with the Identifier "VESA Framebuffer" part. (Of course, the only xorg.conf requirement is that the Identifer text match the text in the Device item of the Screen stanza. But, still, it looks a little strange.)
Also, I believe the uvesafb driver may provide higher resolutions than the older vesa one.
ATI driver simply changes xorg.conf. It did it at past as well. I just didn't spot it so far.
I managed to install the older ati driver you told me about, all went well untill I restarted X, as soon as it starts my monitor says, Over frequency h70Hz v60Hz. I tried entering terminal again and entering aticonfig, i didn`t manage to resolve a thing, how can i remove, or change the resolution of X? I did find something like aticonfig --resolution=0, 1280x1024, 1024x768 ... etc, i tried to type in (root) :
aticonfig --resolution=1280x1024 and pressed enter, but it tells me failed, expected # ... Damn i reinstalled the whole system because an X problem earlyer today, i can`t afford to lose another 2 hours installing it again. Please help.
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309
Rep:
You don't have to reinstall the entire system if you can't run X Window. Original xorg.conf-vesa is stored in x11-skel package. You'll find it in X series. It's enough to overwrite xorg.conf using that file.
Moreover during the installation ATI driver makes the copy of the original /etc/X11/xorg.conf named xorg.conf.original-0. To restore the original xorg.conf is enough to overwrite it using that copy.
I never tried aticonfig --resolution=0, 1280x1024, 1024x768 ... etc. commands so I don't know how it works.
I suggest you to go to the console mode, to log in as root, and to use Midnight Commander. Use the first console to run X Window (don't run Midnight Commander here) and the second and third consoles in text mode (with Midnight Commander).
Remember to remove the old ATI driver installation with /usr/share/ati/fglrx-uninstall.sh before installing the new one.
First restore the original xorg.conf using the second console in text mode and run X Window using the first console.
If X Window will run exit it, install ATI driver using the second console, and run X Window once again using the first console.
If X Window will fail modify xorg.conf manually.
Horizontal and vertical frequencies are stored in Monitor section:
You don't have to reinstall the entire system if you can't run X Window. Original xorg.conf-vesa is stored in x11-skel package. You'll find it in X series. It's enough to overwrite xorg.conf using that file.
Moreover during the installation ATI driver makes the copy of the original /etc/X11/xorg.conf named xorg.conf.original-0. To restore the original xorg.conf is enough to overwrite it using that copy.
I never tried aticonfig --resolution=0, 1280x1024, 1024x768 ... etc. commands so I don't know how it works.
I suggest you to go to the console mode, to log in as root, and to use Midnight Commander. Use the first console to run X Window (don't run Midnight Commander here) and the second and third consoles in text mode (with Midnight Commander).
Remember to remove the old ATI driver installation with /usr/share/ati/fglrx-uninstall.sh before installing the new one.
First restore the original xorg.conf using the second console in text mode and run X Window using the first console.
If X Window will run exit it, install ATI driver using the second console, and run X Window once again using the first console.
If X Window will fail modify xorg.conf manually.
Horizontal and vertical frequencies are stored in Monitor section:
31.5 - 48.5 # Non-Interlaced SVGA, 1024x768 @ 60 Hz, 800x600 @ 72 Hz
31.5 - 57.0 # High Frequency SVGA, 1024x768 @ 70 Hz
31.5 - 64.3 # Monitor that can do 1280x1024 @ 60 Hz
31.5 - 79.0 # Monitor that can do 1280x1024 @ 74 Hz
31.5 - 82.0 # Monitor that can do 1280x1024 @ 76 Hz
or custom...
Vertical refresh ranges are:
50-70
50-90
50-100
40-150
or custom...
Assure what frequencies allows your monitor, and modify appropriately xorg.conf. Don't exceed the values recommended in the manual. Then run X Window.
I tried for about 3 hours to replace the xorg file used by the ati driver, with the original backup usinc the mc command and didn`t do shit. So i spent another 2 hours reinstalling my system, and i might as well cope with the 1024x768 resolution, just because i`m scared of fu**ing up X again.
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309
Rep:
Quote:
Originally Posted by Bller
I tried for about 3 hours to replace the xorg file used by the ati driver, with the original backup usinc the mc command and didn`t do shit. So i spent another 2 hours reinstalling my system, and i might as well cope with the 1024x768 resolution, just because i`m scared of fu**ing up X again.
Never reinstall system because you're unable to run some service or program.
To replace xorg.conf with the original file it's enough to insert Slackware 12.2 second installation CD-ROM into drive. Run mount /mnt/cdrom command. Run cd /mnt/cdrom/slackware/x/ command. Run installpkg x11-skel-7.1-noarch-6.tgz command. Run cd /etc/X11 command. Run cp xorg.conf-vesa xorg.conf command. Run umount /mnt/cdrom command.
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309
Rep:
Quote:
Originally Posted by Bller
Ah great, thank you !
Nice...
So prepare backup copy of your xorg.conf using commands:
Code:
cd /etc/X11
cp -p xorg.conf xorg.conf.bak
Then try to overwrite your xorg.conf using original file from install DVD. Maybe you're tired playing with that file but do that once to get to know how can you do it in the future without reinstalling the entire system.
At the end restore your xorg.conf:
Code:
cd /etc/X11
cp -p xorg.conf.bak xorg.conf
***
Before installing the package anew you have to determine which package contains xorg.conf. To do it use the command:
Code:
for file in /var/log/packages/* ; do grep -l xorg.conf $file ; done
So prepare backup copy of your xorg.conf using commands:
Code:
cd /etc/X11
cp -p xorg.conf xorg.conf.bak
Then try to overwrite your xorg.conf using original file from install DVD. Maybe you're tired playing with that file but do that once to get to know how can you do it in the future without reinstalling the entire system.
At the end restore your xorg.conf:
Code:
cd /etc/X11
cp -p xorg.conf.bak xorg.conf
***
Before installing the package anew you have to determine which package contains xorg.conf. To do it use the command:
Code:
for file in /var/log/packages/* ; do grep -l xorg.conf $file ; done
As you see the second package contains manual page and the first package contains two configuration files in etc/X11 directory.
Great i know now how to overwrite that file, thats what i needed to know.
But still i can`t stand this 1024x768 resolution, i want my 1280 #-o, i just can`t seem to fin anything to work.
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309
Rep:
Quote:
Originally Posted by Bller
Great i know now how to overwrite that file, thats what i needed to know.
But still i can`t stand this 1024x768 resolution, i want my 1280 #-o, i just can`t seem to fin anything to work.
Check in the manual of your monitor or laptop horizontal and vertical sync and refresh ranges. Then add to Modes ... lines the resolution "1280x1024" and change horizontal sync range to 31.5 - 64.3 (assuming it's allowed in manual). At the end run X Window. You can change horizontal refresh range in the same way. I enumerated some available horizontal and vertical frequencies in post #22.
If something will go wrong you always can restore your xorg.conf using backup you did or original file from the noarch package.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.