hw/swcursor on eee pc x101ch
- Vous devez vous identifier ou créer un compte pour écrire des commentaires
I'm running Trisquel on an Asus Eee PC X101CH. Post install, I had to upgrade to the linux-libre 3.5 kernel in order for my screen resolution to be accurately set. I believe I'm using the xserver-xorg-intel driver.
I'd like to use redshift to adjust the temperature of my screen at night, but it doesn't seem to change any color at all. It refuses to use randr mode, throwing an error. It'll fallback on vidmode, which I've set up to use screen0 (the only screen I think I could possibly have). In verbose mode, it shows the temperature changing, but the screen color doesn't change.
The redshift docs mention turning off hardware mouse pointers to get it to work. After some searching, I've set several combinations of HWcursor and SWcursor in /etc/X11/xorg.conf and /etc/X11/xorg.conf.vesa to no avail.
Does anyone have recommendations for how to disable hardware cursors in this setup or is anyone successfully using redshift?
Thanks!
Redshift works for me on radeon. What is the error message? The intel driver doesn't according to the man page have any option to draw cursor in either hw or sw.
That's the kicker, there's absolutely no error in vidmode. Here's my ~/.config/redshift.conf:
; Global settings
[redshift]
temp-day=6500
temp-night=3800
transition=1
gamma=1.0
;location-provider=manual
adjustment-method=vidmode
; The location provider and adjustment method settings
; are in their own sections.
;[manual]
;lat=44.42
;lon=26.10
; In this example screen 1 is adjusted by vidmode. Note
; that the numbering starts from 0, so this is actually
; the second screen.
[vidmode]
screen=0
redshift with verbose output:
christopher@dissentio:~$ redshift -v
** (process:3323): WARNING **: Metadata for error domain "geoclue-error-quark" already registered
Started Geoclue provider `Geoclue Master'.
Using provider `geoclue'.
According to the geoclue provider we're at: 36.17, -94.46
Location: 36.168999, -94.456398
Brightness: 1.00
Gamma: 1.000, 1.000, 1.000
Period: Daytime
Color temperature: 6500K
Period: Daytime
Color temperature: 6500K
Period: Daytime
Color temperature: 6500K
Period: Daytime
(and so on, counting down the color)
Here's the same output forcing randr mode:
christopher@dissentio:~$ redshift -v -m randr
** (process:4084): WARNING **: Metadata for error domain "geoclue-error-quark" already registered
Started Geoclue provider `Geoclue Master'.
Using provider `geoclue'.
According to the geoclue provider we're at: 36.17, -94.46
Location: 36.168999, -94.456398
Brightness: 1.00
Gamma: 1.000, 1.000, 1.000
Gamma ramp size too small: 0
Failed to start adjustment method randr.
Manually setting a temperature:
christopher@dissentio:~$ redshift -v -O 3700K
Brightness: 1.00
Gamma: 1.000, 1.000, 1.000
Color temperature: 3700K
None of this is really showing any errors and it simply doesn't adjust the color of the screen. It also won't adjust the brightness if I use that setting.
Note that I realize the initial output wasn't counting down. At night, it properly counts down to 3700K.
Try putting this to /etc/X11/xorg.conf
Section "Device" Identifier "my intel cardie name" Driver "intel" Option "NoAccel" "true" EndSection
That should kill all hw acceleration. If it works with that, you can try enabling some accels to see if you find a working compromise.
Disabling acceleration didn't appear to change anything, but in editing that, it occured to me that I may not be using the intel driver after all. Here's my /etc/X11/xorg.conf as it was immediately after install:
Section "Device"
Identifier "Default"
Option "GLXVBlank" "on"
EndSection
Is there a reliable way to discern which driver I'm using or is there a way to set/unset hardware cursors under that configuration?
Thanks for the input!
That option is for the nouveau driver. Do you have a nvidia GPU?
You can try and see what main menu > system > details say about your gfx. Or you can try to decipher xorg's log file.
It's not an nvidia as far as I know. H-Node says it's Intel:
Intel Corporation Atom Processor D2xxx/N2xxx Integrated Graphics Controller (rev 09) (works, but without 3D acceleration)
(http://h-node.org/notebooks/view/en/651/Eee-PC-X101CH)
The system details show "Graphics: Unknown". Is there a way to force the intel driver?
That xorg.conf snippet should do it. What does lspci -nn spit out?
The issue I had with the previous snippet is that I was unsure what the identifier string for my card would be. Using Driver "intel" appears to load the intel driver (as anticipated) by looking at xorg's logs.
Here's the command output requested:
00:00.0 Host bridge [0600]: Intel Corporation Atom Processor D2xxx/N2xxx DRAM Controller [8086:0bf1] (rev 03)
00:02.0 VGA compatible controller [0300]: Intel Corporation Atom Processor D2xxx/N2xxx Integrated Graphics Controller [8086:0be1] (rev 09)
00:1b.0 Audio device [0403]: Intel Corporation NM10/ICH7 Family High Definition Audio Controller [8086:27d8] (rev 02)
00:1c.0 PCI bridge [0604]: Intel Corporation NM10/ICH7 Family PCI Express Port 1 [8086:27d0] (rev 02)
00:1c.1 PCI bridge [0604]: Intel Corporation NM10/ICH7 Family PCI Express Port 2 [8086:27d2] (rev 02)
00:1c.2 PCI bridge [0604]: Intel Corporation NM10/ICH7 Family PCI Express Port 3 [8086:27d4] (rev 02)
00:1c.3 PCI bridge [0604]: Intel Corporation NM10/ICH7 Family PCI Express Port 4 [8086:27d6] (rev 02)
00:1d.0 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 [8086:27c8] (rev 02)
00:1d.1 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 [8086:27c9] (rev 02)
00:1d.2 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 [8086:27ca] (rev 02)
00:1d.3 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 [8086:27cb] (rev 02)
00:1d.7 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller [8086:27cc] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e2)
00:1f.0 ISA bridge [0601]: Intel Corporation NM10 Family LPC Controller [8086:27bc] (rev 02)
00:1f.2 SATA controller [0106]: Intel Corporation NM10/ICH7 Family SATA Controller [AHCI mode] [8086:27c1] (rev 02)
00:1f.3 SMBus [0c05]: Intel Corporation NM10/ICH7 Family SMBus Controller [8086:27da] (rev 02)
02:00.0 Network controller [0280]: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
04:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8152 v2.0 Fast Ethernet [1969:2062] (rev c1)
Side note: what's the syntax for preformatted text on these forums?
- Vous devez vous identifier ou créer un compte pour écrire des commentaires