WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Xorg resolution  (Read 5432 times)

Offline osjbe

  • Newbie
  • *
  • Posts: 13
Xorg resolution
« on: October 10, 2017, 05:48:25 AM »
Dear Gurus,

I installed TinyCore through the Core+ CD on a partition of a vintage Sony Vaio computer (PIII, 1.86 GHz, RAM=2GO). This computer is capable of 1280x800 resolution. Graphic card is [AMD/ATI] RV410/M26 [Mobility Radeon X700].
The 1280x800 resolution is used when installing out of the box WinXP, Lubuntu 14.4, Puppy Linux and Vector Linux. By contrast Tiny Core (with Vesa) is using 1024x768 (even if I try to add 1280 800 to the first line in .xsession) hence circles turn into ellipses.

I did install Xorg and again under Xorg I could not succeed to get 1280x800 resolution
onboot.lst contains inter alia :
...lxrandr.tcz
firmware-radeon.tcz
Xorg-fonts.tcz
Xorg-7.7.tcz
xf86-input-evdev.tcz
xf86-video-amdgpu.tcz

I have added to xorg.conf.d
10-amdgpu.conf:
Code: [Select]
Section "OutputClass"
Identifier "AMDgpu"
MatchDriver "amdgpu"
Driver "amdgpu"
EndSection
and 10-monitor.conf:
Section "Monitor"
    Identifier             "Monitor0"
EndSection
Section "Device"
    Identifier             "Device0"
    Driver                 "amdgpu" #Choose the driver used for this monitor
EndSection
Section "Screen"
    Identifier             "Screen0" 
    Device                 "Device0"
    Monitor                "Monitor0"
    DefaultDepth           24
    SubSection             "Display"
        Depth              24
        Modes              "1280x800_59.90"
    EndSubSection
EndSection

and X does not show at atart of Tiny Core.
If I remove 10-monitor.conf X opens but not surprisingly with the 1024 resolution.

I have added to /etc/X11/xorg.conf the content of 10-monitor.conf above, X does open (with 1024 resolutions) only if I comment (#) the Driver line in Section Device.

Can you give me a hint at what I should do ? Thanks in anticipation.
« Last Edit: October 10, 2017, 10:26:43 AM by Rich »

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
Re: Xorg resolution
« Reply #1 on: October 10, 2017, 05:50:33 AM »
Have you tried xrander

Offline osjbe

  • Newbie
  • *
  • Posts: 13
Re: Xorg resolution
« Reply #2 on: October 10, 2017, 06:01:59 AM »
yes I did, 1024x768 is the highest resolution available.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14849
Re: Xorg resolution
« Reply #3 on: October 10, 2017, 06:10:07 AM »
Did you try xf86-video-ati?

You could also try without xf86-video-anything to see if the built-in modesetting driver gives you the resolution you need.

If you take a look at /var/log/Xorg.0.log you should be able to see which drivers Xorg tries to use and in what order.
« Last Edit: October 10, 2017, 06:12:26 AM by Juanito »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Xorg resolution
« Reply #4 on: October 10, 2017, 10:03:16 AM »
amdgpu is the driver for Radeon HD8000 and newer cards. You need xf86-video-ati.
The only barriers that can stop you are the ones you create yourself.

Offline osjbe

  • Newbie
  • *
  • Posts: 13
Re: Xorg resolution
« Reply #5 on: October 10, 2017, 06:05:49 PM »
Thank you for your feed back. I have added xf86-video-ati.tcz to onboot.lst but still I cannot get 1280x800 resolution.
Below is part of Xorg.0.log
Quote
tc@box:/var/log$ more Xorg.0.log | grep driver
[    23.001]    X.Org XInput driver : 24.1
[    23.017] (==) Matched ati as autoconfigured driver 0
[    23.017] (==) Matched modesetting as autoconfigured driver 1
[    23.017] (==) Matched fbdev as autoconfigured driver 2
[    23.017] (==) Matched vesa as autoconfigured driver 3
[    23.017] (==) Assigned the driver to the xf86ConfigLayout
[    23.017] (II) Loading /usr/local/lib/xorg/modules/drivers/ati_drv.so
[    23.091] (II) Loading /usr/local/lib/xorg/modules/drivers/radeon_drv.so
[    23.110] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[    23.115] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[    23.120] (II) VESA: driver for VESA chipsets: vesa
[    23.641]    ABI class: X.Org XInput driver, version 24.1
[    23.641] (II) Using input driver 'evdev' for 'Power Button'
[    23.709] (II) Using input driver 'evdev' for 'Video Bus'

maybe interesting to note is xrandr result
Code: [Select]
tc@box:~$ xrandr --addmode default  1820x800_59.90
xrandr: Failed to get size of gamma for output default
xrandr: cannot find mode "1820x800_59.90"

What should I do next ? Thanks.
« Last Edit: October 11, 2017, 10:21:49 AM by Rich »

Offline osjbe

  • Newbie
  • *
  • Posts: 13
Re: Xorg resolution
« Reply #6 on: October 10, 2017, 06:08:49 PM »
I tried without any xf86-video-anything as advised and got 1024x768 resolution.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14849
Re: Xorg resolution
« Reply #7 on: October 11, 2017, 01:59:16 AM »
When using xf86-video-ati, do you get a message further down in Xorg.0.log that the driver has been unloaded due to an error or missing file?

Is the 1280x800 resolution mentioned anywhere in Xorg.0.log?

Offline osjbe

  • Newbie
  • *
  • Posts: 13
Re: Xorg resolution
« Reply #8 on: October 11, 2017, 08:57:01 AM »
Below two conditions :

One with /etc/X11/xorg.conf like this :

Code: [Select]
Section "Monitor"
    Identifier             "Monitor0"
EndSection

#Section "Device"
#    Identifier             "Radeon"
#    Driver                 "ati" #Choose the driver used for this monitor
#EndSection

Section "Screen"
    Identifier             "Screen0"  #Collapse Monitor and Device section to Screen section
    Device                 "Radeon"
    Monitor                "Monitor0"
    DefaultDepth           24 #Choose the depth (16||24)
    SubSection             "Display"
        Depth              24
        Modes              "1280x800_59.90" #Choose the resolution
    EndSubSection
EndSection

in Xorg.0.log I see :


Code: [Select]
[    23.081] (II) LoadModule: "fbdev"
[    23.082] (WW) Warning, couldn't open module fbdev
 >:([    23.082] (II) UnloadModule: "fbdev"
 >:([    23.082] (II) Unloading fbdev
[    23.082] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    23.082] (II) LoadModule: "vesa"
[    23.082] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[    23.083] (II) Module vesa: vendor="X.Org Foundation"
[    23.083] compiled for 1.19.1, module version = 2.3.4
[    23.083] Module class: X.Org Video Driver
[    23.083] ABI class: X.Org Video Driver, version 23.0
[    23.083] (II) RADEON: Driver for ATI/AMD Radeon chipsets:
ATI Radeon Mobility X600 (M24), ATI FireMV 2400,
ATI Radeon Mobility X300 (M24), ATI FireGL M24 GL,
ATI Radeon X600 (RV380), ATI FireGL V3200 (RV380),
ATI Radeon IGP320 (A3), ATI Radeon IGP330/340/350 (A4),
ATI Radeon 9500, ATI Radeon 9600TX, ATI FireGL Z1, ATI Radeon 9800SE,
……..
[    23.085] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    23.085] (II) VESA: driver for VESA chipsets: vesa
[    23.085] (--) using VT number 2

[    23.088] (II) [KMS] drm report modesetting isn't supported.
[    23.088] (EE) open /dev/dri/card0: No such file or directory
[    23.088] (WW) Falling back to old probe method for modesetting
[    23.088] (EE) open /dev/dri/card0: No such file or directory
[    23.088] (EE) Screen 0 deleted because of no matching config section.
 >:([    23.088] (II) UnloadModule: "radeon"
[    23.088] (EE) Screen 0 deleted because of no matching config section.
 >:([    23.088] (II) UnloadModule: "modesetting"
[    23.088] (II) Loading sub module "vbe"
[    23.088] (II) LoadModule: "vbe"
[    23.088] (II) Loading /usr/local/lib/xorg/modules/libvbe.so
[    23.089] (II) Module vbe: vendor="X.Org Foundation"
[    23.089] compiled for 1.19.3, module version = 1.1.0
[    23.089] ABI class: X.Org Video Driver, version 23.0
[    23.089] (II) Loading sub module "int10"
[    23.089] (II) LoadModule: "int10"
[    23.089] (II) Loading /usr/local/lib/xorg/modules/libint10.so
[    23.094] (II) Module int10: vendor="X.Org Foundation"
[    23.094] compiled for 1.19.3, module version = 1.0.0
[    23.094] ABI class: X.Org Video Driver, version 23.0
[    23.094] (II) VESA(0): initializing int10
[    23.095] (II) VESA(0): Primary V_BIOS segment is: 0xc000



23.149] (II) LoadModule: "ddc"
[    23.149] (II) Module "ddc" already built-in

[    23.201] (II) VESA(0): VESA VBE DDC unkown failure 768
[    23.201] (II) VESA(0): VESA VBE PanelID read successfully
 :)[    23.201] (II) VESA(0): PanelID returned panel resolution 1280x800
[    23.201] (II) VESA(0): Searching for matching VESA mode(s):


 >:([    23.295] (II) VESA(0): Not using mode "1280x800_59.90" (no mode of this name)
[    23.295] (II) VESA(0): Not using built-in mode "1024x768" (no mode of this name)
[    23.295] (II) VESA(0): Not using built-in mode "1024x768" (no mode of this name)
[    23.295] (II) VESA(0): Not using built-in mode "800x600" (no mode of this name)
[    23.295] (II) VESA(0): Not using built-in mode "800x600" (no mode of this name)


The other with /etc/X11/xorg.conf like that :

Code: [Select]
#Section "Device"
#    Identifier             "Radeon"
#    Driver                 "ati" #Choose the driver used for this monitor
#EndSection

#Section "Screen"
    #Identifier             "Screen0"  #Collapse Monitor and Device section to Screen section
    #Device                 "Radeon"
    #Monitor                "Monitor0"
    #DefaultDepth           24 #Choose the depth (16||24)
    #SubSection             "Display"
        #Depth              24
        #Modes              "1280x800_59.90" #Choose the resolution
    #EndSubSection
#EndSection

in Xorg.0.log I see :


Code: [Select]
23.207] (II) LoadModule: "modesetting"
[    23.207] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[    23.211] (II) Module modesetting: vendor="X.Org Foundation"
[    23.211] compiled for 1.19.3, module version = 1.19.3
[    23.211] Module class: X.Org Video Driver
[    23.211] ABI class: X.Org Video Driver, version 23.0
[    23.211] (II) LoadModule: "fbdev"
[    23.212] (WW) Warning, couldn't open module fbdev
 >:([    23.212] (II) UnloadModule: "fbdev"
 >:([    23.212] (II) Unloading fbdev
[    23.212] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    23.212] (II) LoadModule: "vesa"
[    23.212] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[    23.213] (II) Module vesa: vendor="X.Org Foundation"

[    23.218] (II) [KMS] drm report modesetting isn't supported.
[    23.218] (EE) open /dev/dri/card0: No such file or directory
[    23.218] (WW) Falling back to old probe method for modesetting
[    23.218] (EE) open /dev/dri/card0: No such file or directory
[    23.218] (EE) Screen 0 deleted because of no matching config section.
 >:([    23.218] (II) UnloadModule: "radeon"
[    23.218] (EE) Screen 0 deleted because of no matching config section.
 >:([    23.218] (II) UnloadModule: "modesetting"
[    23.218] (II) Loading sub module "vbe"
[    23.218] (II) LoadModule: "vbe"
[    23.218] (II) Loading /usr/local/lib/xorg/modules/libvbe.so
[    23.219] (II) Module vbe: vendor="X.Org Foundation"
[    23.219] compiled for 1.19.3, module version = 1.1.0
[    23.219] ABI class: X.Org Video Driver, version 23.0
[    23.219] (II) Loading sub module "int10"
[    23.219] (II) LoadModule: "int10"
[    23.219] (II) Loading /usr/local/lib/xorg/modules/libint10.so
[    23.224] (II) Module int10: vendor="X.Org Foundation"
[    23.224] compiled for 1.19.3, module version = 1.0.0
[    23.224] ABI class: X.Org Video Driver, version 23.0
[    23.224] (II) VESA(0): initializing int10
[    23.225] (II) VESA(0): Primary V_BIOS segment is: 0xc000
[    23.225] (II) VESA(0): VESA BIOS detected

[    23.279] (II) Loading sub module "ddc"
[    23.279] (II) LoadModule: "ddc"
[    23.279] (II) Module "ddc" already built-in
[    23.331] (II) VESA(0): VESA VBE DDC unkown failure 768
[    23.331] (II) VESA(0): VESA VBE PanelID read successfully
 :)[    23.331] (II) VESA(0): PanelID returned panel resolution 1280x800
[    23.331] (II) VESA(0): Searching for matching VESA mode(s):
[    23.331] Mode: 100 (640x400)

Warm thanks.
« Last Edit: October 11, 2017, 10:24:59 AM by Rich »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14849
Re: Xorg resolution
« Reply #9 on: October 11, 2017, 09:56:32 AM »
You could try xf86-video-ati + graphics-KERNEL without the xorg.conf snippets?

Offline osjbe

  • Newbie
  • *
  • Posts: 13
Re: Xorg resolution
« Reply #10 on: October 11, 2017, 10:16:01 AM »
It works perfectly, thank you very much, I am very grateful Juanito .