Blog | LordVan's Page / Bloghttps://blog.lordvan.com/blog/2024-03-28T20:28:12.789145+00:00If you were looking for something specific you probably got redirected here from an old link to my (now gone) drupal blog. I migrated all the pages & blog entries to this blog, so just use the search here to find what you were looking for.Radeon RX590 + Ryzen7 2700X + MSI X470 Mainboard on linux amdgpu crash on boot2019-02-13T13:58:41.398901+00:002024-03-28T12:26:00.144215+00:00lordvanhttps://blog.lordvan.com/blog/author/lordvan/https://blog.lordvan.com/blog/radeon-rx590-ryzen7-2700x-msi-x470-mainboard-on-linux-amdgpu-crash-on-boot/<p>After about 2 weeks of trying to figure out where the problem was with the amdgpu driver on my RX590 on my Ryzen mainboard on linux prOMiNd in the #radeon channel on IRC (Freenode) said I should try with the kernel commandline <code>mem_encrypt=off</code> .. and it fixed it! -- the Issue manifested itself that the screen on booting up got "stuck" once the KMS (kernel mode setting) tried to use amdgpu. (<code>nomodeset</code> did work, but left me with no X,..)</p>
<ul>
<li>My Hardware:</li>
<li>AMD Ryzen 7 2700X</li>
<li>MSI X470 Gaming Plus</li>
<li>G.SKill 16GB Kit</li>
<li>Sapphire Nitro+ Radeon RX590 8GB Special Edition</li>
</ul>
<p>I expect disabling one or both of those will do the same:</p>
<pre>CONFIG_AMD_MEM_ENCRYPT=y<br/>CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT=y</pre>
<p>here's the relevant dmesg output in case someone has a similar issue (so search engines can find it):</p>
<pre>[ 14.161225] [drm] amdgpu kernel modesetting enabled.
[ 14.161259] Parsing CRAT table with 1 nodes
[ 14.161262] Ignoring ACPI CRAT on non-APU system
[ 14.161264] Virtual CRAT table created for CPU
[ 14.161264] Parsing CRAT table with 1 nodes
[ 14.161265] Creating topology SYSFS entries
[ 14.161269] Topology: Add CPU node
[ 14.161270] Finished initializing topology
[ 14.161345] checking generic (e0000000 300000) vs hw (e0000000 10000000)
[ 14.161346] fb0: switching to amdgpudrmfb from EFI VGA
[ 14.161372] Console: switching to colour dummy device 80x25
[ 14.161546] [drm] initializing kernel modesetting (POLARIS10 0x1002:0x67DF 0x1DA2:0xE366 0xE1).
[ 14.161552] [drm] register mmio base: 0xFE900000
[ 14.161553] [drm] register mmio size: 262144
[ 14.161558] [drm] add ip block number 0 <vi_common>
[ 14.161558] [drm] add ip block number 1 <gmc_v8_0>
[ 14.161559] [drm] add ip block number 2 <tonga_ih>
[ 14.161559] [drm] add ip block number 3 <gfx_v8_0>
[ 14.161559] [drm] add ip block number 4 <sdma_v3_0>
[ 14.161560] [drm] add ip block number 5 <powerplay>
[ 14.161560] [drm] add ip block number 6 <dm>
[ 14.161560] [drm] add ip block number 7 <uvd_v6_0>
[ 14.161561] [drm] add ip block number 8 <vce_v3_0>
[ 14.161568] [drm] UVD is enabled in VM mode
[ 14.161568] [drm] UVD ENC is enabled in VM mode
[ 14.161569] [drm] VCE enabled in VM mode
[ 14.161743] amdgpu 0000:1d:00.0: No more image in the PCI ROM
[ 14.161756] ATOM BIOS: 113-4E3661U-X6I
[ 14.161774] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
[ 14.161775] amdgpu 0000:1d:00.0: SME is active, device will require DMA bounce buffers
[ 14.161775] amdgpu 0000:1d:00.0: SME is active, device will require DMA bounce buffers
[ 14.311979] amdgpu 0000:1d:00.0: VRAM: 8192M 0x000000F400000000 - 0x000000F5FFFFFFFF (8192M used)
[ 14.311981] amdgpu 0000:1d:00.0: GART: 256M 0x000000FF00000000 - 0x000000FF0FFFFFFF
[ 14.311988] [drm] Detected VRAM RAM=8192M, BAR=256M
[ 14.311989] [drm] RAM width 256bits GDDR5
[ 14.312063] [TTM] Zone kernel: Available graphics memory: 8185614 kiB
[ 14.312064] [TTM] Zone dma32: Available graphics memory: 2097152 kiB
[ 14.312064] [TTM] Initializing pool allocator
[ 14.312069] [TTM] Initializing DMA pool allocator
[ 14.312103] [drm] amdgpu: 8192M of VRAM memory ready
[ 14.312104] [drm] amdgpu: 8192M of GTT memory ready.
[ 14.312123] software IO TLB: SME is active and system is using DMA bounce buffers
[ 14.312124] [drm] GART: num cpu pages 65536, num gpu pages 65536
[ 14.313844] [drm] PCIE GART of 256M enabled (table at 0x000000F400300000).
[ 14.313934] [drm:amdgpu_device_init.cold.34 [amdgpu]] *ERROR* sw_init of IP block <tonga_ih> failed -12
[ 14.313935] amdgpu 0000:1d:00.0: amdgpu_device_ip_init failed
[ 14.313937] amdgpu 0000:1d:00.0: Fatal error during GPU init
[ 14.313937] [drm] amdgpu: finishing device.
[ 14.314020] ------------[ cut here ]------------
[ 14.314021] Memory manager not clean during takedown.
[ 14.314045] WARNING: CPU: 6 PID: 4541 at drivers/gpu/drm/drm_mm.c:950 drm_mm_takedown+0x1a/0x20 [drm]
[ 14.314045] Modules linked in: amdgpu(+) mfd_core snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_seq_device chash i2c_algo_bit gpu_sched drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm snd_hda_codec_realtek snd_hda_codec_generic drm snd_hda_intel snd_hda_codec agpgart snd_hwdep snd_hda_core snd_pcm nct6775 snd_timer hwmon_vid kvm snd irqbypass k10temp macvlan r8169 pcnet32 mii e1000 efivarfs dm_snapshot dm_bufio
[ 14.314061] CPU: 6 PID: 4541 Comm: udevd Not tainted 4.20.2-gentooamdgpu #2
[ 14.314062] Hardware name: Micro-Star International Co., Ltd. MS-7B79/X470 GAMING PLUS (MS-7B79), BIOS A.40 06/28/2018
[ 14.314070] RIP: 0010:drm_mm_takedown+0x1a/0x20 [drm]
[ 14.314072] Code: 1c b1 a5 ca 66 66 2e 0f 1f 84 00 00 00 00 00 90 48 8b 47 38 48 83 c7 38 48 39 c7 75 01 c3 48 c7 c7 30 88 23 c0 e8 4d b3 a5 ca <0f> 0b c3 0f 1f 00 41 57 41 56 49 89 f6 41 55 41 54 49 89 fd 55 53
[ 14.314073] RSP: 0018:ffffaf2d839b7a08 EFLAGS: 00010286
[ 14.314074] RAX: 0000000000000000 RBX: ffff95a68c102b00 RCX: ffffffff8be47158
[ 14.314075] RDX: 0000000000000001 RSI: 0000000000000096 RDI: ffffffffa7ec6e2c
[ 14.314076] RBP: ffff95a68a9229e8 R08: 000000000000003c R09: 0000000000000001
[ 14.314077] R10: 0000000000000000 R11: 0000000000000001 R12: ffff95a68a9229c8
[ 14.314077] R13: 0000000000000000 R14: 0000000000000170 R15: ffff95a686289930
[ 14.314079] FS: 00007fe4117017c0(0000) GS:ffff95a68eb80000(0000) knlGS:0000000000000000
[ 14.314080] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 14.314081] CR2: 00007ffc0740f8e8 CR3: 000080040c5d0000 CR4: 00000000003406e0
[ 14.314081] Call Trace:
[ 14.314149] amdgpu_vram_mgr_fini+0x1d/0x40 [amdgpu]
[ 14.314154] ttm_bo_clean_mm+0x9d/0xb0 [ttm]
[ 14.314216] amdgpu_ttm_fini+0x6c/0xe0 [amdgpu]
[ 14.314277] amdgpu_bo_fini+0x9/0x30 [amdgpu]
[ 14.314344] gmc_v8_0_sw_fini+0x2d/0x50 [amdgpu]
[ 14.314416] amdgpu_device_fini+0x235/0x3d6 [amdgpu]
[ 14.314477] amdgpu_driver_unload_kms+0xab/0x150 [amdgpu]
[ 14.314536] amdgpu_driver_load_kms+0x181/0x250 [amdgpu]
[ 14.314543] drm_dev_register+0x10e/0x150 [drm]
[ 14.314602] amdgpu_pci_probe+0xb8/0x120 [amdgpu]
[ 14.314606] local_pci_probe+0x3c/0x90
[ 14.314609] pci_device_probe+0xdc/0x160
[ 14.314612] really_probe+0xee/0x2a0
[ 14.314613] driver_probe_device+0x4a/0xb0
[ 14.314615] __driver_attach+0xaf/0xd0
[ 14.314617] ? driver_probe_device+0xb0/0xb0
[ 14.314619] bus_for_each_dev+0x71/0xb0
[ 14.314621] bus_add_driver+0x197/0x1e0
[ 14.314623] ? 0xffffffffc0369000
[ 14.314624] driver_register+0x66/0xb0
[ 14.314626] ? 0xffffffffc0369000
[ 14.314628] do_one_initcall+0x41/0x1b0
[ 14.314631] ? _cond_resched+0x10/0x20
[ 14.314633] ? kmem_cache_alloc_trace+0x35/0x170
[ 14.314636] do_init_module+0x55/0x1e0
[ 14.314639] load_module+0x2242/0x2480
[ 14.314642] ? __do_sys_finit_module+0xba/0xe0
[ 14.314644] __do_sys_finit_module+0xba/0xe0
[ 14.314646] do_syscall_64+0x43/0xf0
[ 14.314649] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 14.314651] RIP: 0033:0x7fe411a7f669
[ 14.314652] Code: 00 00 75 05 48 83 c4 18 c3 e8 b3 b7 01 00 0f 1f 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e7 a7 0c 00 f7 d8 64 89 01 48
[ 14.314653] RSP: 002b:00007ffe7cb639e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 14.314655] RAX: ffffffffffffffda RBX: 000056165f9c3150 RCX: 00007fe411a7f669
[ 14.314656] RDX: 0000000000000000 RSI: 00007fe411b6190d RDI: 0000000000000016
[ 14.314656] RBP: 00007fe411b6190d R08: 0000000000000000 R09: 0000000000000002
[ 14.314657] R10: 0000000000000016 R11: 0000000000000246 R12: 0000000000000000
[ 14.314658] R13: 000056165f9d3270 R14: 0000000000020000 R15: 000056165f9c3150
[ 14.314659] ---[ end trace 9db69ba000fb2712 ]---
[ 14.314664] [TTM] Finalizing pool allocator
[ 14.314666] [TTM] Finalizing DMA pool allocator
[ 14.314700] [TTM] Zone kernel: Used memory at exit: 124 kiB
[ 14.314703] [TTM] Zone dma32: Used memory at exit: 124 kiB
[ 14.314704] [drm] amdgpu: ttm finalized
[ 14.314868] amdgpu: probe of 0000:1d:00.0 failed with error -12
</pre>Touchscreen and stylus working - yay2008-10-02T05:35:00+00:002024-03-28T09:44:01.442014+00:00lordvanhttps://blog.lordvan.com/blog/author/lordvan/https://blog.lordvan.com/blog/touchscreen-and-stylus-working-yay/<p>Finally got the touchscreen and Stylus to work (duno about eraser part but that's not that important to me ;))<br/>I had to install linux-2.6.27-rc7 for this to work. for some reason this gives me a total of 11 /dev/input/event* devices instead of the total of 5 before but whatever it works.<br/>One other reason why I tried the kernel was cuz I wanted to use both cores of my CPU (2.6.26-gentoo-r7 didn't detect the 2nd core - I checked out the kernel source and it had to do with some bios(?) cpu map ... ) and to have ACPI working as well :)<br/>On a side-note ACPI now works (battery percentage + automatic power off when shutting down)<br/>I had to write patches for the ati-drivers to compile with 2.6.27 (simple ones, which I'll put on gentoo bugzilla and - if i find out where/how - give to ati ... One problem is though that the newest Catalyst 8.9 (8.532) does *not* work on my machine .. it keeps crashing X with some error about atiddxShadow or something .. so I downgraded to 8.8 (8.522) again and modified the patch I wrote to work with that too :) .. Haven't tried any wine games since then but I'm using the same gfx driver ... on the bright side .. Never Winter Nights is cool with a pen :D<br/><br/></p>Got a HP Pavilion tx2550 toucscreen / tablet laptop ;)2008-09-22T06:25:00+00:002024-03-28T10:52:15.800475+00:00lordvanhttps://blog.lordvan.com/blog/author/lordvan/https://blog.lordvan.com/blog/got-a-hp-pavilion-tx2550-toucscreen-tablet-laptop/<p>Got a new laptop ;) a HP Pavilion tx2550eg touchscreen laptop / tablet pc.<br/><br/>Progress so far:<br/>ACPI does not work<br/>ati-drivers (closed source) working with xorg-server <=1.5.0 only (1.5.0 is xorg 7.4 which is not supported yet) currently running xorg-server 1.4.2<br/>sound is intel hda which only works so far with model=acer (auto does give mixer, but no sound) unfortunately it does not disable speakers when plugging in a headset (chipset is ALC268)<br/>onboard lan RealTek 8169 (module r8169) working.<br/>WLAN Broadcom 432b chip supposedly detected by broadcom non-OSS driver, but doesn't let me set ESSID and doesn't seem to work ...<br/>touchscreen/pen problems currently prolly cuz wacom driver does not support those devices USB according to page. will investigate.<br/>fingerprint reader *should* work, but didn't try yet<br/>webcam detected and driver loaded .. will test that today.<br/>bluetooth and IRDA still to try<br/>haven't tested the card readers yet but should be able to do that soon too...<br/><br/></p>HP Pavillion tx 2550eg & Gentoo2008-03-10T05:42:00+00:002024-03-28T20:28:12.789145+00:00lordvanhttps://blog.lordvan.com/blog/author/lordvan/https://blog.lordvan.com/blog/hp-pavillion-tx-2550eg-gentoo/<p>I reported some bugs on gentoo bugzilla. Will still write a page/blog/wiki about the whole thing but if someone is looking for info now .. there it goes:<br/><br/><a href="https://bugs.gentoo.org/show_bug.cgi?id=239393">linux kernel 2.6.27(rc7) smp function changes + patches for ati-drivers</a><br/><a href="https://bugs.gentoo.org/show_bug.cgi?id=239395">ati-drivers-8.532 - catalyst 8.9 crash</a><br/><a href="https://bugs.gentoo.org/show_bug.cgi?id=239397">linuxwacom 0.8.1 with usb tablet support</a><br/><br/>Attached is my xorg.conf - non-cleaned up and in it's complete mess with vesa drivers as well as ati-drivers (for when i messed up ati-drivers hehe)<br/><br/>One thing that helped me a lot was the <a href="https://sourceforge.net/tracker/index.php?func=detail&aid=1593330&group_id=69596&atid=525127">usb tablet pc support </a>tracker entry on the linuxwacom SF.net tracker<br/><br/>P.S.: still working on that screen rotation but that is a minor issue for me since everything else works now :)<br/>Oh and still haven't tested IrDA, bluetooth or the card readers yet .. not v important to me i guess ;)</p>
<p></p>
<p>xorg.conf:</p>
<pre style="text-align: start;"><br class="Apple-interchange-newline"/>
# File generated by xorgconfig.
#
# Copyright 2004 The X.Org Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# The X.Org Foundation BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# Except as contained in this notice, the name of The X.Org Foundation shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from
# The X.Org Foundation.
#
# **********************************************************************
# Refer to the xorg.conf(5) man page for details about the format of
# this file.
# **********************************************************************
# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************
# **********************************************************************
# Server flags section.
# **********************************************************************
# **********************************************************************
# Input devices
# **********************************************************************
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
# **********************************************************************
# Other input device sections
# this is optional and is required only if you
# are using extended input devices. This is for example only. Refer
# to the xorg.conf man page for a description of the options.
# **********************************************************************
#
# Section "InputDevice"
# Identifier "Mouse2"
# Driver "mouse"
# Option "Protocol" "MouseMan"
# Option "Device" "/dev/mouse2"
# EndSection
#
# Section "InputDevice"
# Identifier "spaceball"
# Driver "magellan"
# Option "Device" "/dev/cua0"
# EndSection
#
# Section "InputDevice"
# Identifier "spaceball2"
# Driver "spaceorb"
# Option "Device" "/dev/cua0"
# EndSection
#
# Section "InputDevice"
# Identifier "touchscreen0"
# Driver "microtouch"
# Option "Device" "/dev/ttyS0"
# Option "MinX" "1412"
# Option "MaxX" "15184"
# Option "MinY" "15372"
# Option "MaxY" "1230"
# Option "ScreenNumber" "0"
# Option "ReportingMode" "Scaled"
# Option "ButtonNumber" "1"
# Option "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
# Identifier "touchscreen1"
# Driver "elo2300"
# Option "Device" "/dev/ttyS0"
# Option "MinX" "231"
# Option "MaxX" "3868"
# Option "MinY" "3858"
# Option "MaxY" "272"
# Option "ScreenNumber" "0"
# Option "ReportingMode" "Scaled"
# Option "ButtonThreshold" "17"
# Option "ButtonNumber" "1"
# Option "SendCoreEvents"
# EndSection
# **********************************************************************
# Monitor section
# **********************************************************************
# Any number of monitor sections may be present
# **********************************************************************
# Graphics device section
# **********************************************************************
# Any number of graphics device sections may be present
# Standard VGA Device:
# Device configured by xorgconfig:
# **********************************************************************
# Screen sections
# **********************************************************************
# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.
# wacom pen device
# Wacom touchscreen
Section "ServerLayout"
# The Identifier line must be present
# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.
# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".
Identifier "Simple Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
# Screen 0 "Screen 1" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "touch" "SendCoreEvents"
InputDevice "stylus" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
Section "Files"
# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
# FontPath "/usr/lib/X11/fonts/local/"
# FontPath "/usr/lib/X11/fonts/misc/"
# FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
# FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
# FontPath "/usr/lib/X11/fonts/Type1/"
# FontPath "/usr/lib/X11/fonts/TrueType/"
# FontPath "/usr/lib/X11/fonts/freefont/"
# FontPath "/usr/lib/X11/fonts/75dpi/"
# FontPath "/usr/lib/X11/fonts/100dpi/"
# The module search path. The default path is shown here.
# ModulePath "/usr/lib/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
# This loads the DBE extension module.
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
# This loads the font modules
# Load "type1"
# This loads the GLX module
# Load "glx"
# This loads the DRI module
Load "dri"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "freetype"
# Load "xtt"
EndSection
Section "InputDevice"
# Option "Xleds" "1 2 3"
# Option "LeftAlt" "Meta"
# Option "RightAlt" "ModeShift"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc105"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# These are the default XKB settings for Xorg
# Option "XkbRules" "xorg"
# Option "XkbModel" "pc105"
# Option "XkbLayout" "us"
# Option "XkbVariant" ""
# Option "XkbOptions" ""
# Option "XkbDisable"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Option "XkbOptions" "eurosign:e"
EndSection
Section "InputDevice"
# Identifier and driver
# Option "Resolution" "256"
# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.
# Option "BaudRate" "9600"
# Option "SampleRate" "150"
# Mouse wheel mapping. Default is to map vertical wheel to buttons 4 & 5,
# horizontal wheel to buttons 6 & 7. Change if your mouse has more than
# 3 buttons and you need to map the wheel to different button ids to avoid
# conflicts.
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto" # Auto detect
Option "Device" "/dev/input/mouse0" #ice"
# Mouse-speed setting for PS/2 mouse.
Option "ZAxisMapping" "4 5 6 7"
# Emulate3Buttons is an option for 2-button mice
Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"
# ChordMiddle is an option for some 3-button Logitech mice
# Option "ChordMiddle"
EndSection
Section "InputDevice"
# Option "TopX" "0"
# Option "TopY" "0"
# Option "BottomX" "1024"
# Option "BottomY" "768"
Identifier "stylus"
Driver "wacom"
Option "type" "stylus"
Option "device" "/dev/input/by-path/pci-0000:00:14.5-usb-0:2:1.0-wacom"
Option "USB" "on"
Option "ForceDevice" "ISDV4"
Option "SendCoreEvents" "True"
# Make the stylus button a right-click
Option "Button2" "3"
# Calibration for the touch screen. Yours may vary.
EndSection
Section "InputDevice"
# Option "TopX" "0"
# Option "TopY" "0"
# Option "BottomX" "1024"
# Option "BottomY" "768"
Identifier "eraser"
Driver "wacom"
Option "type" "eraser"
Option "device" "/dev/input/by-path/pci-0000:00:14.5-usb-0:2:1.0-wacom"
Option "USB" "on"
Option "SendCoreEvents" "true"
Option "ForceDevice" "ISDV4"
# Calibration for the touch screen. Yours may vary.
EndSection
Section "InputDevice"
# Option "TopX" "0"
# Option "TopY" "0"
# Option "BottomX" "160"
# Option "BottomY" "120"
Identifier "touch"
Driver "wacom"
Option "type" "touch"
Option "device" "/dev/input/by-path/pci-0000:00:14.5-usb-0:2:1.1-wacom"
Option "USB" "on"
Option "ForceDevice" "ISDV4"
Option "SendCoreEvents" "true"
# Calibration for the touch screen. Yours may vary.
EndSection
Section "Monitor"
# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
Identifier "LCD"
HorizSync 31.5 - 57.0
VertRefresh 50.0 - 70.0
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Device"
# The chipset line is optional in most cases. It can be used to override
# the driver's chipset detection, and should not normally be specified.
# Chipset "generic"
# The Driver line must be present. When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module. Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for. When this line isn't present, a device
# section can only match up with the primary video device. For PCI
# devices a line like the following could be used. This line should not
# normally be included unless there is more than one video device
# intalled.
# BusID "PCI:0:10:0"
# VideoRam 256
# Clocks 25.2 28.3
Identifier "Standard VGA"
Driver "vga"
VendorName "Unknown"
BoardName "Unknown"
EndSection
Section "Device"
Identifier "VESA"
Driver "vesa"
EndSection
Section "Device"
# ati
# unsupported card
# Insert Clocks lines here if appropriate
Identifier "AtiRadeonHD3200"
## radeonhd ... does not detect card
## radeon ... does find card, but crash after few secs of usage
Driver "radeon"
VideoRam 262144
EndSection
Section "Device"
## Driver / Performance Options
# Option "DesktopSetup" "clone"
# Option "EnableMonitor" "crt1,lvds"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
Option "XAANoOffscreenPixmaps" "true"
# Option "TexturedVideo" "On"
### Set to 1 - better , set to 2 for compability, and 0 for basic
Option "UseFastTLS" "1"
### Experimental
# Option "Textured2D" "on"
# Option "TexturedXRender" "on"
# Option "BackingStore" "on"
### forced turned off so TextureVideo is used ?? -- turned it off cuz dont' see the point (LV)
# Option "VideoOverlay" "off"
# Option "OpenGLOverlay" "on"
## Desktop Setup
# Option "Capabilities" "0x00000800"
# Option "PseudoColorVisuals" "on"
BusID "PCI:1:5:0"
EndSection
Section "Screen"
Identifier "Screen 1"
Device "VESA"
# Device "ATIRadeonHD3200"
Monitor "LCD"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "DRI"
Group "video"
Mode 0666
EndSection
</pre>
<p></p>