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.
I have slackware64 13.37 installed on my new laptop, whose display resolution is 1366x768, but it will only display at 1024x768, stretched to fill the whole screen.
of which only /etc/X11/xorg.conf-vesa refers to monitor settings. I completely removed this file and rebooted, but it made no difference. I have also altered this file's content by adding "1366x768" to each relevant line in the Monitor Section, thus
Code:
Section "Screen"
Identifier "Screen 1"
Device "VESA Framebuffer"
Monitor "My Monitor"
# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.
# DefaultDepth 8
# DefaultDepth 16
DefaultDepth 24
# DefaultDepth 32
# "1024x768" is also a conservative usable default resolution. If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)
Subsection "Display"
Depth 8
Modes "1366x768" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 16
Modes "1366x768" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "1366x768" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 32
Modes "1366x768" "1024x768" "800x600" "640x480"
EndSubsection
EndSection
This also had no effect on the actual display, I still get
Code:
~ $ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
1024x768 0.0*
I have no clue what gamma may be, but xrandr complains of its unavailability every time I run it, so I'm guessing that is the sticking point here. Any suggestions?
And we should really look at the /var/log/Xorg.0.log file, too. Only having 1024x768 as a supported resolution makes me think that you may be using the vesa driver.
I would remove the mods from xorg that you don't want, also attention with the depth cos if it is higher than your video card support it wont set the desired resolution or it will shrink it with some weird size.
Lets say your card only support 16bit depth so the sections monitor and screen will be something like(example):
And we should really look at the /var/log/Xorg.0.log file, too. Only having 1024x768 as a supported resolution makes me think that you may be using the vesa driver.
Adam
Xorg.0.log is attached
Last edited by porphyry5; 04-06-2012 at 02:36 PM.
Reason: Reloading Xorg.0.log
Your laptop is using the AMD Radeon HD6320, which is inbuilt into your CPU. This chip is simply too new to be known by the radeon driver from Slackware 13.37, therefore the system uses the vesa driver. It may help if you install the newer kernel, Mesa and libdrm from /testing, if not it definitely will work with AMD's proprietary driver.
Last edited by TobiSGD; 04-06-2012 at 04:29 PM.
Reason: fixed the name of the video-chip
I would remove the mods from xorg that you don't want, also attention with the depth cos if it is higher than your video card support it wont set the desired resolution or it will shrink it with some weird size.
Lets say your card only support 16bit depth so the sections monitor and screen will be something like(example):
Could you post the output for:
Code:
lspci | grep -i vga
and:
Code:
dmesg | grep -i vga
To figure out what hardware it is and how it is been used.
Regards
Your example code looked like it came from xorg.conf, which I did not have originally (though I have since generated it), what I had is xorg.conf-vesa, which has a rather different setup. As soon as I finish this I'll try adding the appropriate mode line to /root/xorg.conf.new, and see if it works (what it gives me now is a blank screen).
Code:
root@a:~# lspci|grep -i vga
00:01.0 VGA compatible controller: ATI Technologies Inc Device 9806
root@a:~# dmesg|grep -i vga
[ 8.312887] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
root@a:~#
Your laptop is using the AMD 6320, which is inbuilt into your CPU. This chip is simply new to be known by the radeon driver from Slackware 13.37, therefore the system uses the vesa driver. It may help if you install the newer kernel, Mesa and libdrm from /testing, if not it definitely will work with AMD's proprietary driver.
Thank you, I was wondering myself if the hardware was too new, when I bought the laptop there were no user reviews for it, but newegg's price was so low I couldn't resist. If AMD has a proprietary linux driver, I'll go that route first.
You linked to version 12.2, the current version is 12.3. AMD releases an updated driver every month, I recommend to always get your drivers from the manufacturer's website. That way you will always get the newest version and you don't have to trust a third party that the driver is not modified.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.